Jp/Gp.swrite (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.7 JP/GP.SWRITE (Writing Data to Another Station)

This instruction writes data to the device of another station. (In units of words)
With the SWRITE instruction, the device of the other station is turned on when data writing is
completed. Data writing with the SWRITE instruction can be confirmed by this.
JP.SWRITE
GP.SWRITE
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.
When specifying SD/SW, it 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): For the SWRITE instruction, the write notification device (D3) can be omitted in the programming.
However, the operation is the same as the WRITE instruction.
The SWRITE instruction can operate differently depending on whether the write notification device (D3) is omitted or not.
(Note-4): When the target station is a Basic model QCPU, the data set in the write notification device (D3) is ignored. (Operation is the same
as the WRITE 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.SWRITE
Jn
(S1)
GP.SWRITE
Un
(S1)
Available devices
Intelligent function
module device
Word
U \G
10 - 33
(D1)
or
(S2)
(D2)
(D3)
"
"
(D1)
(Note-3), (Note-4)
(D1)
(S2)
(D2)
(D3)
or
"
"
(D1)
(Note-3), (Note-4)
Constant
Index register
Zn
K, H
Others
$

Advertisement

Table of Contents
loading

Table of Contents