IDEC WindO/I-NV4 User Manual page 192

Automation organizer
Table of Contents

Advertisement

5 User Communication
- The BCC calculation type is XOR.
02h^41h^42h^43h^44h^31h^32h^33h^34h^=02h
- When the BCC calculation result is 0002h, the converted data will be 3032h.
Data
0002h
Hexadecimal to ASCII
- When the converted data is 3032h, the data for comparison with the BCC part of the receive data will be
3032h.
Converted data
(Second byte) (First byte)
0
2
(30h)
(32h)
- The comparison data is compared with the BCC part of the receive data.
In the following receive data, when the comparison data is the 2-byte 3032h, there is a match since the BCC part
data is 3032h.
When there is no match, the BCC Error (address number+0, bit 0) of Status Device Address changes to 1.
Receive data
STX
A
(02h)
(41h)
• When data reception is successfully completed, the Completed Device Address LM203 changes to 1.
• When the value of each bit of address number+0 for Status Device Address LDR250 is 0, transmission is completed
without an error.
3-84
0
(30h)
Comparison data
0
2
(30h)
(32h)
Bytes: 2
B
C
D
1
(42h)
(43h)
(44h)
(31h)
WindO/I-NV4 User's Manual
2
(32h)
BCC part
2
3
4
0
(32h)
(33h)
(34h)
(30h)
Comparison data
0
(30h)
2
CR
LF
(32h)
(0Dh)
(0Ah)
Match
2
(32h)

Advertisement

Table of Contents
loading

Table of Contents