14
3.
Communication Specifications
3.1. Communication Set Up
When sending a command to this product, set the communication port as shown below depending on the
operation mode.
Normal Operation Mode PHU Compatible Mode
Communication Specification
RS-232C Compliant
Baud Rate
9600bps
19200bps
Data Length
8 bit
Stop Bit
1 bit
Parity
None
Flow Control
None
3.2. Normal Operation Mode
Normal Operation Mode can control the Signal Tower and buzzer by sending ASCII data to this product in the
following format.
3.2.1.
Frame Format
Below, the transmit data format is explained. Because the Identification Number (hereafter, referred to as “ID”) is
recorded inside this product, the ID will not change, even if the power is turned off.
Header
ID *
Command
Data
End Code
Send Data
ASCII Code
[HEX Code]
@
[40H]
??
[3FH 3FH]
Refer to the
command list
By command
!
[21H]
Byte Count
1Byte
2Byte
1Byte
0~6Byte
1Byte
* ID (default setting= “??”) set up for this product is as follows.
Refer to “3.2.2.3. <Set ID for this product>” on how to change the ID. Normally using “??” allows execution of
commands irrespective of the main unit ID.
3.2.1.1.
<Comand List>
The list of commands and functions which can be used is shown in the table below.
Command
Number of
Data Bytes
Function
ASCII
Hex
1
[31H]
2 Bytes
Turns on a specified Signal Tower light and sounds the buzzer
0
[30H]
2 Bytes
Turns off a specified Signal Tower light and stops the buzzer
?
[3FH]
2 Bytes
Changes the ID.
S
[53H]
6 Bytes
Controls the Signal Tower and buzzer operation.
G
[47H]
0 Bytes
Acquires the Signal Tower and buzzer conditions
C
[43H]
0 Bytes
Switches off the Signal Tower lights and buzzer.
M
[4DH]
0 Bytes
Acquires information from the Signal Tower
• The command is compatible with PHE-3FB2.
• Commands “1” and “0” are compatible with PHE-3FBE1.
• Since the “S” command can control Flashing Pattern 2, as well as Buzzer Patterns 3 and 4,
it is recommended to use the “S” command for controlling those operations for this product.
When using the “S” command, do not use the “1” or “0” commands.
•
After sending a control command to the Main Unit as per it’s specifications, if the control
commands are sent without waiting for the reply data from the Main Unit, it will not operate
normally (Which is how it is supposed to operate when a NAK reply is not received).
MEMO
3
Summary of Contents for PHE-3FB3-RYG
Page 31: ......