(Always read these instructions before using this equipment.)
Before using this product, please read this manual and the relevant manuals int roduced in this manual
carefully and pay full attention to safety to handle the product correctly.
In this manual, t h e safety instructions are ranked as "DA NGER" and "CAUTION".
DANGER
CAUTION
Note that the CAUTION level may lead to a serious consequence according to the circumstances.
Always follow the instructions of both levels because they are important to personal safety.
Please save this ma nual to make it accessible when required and alwa ys forward it to the end user.
Indicates that incorrect handling may cause hazardous conditions,
resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions,
resulting in medium or slight personal injury or physical damage.
A
- 1
[Design Precautions]
DANGER
Install a safety circuit external to the PLC that keeps the entire system safe even when there are
problems with the external power suppl y or the PLC module. Otherwise, trouble could result from
erroneous output or er roneous operation.
(1) Outside the PLC, constru ct mech anica l damag e prevent ing i nterl ock circu its su ch as eme rgency
stop, protective circuits, posit ioning upper and lower limits switches and interlocking for ward/
reverse operations.
(2) When the PLC detects the following problems,
it will stop calc ulation and turn off all output in the case of (a).
In the case of (b), it will hold or turn off all output according to the parameter setting.
Note that the An S series module wi ll turn off the output in either of cases (a) and (b).
Q series moduleAnS series module
(a) The power supply module has
over currentprotection equipment
and over voltage protection
equipment.
(b) The CPU module self-diagnosis
functions, such as the watchdog
timer error, detect problems.
Output OFFOutput OFF
Hold or turn off all
output according to
the parameter setting.
Output OFF
In addition, all output will be turned on when there are pro blems that the PLC CPU cannot
detect, such as in th e I/O control ler. Buil d a fail safe ci rcuit ex terior t o the PLC that will make sure
the equipment operates safely at such times.
Refer to " LOADING AND INSTALLATION" in QCPU User's Manual (Hardware Design,
Maintenance and Inspection) for example fail safe circuits.
(3) Output could be left on or off when t here is trouble in the outputs module rel ay or transistor. So
build an external monitoring circuit that will monitor any single outputs that could cause serious
trouble.
A
- 2
[Design Precautions]
DANGER
When overcurrent which exceeds the rating or caused by short-circuited load flows in the output
module for a long time, it may cause smoke or fire. To prevent this, configure an external safety
circuit, such as fuse.
Build a circuit that turns on the external power supp ly when the PLC main module power is turned
on.
If the external power supply is turned on first, it could result in erroneous output or erroneous
operation.
When there are communication problems with the data link , refer to the corresponding data link
manual for the operating status of each station.
Not doing so could result in erroneous output or erroneous operation.
When connecting a peripheral device to the CPU module or connecting a personal computer or the
like to the intelligent function module / special function module to exercise control (data change) on
the running PLC, configure up an int erlock circuit in the sequence program to ensure that the whole
system will always operate safely.
Also before exercising other control (program change, operating status c hange (status control)) on
the running PLC, read the manual carefully and fully conf irm safety.
Especially for the above control on the remote PLC from an external device, an immediate action
may not be taken for PLC trouble due to a data communication fault.
In addition to configuring up the interlock circuit in the sequence program, corrective and other
actions to be taken as a system for the occurrence of a data communication fault should be
predetermined between the external device and PLC CPU.
CAUTION
Do not bunch the control wires or communication cables with the main circuit or power wires, or
install them close to each other.
They should be installed 100 mm (3.94 inch) or more from each other.
Not doing so could result in noise that would cause erroneous ope ration.
When controlling items li ke lamp l oad, heate r or sole noid val ve using a n output module, l arge curr ent
(approximately ten times greater than that present in normal circumstances) may flow when the
output is turned OFF to ON.
Take measures such as replacing the module with one having sufficient rated current.
A
- 3
[Installation Precautions]
CAUTION
Use the PLC in an environment that meets the general specifications contained in QCPU User's
Manual (Hardware Design, Maintenance and Inspect ion).
Using this PLC in an environment outside the range of the gen eral specifications could result in
electric shock, fire, erroneous operation, and damage to or deterioration of the product.
While pressing th e inst alla tion lever l ocate d at the bott om of module , ins ert th e modul e fixi ng tab into
the fixing hole in the base unit until it stops. Then, securely mount the mo dule with the fixing hole as
a supporting poin t.
Incorrect loading of the module can cause a malfunction, failure or drop.
When using the PL C in the en vi ro nm e nt of mu c h vi bra t i o n, ti gh te n th e m od ul e wit h a sc re w.
Tighten the screw in the specified torque range.
Undertightening can cause a drop, shor t circuit or malfunction.
Overtightening can cause a drop, short circuit or malfunction due to damage to the screw or mo dule.
When installing extension cables, be sure that the base unit and the extension module connectors
are installed correctly.
After installation, check them for looseness.
Poor connections c ould cause an input or out put failure.
Securely load the memory card into the memory card loading connector.
After installation, check for lifting.
Poor connections c ould cause an operation fault.
Completely turn off the external ly supplied power used in the system before mounting or removing
the module. Not doing so could result in damage to the product.N ote that the module can be
changed online (while power is on) in the system that uses the CPU module compatible with online
module change or on the MELSECNET/H remote I/O station.
Note that there are restrictions on the modules that can be changed online(while power is on), and
each module has its predetermined changing procedure.
For details, refer to QCPU User's Manual (Hardware Design, Maintenance and Inspection) and the
online module change section in the manual of the module compatible with online module change.
Do not directly touch the module's conductive parts or elect ronic components.
Touching the conductive parts could cause an operation failure or give damage to the mo dule.
A
- 4
[Wiring Precautions]
DANGER
Completely turn off the externally supplied pow er used in the system when installing or placing
wiring.
Not completely turning off all po wer could result in electric shock or damage to the product.
When turning on the power supply or opera ting the module after installation or wiring work, be sure
that the module's terminal covers are correctly attached.
Not attaching the terminal cover could result in electric shock.
DANGER
Be sure to ground the FG terminals and LG terminals to the prote c tive ground conductor.
Not doing so could result in electric shock or erroneous operation.
When wiring in the PLC, be sure tha t it is d one corr ectl y by che cki ng t he pr od uct' s ra te d vol tage and
the terminal layout.
Connecting a power supply that is diff erent from the rating or incorrectly wiring the product coul d
result in fire or damage.
External connections shall be crimped or pressure welded with the specified tools, or correctly
soldered.
Imperfect connections could result in short circuit, fi res, or erroneous operation.
Tighten the terminal screws with the specified torque.
If the terminal sc rews are loose, it could result in short cir c uits, fire, or erroneous operation.
Tighte ning the terminal screw s too far may cause damages to the screws and/or the module,
resulting in fallout, short circuits, or malfunction.
Be sure there are no foreign substances such as sawdust or wiring debris inside the module.
Such debris could cause fires, damage, or erroneous operation.
The module has an ing ress pr eventio n la bel o n its t op t o preve nt for eign matter, such as wire offcuts ,
from entering th e module during wir ing.
Do not peel this la be l du ri ng wi rin g .
Before starting system operation, be sure to peel this label because of hea t dissipation.
A
- 5
[Startup and Maintenance Precautions]
DANGER
Do not touch the terminals while power is on.
Doing so could cause shock or erroneous operation.
Correctly connect the battery.
Also, do not charge, disassemble, heat, place in fire, sho rt circuit, or solder the battery.
Mishandling of bat tery can cause overheating or cracks which could result in injury and fires.
Switch off all phases of the externally supplied power used in the system when cleaning the module
or retightening the terminal or module mounting scr ews.
Not doing so could resu lt in electric shock.
Undertightening of terminal screws can cause a short ci rcuit or malfunction.
Overtightening of screws can cause damages to the screws and/or the module, resulting in fallout,
short circuits, or malfunction.
A
- 6
[Startup and Maintenance Precautions]
CAUTION
The online operations conducted for the CPU module being operated, connecting the peripheral
device (especiall y, when changing data or operation s tatus) , shall b e conduc ted af ter th e manual has
been carefully read and a sufficien t check of safety has been conducted.
Operation mistakes could cause damage or problems with of the module.
Do not disassemble or mod ify the modules.
Doing so could cause trouble, erroneous operation, injur y, or fire.
Use any radio communication device such as a cellular phone or a PHS phone more than 25cm
(9.85 inch) away in all direction s of the PLC.
Not doing so can cause a mal function.
Completely turn off the externall y supplied power used in the system before mount ing or removing
the module. Not doing so could result in damage to the product.
Note that the module can be changed online (while power is on) in the system that uses the CPU
module compatible with online module change or on the MELSECNET/H remote I/O station.
Note that there are restrictions on the modules that can be changed online (while power is on) , and
each module has its predetermined changing procedure.
For details, refer to QCPU User's Manual (Hardware Design, Maintenance and Inspection) and the
online module change section in the manual of the module compatible with online module change.
Do not mount/remove the module onto/from base unit more than 50 t imes (IEC61131-2-compliant),
after the first use of the product.Failure to do so may cause the module to malfunction due to poor
contact of connector.
Do not drop or give an impact to the battery mounted to the module.
Doing so may damage the battery, causing the battery fluid to leak inside the battery.
If the battery is dropped or given an impact, dispose of it without using.
Before touching the module, always touch grounded metal, etc. to discharge static electricity from
human body, etc.
Not doing so can cause the module to fail or malfunction.
A
- 7
[Disposal Precautions]
CAUTION
When disposing of this product, treat it as industrial waste.
[Transportation Precautions]
CAUTION
When transporting lithium batteries, make sure to trea t them based on the transp ort regulations.
(Refer to Appendix4 for details of the controlled models.)
A
- 8
REVISIONS
The manual number is given on the bottom left of the back cover.
Print DateManual NumberRevision
Jun., 2004SH(NA)-080484ENG-A First edition
Japanese Manual Version SH-080473 -A
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent licenses.
Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may
occur as a result of using the contents noted in this manual.
C
2004 MITSUBISHI ELECTRIC CORPORATION
A
- 9
INTRODUCTION
Thank you for choo sing t he Mits ubis hi MELSE C-Q Se ries of Gene ral Pu rpose Prog rammabl e Contr oll ers.
Before using the equipment, please read this manual carefully to develop full familiarity with the functions
and performance of the Q series PLC you have purchased, so as to ensure correct use.
CONTENTS
SAFETY PRECAUTIONS•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 1
REVISIONS•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A - 9
INTRODUCTION ••••••••••••••••••••••••••••••••••••••••••••••••• ••••••• ••••••• •••••• ••••••• •••••• ••••••• ••••••• •••••• ••••••• ••A - 10
CONTENTS••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A - 10
ABOUT MANUALS•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A - 20
HOW TO SEE THIS MANUAL IS ORGANIZED••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A - 23
HOW TO USE THIS MANUAL•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A - 25
GENERIC TERMS AND ABBREVIATIONS•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••A - 26
1.1.1Features of Basic model QCPU•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 1 - 10
1.1.2Features of High Performance model QCPU •••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 1 - 11
1.1.3Features of Process CPU•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 1 - 13
1.1.4Features of Redundant CPU•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 1 - 15
1.2Program Storage and Operation••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 1 - 17
1.3Devices and Instructions Convenient for Programming ••••••••••••••••••••••••••••••••••••••••••••••••••• 1 - 23
1.4How to Check the Serial No. and Function Version•••••••••••••••••••••••••••••••••••••••••••••••••••••••• 1 - 28
CHAPTER2 PERFORMANCE SPECIFICATION2 - 1 to 2 - 8
CHAPTER3 SEQUENCE PROGRAM CONFIGURATION AND EXECUTION CONDITIONS
3.2Settings for Execution of Only One Sequence Program •••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 22
3.3Settings for Creation and Execution of Multiple Sequence Programs •••••••••••••••••••••••••••••••••• 3 - 24
3.3.1Initial execution type program••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 26
3.3.2Scan execution type program••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 30
3.3.3Low speed execution type program ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 33
3.3.4Stand-by type program••••••••••••••••••••••••••••••••••••••••••• ••••••• •••••• ••••••• •••••••••••••••••••••• 3 - 41
3.3.5Fixed scan execution type program ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 46
3.3.6Execution type setting and example of type changing••••••••••••••••••••••••••••••••••••••••••••••• 3 - 52
3.4.3Automatic refresh of the intelligent functi on modu le•••• ••••••• •••••• ••••••••••••••••••••••••••••••••• 3 - 59
3.6Operation Processing during Momentary Power Failure•••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 63
3.9Numeric Values which can be Used in Sequence Programs••••••••••••••••••••••••••••••••••••••••••••• 3 - 73
3.9.4Real numbers (floating decimal point data) •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 79
3.10 Character String Data•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 3 - 83
CHAPTER4 I/O NUMBER ASSIGNMENT4 - 1 to 4 - 34
4.1Relationship between Number of Slots and Main Base Unit •••••••••••••••••••••••••••••••••••••••••••••••4 - 1
4.2Relationship between No. of Extension Stages and No. of Slots••••••••••••••••••••••••••••••••••••••••••4 - 2
4.3Installing Extension Base Units and Setting the Number of Stages ••••••••••••••••••••••••••••••••••••••4 - 4
4.4Base Unit Assignment (Base Mode) •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 10
4.5Definition of I/O Number••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 17
4.6Concept of I/O Number Assignment •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 18
4.6.1I/O numbers of base unit••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 18
4.6.2I/O numbers of remote station•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 21
4.7I/O Assignment by GX Developer ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 23
4.7.1Purpose of I/O assignment by GX Developer ••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 23
4.7.2Concept of I/O assignment using GX Developer•••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 25
4.8Examples of I/O Number Assignment••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 30
4.9Checking the I/O Numbers•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 4 - 34
CHAPTER5 MEMORIES AND FILES HANDLED BY CPU MODULE5 - 1 to 5 - 59
5.1.5Standard ROM program execution (boot run) and writing••••••••••••••••••••••••••••••••••••••••••• 5 - 12
5.2High Performance Model QCPU, Process CPU and Redundant CPU••••••••••••••••••••••••••••••••• 5 - 16
5.2.1Memory configuration and storable data•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 16
5.2.6Write to standard ROM and Flash card by GX Developer •••••••••••••••••••••••••••••••••••••••••• 5 - 34
5.2.7Automatic all data write from memory card to standard ROM•••••••••••••••••••••••••••••••••••••• 5 - 39
5.2.8Execution of standard ROM/memory card programs (boot run) ••••••••••••••••••••••••••••••••••• 5 - 43
5.2.9Details of written files••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 5 - 48
6.1Function List •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 1
6.4Setting of Output (Y) Status when Changing between STOP and RUN ••••••••••••••••••••••••••••••• 6 - 12
6.6.5Relationship of remote operation and CPU's RUN/STOP status •••••••••••••••••••••••••••••••••• 6 - 33
6.7Input Response Time Selection of Q Series Modules ••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 34
6.8Error Time Output Mode Setting ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 37
6.9Hardware Error Time PLC Operation Settings•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 38
6.10 Intelligent Function Module Switch Setting••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 39
6.11.3Enforced ON/OFF of external I/O •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 53
6.12 Writing in Program during CPU Module RUN ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 61
6.12.1Write during RUN in ladder mode•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 61
6.13.2Interrupt program monitor list ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 76
6.15 Debug Execution by Multiple Users ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 91
6.15.1Simultaneous monitoring execution by multiple users ••••••••••••••••••••••••••••••••••••••••••••••• 6 - 92
6.15.2Simultaneous write during RUN by multiple users•••••••••••••••••••••••••••••••••••••••••••••••••••• 6 - 95
6.17.1Interrupt due to error occurrence••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 111
6.17.2LED display at the time of error occurrence•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 113
6.18 Error History ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 115
6.18.1Basic model QCPU ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 115
6.18.2High Performance model QCPU, Process CPU, Redundant CPU •••••••••••••••••••••••••••••••6 - 116
6.19 System Protect •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 117
6.20 CPU Module System Display by GX Developer •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 127
6.21 LED Display•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 131
6.21.1Method to turn off the LED •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 132
6.22 High Speed Interrupt Function ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 136
6.22.1High speed interrupt program execu tio n•••••••••••• •••••• ••••••• •••••• ••••••• ••••••• •••••••••••••••••• 6 - 138
6.22.2High speed I/O refresh, high speed buffer transfer••••••••••••••••••••••••••••••••••••••••••••••••••6 - 140
6.22.3Processing times •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 143
6.23 Interrupt from the Intelligent Function Module••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 148
6.24 Serial Communication Function•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 149
6.25 Reading the Module Service Interval Time •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 157
6.26 Device Initial Value ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••6 - 159
CHAPTER7 COMMUNICATION WITH INTELLIGENT FUNCTION MODULE7 - 1 to 7 - 10
7.1Communication Between CPU Module and Intelligent Function Modules•••••••••••••••••••••••••••••••7 - 2
7.1.1Initial setting and auto refresh setting by GX Configurator••••••••••••••••••••••••••••••••••••••••••••7 - 3
7.1.2Initial setting by device initial value ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••7 - 5
7.1.3Communication by FROM/TO instruction ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••7 - 5
7.1.4Communication by intelligent function module device •••••••••••••••••••••••••••••••••••••••••••••••••7 - 6
7.1.5Communication by instructions for Intelli. function modules ••••••••••••••••••••••••••••••••••••••••••7 - 8
7.2Access to AnS Series Corresponding Special Function Module •••••••••••••••••••••••••••••••••••••••• 7 - 10
8.1.1Basic model QCPU •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••8 - 2
8.1.2High Performance model QCPU, Process CPU, Redundant CPU •••••••••••••••••••••••••••••••• 8 - 14
9.7.6Precautions for using file registers••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 9 - 72
9.10.1List of interrupt pointer Nos and interrupt factors ••••••••••••••••••••••••••••••••••••••••••••••••••••• 9 - 86
9.11 Other Devices ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 9 - 92
9.13 Convenient Usage of Devices•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 9 - 98
9.13.1Global devices and local devices •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 9 - 98
CHAPTER10 CPU MODULE PROCESSING TIME10 - 1 to 10 - 21
10.1.1Scan time structure ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 10 - 1
10.1.2Time required for each processing included in scan time ••••••••••••••••••••••••••••••••••••••••••• 10 - 4
10.1.3Factors that increase the scan time ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••10 - 12
10.1.4Factors that can shorten scan time by changing the settings •••••••••••••••••••••••••••••••••••••10 - 17
11.1.1Items to be examined for program creation•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 11 - 1
11.1.3Procedure for writing program •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 11 - 4
11.1.4Boot run procedure ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 11 - 6
11.2High Performance Model QCPU, Process CPU, Redundant CPU•••••••••••••••••••••••••••••••••••••• 11 - 7
11.2.1Items to be examined for program creation•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• 11 - 7
11.2.3Procedure for writing one program •••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••11 - 10
11.2.4Procedure for writing multiple programs•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••11 - 13
11.2.5Boot run procedure ••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••11 - 16
Appendix 3.1Basic model QCPU Upgrade•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••App- 80
Appendix 3.2High Performance model QCPU Upgrade•••••••••••••••••••••••••••••••••••••••••••••••••••App- 84
Appendix 4Precautions for Battery Transport••••••••••••••••••••••• •••••••••••••••••••••••••••••••••••••••• ••••App - 88
Appendix 5Device Point Assignment Sheet•••••••••••••••••••••••••••••••• •••••••••••••••••••••••••••••••••••••App - 89
INDEX INDEX- 1 to INDEX- 4
A
- 15
(Related manual).................QCPU User's Manual (Hardware Design, Maintenance and Inspection)
CONTENTS
CHAPTER1 OVERVIEW
1.1Features
CHAPTER2 SYSTEM CONFIGURATION
2.1System Configuration
2.1.1System Configuration for Single CPU System
2.1.2System Configuration for Bus connection of GOT
2.1.3Configuration of peripher al devic es
2.1.4Applicable Devices and Software
2.1.5Precaution on system configuration
2.2Confirming Serial No. and Function Version
CHAPTER3 GENERAL SPECIFICATIONS
CHAPTER4 HARDWARE SPECIFICATIONS OF THE CPU MODULE
4.1Performance Specifications
4.2Basic Model QCPU
4.2.1Part Names
4.2.2Switch Operation After Writing Program
4.2.3Reset Operation
4.2.4Latch Clear Operation
4.3High Performance Model QCPU, Process CPU and Redundant CPU
4.3.1Part Names
4.3.2Switch Operation After Writing Program
4.3.3Reset Operation
4.3.4Latch Clear Operation
4.3.5Automatic Writing to Standard ROM
CHAPTER5 POWER SUPPLY MODULE
5.1Base Units and CPU Modules Used with Power Sup pl y Modu le
5.2Specifications
5.2.1Power supply module specifications
5.2.2Selecting the power supply module
5.2.3Precaution when connecting the uninterruptive power supply
5.2.4Cautions on power supply cap ac ity
5.3Names of Parts and Settings
CHAPTER6 BASE UNIT AND EXTENSION CABLE
6.1Base Unit
A
- 16
6.1.1Specification Table
6.1.2Part Names
6.1.3Setting the Extension Base Unit
6.1.4Guideline for Use of Extension Base Units
6.2Extension Cable
6.2.1Specification Table
CHAPTER7 MEMORY CARD AND BATTERY
7.1Memory Card
7.1.1List of Usable Memory Cards
7.1.2Memory Card Specifications
7.1.3The Part Names of the Memory Card
7.1.4Handling the Memory Card
7.1.5Memory Card Loading/Unloading Procedures
7.1.6Specifications of the Battery for Memory Card
7.1.7Battery Installation into the Memory Card
7.2Battery (Q6BAT, Q7BAT)
7.2.1Battery Specifications
7.2.2Installation of Battery
CHAPTER8 CPU MODULE START-UP PROCEDURES
CHAPTER9 EMC AND LOW VOLTAGE DIRECTIVES
9.1Requirements for Conformance to EMC Directive
9.1.1Standards relevant to the EMC Directive
9.1.2Installation instructions for EMC Directive
9.1.3Cables
9.1.4Power Supply Module and Q00JCPU's Power Supply Part
9.1.5When Using MELSEC-A Series Modules
9.1.6Others
9.2Requirement to Conform to the Low Voltage Directive
9.2.1Standard applied for MELSEC-Q series PLC
9.2.2MELSEC-Q series PLC selection
9.2.3Power supply
9.2.4Control panel
9.2.5Grounding
9.2.6External wiring
CHAPTER10 LOADING AND INSTALLATION
10.1General Safety Requirements
10.2Calculating Heat Generation of PLC
10.3Module Installation
10.3.1Precaution on in stallation
10.3.2Instructions for mounting the base unit
10.3.3Installation and removal of module
10.4How to Set Stage Numbers for the Extension Base Unit
A
- 17
10.5Connection and Disconnection of Extension Cable
10.6Wiring
10.6.1The precautions on the wiring
10.6.2Connecting to the power supply module
CHAPTER11 MAINTENANCE AND INSPECTION
11.1Daily Inspection
11.2Periodic Inspection
11.3Battery Life and Replacement Procedure
11.3.1Battery lives of CPU modules
11.3.2Replacement Procedure of the CPU Module Battery
11.3.3SRAM card battery life
11.3.4SRAM card CPU module battery replacement procedure
11.4When PLC Has Been Stored Without Battery
11.5When Battery Has Gone Flat During Storage of PLC
CHAPTER12 TROUBLESHOOTING
12.1Troubleshooting Basics
12.2Troubleshooting
12.2.1Troubleshooting flowchart
12.2.2Flowchart for when the ERR terminal (negative logic) is turns off (opened)
12.2.3Flowchart for when the "MODE" LED does not turn on
12.2.4Flowchart for when the "MODE" LED is flickering
12.2.5Flowchart for when the "POWER" LED turns off
12.2.6Flowchart for when the "POWER" LED turns on (red)
12.2.7Flowchart for when the "RUN" LED turned off
12.2.8When the "RUN" LED is flickering
12.2.9Flowchart for when the "ERR." LED is on/flickering
12.2.10When the "USER" LED is turned on
12.2.11When the "BAT." LED is turned on
12.2.12Flowchart for when the "BOOT" LED is flickering
12.2.13Flowchart for when output module LED does not turn on
12.2.14Flowchart for when output load of output module does not turn on
12.2.15Flowchart for when a program cannot be read
12.2.16Flowchart for when write a program cannot be written
12.2.17Flowchart for when program is rewritten unintentionally
12.2.18Flowchart for when boot operation cannot be performed from memory card
12.2.19Flowchart for when UNIT VERIFY ERR. occurs
12.2.20Flowchart for when CONTROL BUS ERR. occurs
12.3Error Code List
12.3.1Error codes
12.3.2CPU module errors
12.3.3Error codes returned to request source during communication with CPU module
12.4Module Change during System Operation
12.4.1Online module change
12.4.2Change of redundant power supply module (Q64RP)
A
- 18
12.5I/O Module Troubleshooting
12.5.1Input circuit troubleshoot ing
12.5.2Output Circuit Troubleshooting
12.6Special Relay List
12.7Special Register List
APPENDICES
Appendix 1 External Dimensions
Appendix 1.1CPU module
Appendix 1.2Power supply module
Appendix 1.3Main base unit
Appendix 1.4Extension base unit
Appendix 1.5Extension cable
Appendix 1.6Tracking cable
Appendix 2 Comparison
Appendix 2.1Functions Improvement of Basic Model QCPU
Appendix 2.2Upgraded Functions of High Performance Model QCPU
Appendix 2.3Precautions for Using the High Performance Model QCPU of Older Versions
Appendix 3 Precautions for Battery Transportation
INDEX
A
- 19
ABOUT MANUALS
Related Manuals
The following manuals are also related to this product.
In necessary, order them by quoting the details in the tables below.
(1) Common to CPU modules
The following table indicates the related manuals common to the Basic model QCPU,
High Performance model QCPU, Process CPU and Redundant CPU.
Manual Name
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
This manual provides the specifications of the CPU modules, power supply modules, base units,
extension cables, memory cards and others.
This manual describes the structured text language programming methods.
(Sold separately)
Manual Number
(Model Code)
SH-080483ENG
(13JR73)
SH-080039
(13JF58)
SH-080041
(13JF60)
SH-080076
(13JF61)
SH-080366E
(13JF68)
A
- 20
(2) Basic model QCPU
The following table indicates the related manuals of the Basic model QCPU other than
the manuals indicated in "(1) Common to CPU modules".
Manual Name
QCPU (Q Mode)/QnACPU Programming Manual (PID Control Instructions)
This manual describes the dedicated instructions used to exercise PID control.
(Sold separately)
QCPU User’s Manual (Multiple CPU System)
This manual explains the multiple CPU system overview, system configuration, I/O numbers, communication
between CPU modules, and communication with the I/O modules or intelligent function modules.
(Sold separately)
Q Corresponding MELSEC Communication Protocol Reference Manual
This manual explains the communication methods and control procedures through the MC protocol for the
external devices to read and write data from/to the CPU module using the serial communication module/
Ethernet module.
(Sold separately)
(3) High Performance model QCPU
The following table indicates the related manuals of the High Performance model
QCPU other than the manuals indicated in "(1) Common to CPU modules".
Manual Name
QCPU (Q Mode)/QnACPU Programming Manual (PID Control Instructions)
This manual describes the dedicated instructions used to exercise PID control.
(Sold separately)
QCPU User’s Manual (Multiple CPU System)
This manual explains the multiple CPU system overview, system configuration, I/O numbers, communication
between CPU modules, and communication with the I/O modules or intelligent function modules.
(Sold separately)
Manual Number
(Model Code)
SH-080040
(13JF59)
SH-080485ENG
(13JR75)
SH-080008
(13JF89)
Manual Number
(Model Code)
SH-080040
(13JF59)
SH-080485ENG
(13JR75)
A
- 21
(4) Process CPU
The following table indicates the related manuals of the Process CPU other than the
manuals indicated in "(1) Common to CPU modules".
Manual Name
QnPHCPU/QnPRHCPU Programming Manual (Process Control Instructions)
This manual describes the programming procedures, device names, and other items necessary to implement
PID control using process control instructions.
(Sold separately)
QCPU User’s Manual (Multiple CPU System)
This manual explains the multiple CPU system overview, system configuration, I/O numbers, communication
between CPU modules, and communication with the I/O modules or intelligent function modules.
(Sold separately)
(5) Redundant CPU
The following table indicates the related manuals of the Redundant CPU other than
the manuals indicated in "(1) Common to CPU modules".
Manual Name
QnPRHCPU User's Manual (Redundant System)
This manual explains the redundant system configuration, functions, communication with external devices, and
troubleshooting for redundant system construction using the Redundant CPU.
(Sold separately)
QCPU (Q Mode)/QnACPU Programming Manual (PID Control Instructions)
This manual describes the dedicated instructions used to exercise PID control.
(Sold separately)
QnPHCPU/QnPRHCPU Programming Manual (Process Control Instructions)
This manual describes the programming procedures, device names, and other items necessary to implement
PID control using process control instructions.
(Sold separately)
Manual Number
(Model Code)
SH-080316E
(13JF67)
SH-080485ENG
(13JR75)
Manual Number
(Model Code)
SH-080486ENG
(13JR76)
SH-080040
(13JF59)
SH-080316E
(13JF67)
A
- 22
HOW TO SEE THIS MANUAL IS ORGANIZED
CPU modules requiring
precautions
The CPU modules requiring precautions
are shown as icons.
"Note . " under the icon corresponds to
"Note . " in the sentences and at the
page bottom. However, "Note . " is not
described in the section title.
Reference destination
A reference destination or
reference manual is marked
.
Chapter heading
The index on the right side of the page
shows the chapter of the open page at a
glance.
Precautions
Precautions corresponding to the icons are
provided.
Icon
High
QCPU
Basic
Basic
Performance
model QCPU
High
Performance
High
Performance
Process CPURedundant CPU
ProcessRedundant
Process
Redundant
Section title
The section of the open page is shown at a
glance.
DescriptionBasic model
The ! marked icon indicates the CPU module
does not support a part of the described
functions.
The marked icon indicates the CPU module
does not support all of the described functions.
A
- 23
In addition, this manual provides the foll owi ng exp la nati ons.
POINT
Explains the matters to be especially noted, the functions and others related to the
description.
Remark
Provides the reference destination related to the description on that page and the
convenient information.
A
- 24
HOW TO USE THIS MANUAL
This manual is prepared for users to understand memory map, functions, programs and
devices of the CPU module when you use Q Series PLCs.
The manual is classified roughly into three sections as shown below.
1) Chapters 1Describe the outline of the CPU module.
2) Chapters 2 to 5Describe the perform ance spe cificat ions, executab le pr ogram, I/O
3) Chapter 6Describes the functions of the CPU modules.
4) Chapter 7Describes communication with intelligent function modules.
5) Chapters 8 and 9Describe parameters and devices used in the CPU modules.
6) Chapter 10Describes the CPU module processing time.
7) Chapter 11Describes the procedure for writing parameters and programs
Remark
No. and memory of the CPU module.
created at the GX Developer to the CPU module.
This manual does not explain the functi ons of power sup pl y modu le s, bas e units,
extension cables, memory cards and batteries of CPU module.
For these details, refer to the manual shown below.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
Refer to the following manual for the multiple CPU system.
QCPU User's Manual (Multiple CPU Syst em)
Refer to the following manual for the redundant system.
QnPRHCPU User's Manual (Redundant System)
A
- 25
GENERIC TERMS AND ABBREVIATIONS
Unless otherwise specified, this manual uses the following generic terms and
abbreviations to explain the Q series CPU modules.
Generic Term/AbbreviationDescription
Basic model QCPUGeneral name for Q00JCPU, Q00CPU and Q01CPU modules.
High Performance model QCPUGeneral name for Q02CPU, Q02HCPU, Q06HCPU Q12HC PU and Q25HCPU mo dules .
Process CPUGeneral name for Q12PHCPU and Q25PHCPU
Redundant CPUGeneral name for Q12PRHCPU and Q25PRHCPU.
QnHCPUGeneral name for Q02HCPU, Q06HCPU Q12HCPU and Q25HCPU
QnPHCPUGeneral name for Q12PHCPU and Q25PHCPU
QnPRHCPUGeneral name for Q12PRHCPU and Q25PRHCPU.
CPU module
Q seriesAbbreviation for Mitsubishi MEL SEC-Q Series Programmable Logic Controller.
AnS series
GX Developer
Q3 B
Q3 SB
Q3 RB
Q5 B
Q6 B
Q6 RB
QA1S6 B
Main base unit
Extension base unit
Slim type main base unit
Redundant main base unit
Redundant extension base unit
Base unit
Redundant base unitGeneral name for redundant main base unit and redundant extension base unit.
General name for Basic model QCPU, High performance model QCPU, Process CPU
and Redundant CPU.
Abbreviation for compact types of Mitsubishi MELSEC-A Series Programmable Logic
Controller.
Product name for Q series compatible SW D5C-GPPW-E type GPP function software
package.
indicates the version.
For the GX Developer versions applicable for each CPU module, refer to "System
configuration" in the QCPU User's Manual (Hardware Design, Maintenance and
Inspection).
General name for Q33B, Q35B, Q38B and Q312B main base units on which CPU
module (except Q00JCPU), Q series power supply module, I/O module and intelligent
function module can be mounte d.
General name for Q32SB, Q33SB an d Q35SB slim ty pe main base uni ts on which Basic
model QCPU (except Q00JCPU) High Performance model QCPU, slim type power
supply module, I/O module and intelligent function module can be mounted.
General name for Q38RB redundant power supply base unit on which CPU module
(except Q00JCPU), redundant power supply module, Q series I/O module and
intelligent function module can be mounted.
General name for Q52B and Q55B extension base unit on which the Q Series I/O and
intelligent function module can be mounted.
General name for Q63B, Q65B, Q68B and Q612B extension base unit on which Q
Series power supply module, I/O module, intelligent function module can be mounted.
General name for Q68R B re dun dan t power supply base unit on w h ic h red und an t po we r
supply module, Q series I/O modules and intelligent function module can be mounted.
General name for QA1S65B and QA1S68B extension base units on which with AnS
Series power supply module, I/O module, special function module can be mounted.
General name for Q3 B, Q3 SB and Q3 RB.
General name for Q5 B, Q6 B, Q6 RB and QA1S6 B.
General name for Q3 SB.
General name for Q3 RB.
General name for Q6 RB.
General name for main base unit, extension base unit, slim type main base unit,
redundant main base unit and redundant extension base unit.
A
- 26
Generic Te rm/AbbreviationDescription
Extension cable
Tracking cableGeneral name for QC10TR and QC30TR tracking cable for Redundant CPU.
Q series power supply moduleGeneral name for Q61P-A1, Q61P-A2, Q62P, Q63P and Q64P power supply modules.
Slim type power supply moduleGeneral name for Q61SP slim type power supply module.
Redundant power supply moduleGeneral name for Q64RP redundant power supply module.
AnS series power supply moduleGeneral name for A1S61PN, A1S62PN and A1S63P power supply modules.
Power supply module
Battery
SRAM cardAbbreviation for Q2MEM-1MBS and Q2MEM-2MBS type SRAM card.
Flash cardGeneral name for Q2MEM-2MBF and Q2MEM-4MBF type Flash card.
ATA cardGeneral name for Q2MEM- 8MBA, Q 2M EM -16 MBA a nd Q 2M EM -32 MBA ty pe ATA card.
Memory cardGeneral name for SRAM card, Flash card and ATA card.
PC CPU moduleMELSEC-Q series compatible PC CPU module of Contec makes.
Control systemAbbreviation for Redundant CPU specified as control system.
Standby systemAbbreviation for Redundant CPU specified as standby system.
System AAbbreviation for Redundant CPU specified as System A.
System BAbbreviation for Redundant CPU specified as System B.
General name for QC05B, QC06B, QC12B, QC30B, QC50B, QC100B extension
cables.
General name for Q series power supply modules, AnS series power supply modules,
slim type power supply module and redundant power supply module.
General name for Q6BAT and Q7BAT CPU module batteries and Q2MEM-BAT SRAM
card battery.
A
- 27
1
OVERVIEW
CHAPTER1 OVERVIEW
This manual describes the programs, I/O number assignment method, functions and
devices of the Q Series CPU Modules ( (1) below).
For the power supply modules, base units, extension cables, memory cards and batteries,
refer to the manual below.
QCPU User's Manual (Hardware Design, Maintenance and Inspection)
(1) CPU modules corresponding to the description of this manual
The CPU modules described in this manual are as shown in Table1.1.
Table1.1 List of CPU modules corresponding to the description of this manual
CPU moduleModel name
Basic model QCPUQ00JCPU, Q00CPU, Q01CPU
High Performance model QCPU
Process CPUQ12PHCPU, Q25PHCPU
Redundant CPUQ 12PRHCPU, Q25PRHCPU
Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU,
Q25HCPU
1
- 1
Loading...
+ 662 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.