MLAxisReadUUnits
Description
Get the User units per revolution value of the axis.
Arguments
Input
AxisID |
Description |
ID Name of the Axis block. |
Data type |
DINT |
|
Range |
— |
|
Unit |
N/A |
|
Default |
— |
Output
OK |
Description |
Returns true when function successfully executes. See more details here. |
Data type |
BOOL |
|
Unit |
N/A |
|
UserUnitsPerRev |
Description |
Returns the Axis User Units per revolution. |
Data type |
LREAL |
|
Unit |
N/A |
Example
Structured Text
Axis1_User_Units := MLAxisReadUUnits(PipeNetwork.Axis1 ) ;
|
Ladder Diagram
Function Block Diagram