Response Frame - Omron ZEN-8E Communications Manual

Programmable relay
Table of Contents

Advertisement

● BCC Calculation Example
STX
Node number Sub-address
H'02 0 (H'30) 0 (H'30) 0 (H'30) 0 (H'30) 0 (H'30) 0 (H'30) 5 (H'35) 0 (H'30) 3 (H'33)
BCC = H'30+H'30+H'30+H'30+H'30+H'30+H'35+H'30+H'33+H'03 = H'35
The result of the calculation (35 hex) is written to the BCC byte.

■ Response Frame

Node number
STX
1
2
● End Codes
End
Name
code
00
Normal completion
End
Name
code
0F
FINS command error
10
Parity error
11
Framing error
12
Overrun error
13
BCC error
14
Format error
16
Sub-address error
The BCC (Block Check Character) is determined by calculating the
exclusive OR of the bytes from the node number up to ETX. The 8-bit
result is written to the BCC byte at the end of the frame.
SID
The + symbols indicate XOR (exclusive OR) operations.
Sub-address
End code
2
2
Normal Completion
Description
The command ended normally without error.
Error Occurred
Description
The specified FINS command could not be executed.
The FINS response code should indicate why the command
could not be executed.
The sum total of bits whose received data is 1 does not
match the set value of the "communications parity" bit.
Stop bit is 0.
New data was transferred when the reception data buffer
was already full.
The calculated BCC value is different from the received
BCC value.
• The command text contains characters other than 0 to 9,
and A to F.
Note: This error does not apply to Echoback Tests. Refer
to Echoback Test on page 31 for details.
• There was no SID and command text. There was no com-
mand text.
• "MRC/SRC" not included in command text.
• Illegal (unsupported) sub-address
• There was no sub-address, SID, and command text.
• Sub-address was less than two characters, and there was
no SID and command text.
2.1 Data Format
Command text
ETX
H'03
Command text
ETX
Error detection
Error detection
BCC
H'35
BCC
1
1
priority
None
priority
8
2
1
3
5
7
6
11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Zen

Table of Contents