Mitsubishi Electric MELSEC Q QCPU v2 User's Manual
QCPU User's Manual (Multiple CPU System)
-Q00CPU -Q26UD(E)HCPU -Q01CPU -Q26UDVCPU -Q02(H)CPU -Q26UDPVCPU -Q06HCPU -Q50UDEHCPU -Q12HCPU -Q100UDEHCPU -Q25HCPU -Q02PHCPU -Q06PHCPU -Q12PHCPU -Q25PHCPU -Q00UCPU -Q01UCPU -Q02UCPU -Q03UD(E)CPU -Q03UDVCPU -Q04UD(E)HCPU -Q04UDVCPU -Q04UDPVCPU -Q06UD(E)HCPU -Q06UDVCPU -Q06UDPVCPU -Q10UD(E)HCPU -Q13UD(E)HCPU -Q13UDVCPU -Q13UDPVCPU -Q20UD(E)HCPU
SAFETY PRECAUTIONS (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.
WARNING
CAUTION
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 off All outputs are turned off
All outputs are turned off All outputs are held or turned off according to the parameter setting.
Q series module AnS/A series module
1
[Design Precautions]
[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.
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]
[Wiring 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.
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]
[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.
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 perform each of the following operations more than 50 times (IEC 61131-2/JIS B 3502 compliant). Exceeding the limit may cause malfunction.
Mounting/removing the module to/from the base unit Inserting/removing the extended SRAM cassette to/from the CPU module Mounting/removing the terminal block to/from the module
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]
[Transportation 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).)
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 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:
Remark
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
CPU module Model Basic model QCPU Q00CPU, Q01CPU
High Performance model QCPU Q02(H)CPU, Q06HCPU, Q12HCPU, Q25HCPU
Process CPU Q02PHCPU, Q06PHCPU, Q12PHCPU, Q25PHCPU
Universal model QCPU
Q00UCPU, Q01UCPU, Q02UCPU, Q03UD(E)CPU, Q03UDVCPU, Q04UD(E)HCPU, Q04UDVCPU, Q04UDPVCPU, Q06UD(E)HCPU, Q06UDVCPU, Q06UDPVCPU, Q10UD(E)HCPU, Q13UD(E)HCPU, Q13UDVCPU, Q13UDPVCPU, Q20UD(E)HCPU, Q26UD(E)HCPU, Q26UDVCPU, Q26UDPVCPU, Q50UDEHCPU, Q100UDEHCPU
8
Memo
9
CONTENTS
10
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 MANUAL PAGE ORGANIZATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 TERMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CHAPTER 1 OVERVIEW 20
CHAPTER 2 CONCEPT OF MULTIPLE CPU SYSTEM 26
2.1 CPU Numbers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .26 2.2 I/O Number Assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
2.2.1 I/O numbers of I/O modules and intelligent function modules . . . . . . . . . . . . . . . . . . . . . . . . 29 2.2.2 I/O numbers of CPU modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
CHAPTER 3 SYSTEM CONFIGURATION 33
3.1 System Using Basic Model QCPU as CPU No.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .34 3.1.1 Available CPU modules, base units, power supply modules, and extension cables . . . . . . . 34 3.1.2 CPU module combinations and mounting positions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 3.1.3 Available I/O modules and intelligent function modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
3.2 System Using High Performance Model QCPU or Process CPU as CPU No.1. . . . . . . . . . . .43 3.2.1 Available CPU modules, base units, power supply modules, and extension cables . . . . . . . 43 3.2.2 CPU module combinations and mounting positions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 3.2.3 Available I/O modules and intelligent function modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3.3 System Using Universal Model QCPU as CPU No.1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55 3.3.1 Available CPU modules, base units, power supply modules, and extension cables . . . . . . . 55 3.3.2 CPU module combinations and mounting positions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 3.3.3 Available I/O modules and intelligent function modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
3.4 Applicable Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 3.5 Precautions for System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .71
CHAPTER 4 STARTING UP MULTIPLE CPU SYSTEM 78
4.1 Procedure Before Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 4.2 Operation Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
4.2.1 System configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 4.2.2 Parameter settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4.3 Program Examples for Communications by Auto Refresh . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 4.3.1 Program examples for Basic model QCPU, Qn(H)CPU, and QnPHCPU . . . . . . . . . . . . . . . 90 4.3.2 Program examples for Universal model QCPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4.4 Clock Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .102 4.4.1 Clock data of CPU modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 4.4.2 Clock data of intelligent function modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
4.5 Resetting a Multiple CPU System. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104 4.6 System Operation When a Stop Error Occurs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .105
CHAPTER 5 ACCESS BETWEEN CPU MODULES AND OTHER MODULES 107
5.1 Access to Controlled Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107 5.2 Access to Non-controlled Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .107
5.2.1 Loading input (X) data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 5.2.2 Loading output (Y) data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 5.2.3 Output to output modules and intelligent function modules . . . . . . . . . . . . . . . . . . . . . . . . . 112 5.2.4 Access to the intelligent function module buffer memory. . . . . . . . . . . . . . . . . . . . . . . . . . . 113 5.2.5 Access using the link direct device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
5.3 Access From a Programming Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 5.4 Accessible QCPUs when GOT is connected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118
CHAPTER 6 COMMUNICATIONS AMONG CPU MODULES 119
6.1 Communications Using the CPU Shared Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .121 6.1.1 Communications by auto refresh (using the auto refresh area) . . . . . . . . . . . . . . . . . . . . . . 125 6.1.2 Communications by auto refresh (using the multiple CPU high speed transmission area)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 6.1.3 Communications by programs using the CPU shared memory . . . . . . . . . . . . . . . . . . . . . . 153 6.1.4 Communications among CPU modules when an error is detected . . . . . . . . . . . . . . . . . . . 162
6.2 Control Directions from QCPU to Motion CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .163 6.3 Communications Among CPU Modules By Dedicated Instructions . . . . . . . . . . . . . . . . . . . .165
6.3.1 Reading/writing device data from/to Motion CPU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 6.3.2 Starting interrupt programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 6.3.3 Reading/writing device data between QnUCPUs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168
6.4 Multiple CPU Synchronous Interrupt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169 6.5 Multiple CPU synchronous startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .171
APPENDICES 173
Appendix 1 Parameters for a Multiple CPU System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .173 Appendix 1.1 List of parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
Appendix 2 Comparison with a Single CPU System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .178 Appendix 3 Precautions for Using AnS/A Series Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191 Appendix 4 Processing Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195
Appendix 4.1 Concept of scan time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 Appendix 4.2 Factors that increase scan time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197 Appendix 4.3 Reducing processing time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204
INDEX 205
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
11
MANUALS To understand the main specifications, functions, and usage of the CPU module, refer to the basic manuals. Read other manuals as well when using a different type of CPU module and its functions. Order each manual as needed, referring to the following lists.
The numbers in the "CPU module" and the respective modules are as follows.
: Basic manual, : Other CPU module manuals/Use them to utilize functions.
(1) CPU module user's manual
Number CPU module Number CPU module 1) Basic model QCPU 3) Process CPU
2) High Performance model QCPU 4) Universal model QCPU
Manual name
Description CPU module
1) 2) 3) 4) QCPU User's Manual (Hardware Design, Maintenance and Inspection)
Specifications of the hardware (CPU modules, power supply modules, base units, extension cables, memory cards, SD memory cards, and extended SRAM cassettes), system maintenance and inspection, troubleshooting, and error codes
QnUCPU User's Manual (Function Explanation, Program Fundamentals)
Qn(H)/QnPH/QnPRHCPU User's Manual (Function Explanation, Program Fundamentals)
QnUCPU User's Manual (Communication via Built-in Ethernet Port)
Detailed description of communication via the built-in Ethernet ports of the CPU module
QnUDVCPU/LCPU User's Manual (Data Logging Function)
Detailed description of the data logging function of the CPU module
12
(2) Programming manual
(3) Operating manual
Manual name
Description CPU module
1) 2) 3) 4) MELSEC-Q/L Programming Manual (Common Instruction)
Detailed description and usage of instructions used in programs
MELSEC-Q/L/QnA Programming Manual (SFC)
System configuration, specifications, functions, programming, and error codes for SFC (MELSAP3) programs
MELSEC-Q/L Programming Manual (MELSAP- L)
System configuration, specifications, functions, programming, and error codes for SFC (MELSAP-L) programs
MELSEC-Q/L Programming Manual (Structured Text)
System configuration and programming using structured text language
MELSEC-Q/L/QnA Programming Manual (PID Control Instructions)
MELSEC-Q Programming/Structured Programming Manual (Process Control Instructions)
Dedicated instructions for process control
Manual name
Description CPU module
1) 2) 3) 4) GX Works2 Version 1 Operating Manual (Common)
System configuration, parameter settings, and online operations (common to Simple project and Structured project) of GX Works2
GX Developer Version 8 Operating Manual
Operating methods of GX Developer, such as programming, printing, monitoring, and debugging
13
MANUAL PAGE ORGANIZATION In this manual, pages are organized and the symbols are used as shown below. The following page illustration is for explanation purpose only, and is different from the actual pages.
*1 The mouse operation example is provided below. (For GX Works2)
The section of the current page is shown.
The chapter of the current page is shown.
"" is used for window names and items.
[ ] is used for items in the menu bar and the project window.
shows operating procedures.
shows reference manuals.
shows notes that requires attention.
shows mouse operations.*1
shows reference pages.
shows setting or operating examples. Ex.
shows useful information.
A window selected in the view selection area is displayed.
View selection area
[Online] [Write to PLC...] Select [Online] on the menu bar, and then select [Write to PLC...].
Project window [Parameter]
[PLC Parameter]
Select [Project] from the view selection area to open the Project window.
Menu bar
Ex.
Ex.
In the Project window, expand [Parameter] and select [PLC Parameter].
14
TERMS Unless otherwise specified, this manual uses the following generic terms and abbreviations.
* indicates a part of the model or version.
Ex. Q33B, Q35B, Q38B, Q312BQ3B
Term Description Series
Q series An abbreviation for the Mitsubishi Electric MELSEC-Q series programmable controller
AnS series An abbreviation for compact types of the Mitsubishi Electric MELSEC-A series programmable controller
A series An abbreviation for large types of the Mitsubishi Electric MELSEC-A series programmable controller
CPU module type
CPU module
A generic term for the Basic model QCPU, High Performance model QCPU, Process CPU, Universal model QCPU, Motion CPU, C Controller module, and PC CPU module. The term in this manual does not include the Redundant CPU because it cannot be used in a multiple CPU system.
QCPU
A generic term for the Basic model QCPU, High Performance model QCPU, Process CPU, and Universal model QCPU. The term in this manual does not include the Redundant CPU because it cannot be used in a multiple CPU system.
Basic model QCPU A generic term for the Q00CPU and Q01CPU. The term in this manual does not include the Q00JCPU because it cannot be used in a multiple CPU system.
High Performance model QCPU A generic term for the Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, and Q25HCPU
Process CPU A generic term for the Q02PHCPU, Q06PHCPU, Q12PHCPU, and Q25PHCPU
Universal model QCPU
A generic term for the Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU, Q03UDVCPU, Q03UDECPU, Q04UDHCPU, Q04UDVCPU, Q04UDPVCPU, Q04UDEHCPU, Q06UDHCPU, Q06UDVCPU, Q06UDPVCPU, Q06UDEHCPU, Q10UDHCPU, Q10UDEHCPU, Q13UDHCPU, Q13UDVCPU, Q13UDPVCPU, Q13UDEHCPU, Q20UDHCPU, Q20UDEHCPU, Q26UDHCPU, Q26UDVCPU, Q26UDPVCPU, Q26UDEHCPU, Q50UDEHCPU, and Q100UDEHCPU. The term in this manual does not include the Q00UJCPU because it cannot be used in a multiple CPU system.
Built-in Ethernet port QCPU
A generic term for the Q03UDVCPU, Q03UDECPU, Q04UDVCPU, Q04UDPVCPU, Q04UDEHCPU, Q06UDVCPU, Q06UDPVCPU, Q06UDEHCPU, Q10UDEHCPU, Q13UDVCPU, Q13UDPVCPU, Q13UDEHCPU, Q20UDEHCPU, Q26UDVCPU, Q26UDPVCPU, Q26UDEHCPU, Q50UDEHCPU, and Q100UDEHCPU
High-speed Universal model QCPU A generic term for the Q03UDVCPU, Q04UDVCPU, Q06UDVCPU, Q13UDVCPU, and Q26UDVCPU
Universal model Process CPU A generic term for the Q04UDPVCPU, Q06UDPVCPU, Q13UDPVCPU, and Q26UDPVCPU
Motion CPU
A generic term for the Mitsubishi Electric motion controllers: Q172CPUN, Q173CPUN, Q172HCPU, Q173HCPU, Q172CPUN-T, Q173CPUN-T, Q172HCPU-T, Q173HCPU-T, Q172DCPU, Q173DCPU, Q172DCPU-S1, Q173DCPU-S1, Q172DSCPU, and Q173DSCPU
PC CPU module 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
C Controller module A generic term for the C Controller modules: Q06CCPU-V, Q06CCPU-V-B, Q12DCCPU- V, Q24DHCCPU-V, Q24DHCCPU-VG, Q24DHCCPU-LS, and Q26DHCCPU-LS.
15
CPU module model
Qn(H)CPU A generic term for the Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, and Q25HCPU
QnPHCPU A generic term for the Q02PHCPU, Q06PHCPU, Q12PHCPU, and Q25PHCPU
QnUCPU
A generic term for the Q00UCPU, Q01UCPU, Q02UCPU, Q03UDCPU, Q03UDVCPU, Q03UDECPU, Q04UDHCPU, Q04UDVCPU, Q04UDPVCPU, Q04UDEHCPU, Q06UDHCPU, Q06UDVCPU, Q06UDPVCPU, Q06UDEHCPU, Q10UDHCPU, Q10UDEHCPU, Q13UDHCPU, Q13UDVCPU, Q13UDPVCPU, Q13UDEHCPU, Q20UDHCPU, Q20UDEHCPU, Q26UDHCPU, Q26UDVCPU, Q26UDPVCPU, Q26UDEHCPU, Q50UDEHCPU, and Q100UDEHCPU. The term in this manual does not include the Q00UJCPU because it cannot be used in a multiple CPU system.
QnU(D)(H)CPU
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.
QnUDVCPU A generic term for the Q03UDVCPU, Q04UDVCPU, Q06UDVCPU, Q13UDVCPU, and Q26UDVCPU
QnUDPVCPU A generic term for the Q04UDPVCPU, Q06UDPVCPU, Q13UDPVCPU, and Q26UDPVCPU
QnUDE(H)CPU A generic term for the Q03UDECPU, Q04UDEHCPU, Q06UDEHCPU, Q10UDEHCPU, Q13UDEHCPU, Q20UDEHCPU, Q26UDEHCPU, Q50UDEHCPU, and Q100UDEHCPU
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
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.
Main base unit A generic term for the Q3B, Q3SB, Q3RB, and Q3DB
Extension base unit
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.
Slim type main base unit Another term for the Q3SB
Redundant power main base unit Another term for the Q3RB
Redundant power extension base unit Another term for the Q6RB
Multiple CPU high speed main base unit Another term for the Q3DB
Redundant power supply base unit A generic term for the redundant power main base unit and redundant power extension base unit
Base unit model
Q3B A generic term for the Q33B, Q35B, Q38B, and Q312B main base units
Q3SB A generic term for the Q32SB, Q33SB, and Q35SB slim type main base units
Q3RB Another term for the Q38RB redundant power main base unit
Q3DB A generic term for the Q35DB, Q38DB, and Q312DB multiple CPU high speed main base units
Q5B A generic term for the Q52B and Q55B extension base units
Term Description
16
Q6B A generic term for the Q63B, Q65B, Q68B, and Q612B extension base units
Q6RB Another term for the Q68RB redundant power extension base unit
QA1S5B Another term for the QA1S51B extension base unit
QA1S6B A generic term for the QA1S65B and QA1S68B extension base units
QA6B A generic term for the QA65B and QA68B extension base units
A5B A generic term for the A52B, A55B, and A58B extension base units
A6B A generic term for the A62B, A65B, and A68B extension base units
QA6ADP+A5B/A6B An abbreviation for a large type extension base unit where the QA6ADP is mounted
QA1S6ADP+A1S5B/A1S6B An abbreviation for a small type extension base unit where the QA1S6ADP is mounted
Power supply module
Power supply module 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
Q series power supply module A generic term for the Q61P-A1, Q61P-A2, Q61P, Q61P-D, Q62P, Q63P, Q64P, and Q64PN power supply modules
AnS series power supply module A generic term for the A1S61PN, A1S62PN, and A1S63P power supply modules
A series power supply module A generic term for the A61P, A61PN, A62P, A63P, A68P, A61PEU, and A62PEU power supply modules
Slim type power supply module An abbreviation for the Q61SP slim type power supply module
Redundant power supply module A generic term for the Q63RP and Q64RP redundant power supply modules
Life detection power supply module An abbreviation for the Q61P-D life detection power supply module
Network module
CC-Link IE module A generic term for the CC-Link IE Controller Network module and CC-Link IE Field Network module
MELSECNET/H module An abbreviation for the MELSECNET/H network module
Ethernet module An abbreviation for the Ethernet interface module
CC-Link module An abbreviation for the CC-Link system master/local module
Network
CC-Link IE A generic term for the CC-Link IE Controller Network and CC-Link IE Field Network
MELSECNET/H An abbreviation for the MELSECNET/H network system
Memory extension
Memory card A generic term for SRAM card, Flash card, and ATA card
SRAM card A generic term for the Q2MEM-1MBSN, Q2MEM-1MBS, Q2MEM-2MBSN, Q2MEM- 2MBS, Q3MEM-4MBS, and Q3MEM-8MBS SRAM cards
Flash card A generic term for the Q2MEM-2MBF and Q2MEM-4MBF Flash cards
ATA card A generic term for the Q2MEM-8MBA, Q2MEM-16MBA, and Q2MEM-32MBA ATA cards
SD memory card A generic term for the L1MEM-2GBSD and L1MEM-4GBSD SD Secure Digital memory cards. An SD card is a non-volatile memory card.
Extended SRAM cassette A generic term for the Q4MCA-1MBS, Q4MCA-2MBS, Q4MCA-4MBS, and Q4MCA- 8MBS extended SRAM cassettes
Software package
Programming tool A generic term for GX Works2 and GX Developer
GX Works2 The product name for the MELSEC programmable controller software package
GX Developer
Others
Control CPU 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.
Controlled module I/O modules and intelligent function modules which are controlled by a control CPU
Term Description
17
Non-controlled module I/O modules and intelligent function modules that are controlled by CPU modules other than a control CPU
Extension cable A generic term for the QC05B, QC06B, QC12B, QC30B, QC50B, and QC100B extension cables
Battery A generic term for the Q6BAT, Q7BATN, Q7BAT, and Q8BAT CPU module batteries, Q2MEM-BAT SRAM card battery, and Q3MEM-BAT SRAM card battery
QA6ADP An abbreviation for the QA6ADP QA conversion adapter module
QA1S6ADP A generic term for the QA1S6ADP and QA1S6ADP-S1 Q-AnS base unit conversion adapter
GOT A generic term for Mitsubishi Electric Graphic Operation Terminal, GOT-A*** series, GOT-F*** series, and GOT1000 series
Term Description
18
Memo
19
CHAPTER 1 OVERVIEW
In a multiple CPU system, more than one CPU module is mounted on the main base unit and each