MLAxisWritePipPos

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. - Force the pipe position internal value.

This function is working only when no pipe is connected.

Arguments

Input

AxisID

Description

ID Name of the Axis block.

 

Data type

DINT

 

Range

—

 

Unit

N/A

 

Default

—

PipePosition

Description

Sets the Axis Pipe Position.

 

Data type

LREAL

 

Range

—

 

Unit

User unit

 

Default

—

Output

Default (.Q)

Description

Returns true when function successfully executes

See Function - General Rules for more information.
 

Data type

BOOL

 

Unit

N/A

Related Functions

Example

Structured Text

 

MLAxisWritePipPos(PipeNetwork.Axis1, 3000 ) ;

 

Ladder Diagram

MLAxisWritePipPos: LD example

Function Block Diagram

MLAxisWritePipPos: FBD example

Go back to the top of the page[Top]