MLAxisWriteUUnits
Function - Set the user units per revolution value of the axis.
- User units are user-defined position units used in the KAS application.
- Selected units must be as natural as possible and must make sense for the machine.
- It must be related to the final moving object (e.g., the driven belt rather than the axis shaft).
- The same unit must be used for all related axes for simplicity reasons.
- Speeds are defined in [User units / sec] and accelerations in [User units / sec2].
Inputs
|
Input |
Data Type See Data Types. |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
AxisID |
DINT |
1 to 1024 |
N/A |
No default |
ID of the Axis block. |
Outputs
|
Output |
Data Type See Data Types. |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
|
|
UserUnitsPerRev |
LREAL |
No range |
N/A |
Sets the Axis User Units per revolution. |
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
MLAxisWriteUUnits(PipeNetwork.Axis1, 360 ) ;







