Mitsubishi Electric MELSEC iQ-R Series User Manual page 309

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

Advertisement

■When receiving with user frame only (reception using Method 0)
Head data
S
Q
T
X
Target
device
02H 51H 20H
First frame
CPU module
(Correspond to
register No. 3E8H
and 41BH)
Reception data
X3
read request
CPU module
M0
Completion device
Status display device
M1
at completion
(For reception using the combination
of first frame and last frame)
E
;
T
X
0AH
3BH 03H
03H
Last frame
Ò
INPUT
ON
ON
1 scan
Since there is no arbitrary data portion,
the receive data count is [0].
The following diagram is for reception using
the combination of first frame and last frame.
Un\G173
Un\G174
Un\G175
Un\G176
Un\G177
Un\G178
Un\G179
Un\G180
Abnormal
completion
Un\G181
Normal
completion
Un\G288
Un\G289
Un\G603
Un\G1536
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/disable
2H
designation
First frame No. designation
3E8H
(1st)
3E9H
(2nd)
6H
(3rd)
15H
(4th)
Last frame No. designation
41BH
(1st)
(None)
(2nd)
0H
(None)
(3rd)
0H
(None)
(4th)
0H
(YES)
(NO)
Receive transparent code
designation
1002H/   0H
(Disable)
ASCII-BIN conversion
designation
0H
Ó
Receive user
to D0
1H
frame (
th)
Ô
Receive data
to D3
count
00H  ,  00H
User frame receive
0H
format designation
(1st = format-0)
0H
(2nd = format-0)
1H
(3rd = format-1)
1H
(4th = format-1)
Received data count
0H
for format 1 only
(1st)
0H
(2nd)
0H
(3rd)
2H
(4th)
Buffer memory
15
307

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents