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.

Inputs

Input

Data Type

Range

Unit

Default

Description

ID

DINT

-2147483648 to 2147483647

N/A

No default

ID Name of the Axis block.

Speed

LREAL

No range

User unit/sec

No default

Sets the axis speed.

See Set the Axis Block Position Units for more information.

Outputs

Output

Data Type

Range

Unit

Description

OK

BOOL

 

 

Returns TRUE when the function successfully executes.

See Pipe Network - General Rules for more information.

Position

LREAL

 

 

See Set the Axis Block Position Units for more information.

Remarks

FBD Language Example

MLAxisPipePos: FBD example

FFLD Language Example

MLAxisPipePos: LD example

IL Language Example

Not available.

ST Language Example

Axis1_Pipe_Position := MLAxisPipePos (PipeNetwork.Axis1 ) ;

See Also