Mitsubishi Electric MELSEC-Q Series User Manual page 175

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

Advertisement

Sequence scan
Start contact
Completion device
Own station CPU
(Device specified in (D2))
Completion status
indication device
(Device of (D2)+1)
Write data storage device
(Device specified in (S2))
Completion status
(Device of (S1)+1)
Simple Motion module
(3) Error
When the dedicated instruction fails, error details can be checked by any of the
following methods:
(a)
(b)
(4) Program example
Just like the WRITE instruction program example, this program example is for writing
data of D750 to D753 of station No.0 (own station) into W300 to W303 of station No.18
(target station) when M112 is turned on.
Furthermore, when the write notification device (D3) of the target station is turned on,
the data of W300 to W303 are stored in D500 to D503.
• When failed
SWRITE
0
END
3000
In GX Works2
Error details can be checked using CC-Link IE Field Network diagnostics. (Refer
to Chapter 9.)
By devices
Completion status indication device ((D2)+1) is turned on and an error code is
stored in Completion status ((S1)+1) of the control data.
According to the error code, check the error details and take a corrective action.
(Refer to Section 12.5.)
REMARK
Compared to the WRITE instruction program example, the SWRITE instruction
program example has a different section where the write notification device (D3) is
specified at the end of the arguments. (Refer to Section 10.6 (4).)
Chapter 10 DEDICATED INSTRUCTIONS
0
END
Channel 1
Target station
error
10 - 37
0
END
0
END
1 scan
Error code
0
END

Advertisement

Table of Contents
loading

Table of Contents