Misc
The following variables are located /common folder.
States
state
State of the common block.
| Value | Name | Description |
|---|---|---|
| 1 | Bit 0 | It is set when inputs are not valid. |
| 128 | Bit 7 | Power switch selftest error. Motor control and common block can continue without it. |
| 256 | Bit 8 | Power switch overtemperature |
| 4096 | Bit 12 | Power switch overcurrent detected |
| 8192 | Bit 13 | Contactor 1 overcurrent |
| 16384 | Bit 14 | Contactor 2 overcurrent |
| 32768 | Bit 15 | Contactor 3 overcurrent |
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).
| Value | Name | Description |
|---|---|---|
| 1 | Bit 0 | IOEXP1 not initialized (or initialization was not successfull) |
| 2 | Bit 1 | IOEXP2 not initialized (or initialization was not successfull) |
| 4 | Bit 2 | IOEXP1 communication lost |
| 8 | Bit 3 | IOEXP2 communication lost |
| 16 | Bit 4 | IO+10V voltage lower than 6V |
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 |
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)