18
3.2.2.4.
<Control Signal Tower and buzzer operation>
Sending ASCII data in the following form will transmit data to control the Signal Tower and buzzer.
[Transmission Example]
In this example
, the red is turned on, amber maintains it’s condition and green is turned
off on the specified Signal Tower, and the buzzer sounds Pattern 4.
• Send Data
Header
ID
Command
Data
End
Code
Signal Tower *1
Unused *2
Buzzer *3
Red
Amber Green
@
[40H]
?
[3FH]
?
[3FH]
S
[53H]
1
[31H]
9
[39H]
0
[30H]
-
-
4
[34H]
!
[21H]
*1
List of specified data for Signal Tower
Command
Function
ASCII
Hex
0
[30H]
Turns Signal Tower Lighting off
1
[31H]
Turns Signal Tower Lighting on
2
[32H]
Turns on Signal Tower Flashing Pattern 1
3
[33H]
Turns on Signal Tower Flashing Pattern 2
9
[39H]
No Change in Conditon
*2
This value is undefined.
*3
List of specified data for buzzer
Command
Function
ASCII
Hex
0
[30H]
Mutes the Buzzer
1
[31H]
Turns on Buzzer Pattern 1
2
[32H]
Turns on Buzzer Pattern 2
3
[33H]
Turns on Buzzer Pattern 3
4
[34H]
Turns on Buzzer Pattern 4
9
[39H]
No Change in Conditon
• Reply Data
Normal Response
Data
ACK
[06H]
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 error
When the data outside of 0[30H] - ?[3FH], is 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