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.
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 |
|
|
Returns TRUE when the function successfully executes. See Pipe Network - General Rules for more information. |
Position | LREAL | User units |
Returns the absolute position of the axis. See Set the Axis Block Position Units for more information. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller for more information.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
Axis1_Position := MLAxisReadActPos( PipeNetwork.Axis1 ) ;
See Also