Mitsubishi Electric MELSEC-Q Series User Manual page 173

Simple motion module
Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

(2) Function
(a)
SWRITE instruction overview
The instruction writes data by the specified number of words (control data
((S1)+9)) from the own station start device (S2) into the target station word
devices (after (D1)).
Specify the target stations in control data ((S1)+4 and (S1)+5).
When the writing of the data specified by (S2) is completed, the following devices
are turned on.
• Own station: Completion device (D2)
• Target station: Write notification device (D3)
[Own station]
CPU module
(S2)
(b)
Target stations which can be specified
For details on target stations which can be specified, refer to the following.
Refer to Section 10.1 (1).
(c)
Checking the execution status of the SWRITE instruction
The execution status (completion or error) of the SWRITE instruction can be
checked using the following device specified for the setting data.
• Completion device (D2)
It is turned on in the END processing of the scan after completion of the
SWRITE instruction, and is turned off in the next END processing.
• Completion status indication device ((D2)+1)
It is turned on in the END processing of the scan after completion of the
SWRITE instruction, and is turned off in the next END processing only if the
SWRITE instruction fails.
Chapter 10 DEDICATED INSTRUCTIONS
Simple Motion module
SWRITE
Channel 1
Channel 2
10 - 35
[Target station]
Head module
(D1)

Advertisement

Table of Contents
loading

Table of Contents