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