Jp/Gp.write (Writing Data To 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.6 JP/GP.WRITE (Writing Data to Another Station)

This instruction writes data to the device of another station. (In units of words)
JP.WRITE
GP.WRITE
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.
When specifying SD/SW, data can be written in the range that the user can set.
For details on SD/SW, refer to the following.
Manuals for the CPU module and network module of the target station
(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
register
J \
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)
(S1)
Start device of the own station where control data is stored
Start device of the own station where data to be written is
(S2)
stored
Start device of the target station where data is to be written
(D1)
(A continuous area with the write data length is required.)
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.WRITE
Jn
GP.WRITE
Un
Available devices
Intelligent function
module device
U \G
Word
Description
10 - 22
(D1)
or
(S1)
(S2)
(D2)
"
"
(D1)
(D1)
(S1)
(S2)
(D2)
or
"
"
(D1)
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