Program Example Of Station Error Detection - Mitsubishi Electric QJ71GF11-T2 User Manual

Melsec-q series cc-link ie field network master/ local module
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) (1) (SW0100 to SW0107) of the master
station.
(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.1)
M0
Communication condition establishment flag (station No.1)
F0
Annunciator when an error occurs in the head module (station No.1)
(c) Program example
This program detects a stop error in station No.1 and sets the master station's CPU module STOP.
Communication program with station No.1
Description
CHAPTER 11 PROGRAMMING
Device
Data link status (each station)
SW00B0.0
(station No.1)
Operation status (each station) (1)
SW0100.0
(station No.1)
Description
Annunciator ON
Program stop
Description
399
11

Advertisement

Table of Contents
loading

Table of Contents