Misc
The following variables are located /common folder.
States
state
State of the common block.
Not mentioned bits are reserved for future usage.
error
If this state is non-zero, there a critical error has occured in the common block. Such error can be cleared only with a reboot (or a power cycle).
Driver error is independent from cmio error (as those systems are sovereign). Thus, with a cmio error present, you can still drive the motor (in certain cases).
Parameters
appsel
Application selector.
Application is the high-level part of firmware, positioned between inputs (such as GPIOs) and outputs (such as motor control). When application is disabled, you can still manipulate the controller directly: with CAN API, emGUI, terminal or scripts.
| Value | Description |
|---|---|
| 0 | Autoselect - Main application |
| 1 | Force main application |
| 10 | Autoselect - Main application is OFF. |
| 123 | siliXcon internal testing application |
| other | Reserved for future usage |
Internal note: 0 and 10 are auto-select. During manufacturing, the application is the testing application
Shell commands
shutdown [timeout]
turns off your controller (if flip-flop circuitry is present).
If timeout is specified, the device is restarted after the timeout (useful if flip-flop is not present)