State machine
The system always operates within defined states (modes), represented numerically in the root variable /mode.
| Mode name | Mode value | Description |
|---|---|---|
| MODE_STOP | 0 | Error state in driver or common block Check /driver/error and /common/error |
| MODE_WAIT | 10 | Startup delay active |
| MODE_IDLE | 100 | System at idle (input = 0, idle_level and idle_cmd applied) |
| MODE_CAN | 120 | Driver mode under CAN control |
| MODE_WORKING | 110 | Active operation (non-zero driver command) |
| MODE_OVERRIDEN | 200 | Driver API override active |