Mitsubishi Electric MELSEC iQ-R Series User Manual page 311

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

Advertisement

■When receiving with a combination of the start frame and arbitrary data (method 1 dedicated
receive end data quantity) (reception using Method 1)
Head data
N
A
K
Target
device
(0022)
15H
22H 00H
Arbitrary data
CPU module
First frame
(Corresponds to
registration No. 15H)
Reception data
X3
read request
CPU module
Completion
M0
device
Status display
device
M1
at completion
Ò
INPUT
ON
ON
1 Scan
Receive data count
Word units
Number of receive byte excluding frame and additional code (2)/2=1
Byte units
Number of received bytes excluding frame and additional code (2)
The following diagram is for byte unit.
Un\G173
Un\G174
Un\G175
Un\G176
Un\G177
Un\G178
Un\G179
Abnormal
completion
Un\G180
Normal
completion
Un\G181
Un\G288
Un\G289
Un\G603
Un\G1536
Un\G1537
Un\G8224
Un\G8225
Un\G8226
Un\G8227
Un\G8228
Un\G8229
Un\G8230
Un\G8231
15 DATA COMMUNICATIONS USING USER FRAMES
15.3 Program for Data Reception with User Frame
User frame use enable/
2H
disable designation
First frame No. designation
3E8H
(1st)
3E9H
(2nd)
6H
(3rd)
15H
(4th)
Last frame No. designation
41BH
(1st)
(None)
0H
(2nd)
(None)
0H
(3rd)
(None)
0H
(4th)
(YES)
(NO)
Receive transparent
code designation
1002H/   0H
(Disable)
ASCII-BIN conversion
designation
0H
Ó
Receive user
4H
frame(
th)
Ô
00H  ,  02H
Receive data count
Receive data
Õ
(0022H)
(arbitrary data portion)
 00H,  22H
User frame receiving
0H
format designation
(1st = format-0)
0H
(2nd = format-0)
1H
(3rd = format-1)
1H
(4th = format-1)
Received data count for format 1 only
0H
(1st)
0H
(2nd
0H
(3rd)
2H
(4th)
Buffer memory
15
to D0
to D3
to D10
309

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents