145
Frame Configuration
Section 6-2
BCC Calculation Example
Note No response will be returned unless the frame contains all elements up to the
ETX and BCC.
Response Frame
End Codes
■ End Code Example
When the Sub-address, SID, and FINS-mini Command Text Are Not Included
•Command
• Response
The sub-address is “00” and the end code is “16” (sub-address error).
=
02H 30H 35H 30H 30H 03H 36H
:
35H 03H
=
36H
STX Unit No.
Sub-address
SID
FINS-mini command text
ETX
BCC
BCC
XOR (exclusive OR) calculation
30H 30H 30H 30H 30H
30H 30H 30H 30H 30H 30H 30H 30H
1
02H
2 2 1
03H
12
00
Text
STX
Unit No.
Sub-address
End code
FINS-mini command text
ETX
BCC
BCC calculation range
End code Name Meaning Error detection priority
0F FINS command error The specified FINS command could not be executed. 8
10 Parity error The OR of 1 bits in received data does not match the setting
for the communications parity.
2
11 Framing error Stop bit is 0. 1
12 Overrun error The next data was received when the reception data buffer
was full.
3
13 BCC error The calculated BCC value is different from the received BCC
value.
5
14 Format error The FINS-mini command text contains characters other than
0 to 9 and A to F. For details on the echoback test, refer to
6-4-10 Echoback Test.
SID and the FINS-mini command text are not included.
7
16 Sub-address error The sub-address is not included. 6
18 Frame length error The received frame exceeds the specified number of bytes. 4
00 Normal completion Command processing was completed normally. None
STX
02H
Unit No. ETX
03H
BCC
01
STX
02H
ETX
03H
BCC
010016
Unit No.
Sub-address
End code