4 - 20 4 - 20
MELSEC-Q
4 WHEN THE QCPU ACCESSES THE OTHER STATION PLC USING THE
DATA LINK INSTRUCTION
4.6 Reading/Writing Word Devices of Other Stations (READ/WRITE)
This section explains the format and program examples of the READ/WRITE
instructions that are used to read and write data of word devices of other stations.
For details, see Sections 6.4, and 6.10 to 6.12.
(1) Instruction format
(a) READ/SREAD instructions
[Network number designation]
JP.SREAD
JP: Execution
during start up
Jn
JP.READ
JP: Execution
during startup
Jn
Read command
Read command
(S1)
(S2)
(D1)
(D2)
(S1)
(S2)
(D1)
(D2)
(D3)
[Network module/Ethernet module start I/O signal designation]
GP.SREAD
GP: Execution
during startup
Un
GP.READ
GP: Execution
during startup
Un
Read command
Read command
(S1)
(S2)
(D1)
(D2)
(S1)
(S2)
(D1)
(D2)
(D3)
Setting details
Setting range
Jn
Local station network number
1 to 239: Network number
254: Network designated in a
valid module for other station
access.
Un
Start I/O signal of the local station network module/Ethernet
module.
Designate by higher two digits when the I/O signal is
expressed by three digits.
0 to FE
H
(S1)
Control data storage head device
Designate the head device of the local station that stores
the control data.
Word device
2
(S2)
Read data storage head device (target station)
Designate the head device of the target station that stores
the data to read.
Word device
2
(D1)
Read data storage head device (local station)
Designate the head device of the local station that stores
the data to read.
Word device
2
Read completion device (local station)
Designate the device of the local station to turn on one
scan when the read is complete.
(D2) ................... OFF: Incomplete
ON: Complete
(D2)
(D2) + 1 ............. OFF: Normal
ON: Abnormal
Bit device
1
Word device bit designation
3
Read notify device (target station)
Designate the device of the target station to turn on one
scan when the read is complete.
(Can recognize data of target station has been read from
other station.)
(D3)
(D3) ................... OFF: Incomplete
ON: Complete
Bit device
1
Word device bit designation
3
1: Bit device .................................. X, Y, M, L, F, V, B
2: Word device ............................... T, C, D, W, ST, R, ZR
3: Word device bit designation ......
Word device
.
Bit number
Содержание QJ71E71-100 Series
Страница 2: ......
Страница 214: ...6 65 6 65 MELSEC Q 6 DEDICATED INSTRUCTIONS MEMO ...
Страница 219: ......