List of return codes common to axis motion management functions and instructions.
Symbolic |
Value |
Meaning |
---|---|---|
M_IN_ALARM |
-6 |
Warning situation present |
M_ILLEGAL_ARGS |
-5 |
Illegal argument(s) |
M_LOW_ACCELERATION |
-4 |
Insufficient acceleration |
M_SLAVE_EARLY_STOPPED |
-3 |
Slave in advance, stopped |
M_SLAVE_IS_EARLY |
-2 |
Slave in advance to appointment |
M_SLAVE_TOO_LATE |
-1 |
Slave delay to appointment |
M_INITIALIZING |
1 |
Initialization function |
M_POSITIONING |
2 |
Initial positioning |
M_WAITING |
3 |
Waiting for start |
M_WAITING_NEXT_CYCLE |
4 |
Waiting for next cycle |
M_FOLLOWING |
5 |
Following in progress |
M_REACHED |
6 |
Target reached/mission terminated |
M_HOMING |
7 |
Cycle start position recovery/resetting in progress |
M_SYNCHRONIZED |
8 |
Speed synchronized to master |
M_ACCEL_LIMITED |
9 |
Acceleration limited to desired max |
M_SPEED_LIMITED |
10 |
Speed limited to desired max |
M_ADJUSTING_UP |
11 |
Correction in progress (triangle ascent) |
M_ADJUSTING_DOWN |
12 |
Correction in progress (triangle descent) |
M_OVERSHOOTING |
13 |
Target position is/will be exceeded |
M_HOLDED |
14 |
Movement stopped due to HOLD flag. Also returned in cases where the desired axis speed is set to zero (e.g. the dSpeed field of struct stru_mvtocjv) or the feedrate is set to zero |
M_ACCEL |
15 |
Acceleration in progress |
M_AT_SPEED |
16 |
Movement speed reached |
M_DECEL |
17 |
Deceleration in progress |
M_LAST_CYCLE |
18 |
Last cycle before passing pDes |
M_OUT_OF_LIMITS |
19 |
Out of set limits |