Mitsubishi Electric MELSEC Q Series Reference Manual page 370

Cc-link ie controller network
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(2) Control data
Control data of the SWRITE instruction are the same as those of the WRITE instruction. (
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)
[Own station]
CPU module
(S2)
(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.
368
CC-Link IE Controller
Network module
Channel 1
SWRITE
Channel n
Channel 10
[Target station]
CPU module
(D1)
Page 354,
Network
module

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qj71gp21-sxMelsec qj71gp21s-sx

Table of Contents