MLAxisCmdPos
Description
Returns the reference position of the axis.
-
- This function or function block returns cached data. See Programming a Dual Core Controller for more information.
Arguments
Input
ID |
Description |
ID Name of the Axis block |
Data type |
DINT |
|
Range |
— |
|
Unit |
n/a |
|
Default |
— |
Output
OK |
Description |
Returns true when function successfully executes |
Data type |
BOOL |
|
Unit |
n/a |
|
Position |
Description |
Returns the Axis reference position |
Data type |
LREAL |
|
Unit |
Related Functions
Previous Function Name
Example
Structured Text
Axis1_ReferencePosition := MLAxisCmdPos(PipeNetwork.AXIS1);
Ladder Diagram
Function Block Diagram