MLAxisPipePos

Pipe Network motion icon

 FunctionClosed A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. - Returns the pipe position of the axis.

Arguments

Input

ID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

Unit

N/A

 

Default

Output

OK

Description

Returns true when function successfully executes.

See Function - General Rules for more information.

 

Data type

BOOL

 

Unit

N/A

Position

Description

 

 

Data type

LREAL

 

Range

 

Unit

User unit

Related Functions

MLAxisReadActPos

MLAxisFBackPos

MLAxisGenPos

MLAxisCmdPos

MLAxisWritePipPos

Example

Structured Text

 

Axis1_Pipe_Position := MLAxisPipePos (PipeNetwork.Axis1 ) ;

 

Ladder Diagram

MLAxisPipePos: LD example

Function Block Diagram

MLAxisPipePos: FBD example