Device polls the door sensors one by one (supported from 1 to 5). Received data about the passengers getting on and of are recorded in telemetry.
Implemented the ability to send a command to reset counters in a particular sensor.
Additionally, diagnostic flags are monitored during program operation and user logs are recorded.
MIN_POWER
- minimum allowable supply voltage in millivolts.DOORS_COUNT
- number of connected sensors.ID_1
- ID of the sensor to be polled via the interface.ID_1
) is 0001.
ID_1
- text parameter which must contain 4 characters. All characters are numbers from0
to9
.
For example, the identifier6
should be given as0006
ID_2
,ID_3
,ID_4
,ID_5
- see the description ofID_1
.
User parameter CE No. 1 - passengers getting on from the sensor No. 1.
User parameter CE No. 2 - passengers getting off from the sensor No. 1.
User parameter CE No. 3 - passengers getting on from the sensor No. 2.
User parameter CE No. 4 - passengers getting off from the sensor No. 2.
User parameter CE No. 5 - passengers getting on from the sensor No. 3.
User parameter CE No. 6 - passengers getting off from the sensor No. 3.
User parameter CE No. 7 - passengers getting on from the sensor No. 4.
User parameter CE No. 8 - passengers getting off from the sensor No. 4.
User parameter CE No. 9 - passengers getting on from the sensor No. 5.
User parameter CE No. 10 - passengers getting off from the sensor No. 5.
User parameter CE No. 20 - diagnostic flags:
Bit 0 - polling of sensors is allowed (supply voltage is greater than MIN_POWER
).
Bit 1 - there is incoming data on the interface (at least one message was received in the last 30 seconds).
Bit 2 - there are parsed messages (in the last 30 seconds, data was received from at least one message).
Bit 3..7 - reserve.
User parameter CE No. 21 - sensor status flags:
Bit 0 - data from sensor 1.
Bit 1 - data from sensor 2.
Bit 2 - data from sensor 3.
Bit 3 - data from sensor 4.
Bit 4 - data from sensor 5.
Bit 5..7 - reserved.
Code | Description |
---|---|
41046 |
counter reset command accepted for execution |
41047 |
diagnostic flags changed |
41048 |
sensor error flags changed |
On command, device sends a message to the specified sensor to reset its counters.
*!CEVT 1,door_num
door_num
- sensor number from 1 to 5.*@CEVT
Reset counter for sensor No. 3:
*!CEVT 1,3