MLAxisGenPos
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 generator position of the axis Returns TRUE if the internal generator axis is ready.
-
-
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 Axis generator position value |
Data type |
LREAL |
|
Unit |
Related Functions
Example
Structured Text
Axis1_Generator_Position := MLAxisGenPos(PipeNetwork.Axis1 ) ;
|
Ladder Diagram
Function Block Diagram