FunctionMLAxisWritePosPipe Network motion icon

Description

Used to set a position offset at the Axis when the Pipe Network:

  • Pipe Position and Pipe Offset are set to zero
  • Generator Position is set to equal to Zero Position
  • Then Reference Position equals Pipe Position + Generator Position

Arguments

Input

ID

Description

ID Name of the Axis block.

 

Data type

DINT

 

Range

 

Unit

N/A

 

Default

Position

Description

Position offset.

 

Data type

LREAL

 

Range

 

Unit

User unit

 

Default

Output

Default (.Q)

Description

Returns true when function successfully executes.

See more details here.

 

Data type

BOOL

 

Unit

N/A

Previous Function Name

MLAxisSetZero

Example

Structured Text

 MLAxisWritePos( PipeNetwork.Axis1, 0) ;

Ladder Diagram

MLAxisWritePos: LD example

Function Block Diagram

MLAxisWritePos: FBD example

Go back to the top of the page [Top]