CHAPTER 2 CompoWay/F COMMUNICATIONS PROCEDURES
H8GN
2-4
JCommunications data
Set (monitor) Value
Minus Value
Decimal point
8 digits (Hex)
2's complement
Decimal point is removed and the result is converted to hexadecimal.
Example) 105.0 ! 1050 ! 000041A
The following examples show an end code when a command did not end
normally.
Example 1) Illegal subĆaddress, and no SID and command text
STX
0
ETX
BCC
A
STX
0
ETX
BCC
A
1
6
Command Format
Node No.
SubĆaddress
Node No.
SubĆaddress
End code
Response Format
End code is 16" (subĆaddress error).
This is because a subĆaddress was received and the subĆaddress
error has a higher error detection priority than the format error.
Example 2) No command text
STX
0
ETX
BCC
0
SID
0
STX
0
ETX
BCC
0
1
4
Command Format
Response Format
Node No.
SubĆaddress
Node No.
SubĆaddress
End code
End code is 14" (format error).
Example 3) All node Nos. not provided
STX
ETX
BCC
Command Format
The node No. is lacking one character.
Response Format
No response
Example 4) No subĆaddress, and illegal BCC
STX
ETX
BCC
STX
0
ETX
BCC
0
1
3
Err
Command Format
Response Format
Node No.
Node No.
SubĆaddress
End code
SubĆaddress is 00" and end code is 13" (BCC error).
JExample of end
code