Mitsubishi Electric MELSEC-Q Series User Manual page 158

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

Advertisement

(3) Error
When the dedicated instruction fails, error details can be checked by any of the
following methods:
(a)
In GX Works2
Error details can be checked using CC-Link IE Field Network diagnostics. (Refer
to Chapter 9.)
(b)
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.)
(4) Program example
Just like the READ instruction program example, this program example is for reading
data of W250 to W254 of station No.17 (target station) into D700 to D704 of station
No.0 (own station) when M101 is turned on.
Furthermore, when the read notification device (D3) of the target station is turned on,
Y60 of the target station is turned on.
REMARK
Compared to the READ instruction program example, the SREAD instruction
program example has a different section where the read notification device (D3) is
specified at the end of the arguments. (Refer to Section 10.4 (4).)
(a)
System configuration
Same as the READ instruction program example.
(b)
Devices used in the program example
• Link special relay (SB), link special register (SW)
Same as the READ instruction program example.
• Devices used by users
The devices used in the SREAD instruction request source (station No.0) are
the same as those in the READ instruction program example.
Devices used in the SREAD instruction request destination (station No.17)
Device
Y107
Read notification device
(c)
SREAD instruction setting
Same as the READ instruction program example.
Chapter 10 DEDICATED INSTRUCTIONS
Description
Device
Y60
10 - 20
Description
Read completion device

Advertisement

Table of Contents
loading

Table of Contents