Mitsubishi Electric MELSEC Q Series User Manual page 124

Programmable controller multiple cpu system
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

• Setting a control CPU in the I/O assignment.
(b) Checking host CPU number
The QCPU stores the host number in the special register (SD395).
It is recommended to create a program for checking the host number on the QCPU.
This will enable easy verification when QCPUs are not mounted correctly and when programs are written into
other CPUs with GX Developer.
In the program shown in Figure 3.18, the annunciator (F1) turns to ON when QCPU to which a program is
written is other than CPU No.1 (SD395 = 1.)
The "USER" LED on the front of the QCPU is illuminated when the annunciator (F1) turns ON.
The number of the annunciator that has turned ON will be stored in the special register (SD62).
<>
Remark
For checking method of the host CPU No.s of the Motion CPU, C Controller module, and PC CPU module, refer to the
manuals of each CPU module.
Figure 3.17 Control CPU setting
K1
SD395
Set the CPU No. for comparison.
Figure 3.18 Program for checking host CPU No.
CHAPTER3 CONCEPT FOR MULTIPLE CPU SYSTEM
Control CPU
(Control PLC)
setting
SET
F1
1
2
3
4
5
6
7
8
3 - 19

Advertisement

Table of Contents
loading

Table of Contents