Jp/Gp.read (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.4 JP/GP.READ (Reading Data from Another Station)

This instruction reads data from the device on another station. (In units of words)
JP.READ
GP.READ
Setting data
Internal device
(Note-1)
(System, user)
Bit
(S1)
(Note-3)
(S2)
(D1)
(D2)
(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): 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).
(1) Setting data
Start contact
Start contact
File
Link direct device
J \
register
R, ZR
Word
Bit
(Note-2)
Setting data
Own station's network No. (1 to 239, 254)
Jn
254: Network specified in Valid Module During Other
Station Access
Start I/O number of the Simple Motion module of the own
station
Un
(00 to FEH: Upper 2 digits of the I/O number expressed in
3 digits)
Start device of the own station where control data is stored
(S1)
(Refer to Section 10.4 (1) (a).)
Start device of the target station where data to be read is
(S2)
stored (Refer to Section 10.4 (1) (b).)
Start device of the own station where read data is stored
(D1)
A continuous area for the read data length is required
(Refer to Section 10.4 (1) (c).)
Device of the own station, which is turned on for 1 scan
(D2)
upon completion of the instruction.
(D2)+1 is turned on as well when the instruction fails.
Chapter 10 DEDICATED INSTRUCTIONS
JP.READ
Jn
GP.READ
Un
Available devices
Intelligent function
module device
U \G
Word
Description
10 - 8
(S2)
or
(S1)
(D1)
(D2)
"
"
(S2)
(S2)
(S1)
(D1)
(D2)
or
"
"
(S2)
Constant
Index register
Zn
K, H
Set by
User
System
Others
$
Data type
16-bit binary
Device name
Bit

Advertisement

Table of Contents
loading

Table of Contents