MLAxisReadActPos
Function 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. - Returns the Actual 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
Default (.Q) |
Description |
Returns true when function successfully executes See Function - General Rules for more information. |
Data type |
BOOL |
|
Unit |
N/A |
|
Position |
Description |
Returns the absolute position of the axis |
Data type |
LREAL |
|
Unit |
Related Functions
Previous Function Name
Example
Structured Text
Axis1_Position := MLAxisReadActPos( PipeNetwork.Axis1 ) ;
|
Ladder Diagram
Function Block Diagram