Skip to main content
Firmware Stable

Misc

info

The following variables are located /common folder.

States​

state​

State of the common block.

/common/state
ValueNameDescription
1Bit 0It is set when inputs are not valid.
128Bit 7Power switch selftest error. Motor control and common block can continue without it.
256Bit 8Power switch overtemperature
4096Bit 12Power switch overcurrent detected
8192Bit 13Contactor 1 overcurrent
16384Bit 14Contactor 2 overcurrent
32768Bit 15Contactor 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).

/common/error
ValueNameDescription
1Bit 0IOEXP1 not initialized (or initialization was not successfull)
2Bit 1IOEXP2 not initialized (or initialization was not successfull)
4Bit 2IOEXP1 communication lost
8Bit 3IOEXP2 communication lost
16Bit 4IO+10V voltage lower than 6V
note

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.

ValueDescription
0Autoselect - Main application
1Force main application
10Autoselect - Main application is OFF.
123siliXcon internal testing application
otherReserved 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)