FunctionMLAxisGenPosPipe Network motion icon

Description

Returns the generator position of the axis Returns TRUE if the internal generator axis is ready.

Arguments

Input

ID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

 

Unit

n/a

 

Default

Output

Default (.Q)

Description

Returns true when function successfully executes

See more details here

 

Data type

BOOL

 

Unit

n/a

Position

Description

Returns Axis generator position value

 

Data type

LREAL

 

Unit

User unit

Related Functions

MLAxisReadActPos

MLAxisFBackPos

MLAxisPipePos

MLAxisCmdPos

MLAxisWritePipPos

Example

Structured Text

 

Axis1_Generator_Position := MLAxisGenPos(PipeNetwork.Axis1 ) ;

 

Ladder Diagram

MLAxisGenPos: LD example

 

Function Block Diagram

MLAxisGenPos: FBD example

Go back to the top of the page [Top]