129
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
1
2
0
0
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
0
1
STX
02H
ETX
03H
BCC
0
1
0
0
1
6
Unit No.
Sub-address
End code
Summary of Contents for EJ1G
Page 3: ...iv ...
Page 17: ...xviii ...
Page 21: ...xxii ...
Page 53: ...32 Unit Configuration Examples Section 2 4 ...
Page 69: ...48 Changing SPs During Operation Section 3 3 ...
Page 81: ...60 Other Functions Section 4 5 ...
Page 145: ...124 Other HFU Functions Section 5 7 ...
Page 167: ...146 Detailed Description of Services Section 6 4 ...
Page 229: ...208 Parameters That Can Be Allocated for Programless Communications Appendix ...
Page 237: ......