CS120A and CS125 Visibility and Present Weather Sensors
47
Example of the MSGGET command as sent to the sensor
The message sent is:
The response is:
14.6 The POLL command – Polling the sensor
The POLL command requests the current visibility and/or alarm conditions
from the sensor. The output format of this command depends on how the
sensor is configured using the SET command or the menu interfaces.
The POLL command
POLL command transmitted data
Example
Description
0x02
(1)
STX, ^B
(2)
POLL
POLL
:
Delimiting character
0
Address based on Sensor ID
:
Delimiting character
0
Reserved for future use, zero default
:
Delimiting character
XXXX
Checksum
(3)
:
Delimiting character
0x03
(1)
ETX, ^C
(2)
0x0D
(1)
Carriage return
0x0A
Line feed
(1)
These values are shown in hexadecimal format not ASCII.
(2)
As entered on a keypad.
(3)
Not case sensitive.
The maximum response time to a poll command is 100 ms.
If the setting to check the checksum on received commands is enabled the
checksum varies with the Sensor ID value. The following table gives the POLL
command for different sensor ID’s with the correct checksum.
POLL commands for different sensor IDs
ID
POLL command with checksum
0
POLL:0:0:3A3B:
1
POLL:1:0:0D0B:
NOTE
MSGGET:0:0:C6ED:
161C 7067