207
CompoWay/F Master Protocol
Appendix B
Command Frame Contents
Response Frame Contents
Note The end codes are described in the following table.
Item
Meaning
STX
A code, 02 Hex, indicating the beginning of a communications frame
(text). This code must always be set as the first byte.
Node number
The node number identifies the source of the command frame. Spec-
ify “XX” to broadcast a transmission. There will be no response made
to a broadcast.
Subaddress
Set “00” for most components. Other values must be set for special
components.
SID
Set “0” for most components. Other values must be set for special
components.
Command and text
The command and required text are placed here. Refer to the com-
mand codes and text for individual sequences.
MRC and SRC
The command code specifies the service being used. Refer to the
command codes and text for individual sequences.
ETX
A code, 03 Hex, indicating the end of text.
BCC
The block check character (horizontal parity, 1 byte). The character is
an exclusive OR of all data from just after the STX to the ETX.
Item
Meaning
STX
A code, 02 Hex, indicating the beginning of a communications frame
(text). This code must always be set as the first byte.
Node number
The node number identifies the source of the command frame. “XX”
is specified to broadcast a transmission. There will be no response
made to a broadcast.
Subaddress
“00” for most components. Other values must be set for special com-
ponents.
SID
“0” for most components. Other values must be set for special com-
ponents.
End code (See note.)
The results of executing the command frame.
Note: The response code (MRES and SRES) indicates the results
for the command code; the end code indicates the results for the
command frame. These are not the same.
Response and text
The response and requested text are placed here. Refer to the
response and text for individual sequences.
MRES and SRES
The response code specifies the results of processing the service
requested by the command code. Refer to the response codes and
text for individual sequences.
ETX
A code, 03 Hex, indicating the end of text.
BCC
The block check character (horizontal parity, 1 byte). The character is
an exclusive OR of all data from just after the STX to the ETX.
End code
Name
Meaning
“00”
Normal end
The command frame was processed normally without any
of the following errors.
“0F”
Command error
The specified command could not be executed. Refer to
the response code for more information.
“10”
Parity error
A parity error was detected for one of the characters that
was received.
“11”
Framing error
A framing error was detected for one of the characters that
was received.
“12”
Overrun error
A overrun error was detected for one of the characters that
was received.
“13”
BCC error
The BCC for the receive frame was incorrect.
“14”
Format error
An illegal command or illegal character was received in the
command and text (characters other than ASCII 0 to 9 or A
to F).
“16”
Subaddress error
The receive frame contained an illegal subaddress.
“18”
Frame length error
The receive frame was too long.
Summary of Contents for CJ1W-SCU41
Page 3: ...KX ...
Page 5: ...XK ...
Page 9: ......
Page 19: ......
Page 119: ......
Page 177: ......
Page 187: ......
Page 221: ......
Page 259: ......
Page 317: ......
Page 333: ......
Page 373: ......
Page 395: ......
Page 407: ......
Page 443: ......
Page 463: ......
Page 501: ......
Page 509: ......
Page 513: ......
Page 525: ......