Controller input ID
Each input on the controller has its input ID. Using this ID user can map application inputs to real controller GPIOs, dins. Common block input ID is also used for accessing these states using driver (common block) API.
State | Input ID | Datatype | Description |
---|---|---|---|
1 | error | uint16 | Common block agregated error |
8 | GPIO0 | int16 | [mV] |
9 | GPIO1 | int16 | [mV] |
10 | GPIO2 | int16 | [mV] |
11 | GPIO3 | int16 | [mV] |
12 | GPIO4 | int16 | [mV] |
16 | GDIN0 | int8 | |
17 | GDIN1 | int8 | |
18 | GDIN2 | int8 | |
19 | GDIN3 | int8 | |
20 | GDIN4 | int8 | |
24 | AIN1 | uint16 | [10mV] |
25 | AIN2 | uint16 | [10mV] |
26 | AIN3 | uint16 | [10mV] |
27 | AIN4 | uint16 | [10mV] |
28 | AIN5 | uint16 | [10mV] |
32 | DIN1 | uint8 | |
33 | DIN2 | uint8 | |
34 | DIN3 | uint8 | |
35 | DIN4 | uint8 | |
36 | DIN5 | uint8 | |
37 | DIN6 | uint8 | |
38 | DIN7 | uint8 | |
39 | DIN8 | uint8 | |
48 | ch1 (pwm in) | uint16 | [us] |
49 | ch2 (pwm in) | uint16 | [us] |
56 | ccnt1 | uint16 | Contactor1 current [mA] |
57 | ccnt2 | uint16 | Contactor2 current [mA] |
58 | ccnt3 | uint16 | Contactor3 current [mA] |
64 | ichg | uint16 | [0.1A] |
65 | uchg | uint16 | [10mV] |
66 | gndio | uint16 | [10mV] |
67 | vspl | uint16 | [mV] 10V on ampseal (SL only) |
72 | Vthermistor | uint16 | [mV] |
73 | Rthermistor | uint16 | [ohm] |
128 | cont1 (reserved, not implemented) | uint16 | |
129 | cont2 (reserved, not implemented) | uint16 | |
130 | cont3 (reserved, not implemented) | uint16 |