![Mitsubishi Electric QJ71GF11-T2 User Manual Download Page 257](http://html.mh-extra.com/html/mitsubishi-electric/qj71gf11-t2/qj71gf11-t2_user-manual_1811847257.webp)
255
CHAPTER 10 DEDICATED INSTRUCTIONS
10
10.
4
J
P
/G
P
.R
EA
D (Re
adi
ng
Dat
a
f
rom
t
he P
rogram
mable
Cont
ro
ller
on
Anot
her S
tat
ion)
(4) Program example
The following program is for reading data of D250 to D254 of station No.4 (target station) into D700 to D704 of
station No. 0 (own station) when M101 is turned on.
(a) System configuration
(b) Devices used in the program
• Link special relay (SB), link special register (SW)
• Devices used by the user
(c) READ instruction setting
The following table lists values set in READ instruction control data.
Device
Description
Device
Description
SB0047
Baton pass status (own station)
SW00A0.3
Baton pass status (each station) of station No.4
Device
Description
Device
Description
M100
Control data setting command
D200 to D217
Control data
M101
Start contact
D700 to D704
Read data storage device (station No.0)
M105
Completion device
M106
Completion status indication device
Device
Item
Set value
(S1)+0
D200
Abnormal end type
0081
H
(Sets data for abnormal end)
(S1)+1
D201
Completion status
(The system sets this item.)
(S1)+2
D202
Channels used by own station
1
(S1)+3
D203
Target station's CPU type
0000
H
(control CPU)
(S1)+4
D204
Target station's network No.
1
(S1)+5
D205
Target station number
4
(S1)+6
D206
(Unused)
0
(S1)+7
D207
Number of resends
5 times
(S1)+8
D208
Arrival monitoring time
0 (10 seconds)
(S1)+9
D209
Read data length
5 words
(S1)+10
D210
(Unused)
0
(S1)+11
D211
Clock set flag
(The system sets these items.)
(S1)+12 to
(S1)+15
D212 to D215
Clock data of abnormal end
(S1)+16
D216
Error-detected station's
network No.
(S1)+17
D217
Error-detected station number
CPU module
READ instruction
request source
(Own station)
READ instruction
request target
(Target station)
D700
D701
D702
D703
D704
D250
D251
D252
D253
D254
Master/local
module
Master/local
module
Channel 1
CPU module
Network No.1
Station No.0
Station No.4