SECTION 2 CompoWay/F Communications Protocol
12
• An end code is returned for each command frame received that was addressed to the local node.
• No response will be returned unless the frame contained all elements up to the ETX and BCC.
•The Error detection priority is the priority when two or more errors occur simultaneously.
■ Communications Data
Note: Refer to Read Time Data on page 28 and Write Time Data on page 29 for information on time
data.
● End Code Examples
The following examples describe end codes when an error is detected
in the command.
Example 1 Illegal Sub-address, No SID, and No Command Text
Command
Response
The end code returned in the response is 16 (sub-address error). The
end code 16 is returned in the response when the sub-address error
has a higher error detection priority than the format error.
Example 2 No Command Text
Command
Response
End code 14 (format error) is returned in the response when there is no
command text.
18 Frame length error The received frame exceeds the specified (supported) num-
ber of bytes.
4
Communications
protocol
Set (monitor)
values
Negative
values
Decimal point
CompoWay/F 8-digit hexadeci-
mal
2’s complement Decimal point is removed and the result is converted
to hexadecimal.
Example conversion: 105.0 → 1050 → H’0000041A
BCC
STX 0 A ETX
Node number Sub-address
BCC
STX 0 A 1 6 ETX
Node number Sub-address End code
SID BCC
STX 0 0 0 ETX
Node number Sub-address
BCC
STX 0 0 1 4 ETX
Node number Sub-address End code