EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q Series - Page 370

Mitsubishi Electric MELSEC-Q Series
674 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
368
(2) Control data
Control data of the SWRITE instruction are the same as those of the WRITE instruction. ( Page 354,
Section 9.5 (2))
(3) Function
(a) SWRITE instruction overview
The SWRITE instruction writes word device data (in and after (S2)) of the own station to word devices of the
target station (in and after (D1)).
The target station is specified in Target station network No. ((S1)+4) and Target station No. ((S1)+5) of control
data.
Upon completion of writing the data specified in (S2), the following devices turn ON.
• Own station: Completion device (D2)
• Target station: Write notification device (D3)
(b) Target stations available for specification
• Target network
• In addition to CC-Link IE Controller Network, stations in the following networks can be also specified.
• CC-Link IE Field Network
• MELSECNET/H
• MELSECNET/10
• Ethernet
• Target station's CPU type
The SWRITE instruction is executable only when the target station is QCPU, RCPU, LCPU, or QnACPU.
The SWRITE instruction is not executable to the ACPU connected to MELSECNET/10 or Ethernet.
(c) Checking the execution status of the SWRITE instruction
The execution status of the SWRITE instruction (Normal completion, Error completion) can be checked with
the following devices specified in the setting data.
• Completion device (D2)
Turns ON in the END processing for the scan after completion of the SWRITE instruction, and goes OFF
in the next END processing.
• Completion status indication device ((D2)+1)
Turns ON in the END processing for the scan after completion of the SWRITE instruction, and turns OFF
in the next END processing, only when the SWRITE instruction has failed.
Channel 1
Channel n
Channel 10
SWRITE
CC-Link IE Controller
Network module
CPU module CPU module
Network
module
(S2) (D1)
[Own station] [Target station]

Table of Contents

Other manuals for Mitsubishi Electric MELSEC-Q Series

Related product manuals