Mitsubishi Electric MELSEC iQ-R Series User Manual page 362

Serial communication module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Ex.
Calculation of sum check code
(When word units are used)
E
Data length
N
Q
(0002)
L
H
0
2
0
0
1
05
30
32
30
30
31
32
H
H
H
H
H
H
*1
Calculation of sum check code
30H+32H+30H+30H+31H+32H+33H+34H+35H+41H+42H+43H=0287H
Processing order for data transmission/reception
The processing steps taken by C24 to transmit/receive data with ASCII-BIN conversion and transparent code designation
enabled are explained in the section for transparent codes and additional codes. (Page 339 Handling Transparent and
Additional Codes for Bidirectional Protocol Data Communication)
Target device
Head data
E
Data length
N
Q
L
0
05
30
32
H
H
17 COMMUNICATING WITH ASCII CODE (ASCII-BIN CONVERSION)
360
17.5 ASCII-BIN Conversion for Data Communicated with Bidirectional Protocol
Message
*1
Sum
Data portion
check
code
L
H
2
3
4
5
A
B
C
33
34
35
41
42
43
87
02
H
H
H
H
H
H
H
H
ASCII-BIN conversion
Arbitrary data
Data section
H
2
0
0
1
2
0
2
3
A
30
30
31
32
30
32
33
41
H
H
H
H
H
H
H
H
Head data
N
Error code
A
K
L
H
3
4
1
2
15
33
34
31
32
06
H
H
H
H
H
Buffer memory
(H)
(L)
00H , 02H
34H , 12H
H
BCH , 5AH
(H)(L)
Buffer memory (transmission area/reception area)
(Data
communication)
Send
Sum
check
code
L
H
B
C
Receive
42
43
80
02
H
H
H
H
H
(Communication of
response massage)
A
Receive
C
K
Send
H
Transmission data
count/Receive data count
Transmission data/
receive data
C24
(H)
(L)
(0002H)
00H , 02H
(0212H)
02H , 12H
(BC3AH)
BCH , 3AH
At normal
completion : 0000H
At abnormal
completion : 1234H
Transmission
data count/Receive data
count
Transmission
data/receive data
Transmission
result/reception result

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents