MLAxisWriteModPos
Description
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 more details here |
Data type |
BOOL |
|
Unit |
n/a |
Example
Structured Text
MLAxisWriteModPos(PipeNetwork.Axis1, 360) ) ;
|
Ladder Diagram
Function Block Diagram