This keyword allows a variable of type STRU_MVITP (STRUCT_P) to be defined.
It is used by the axes movement function mva_to_n().
It consists of the following information:
Field |
Type |
Description |
---|---|---|
nAx |
I32 |
Axis number |
target |
REAL |
Position to be reached [units] |
v |
REAL |
Speed [units/sec] |
acc |
REAL |
Acceleration [units/sec²] |
dec |
REAL |
Deceleration [units/sec²] |
decH |
REAL |
Deceleration at hold [units/sec²] |
Example of single-axis definition:
Example of three-axis definition:
Example of thirty-two-axis definition:
Example of use:
NOTE: For access remember that indexes start from 0. |