MLAxisWriteModPos

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. - Set the value period of the axis.

Returns TRUE if the function succeeded.

Arguments

Input

AxisID

Description

ID Name of the Axis block

 

Data type

DINT

 

Range

 

Unit

N/A

 

Default

ModuloPosition

Description

Sets the Axis Period Value when Mode is set to Modulo.

 

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

Example

Structured Text

 

MLAxisWriteModPos(PipeNetwork.Axis1, 360) ) ;

 

Ladder Diagram

MLAxisWriteModPos: LD example

Function Block Diagram

MLAxisWriteModPos: FBD example

Go back to the top of the page[Top]