Jp/Gp.sread (Reading Data From Another Station) - Mitsubishi Electric MELSEC-Q Series User Manual

Simple motion module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

10.5 JP/GP.SREAD (Reading Data from Another Station)

This instruction reads data from the device of another station. (In units of words)
With the SREAD instruction, when data read is completed, the device of the other station is
turned on. Data reading with the SREAD instruction can be confirmed by this.
JP.SREAD
GP.SREAD
Setting data
Internal device
(Note-1)
(System, user)
Bit
(S1)
(Note-5)
(S2)
(D1)
(D2)
(D3)
(Note-1): Local devices and file registers set for each program cannot be used.
(Note-2): T, C, D, W, ST, SD, and SW can be used.
(Note-3): For the SREAD instruction, the read notification device (D3) can be omitted in the programming.
However, the operation is the same as the READ instruction.
The SREAD instruction can operate differently depending on whether read notification device (D3) is omitted or not.
(Note-4): When the target station is a Basic model QCPU or a QSCPU, the data set in the read notification device (D3) is ignored.
(Operation is the same as the READ instruction.)
(Note-5): When the target station is a Basic model QCPU, a Universal model QCPU, or an LCPU, a digit-specified bit device can be used.
((Example) K4M16)
To use digit specification, the following conditions must be satisfied:
• The device number should be multiples of 16 (10H).
• The number of digits should be 4 (K4).
Start contact
Start contact
Link direct device
File
J \
register
Word
R, ZR
Bit
(Note-2)
Chapter 10 DEDICATED INSTRUCTIONS
JP.SREAD
Jn
(S1)
GP.SREAD
Un
(S1)
Available devices
Intelligent function
module device
Word
U \G
10 - 16
(S2)
(D1)
(D2)
(D3)
or
"
"
(S2)
(Note-3), (Note-4)
(S2)
(D1)
(D2)
(D3)
or
"
"
(S2)
(Note-3), (Note-4)
Constant
Index register
Zn
K, H
Others
$

Advertisement

Table of Contents
loading

Table of Contents