Mitsubishi Electric MELSEC-Q Series User Manual page 152

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)
(b)
(4) Program example
The following program 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.
(a)
CPU module
READ instruction
request source
(Own station)
D700
D701
D702
D703
D704
(b)
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.)
System configuration
Station No.0
Simple Motion
module
Channel 1
Devices used in the program example
• Link special relay (SB), link special register (SW)
Device
Description
SB0047
Baton pass status (own station) SW00A1.0
• Devices used by the user
Device
Description
M100
Control data setting command
M101
Start contact
M105
Completion device
Completion status indication
M106
device
REMARK
For details on link special relay (SB) and link special register (SW), refer to Appendix
2 and Appendix 3.
Chapter 10 DEDICATED INSTRUCTIONS
READ instruction
request target
(Target station)
Network No.1
Device
Device
D200 to D217 Control data
D700 to D704 Read data storage device (station No.0)
10 - 14
Station No.17
Head module
W250
W251
W252
W253
W254
Description
Baton pass status (each station) of
station No.17
Description

Advertisement

Table of Contents
loading

Table of Contents