Misc
All here listed variables are located in folder /common
.
States
state
Bitwise state
Value (DEC) | Bit | Description |
---|---|---|
1 | 0 | It is set when inputs are not valid. |
- | bits 1-6 | reserved |
128 | 7 | Power switch selftest error. Motor control and common block can continue without it. |
256 | 8 | Power switch overtemperature |
- | bits 9-11 | reserved |
4096 | 12 | Power switch overcurrent detected |
8192 | 13 | Contactor 1 overcurrent |
16384 | 14 | Contactor 2 overcurrent |
32768 | 15 | Contactor 3 overcurrent |
error
If this state is non-zero, there is critical error in common block. The error can be cleared only by power cycle.
Bitwise state
Value (DEC) | Bit | Description | Only on these devices |
---|---|---|---|
1 | 0 | IOEXP1 not initialized (or initialization was not successfull) | SC, SX, SL |
2 | 1 | IOEXP2 not initialized (or initialization was not successfull) | SL |
4 | 2 | IOEXP1 communication lost | SC, SX ,SL |
8 | 3 | IOEXP2 communication lost | SL |
16 | 4 | IO+10V voltage lower than 6V | SX |
Driver error is independent from common error. Technically, with common error you can still drive the motor.
Parameters
appsel
Application selector.
Application is part of firmware, sitting between inputs (GPIOs) and outputs (motor controll).
When application is disabled, you can still controll driver directly. Using CAN API, terminal or scripts.
Value | Description |
---|---|
0 | Autoselect - Main application |
1 | Force main application |
10 | Autoselect - Main application is OFF. |
123 | siliXcon internall testing application |
other | Reserved for future usage |
Internal note:
0 and 10 are autoselect. During manufacturing, the application is the testing application
Shell commands
shutdown [timeout]
This command turn off all contactor and turn off your controller (If flip-flop is present).
If timeout is specified, the device is restarted after the timeout (usefull if flip-flop is not present)