19
3.2.2.5.
<Acquire Signal Tower and buzzer conditions>
When ASCII data is transmitted in the following format, the reply data will return with a 6 byte ASCII value to
indicate the Signal Tower and buzzer status.
[Transmission Example]
In this example
, the acquisitioned data obtained indicate the condition in which red is
“off”, amber is “on” and green is flashing pattern 2 on the signal tower, with the buzzer
sounding pattern 3.
• Send Data
Header
ID
Command
End Code
@
[40H]
?
[3FH]
?
[3FH]
G
[47H]
!
[21H]
• Reply Data
Normal Response
Signal Tower *1
Unused
Buzzer *2
Red
Amber
Green
0
[30H]
1
[31H]
3
[33H]
0
[30H]
0
[30H]
3
[33H]
*1
List of reply data for Signal Tower
Command
Function
ASCII
Hex
0
[30H]
Signal Tower Lighting is turned off
1
[31H]
Signal Tower Lighting is turned on
2
[32H]
Signal Tower Flashing Pattern 1 is turned on
3
[33H]
Signal Tower Flashing Pattern 2 is turned on
9
[39H]
No Change in Conditon
*2
List of reply data for buzzer
Command
Function
ASCII
Hex
0
[30H]
Buzzer is muted
1
[31H]
Buzzer Pattern 1 is turned on
2
[32H]
Buzzer Pattern 2 is turned on
3
[33H]
Buzzer Pattern 3 is turned on
4
[34H]
Buzzer Pattern 4 is turned on
Response Error
Data
NAK
[15H]
The following are conditions in which will get a NAK reply, and the error contents are as follows.
Transmission Condition
Error Contents
Command Error
When commands other than a command from the list are specified
Data size error
When the number of bytes in the send data is different
Timeout
When the reply interval for every byte exceeds 5 seconds after receiving a header
*Do not transmit the following command, before this product transmits reply data. It may not operate
normally.
3