CompoWay/F Communications Procedures
End Code Examples
The following examples show the end code when a command did not end normally.
Example 1: Illegal Sub-address, No SID, and No Command Text
• If there is an illegal sub-address, and no SID or command text, the response end code will be
16 (sub-address error). (If the sub-address is received, the response end code is 16 because
a sub-address error has a higher error detection priority than a format error.)
Command
Node
number
address
STX
0
Response
Node
number
address
STX
0
End code is "16" (sub-address error).
Example 2: No Command Text
• If there is no command text, the response end code will be 14 (format error).
Command
Node
number
address
STX
Response
Node
number
address
STX
The end code is "14" (format error).
Sub-
BCC
A
ETX
Sub-
End
code
BCC
A
1
6
ETX
Sub-
SID
BCC
0
0
0
ETX
Sub-
End
code
BCC
ETX
0
0
1
4
Chapter 2
2-5