Mitsubishi Electric MELSEC-Q Series User Manual page 200

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

Advertisement

(2) Program example of station error detection
A stop error in the head module does not cause a stop error in the master station's CPU
module.
If a stop error occurs in the head module, the master station is notified when the bit that
corresponds to the head module's station number turns on in Operation status (each
station) (SW0100 to SW0117) of the master station.
To stop the entire system, create a program as follows and set the master station's
CPU module to STOP.
(a)
Link special relay (SB), link special register (SW)
Device
SB0049
Data link status (own station)
(b)
Devices used by the user
Device
N0
Nesting (station No.17)
M0
Communication condition establishment flag (station No.17)
F0
Annunciator when an error occurs in the head module (station No.17)
(c)
Program example
This program detects a stop error in station No.17 and sets the master station's
CPU module STOP.
SW101.0
SB49
SW0B1.0
Description
Communication program with station No.17
11 - 14
Chapter 11 PROGRAMMING
Device
Data link status (each station) (station
SW00B1.0
No.17)
Operation status (each station) (1) (station
SW0101.0
No.17)
Description
MC
N0
MCR
Description
Annunciator ON
F0
Program stop
STOP
M0
N0

Advertisement

Table of Contents
loading

Table of Contents