Indicates that incorrect handling may cause hazardous conditions,
resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions,
resulting in minor or moderate injury or property damage.
Overcurrent or overvoltage protection of
the power supply module is activated.
The CPU module detects an error such as a
watchdog timer error by the self-diagnostic function.
All outputs are turned offAll outputs are turned off
All outputs are turned off
All outputs are held or turned off
according to the parameter setting.
Q series moduleAnS/A series module
(Read these precautions before using this product.)
Before using this product, please read this manual and the relevant manuals carefully and pay full attention
to safety to handle the product correctly.
In this manual, the safety precautions are classified into two levels: "WARNING" and "CAUTION".
Under some circumstances, failure to observe the precautions given under "CAUTION" may lead to
serious consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future
reference.
[Design Precautions]
WARNING
● Configure safety circuits external to the programmable controller to ensure that the entire system
operates safely even when a fault occurs in the external power supply or the programmable controller.
Failure to do so may result in an accident due to an incorrect output or malfunction.
(1) Configure external safety circuits, such as an emergency stop circuit, protection circuit, and
protective interlock circuit for forward/reverse operation or upper/lower limit positioning.
(2) The programmable controller stops its operation upon detection of the following status, and the
output status of the system will be as shown below.
All outputs may turn on when an error occurs in the part, such as I/O control part, where the
programmable controller CPU cannot detect any error. To ensure safety operation in such a case,
provide a safety mechanism or a fail-safe circuit external to the programmable controller. For a
fail-safe circuit example, refer to the QCPU User's Manual (Hardware Design, Maintenance and
Inspection).
(3) Outputs may remain on or off due to a failure of an output module relay or transistor. Configure an
external circuit for monitoring output signals that could cause a serious accident.
1
[Design Precautions]
WARNING
● In an output module, when a load current exceeding the rated current or an overcurrent caused by a
load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an
external safety circuit, such as a fuse.
● Configure a circuit so that the programmable controller is turned on first and then the external power
supply. If the external power supply is turned on first, an accident may occur due to an incorrect output
or malfunction.
● For the operating status of each station after a communication failure, refer to manuals relevant to the
network. Incorrect output or malfunction due to a communication failure may result in an accident.
● When connecting a peripheral with the CPU module or connecting an external device, such as a
personal computer, with an intelligent function module to modify data of a running programmable
controller, configure an interlock circuit in the program to ensure that the entire system will always
operate safely. For other forms of control (such as program modification or operating status change)
of a running programmable controller, read the relevant manuals carefully and ensure that the
operation is safe before proceeding. Especially, when a remote programmable controller is controlled
by an external device, immediate action cannot be taken if a problem occurs in the programmable
controller due to a communication failure. To prevent this, configure an interlock circuit in the
sequence program, and determine corrective actions to be taken between the external device and
CPU module in case of a communication failure.
[Design Precautions]
CAUTION
● Do not install the control lines or communication cables together with the main circuit lines or power
cables. Keep a distance of 100mm (3.94 inches) or more between them. Failure to do so may result in
malfunction due to noise.
● When a device such as a lamp, heater, or solenoid valve is controlled through an output module, a
large current (approximately ten times greater than normal) may flow when the output is turned from
off to on. Take measures such as replacing the module with one having a sufficient current rating.
● After the CPU module is powered on or is reset, the time taken to enter the RUN status varies
depending on the system configuration, parameter settings, and/or program size. Design circuits so
that the entire system will always operate safely, regardless of the time.
2
[Installation Precautions]
CAUTION
● Use the programmable controller in an environment that meets the general specifications in the
QCPU User's Manual (Hardware Design, Maintenance and Inspection). Failure to do so may result in
electric shock, fire, malfunction, or damage to or deterioration of the product.
● To mount the module, while pressing the module mounting lever located in the lower part of the
module, fully insert the module fixing projection(s) into the hole(s) in the base unit and press the
module until it snaps into place. Incorrect mounting may cause malfunction, failure or drop of the
module. When using the programmable controller in an environment of frequent vibrations, fix the
module with a screw. Tighten the screw within the specified torque range. Undertightening can cause
drop of the screw, short circuit, or malfunction. Overtightening can damage the screw and/or module,
resulting in drop, short circuit, or malfunction.
When using an extension cable, connect it to the extension cable connector of the base unit securely.
●
Check the connection for looseness. Poor contact may cause incorrect input or output.
● When using a memory card, fully insert it into the memory card slot. Check that it is inserted
completely. Poor contact may cause malfunction.
● When using an SD memory card, fully insert it into the SD memory card slot. Check that it is inserted
completely. Poor contact may cause malfunction.
● Securely insert an extended SRAM cassette into the cassette connector of a CPU module. After
insertion, close the cassette cover to prevent the cassette from coming off. Poor contact may cause
malfunction.
● Shut off the external power supply (all phases) used in the system before mounting or removing the
module. Failure to do so may result in damage to the product. A module can be replaced online (while
power is on) on any MELSECNET/H remote I/O station or in the system where a CPU module
supporting the online module change function is used. Note that there are restrictions on the modules
that can be replaced online, and each module has its predetermined replacement procedure. For
details, refer to the relevant sections in the QCPU User's Manual (Hardware Design, Maintenance
and Inspection) and in the manual for the corresponding module.
● Do not directly touch any conductive parts and electronic components of the module, memory card,
SD memory card, or extended SRAM cassette. Doing so can cause malfunction or failure of the
module.
● When using a Motion CPU module and modules designed for motion control, check that the
combinations of these modules are correct before applying power. The modules may be damaged if
the combination is incorrect. For details, refer to the user's manual for the Motion CPU module.
[Wiring Precautions]
WARNING
● Shut off the external power supply (all phases) used in the system before wiring. Failure to do so may
result in electric shock or damage to the product.
● After installation and wiring, attach the included terminal cover to the module before turning it on for
operation. Failure to do so may result in electric shock.
3
[Wiring Precautions]
CAUTION
● Individually ground the FG and LG terminals of the programmable controller with a ground resistance
of 100 or less. Failure to do so may result in electric shock or malfunction.
● Use applicable solderless terminals and tighten them within the specified torque range. If any spade
solderless terminal is used, it may be disconnected when the terminal screw comes loose, resulting in
failure.
● Check the rated voltage and terminal layout before wiring to the module, and connect the cables
correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause a fire
or failure.
● Connectors for external devices must be crimped or pressed with the tool specified by the
manufacturer, or must be correctly soldered. Incomplete connections may cause short circuit, fire, or
malfunction.
● Securely connect the connector to the module. Poor contact may cause malfunction.
● Do not install the control lines or communication cables together with the main circuit lines or power
cables. Keep a distance of 100mm (3.94 inches) or more between them. Failure to do so may result in
malfunction due to noise.
● Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled,
resulting in damage to the module or cables or malfunction due to poor connection.
● Check the interface type and correctly connect the cable. Incorrect wiring (connecting the cable to an
incorrect interface) may cause failure of the module and external device.
● Tighten the terminal screws within the specified torque range. Undertightening can cause short circuit,
fire, or malfunction. Overtightening can damage the screw and/or module, resulting in drop, short
circuit, or malfunction.
● Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can
cause a fire, failure, or malfunction.
● A protective film is attached to the top of the module to prevent foreign matter, such as wire chips,
from entering the module during wiring. Do not remove the film during wiring. Remove it for heat
dissipation before system operation.
● When disconnecting the cable from the module, do not pull the cable by the cable part. For the cable
with connector, hold the connector part of the cable. For the cable connected to the terminal block,
loosen the terminal screw. Pulling the cable connected to the module may result in malfunction or
damage to the module or cable.
● Mitsubishi programmable controllers must be installed in control panels. Connect the main power
supply to the power supply module in the control panel through a relay terminal block. Wiring and
replacement of a power supply module must be performed by qualified maintenance personnel with
knowledge of protection against electric shock. For wiring methods, refer to the QCPU User's Manual
(Hardware Design, Maintenance and Inspection).
4
[Startup and Maintenance Precautions]
WARNING
● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction.
● Correctly connect the battery connector. Do not charge, disassemble, heat, short-circuit, solder, or
throw the battery into the fire. Also, do not expose it to liquid or strong shock. Doing so will cause the
battery to produce heat, explode, ignite, or leak, resulting in injury and fire.
● Shut off the external power supply (all phases) used in the system before cleaning the module or
retightening the terminal screws, connector screws, or module fixing screws. Failure to do so may
result in electric shock or cause the module to fail or malfunction.
[Startup and Maintenance Precautions]
CAUTION
● Before performing online operations (especially, program modification, forced output, and operating
status change) for the running CPU module from the peripheral device connected, read relevant
manuals carefully and ensure the safety. Improper operation may damage machines or cause
accidents.
● Do not disassemble or modify the modules. Doing so may cause failure, malfunction, injury, or a fire.
● Use any radio communication device such as a cellular phone or PHS (Personal Handy-phone
System) more than 25cm (9.85 inches) away in all directions from the programmable controller.
Failure to do so may cause malfunction.
● Shut off the external power supply (all phases) used in the system before mounting or removing the
module. Failure to do so may cause the module to fail or malfunction. A module can be replaced
online (while power is on) on any MELSECNET/H remote I/O station or in the system where a CPU
module supporting the online module change function is used. Note that there are restrictions on the
modules that can be replaced online, and each module has its predetermined replacement procedure.
For details, refer to the relevant sections in the QCPU User's Manual (Hardware Design, Maintenance
and Inspection) and in the manual for the corresponding module.
● After the first use of the product, do not mount/remove the module to/from the base unit, and the
terminal block to/from the module, and do not insert/remove the extended SRAM cassette to/from the
CPU module more than 50 times (IEC 61131-2 compliant) respectively. Exceeding the limit of 50 times
may cause malfunction.
● After the first use of the product, do not insert/remove the SD memory card to/from the CPU module
more than 500 times. Exceeding the limit may cause malfunction.
● Do not drop or apply shock to the battery to be installed in the module. Doing so may damage the
battery, causing the battery fluid to leak inside the battery. If the battery is dropped or any shock is
applied to it, dispose of it without using.
● Before handling the module, touch a grounded metal object to discharge the static electricity from the
human body. Failure to do so may cause the module to fail or malfunction.
5
[Disposal Precautions]
CAUTION
● When disposing of this product, treat it as industrial waste. When disposing of batteries, separate
them from other wastes according to the local regulations. (For the Battery Directive in EU member
states, refer to the QCPU User's Manual (Hardware Design, Maintenance and Inspection).)
[Transportation Precautions]
CAUTION
● When transporting lithium batteries, follow the transportation regulations. (For details of the regulated
models, refer to the QCPU User's Manual (Hardware Design, Maintenance and Inspection).)
6
CONDITIONS OF USE FOR THE PRODUCT
(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major
or serious accident; and
ii) where the backup and fail-safe function are systematically or automatically provided outside of
the PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT
LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT,
WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR
LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR
USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS,
OR WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY
MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any
other cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of
a special quality assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as
Elevator and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation,
Equipment for Recreation and Amusement, and Safety devices, handling of Nuclear or
Hazardous Materials or Chemicals, Mining and Drilling, and/or other applications where there is a
significant risk of injury to the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the
PRODUCT in one or more of the Prohibited Applications, provided that the usage of the PRODUCT
is limited only for the specific applications agreed to by Mitsubishi and provided further that no
special quality assurance or fail-safe, redundant or other safety features which exceed the general
specifications of the PRODUCTs are required. For details, please contact the Mitsubishi
representative in your region.
7
INTRODUCTION
Remark
This manual describes the system configurations, functions, and communication methods with external devices
required in a multiple CPU system.
Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the
functions and performance of the Q series programmable controller to handle the product correctly.
When applying the program examples introduced in this manual to the actual system, ensure the applicability and
confirm that it will not cause system control problems.
Relevant CPU modules:
CPU moduleModel
Basic model QCPUQ00CPU, Q01CPU
High Performance model QCPUQ02(H)CPU, Q06HCPU, Q12HCPU, Q25HCPU
● This manual does not describe the specifications and precautions of the power supply modules, base units, extension
cables, memory cards, SD memory cards, extended SRAM cassettes, and batteries as well as the peripheral
configurations.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
● For the functions of CPU modules when used in a system other than a multiple CPU system, refer to the following.
User's Manual (Function Explanation, Program Fundamentals) for the CPU module used
Q172DCPU, Q173DCPU, Q172DCPU-S1, Q173DCPU-S1, Q172DSCPU, and
Q173DSCPU
A generic term for the MELSEC-Q series-compatible PC CPU modules manufactured by
CONTEC Co., Ltd: PPC-CPU686(MS)-64, PPC-CPU686(MS)-128, and PPC-
CPU852(MS)-512
A generic term for the C Controller modules: Q06CCPU-V, Q06CCPU-V-B, Q12DCCPU-
V, Q24DHCCPU-V, and Q24DHCCPU-LS
A generic term for the Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU, Q04UDHCPU,
Q06UDHCPU, Q10UDHCPU, Q13UDHCPU, Q20UDHCPU, and Q26UDHCPU.
The term in this manual does not include the Q00UJCPU because it cannot be used in a
multiple CPU system.
15
TermDescription
QnUDVCPU
QnUDE(H)CPU
Q172CPUN(-T)A generic term for the Q172CPUN and Q172CPUN-T
Q173CPUN(-T)A generic term for the Q173CPUN and Q173CPUN-T
Q172HCPU(-T)A generic term for the Q172HCPU and Q172HCPU-T
Q173HCPU(-T)A generic term for the Q173HCPU and Q173HCPU-T
Q172DCPU(-S1)A generic term for the Q172DCPU and Q172DCPU-S1
Q173DCPU(-S1)A generic term for the Q173DCPU and Q173DCPU-S1
Base unit type
Base unit
Main base unitA generic term for the Q3B, Q3SB, Q3RB, and Q3DB
Extension base unit
Slim type main base unitAnother term for the Q3SB
Redundant power main base unitAnother term for the Q3RB
Redundant power extension base unitAnother term for the Q6RB
Multiple CPU high speed main base unitAnother term for the Q3DB
Redundant power supply base unit
Base unit model
Q3BA generic term for the Q33B, Q35B, Q38B, and Q312B main base units
Q3SBA generic term for the Q32SB, Q33SB, and Q35SB slim type main base units
Q3RBAnother term for the Q38RB redundant power main base unit
Q3DB
Q5BA generic term for the Q52B and Q55B extension base units
Q6BA generic term for the Q63B, Q65B, Q68B, and Q612B extension base units
Q6RBAnother term for the Q68RB redundant power extension base unit
QA1S5B
QA1S6BA generic term for the QA1S65B and QA1S68B extension base units
QA6BA generic term for the QA65B and QA68B extension base units
A5BA generic term for the A52B, A55B, and A58B extension base units
A6BA generic term for the A62B, A65B, and A68B extension base units
QA6ADP+A5B/A6BThe abbreviation for A large type extension base unit where the QA6ADP is mounted
QA1S6ADP+A1S5B/A1S6BThe abbreviation for A small type extension base unit where the QA1S6ADP is mounted
Power supply module
Power supply module
Q series power supply module
AnS series power supply moduleA generic term for the A1S61PN, A1S62PN, and A1S63P power supply modules
A generic term for the Q03UDVCPU, Q04UDVCPU, Q06UDVCPU, Q13UDVCPU, and
Q26UDVCPU
A generic term for the Q03UDECPU, Q04UDEHCPU, Q06UDEHCPU, Q10UDEHCPU,
Q13UDEHCPU, Q20UDEHCPU, Q26UDEHCPU, Q50UDEHCPU, and Q100UDEHCPU
A generic term for the main base unit, extension base unit, slim type main base unit,
redundant power main base unit, redundant power extension base unit, and multiple
CPU high speed main base unit.
The term in this manual does not include the redundant type extension base unit
because it cannot be used in a multiple CPU system.
A generic term for the Q5B, Q6B, Q6RB, QA1S5B, QA1S6B,
QA1S6ADP+A1S5B/A1S6B, QA6B, and QA6ADP+A5B/A6B.
The term in this manual does not include the Q6WRB because it cannot be used in a
multiple CPU system.
A generic term for the redundant power main base unit and redundant power extension
base unit
A generic term for the Q35DB, Q38DB, and Q312DB multiple CPU high speed main
base units
Another term for the QA1S51B extension base unit
A generic term for the Q series power supply module, AnS series power supply module,
A series power supply module, slim type power supply module, and redundant power
supply module
A generic term for the Q61P-A1, Q61P-A2, Q61P, Q61P-D, Q62P, Q63P, Q64P, and
Q64PN power supply modules
16
Ter mDescription
A series power supply module
Slim type power supply moduleThe abbreviation for the Q61SP slim type power supply module
Redundant power supply moduleA generic term for the Q63RP and Q64RP redundant power supply modules
Life detection power supply moduleThe abbreviation for the Q61P-D life detection power supply module
Network module
CC-Link IE module
MELSECNET/H moduleThe abbreviation for the MELSECNET/H network module
Ethernet moduleThe abbreviation for the Ethernet interface module
CC-Link moduleThe abbreviation for the CC-Link system master/local module
Network
CC-Link IEA generic term for the CC-Link IE Controller Network and CC-Link IE Field Network
MELSECNET/HThe abbreviation for the MELSECNET/H network system
Memory extension
Memory cardA generic term for SRAM card, Flash card, and ATA card
SRAM card
Flash cardA generic term for the Q2MEM-2MBF and Q2MEM-4MBF Flash cards
ATA cardA generic term for the Q2MEM-8MBA, Q2MEM-16MBA, and Q2MEM-32MBA ATA cards
SD memory card
Extended SRAM cassette
Software package
Programming toolA generic term for GX Works2 and GX Developer
GX Works2
GX Developer
Others
Control CPU
Controlled moduleI/O modules and intelligent function modules which are controlled by a control CPU
Non-controlled module
Extension cable
Battery
QA6ADPThe abbreviation for the QA6ADP QA conversion adapter module
QA1S6ADP
GOT
A generic term for the A61P, A61PN, A62P, A63P, A68P, A61PEU, and A62PEU power
supply modules
A generic term for the CC-Link IE Controller Network module and CC-Link IE Field
Network module
A generic term for the Q2MEM-1MBS, Q2MEM-2MBS, Q3MEM-4MBS, and Q3MEM-
8MBS SRAM cards
A generic term for the L1MEM-2GBSD and L1MEM-4GBSD SD Secure Digital memory
cards. An SD card is a non-volatile memory card.
A generic term for the Q4MCA-1MBS, Q4MCA-2MBS, Q4MCA-4MBS, and Q4MCA-
8MBS extended SRAM cassettes
The product name for the MELSEC programmable controller software package
A CPU module which controls each I/O module and intelligent function module.
In a multiple CPU system, the CPU module which executes the control can be set for
each module.
I/O modules and intelligent function modules that are controlled by CPU modules other
than a control CPU
A generic term for the QC05B, QC06B, QC12B, QC30B, QC50B, and QC100B
extension cables
A generic term for the Q6BAT, Q7BAT, and Q8BAT CPU module batteries, Q2MEM-BAT
SRAM card battery, and Q3MEM-BAT SRAM card battery
A generic term for the QA1S6ADP and QA1S6ADP-S1 Q-AnS base unit conversion
adapter
A generic term for Mitsubishi Graphic Operation Terminal, GOT-A*** series, GOT-F***
series, and GOT1000 series
17
CHAPTER 1OVERVIEW
Remark
QCPU
Motion CPU
PC CPU module
1111
In a multiple CPU system, more than one CPU module is mounted on the main base unit and each CPU module
controls I/O modules and intelligent function modules separately.
QCPUs, Motion CPUs, C Controller modules, and PC CPU modules can be used in multiple CPU systems.
(Page 31, CHAPTER 3)
This manual describes the combinations of CPU modules and communications among CPU modules in a multiple CPU
system. For the uses, functions, and instruction availabilities of each CPU module, refer to the following.
Manual for the CPU module used
For PC CPU modules, contact CONTEC Co., Ltd.
http://www.contec.com/
(1) Distributed control
In a multiple CPU system, control can be distributed by specifying a control CPU module for each I/O module and
intelligent function module. (Page 24, Section 2.1)
CPU01234567
112
Controlled by CPU No.1.
Controlled by CPU No.2.
222
Distributed control provides the advantages listed on the following page.
Slot number
Control CPU setting
18
CHAPTER 1 OVERVIEW
Data processing (low speed)
A single QCPU controls an entire system.
Machine control (high speed)
(Processing speed:
1ms or less)
CPU module for
machine control
(Processing speed:
1 to several 10ms)
CPU module for
data processing
Machine control speed is further increased with
load distribution according to the control cycle.
Free
space
Used memory
Free
space
Free
space
Used
memory
Used
memory
Memory capacity can be expanded by
using more than one CPU module.
An additional CPU module can
expand the following:
Program memory
Device memory
(a) Distribution of processing
The overall system scan time can be reduced by distributing the high-load processing performed in a single
CPU module over multiple CPU modules.
(b) Distribution of memory
The memory capacity used for the entire system can be increased by distributing the memory areas over
multiple CPU modules.
1
(c) Distribution of functions
Programs can be developed easily by distributing the functions, for example, having different CPU modules
control production line A and production line B.
19
(2) Configuring sequence control and motion control systems on the same base
Control
Motion control
Sequence
control
SSCNET
Operation switch Operation status lamp
Servo
motor
Servo
motor
Servo
amplifier
Servo
amplifier
CPU No.1
ProgramProgram
Multiple CPU high
speed transmission
Multiple CPU high
speed transmission
Data transfer
Data transfer
Data transfer
Data are transferred in parallel with programs.
X0
Y20
END
0
CPU No.2
X100
Y120
END
0
unit
In a multiple CPU system consisting of a QCPU and Motion CPU, sequence control and motion control can be
implemented together to achieve a high-level motion system.
Interaction with Motion CPUs for motion control is enhanced in Universal model QCPUs.
(a) High-speed data transfer between CPU modules
In a multiple CPU system, up to 14K-word data are transferred in parallel with programs between CPU
modules. This enables high-speed data transfer independent of scan time, and shortens the takt time of the
entire system. (Page 150, Section 6.1.3)
20
CHAPTER 1 OVERVIEW
Reading an imposition signal when
a multiple CPU synchronous
interrupt program is not used
Motion
CPU
Universal
model QCPU
Operation cycle
of a Motion CPU
Motion SFC program
Multiple CPU high
speed transmission
area
Multiple CPU high
speed transmission
Multiple CPU high
speed transmission
area
Multiple CPU
synchronous
interrupt program
Program
Reading an
imposition signal
Multiple CPU
high speed
transmission cycle
I45 IRET
END 0
I45 IRETI45 IRET
I45 IRET
END
I45 IRET
I45 IRET
Reading an
imposition signal
0
(b) Synchronous processing with a motion control
An interrupt program which is synchronized with the operation cycle of a Motion CPU (multiple CPU
synchronous interrupt program) can be executed. Command input or output from a Motion CPU can be
synchronized with the operation cycle of the Motion CPU, which enables high-speed data transfer independent
of scan time. (Page 166, Section 6.4)
1
21
(c) Checking data send/receive timing between CPU modules
With the sampling trace function of Universal model QCPUs, the data communications timing with a Motion
CPU can be checked. Timing can also be checked between Universal model QCPUs.
The sampling trace function facilitates the processing for checking the data send/receive timing between CPU
modules, and reduces the time for debugging the multiple CPU system.
Sampling trace result display using a programming tool
The sampling trace of other CPU modules in the multiple CPU system can be executed, by specifying the following CPU
modules.
• Universal model QCPU (except the Q00UCPU, Q01UCPU, and Q02UCPU)
• Motion CPU (Q172DCPU(-S1), Q173DCPU(-S1), Q172DSCPU, or Q173DSCPU)
22
CHAPTER 1 OVERVIEW
(3) Data communications among CPU modules
The following data communications can be performed among CPU modules in a multiple CPU system.
(a) Transferring data among CPU modules
Data can be transferred among CPU modules by setting auto refresh using a programming tool.
(Page 122, Section 6.1.1 to Page 135, Section 6.1.2)
(b) Reading data from other CPU modules
Each CPU module can read data from other CPU modules whenever required using the following instructions.
(Page 150, Section 6.1.3)
• Read instruction from the CPU shared memory in another CPU module
• Cyclic transmission area device (U3En\G)
(c) Directing control to the Motion CPU
The QCPU can direct control to the Motion CPU using the following instruction. (Page 160, Section 6.2)
• Motion dedicated instruction
(d) Reading/writing device data to/from the Motion CPU
The QCPU can read/write device data to/from the Motion CPU using the following instructions.
(Page 162, Section 6.3.1)
• Multiple CPU transmission dedicated instruction
• Multiple CPU high-speed transmission dedicated instruction
1
(e) Issuing events to the C Controller module or PC CPU module
The QCPU can issue events to the C Controller module or PC CPU module using the following instruction.
(Page 164, Section 6.3.2)
• Multiple CPU transmission dedicated instruction
The Universal model QCPU (except the Q00UCPU, Q01UCPU, and Q02UCPU) can execute the motion
dedicated instruction multiple times in one scan. Since the motion dedicated instruction can be executed
consecutively to different axis numbers, delay time of servo startup intervals can be shortened.
(f) Logging communication data among CPU modules
Communication data among CPU modules can be saved to an SD memory card in CSV format by logging the
cyclic transmission area device (U3EnG) using the data logging function of the CPU module.
The high-speed Universal model QCPU supports the data logging function.
(b) Specifying a connection target using a programming tool (personal computer)
1
3
<>K1SD395
Set the CPU number to be compared.
SETF1
CPU numbers are used to specify a CPU module to which a programming tool is connected.
CPU012
2
A programming tool
communicates with
CPU No.2.
4
Slot number
CPU number
Specify "PLC No.2".
(3) Checking the host CPU number
The host CPU number of a QCPU is stored in SD395 (Multiple CPU system information). A host CPU number
check program (refer to an example below) should be created. If created, the following status can be checked
easily.
• Incorrect mounting status of the QCPU
• Program writing status to other CPU modules using the programming tool
In the following program, if the QCPU to which the program is written is other than CPU No.1 (if the value in
SD395 is other than "1"), the annunciator (F1) turns on. Accordingly, the USER LED of the QCPU turns on.
The corresponding annunciator number is stored in SD62 (Annunciator number).
26
CHAPTER 2 CONCEPT OF MULTIPLE CPU SYSTEM
Ex.
2.2I/O Number Assignment
A multiple CPU system uses the following two I/O numbers.
• I/O numbers used by CPU modules to communicate with I/O modules and intelligent function modules
(Page 27, Section 2.2.1)
• I/O numbers used by CPU modules to communicate with other CPU modules (Page 30, Section 2.2.2)
2.2.1I/O numbers of I/O modules and intelligent function modules
In the same way as in single CPU systems, I/O number "00H" is assigned to the I/O module or intelligent function
module mounted to the right of the CPU module. The subsequent I/O numbers are assigned sequentially to the right.
In multiple CPU systems, however, CPU modules may be mounted in slots 0 to 2 as well, and accordingly the start slot
of "00
" varies.
H
When two CPU modules are mounted
2
CPU01234567
I/O number: 00
H
Slot number
2.2 I/O Number Assignment
2.2.1 I/O numbers of I/O modules and intelligent function modules
27
● Some CPU modules occupy two or more slots. When this type of CPU module is used, the second slot and after are
treated as empty slots.
In the case of a PC CPU module, for example, the right slot of the occupied two slots is treated as an empty slot having
16 points. (An empty slot occupies 16 points by default.)
For this reason, the start I/O number of the module mounted on the right of the PC CPU module will be "10
".
H
CPU 012
Number of
CPU modules: 3
Note that the start I/O number can be changed to "00
Slot number
Empty slot:
00
H to 0FH occupied
" by setting "0 Point" to the number of points for the right slot of the
H
PC CPU module in PLC parameter ("I/O Assignment").
● The I/O numbers of the multiple CPU system can be checked on the System monitor window using a programming tool.
● In the same way as in single CPU systems, the position of I/O number "00
" can be changed to any slot in PLC
H
parameter ("I/O Assignment"). (User's Manual (Function Explanation, Program Fundamentals) for the CPU module
used)
28
Loading...
+ 182 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.