Mitsubishi Electric MELSEC iQ-R Series User Manual page 343

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

Advertisement

Ex.
The following example shows the data array when data is transmitted and received. (The transmission/reception portion of the
response message is omitted.)
When ASCII-BIN conversion is not performed
Target device
Head data
Arbitrary data
E
Data length
Data section
N
Q
D
L
H
L
E
05H 10H 02H
00H 12H
(For 10H)
(For 02H)
Ex.
When ASCII-BIN conversion is performed
Target device
Head data
E
Data length
N
Q
L
H
0
2
0
0
05H
30H 32H
30H 30H
Sum
check
code
D
L
H
L
E
10H 02H 3AH BCH
0CH 01H
Additional code
Transparent code
Arbitrary data
Data section
D
L
E
1
2
0
2
3
A
B
C
31H 32H 30H
32H 33H
10H 41H 42H 43H
(For 41H)
(For 10H)
16.5 Handling Transparent and Additional Codes for Bidirectional Protocol Data Communication
Buffer memory (transmission area/reception area)
Send
Receive
Buffer memory (transmission area/reception area)
Send
Sum
check
code
L
H
Receive
80H
02H
Transpare
nt code
Additional
code
16 TRANSPARENT CODES AND ADDITIONAL CODES
C24
(H)
(L)
Transmission data
(0002H)
count/Receive data
00H , 02H
count
(0212H)
02H , 12H
Transmission data/
receive data
(BC3AH)
BCH , 3AH
(The data count is in word units)
C24
(H)
(L)
Transmission data
(0002H)
count/Receive data
00H , 02H
count
(0212H)
02H , 12H
Transmission data/
receive data
(BC3AH)
BCH , 3AH
(The data count is in word units)
16
341

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents