Section 6 CompoWay/F Communications
6.2 Frames
Commands from the host computer and responses from the E5AR-T/ER-T take the form of frames that
conform to the CompoWay/F protocol. The data included in command frames and response frames is
described in this section.
In the following descriptions, an "H" following a numeric value (for example 02H) indicates that the value is
a hexadecimal number. Numbers or letters enclosed in quotation marks (for example "00") are ASCII data.
■ Command Frames
6-4
STX
Node No.
Sub-address
SID
02H
"00"
"0"
Bytes:
1
2
2
1
BCC calculation range
A code that indicates the beginning of a communi-
STX
cations frame (02H). Be sure to set this code in the
leading byte.
The node number specifies the destination.
Specify the unit number of the E5AR-T/ER-T.
Node No.
When broadcasting to all nodes, specify "XX."
Responses are not returned for broadcasts.
Sub-address
Not used on the E5AR-T/ER-T. Always set to "00."
SID
Not used on the E5AR-T/ER-T. Always set to 0.
(Service ID)
FINS-mini
The text of the command.
command text
ETX
A code that indicates the end of the text (03H).
Block Check Character
BCC
This byte stores the result of the BCC calculation
from the node number through EXT.
FINS-mini
STX
Node No.
SID
Sub-address
command text
02H 30H 30H 30H 30H 30H 30H 35H 30H 30H 03H 36H
BCC = 30H + 30H + 30H + 30H + 30H + 30H + 35H + 30H + 30H + 03H = 36H
+: XOR (exclusive OR) operation
FINS-mini
command text
ETX
BCC
03H
1
1
ETX BCC