MLAxisWriteUUnits
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. - Set the user units per revolution value of the axis.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
AxisID |
DINT |
No range |
N/A |
No default |
ID Name of the Axis block. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
Returns TRUE when the function successfully executes. |
UserUnitsPerRev |
LREAL |
No range |
N/A |
Sets the Axis User Units per revolution. |
Remarks
- User units are user-defined position Position means a point in space which is described by different coordinates. Depending on the used system and transformation it can consist of a maximum of six dimensions (coordinates).This means three Cartesian coordinates in space and coordinates for the orientation. In ACS there can be even more than six coordinates. If the same position is described in different coordinate systems the values of the coordinates are different. units used in the KAS Kollmorgen Automation Suite application.
- Selected units must be as natural as possible and must make sense for the machine The complete assembly of all connected parts or devices, of which at least one is movable..
- 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 Speed is the absolute value of the velocity without direction. are defined in [User unit/sec] and accelerations A change in velocity over time. Because velocity is a vector, it can change in two ways: a change in magnitude and/or a change in direction. In one dimension, acceleration is the rate at which something speeds up or slows down. However, more generally, acceleration is a vector quantity expressing the change with time of the velocity both in magnitude and in direction. See these Wikipedia articles for more information: http://en.wikipedia.org/wiki/Velocity http://en.wikipedia.org/wiki/Euclidean_vector http://en.wikipedia.org/wiki/Rate_(mathematics) in [User unit/sec2].
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
MLAxisWriteUUnits(PipeNetwork.Axis1, 360 ) ;