MLAxisReadActPos
Function - Returns the actual position of the axis.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
ID |
DINT |
No range |
N/A |
No default |
ID Name of the Axis block. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
Returns TRUE when the function successfully executes. See Function - General Rules. |
Position |
LREAL |
|
User units |
Returns the absolute position of the axis. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
Axis1_Position := MLAxisReadActPos( PipeNetwork.Axis1 ) ;
See Also