Download E5CN/E5AN/E5EN/E5GN Basic-type Digital - Innovative-IDM

Transcript
SECTION 2 CompoWay/F Communications Procedures
CompoWay/F
■ Communications Data
Communications
format
Set (monitor)
values
CompoWay/F
8-digit hexadecimal
Negative values
Decimal point
2’s complement
Decimal point is removed and the result is converted
to hexadecimal.
Example conversion: 105.0 → 1050 → H’0000041A
■ End Code Example
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
Command
BCC
Node number Sub-address
STX
0
A
EXT
Response
BCC
Node number Sub-address End code
STX
0
A
1
6
EXT
End code is “16” (sub-address error).
The sub-address error code is used because the sub-address error has
a higher error detection priority than the format error.
Example 2) No Command Text
Command
Node number Sub-address SID
STX
0
0
0
BCC
EXT
Response
BCC
Node number Sub-address End code
STX
0
0
1
4
The end code is “14” (format error).
Example 3) No Node Number Provided
Command
BCC
STX
EXT
The node number is lacking one character.
Response
There is no response.
2-4
EXT