Mitsubishi Electric Q Series v2 Training Manual
![Mitsubishi Electric Q Series manual cover](/images/12bdd74ac7c93ec795689696/thumbs/thumb175x175.webp)
![English English](/static/img/blank.webp)
SAFETY PRECAUTION (Always read these instructions before using the products.)
When designing the system, always read the relevant manuals and give sufficient consideration to safety. During the exercise, pay full attention to the following points and handle the product correctly.
[EXERCISE PRECAUTIONS]
WARNING Do not touch the terminals while the power is on to prevent electric shock.
Before opening the safety cover, make sure to turn off the power or ensure the safety.
Do not touch the movable portion.
CAUTION Follow the instructor's direction during the exercise.
Do not remove the module of the demonstration machine or change wirings without permission.
Doing so may cause failures, malfunctions, personal injuries and/or a fire. Turn off the power before installing or removing the module.
Failure to do so may result in malfunctions of the module or electric shock. When the demonstration machine (such as X/Y table) emits abnormal odor/sound, press "Power
switch" or "Emergency switch" to turn off. When a problem occurs, notify the instructor as soon as possible.
REVISIONS *The textbook number is written at the bottom left of the back cover.
Print date *Textbook number Revision
Oct., 2012 SH-081124ENG-A First edition
This textbook 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 textbook.
2012 MITSUBISHI ELECTRIC CORPORATION
(1)
CONTENTS
INTRODUCTION (5)
CHAPTER 1 OVERVIEW OF QCPU 1- 1 to 1- 6
CHAPTER 2 SYSTEM CONFIGURATION 2- 1 to 2-20
2.1 Basic System Configuration 2- 1 2.1.1 Device configuration 2- 1 2.1.2 Precautions for system configuration 2- 4
2.2 Connection with GX Works2 2- 6 2.2.1 Interface and connection channel 2- 6 2.2.2 Access range from GX Works2 2- 9
2.3 Name and Appearance of CPU 2-10 2.4 Memory System Configuration 2-13
2.4.1 Universal model QCPU module memory configuration 2-13 2.4.2 Memory card application 2-15 2.4.3 Handling the memory card 2-16
CHAPTER 3 PERFORMANCE SPECIFICATIONS 3- 1 to 3-16
3.1 Performance Specifications 3- 1 3.2 Device 3-11
CHAPTER 4 BASIC KNOWLEDGE REQUIRED FOR OPERATING GX Works2 4- 1 to 4- 6
4.1 Screen Configuration in GX Works2 4- 1 4.2 Basic Operations of Dialog Box 4- 4 4.3 Ladder Program Creation Method 4- 5
CHAPTER 5 GX Works2 BASIC OPERATIONS (PART 1: SINGLE PROGRAM) 5- 1 to 5-26
5.1 System Configuration of Demonstration Machine 5- 1 5.2 Basic Operation 1 (Operation Before Creating Ladder Programs) 5- 2
5.2.1 Starting up GX Works2 5- 2 5.2.2 Selecting programmable controller type and project type (creating a new project) 5- 3 5.2.3 Creating a program 5- 5 5.2.4 Saving a project 5- 9 5.2.5 Saving a project with another name 5-11
5.3 Basic Operation 2 (Preparation for CPU Operation) 5-12 5.3.1 Preparations for starting up CPU 5-12
5.4 Basic Operation 3 (Writing Data to Programmable Controller, Monitoring, Modifying Program) 5-19 5.4.1 Writing data to the CPU 5-19 5.4.2 Reading data from the CPU 5-21 5.4.3 Monitoring 5-22 5.4.4 Modifying a program 5-24
(2)
CHAPTER 6 FILE-BASED MANAGEMENT AND PROGRAM EXECUTION MANAGEMENT 6- 1 to 6-14
6.1 File-Based Management 6- 1 6.1.1 Built-in memory and IC memory card 6- 3
6.2 Program Execution Management 6- 7 6.2.1 Description of program execution type 6- 7 6.2.2 Initial execution type program 6- 9 6.2.3 Scan execution type program 6-10 6.2.4 Standby type program 6-11 6.2.5 Fixed scan execution type program 6-12 6.2.6 Executing EI 6-14
CHAPTER 7 GX Works2 BASIC OPERATIONS (PART 2: MULTIPLE PROGRAMS) 7- 1 to 7-14
7.1 Multiple Programs 7- 1 7.1.1 Creating multiple programs 7- 1 7.1.2 Creating programs for control 7- 5 7.1.3 Setting parameters 7- 7
7.2 Monitor 7-10 7.2.1 Program list monitor 7-10 7.2.2 Monitor function 7-12
CHAPTER 8 FUNCTIONS OF QCPU 8- 1 to 4-40
8.1 Maintenance and Debug Functions 8- 1 8.1.1 Self-diagnostic function 8- 3 8.1.2 System display function 8- 5 8.1.3 System protection function 8-10 8.1.4 Password registration function 8-10
8.2 Other Functions 8-12 8.2.1 Constant scan function 8-13 8.2.2 Latch function 8-14 8.2.3 Remote operation function 8-15 8.2.4 Service processing setting 8-20
8.3 Comments Storage Function 8-24 8.4 Appropriate Assignment of Device Points 8-29 8.5 Using File Register 8-33
8.5.1 Preparation for using file register 8-34 8.5.2 Operation check 8-38
8.6 Input Response Speed Change 8-39
(3)
CHAPTER 9 PROGRAMMING INTELLIGENT FUNCTION MODULE 9- 1 to 9-20
9.1 Communication with Intelligent Function Module 9- 1 9.1.1 Various settings with GX Works2 9- 2 9.1.2 Communications by the intelligent function module device 9- 4 9.1.3 Communications with the intelligent function module dedicated instruction 9- 5
9.2 Intelligent Function Module System in Demonstration Machine 9- 6 9.2.1 Creating an exercise program 9- 6 9.2.2 Switch setting, parameter setting, and auto refresh setting for the intelligent function module
9- 9 9.2.3 Operation check and monitor test 9-18
CHAPTER 10 HOW TO USE MULTIPLE CPU SYSTEM 10- 1 to 10-34
10.1 Overview of Multiple CPU System 10- 1 10.2 Difference from Single CPU System 10 -2
10.2.1 Mounting position of QCPU/motion CPU 10- 2 10.2.2 I/O number assignment of the multiple CPU system 10- 3 10.2.3 Communication between QCPUs and modules 10- 3 10.2.4 Reset and operation for errors 10- 4
10.3 Communication among each QCPU/Motion CPU in Multiple CPU System 10- 6 10.3.1 CPU shared memory 10- 6 10.3.2 Communication by auto refresh using CPU shared memory 10- 9 10.3.3 Communication by auto refresh using multiple CPU high speed transmission area 10-11 10.3.4 Communications by the multiple CPU instruction and motion dedicated instruction 10-14
10.4 Starting up Multiple CPU System 10-15 10.4.1 Procedure for starting up the multiple CPU system 10-15 10.4.2 System configuration of the demonstration machine 10-17 10.4.3 Creating a program for CPU No. 1 10-18 10.4.4 Parameter setting for CPU No. 1 10-19 10.4.5 Creating a program for CPU No. 2 10-25 10.4.6 Parameter setting for CPU No. 2 10-26 10.4.7 Writing data to the CPU 10-31 10.4.8 Operation check 10-33
(4)
APPENDIX App.- 1 to App.-58
Appendix 1 Instruction TablesApp.- 1 Appendix 1.1 Application instructionApp.- 2 Appendix 1.2 QCPU Instructions App.-22
Appendix 2 How to Create Ladder Programs with GX Works2 App.-23 Appendix 3 Offset/Gain SettingApp.-27
Appendix 3.1 Offset/gain setting with GX Works2App.-27 Appendix 3.2 Offset value and gain valueApp.-30
Appendix 4 Specifications of the A/D and D/A Converter Modules App.-34 Appendix 4.1 A/D converter moduleApp.-34 Appendix 4.2 D/A converter moduleApp.-38
Appendix 5 Comparison of Timers and Counters App.-42 Appendix 5.1 Comparison of timers and counters App.-42 Appendix 5.2 Comparison of counters App.-43
Appendix 6 Setting device initial values App.-44 Appendix 6.1 Setting device memories App.-46 Appendix 6.2 Specifying file names for device initial valueApp.-49 Appendix 6.3 Checking the operation of device initial values App.-50
Appendix 7 Inline Structured Text App.-51 Appendix 7.1 Editing inline structured text App.-51 Appendix 7.2 Precautions on using the inline structured text App.-54
Appendix 8 Battery App.-55 Appendix 9 Real Number (Floating-point data)App.-56
(5)
INTRODUCTION
This textbook explains the programmable controller, the program editing methods with GX Works2, the sequence instructions and the application instructions for understanding the MELSEC-Q series programming.
The related manuals are shown below.
(1) QCPU User's Manual (Hardware Design, Maintenance and Inspection) SH-(NA)080483ENG Explains the hardware.
(2) QnUCPU User's Manual (Function Explanation, Program Fundamentals) SH(NA)-080807ENG Explains the functions and programming method.
(3) MELSEC-Q/L Programming Manual (Common Instruction) SH(NA)-080809ENG Explains details of each instruction.
(4) GX Works2 Beginner's Manual (Simple Project) SH(NA)-080787ENG
(5) GX Works2 Version 1 Operating Manual (Common) SH(NA)-080779ENG
(6) GX Works2 Version 1 Operating Manual (Simple Project) SH(NA)-080780ENG
(7) Before Using the Product BCN-P5782
(8) Digital-Analog Converter Module User's Manual SH(NA)-080054
(9) Before Using the Product BCN-P5781
(10) Analog-Digital Converter Module User's Manual SH(NA)-080055
(11) MELSEC-Q/L Programming Manual (Structured Text) SH(NA)-080366
(6)
MEMO
1 - 1
CHAPTER 1 OVERVIEW OF QCPU
The Universal model QCPU is used for a training in this textbook, therefore, "QCPU" indicates "Universal model QCPU" unless otherwise noted.
QCPU has the following features. (1) Large number of I/O points can be controlled
The Q-Series CPU module supports the following number of actual I/O points which are accessible to the I/O modules mounted on the base unit.
(a) Basic model QCPU
Q00JCPU: 256 points (X/Y0 to FF) Q00CPU, Q01CPU: 1024 points (X/Y0 to 3FF) Up to 2048 points (X/Y0 to 7FF) are supported as the I/O device points available for refreshing the remote I/O of CC-Link and link I/O (LX, LY) of the MELSECNET/H.
(b) High Performance model QCPU One module supports 4096 points (X/Y0 to FFF). Up to 8192 points (X/Y0 to 1FFF) are supported as the I/O device points available for the remote I/O stations in the MELSECNET/H remote I/O network and CC-Link data link.
(c) Process CPU and redundant CPU One module supports 4096 points (X/Y0 to FFF). Up to 8192 points (X/Y0 to 1FFF) are supported as the I/O device points available for the remote I/O stations in the MELSECNET/H remote I/O network and CC-Link data link.
(d) Universal model QCPU Q00UJCPU: 256 points (X/Y0 to FF) Q00UCPU, Q01UCPU: 1024 points (X/Y0 to 3FF) Q02UCPU: 2048 points (X/Y0 to 7FF) Q03UD(E)CPU, Q04UD(E)HCPU, Q06UD(E)HCPU, Q10UD(E)HCPU,
Q13UD(E)HCPU, Q20UD(E)HCPU, Q26UD(E)HCPU: 4096 points (X/Y0 to FFF)
Up to 8192 points (X/Y0 to 1FFF) are supported as the I/O device points available for the remote I/O stations in the MELSECNET/H remote I/O network and CC-Link data link.
1 - 2
(2) Lineup corresponding to the program capacity
The following table lists the lineup of CPU available for various program capacity.
CPU module type Program capacity Q00(J)CPU 8K steps Basic model QCPU Q01CPU 14K steps Q02(H)CPU 28K steps Q06HCPU 60K steps Q12HCPU 124K steps
High Performance model QCPU
Q25HCPU 252K steps Q02PHCPU 28K steps Q06PHCPU 60K steps Q12PHCPU 124K steps Process CPU
Q25PHCPU 252K steps Q12PRHCPU 124K steps Redundant CPU Q25PRHCPU 252K steps Q00U(J)CPU 10K steps Q01UCPU 15K steps Q02UCPU 20K steps Q03UD(E)CPU 30K steps Q04UD(E)HCPU 40K steps Q06UD(E)HCPU 60K steps Q10UD(E)HCPU 100K steps Q13UD(E)HCPU 130K steps Q20UD(E)HCPU 200K steps
Universal model QCPU
Q26UD(E)HCPU 260K steps
(3) High speed processing High speed processing has been achieved. (Example: LD instruction)
CPU module type LD instruction
processing speed Q00JCPU 200ns Q00CPU 160ns Basic model QCPU Q01CPU 100ns Q02CPU 79ns High Performance
model QCPU Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU
Process CPU Q02PHCPU, Q06PHCPU, Q12PHCPU, Q25PHCPU
Redundant CPU Q12PRHCPU, Q25PRHCPU
34ns
Q00UJCPU 120ns Q00UCPU 80ns Q01UCPU 60ns Q02UCPU 40ns Q03UD(E)CPU 20ns
Universal model QCPU
Q04UD(E)HCPU, Q06UD(E)HCPU, Q10UD(E)HCPU, Q13UD(E)HCPU, Q20UD(E)HCPU, Q26UD(E)HCPU
9.5ns
The high-speed system bus for the MELSEC-Q series base unit has achieved faster access to an intelligent function module and link refresh with a network module.
(a) Basic model QCPU
MELSECNET/H link refreshing: 2.2ms/2K words*1 *1: The Q01CPU is used without SB and SW, and the MELSECNET/H network module is
mounted on the main base unit.
1 - 3
(b) High Performance model QCPU, Process CPU, Redundant CPU or
Universal model QCPU Access to the intelligent function module: 20s/word (approximately 7 times*2) MELSECNET/H link refreshing: 4.6ms/8K words (approximately 4.3 times*2) *2: These are the values resulted from the following comparison:
Comparing Q02HCPU with Q2ASHCPU-S1
Comparing Q25PHCPU with Q4ARCPU
Comparing Q25PRHCPU with Q4ARCPU
(4) Increased debugging efficiency through high-speed communication with GX Works2 High-speed communications at maximum 115.2Kbps are available by RS-232 and the time required for writing and reading of programs and monitoring are reduced. Also, the communication time efficiency of debugging is increased. In addition, High Performance model QCPUs (except for the Q02CPU), Process CPUs, Redundant CPUs, and Universal model QCPUs support USB, which enables high-speed communications at 12Mbps.
(5) AnS/A series I/O modules and special function modules are available The AnS/A series compatible extension base units (QA1S6 B, QA6 B, and QA6ADP+A5 B/A6 B) enable High Performance model QCPU to use the AnS/A series I/O modules and special function modules. * The extension base unit for the A series cannot be used for the Universal
model QCPU.
(6) Saved space by downsizing The installation space for the Q series is reduced by approximately 60% compared with the AnS series.
(depth:98mm(3.86inch))
98 m
m (3
.8 6i
nc h)
Q s
er ie
s
An S
se rie
s
Main base unit with 8 slots 328mm(12.92inch)
Main base unit with 12 slots 439mm(17.28inch)
Main base unit with 5 slots 245mm(9.65inch)
(7) Connection of up to 7 extension base units Up to seven extension base units can be connected to the Q series CPU module. The whole extension cable length is 13.2m, which enables flexible layout of base units.
1 - 4
(8) Memory extension by memory card*3
The QCPU equips the memory card installing connector so that a memory card with the capacity of up to 32M byte can be connected. (The 32M-byte memory card can be connected only when an ATA card is used.) Installing large-capacity memory cards enables large-capacity files to be managed, which allows for the comment setting to all data devices and saving old programs in a memory as correction data. *3: The Basic model QCPU, Q00(J)CPU, and Q01UCPU do not support memory cards.
POINT
For the High Performance model QCPU, available file register points differs depending on the function version and serial number. For details, refer to the QCPU User's Manual Hardware Design, Maintenance and Inspection.
(9) Automatic writing to standard ROM*4,*5 Parameters and programs of the memory cards can be written to the standard ROM of the CPU module without GX Works2. *4: The Basic model QCPU does not support the following functions.
Automatic writing to standard ROM *5: The Universal model QCPU does not support the following function.
Automatic writing to standard ROM
(10) Forced on and off of external I/O*6 Even when the CPU module is running, forced on and off of external input and output is available with GX Works2 regardless of the program execution status. Also, the wiring and operation tests can be conducted without stopping the CPU module by forcibly turning on or off the I/O. *6: The Basic model QCPU does not support the following functions.
Forced on and off of external I/O
(11) Remote password setting When the built-in Ethernet port QCPU, Ethernet module, or serial communication module is externally accessed, an access to the CPU module can be controlled by the remote password.
1 - 5
(12) Remote I/O network of MELSECNET/H*7
A MELSECNET/H remote I/O system can be configured by installing a MELSECNET/H remote master station. *7: The Basic model QCPU does not support the following functions.
Remote I/O network of MELSECNET/H
POINT The remote password can be set when the built-in Ethernet port QCPU,
Ethernet module, or serial communication module of function version B or later is used.
The MELSECNET/H remote I/O network can be implemented when the MELSECNET/H network module of function version B or later is used.
(13) Supporting the multiple CPU system The Q series CPU module supports the multiple CPU system. Multiple CPU system can be configured in combination with CPU modules, motion CPUs, PC CPU modules, and C Controller module. For details of the multiple CPU system, refer to the QCPU User's Manual (Multiple CPU System).
(14) Supporting the redundant power supply system The redundant power supply system can be configured with a redundant base unit and redundant power supply modules. The system can continue operation even when one of the power supply modules fails, since the other supplies the power.
(15) Direct connection to Ethernet*8 The Built-in Ethernet port QCPU module allows for direct connections to Ethernet. For details of the functions, refer to the QnUCPU User's Manual Communication via Built-in Ethernet Port. *8: Applicable only to the built-in Ethernet port QCPU.
1 - 6
MEMO
2 - 1
CHAPTER 2 SYSTEM CONFIGURATION
2.1 Basic System Configuration
2.1.1 Device configuration
The following figure shows an actual programmable controller configuration.
Battery for QCPU (Q7BAT)
Q7BAT-SET
Battery holder
Battery for QCPU (Q6BAT)
Battery for QCPU (Q8BAT)
Q8BAT-SET
Q8BAT connection cable Power supply module/I/O module/Intelligent function module/Special function module
Extension cable
Q3 DB multiple CPU high speed main base unit
Universal model QCPU
Memory card
Q5 B extension base unit
Q6 B extension base unit
Figure 2.1 Universal model QCPU module configuration (When Q3 DB is used)
*1: The following bases are also available for the Universal model QCPU:
Q3 B type main base unit
Q3 RB type redundant power main base unit
Q3 SB type slim type main base unit
*1
2 - 2
Base Unit
Main base unit Extension base unit
With three I/O modules
With five I/O modules
With eight I/O modules
With 12 I/O modules
Po we
r s up
pl y
C PU
Q33B
Q35B
Q38B
Q312B
Q63B
Q68B
Q612B
Q65B
(requiring a power supply module)
(Not requiring a power supply module)
Q52B
Q55B
(For two modules)
With eight I/O modules
Q38DB
Multiple CPU high speed main base unit
With 12 I/O modules
Q312DB
Slim type main base unit
With three I/O modules
With five I/O modules
Q33SB
Q35SB
With two I/O modules
Q32SB
C P
U C
PU C
PU C
P U
C PU
C P
U C
P U
C PU
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
Po we
r s up
pl y
The main roles of the base unit are; fixing the power supply module, CPU module, and I/O modules, supplying 5VDC power from the power supply module to the CPU module and I/O modules, and transmitting the control signals to each module.
2 - 3
Power Supply Module
Module name Input Output
Q61P 100V to 240VAC 5VDC 6A Q62P 100V to 240VAC 5VDC 3A, 24VDC 0.6A Q63P 24VDC 5VDC 6A
Q64PN 100V to 240VAC 5VDC 8.5A Q61P-D 100V to 240VAC 5VDC 6A Q61SP 100V to 240VAC 5VDC 2A
CPU Module
CPU type Program capacity
(maximum) Basic instruction processing speed
Maximum I/O points for connecting to a
programmable controller Q00UJCPU 10K steps 120ns 256 points Q00UCPU 10K steps 80ns 1024 points Q01UCPU 15K steps 60ns 1024 points Q02UCPU 20K steps 40ns 2048 points
Q03UD(E)CPU 30K steps 20ns Q04UD(E)HCPU 40K steps Q06UD(E)HCPU 60K steps Q10UD(E)HCPU 100K steps Q13UD(E)HCPU 130K steps Q20UD(E)HCPU 200K steps Q26UD(E)HCPU 260K steps
9.5ns 4096 points
I/O Module
I/O points
Format 8 points 16 points 32 points 64 points
120VAC - - - 240VAC - - -
24VDC (positive common)
-
24VDC (high-speed input) - - -
24VDC (negative common)
- -
In pu
t m od
ul e
5/12VDC - Contact output - - - Independent
contact output - - -
Triac output - - - Transistor output
(sink)
O ut
pu t m
od ul
e
Transistor output (source)
- -
I/O mixed - -
2 - 4
2.1.2 Precautions for system configuration
This section explains restrictions for configuring the system with the Q-series CPU module.
(1) Number of mountable modules
(a) The number of mountable modules and supported functions are restricted depending on the module type.
[When the Universal model QCPU is used]
Product name Model name Maximum number of
modules/units per system CC-Link IE controller network module*1
QJ71GP21-SX QJ71GP21S-SX
MELSECNET/H network module
QJ71LP21 QJ71BR11 QJ71LP21-25 QJ71LP21S-25 QJ71LP21G QJ71NT11B
Up to 4 modules*2, *3
Q series Ethernet interface module
QJ71E71 QJ71E71-B2 QJ71E71-B5 QJ71E71-100
Up to 4 modules*3
Q series CC-Link system master/local module
QJ61BT11 QJ61BT11N
No restriction*4, *5
Interrupt module QI60 Only 1 module*6 GOT (Graphic Operation Terminal)
GOT1000 Series (for bus connection only)*7
Up to 5 units
*1: Only the CC-Link IE controller network module with the serial number (first five digits) of
"09042" or later can be used. *2: The number is a total of the CC-Link IE controller network module and MELSECNET/H
network module. *3: One module is mountable to the one system of the Q00UJCPU, Q00UCPU, and the
Q01UCPU, and two modules for the Q02UCPU. *4: Available in modules with function version B or later. *5: One CPU module can control the following number of modules by setting CC-Link
network parameters in GX Works2. Q00UJCPU, Q00UCPU, Q01UCPU: up to 2 modules Q02UCPU: up to 4 modules Q03UD(E)CPU, Q04UD(E)HCPU, Q06UD(E)HCPU, Q10UD(E)HCPU,
Q13UD(E)HCPU, Q20UD(E)HCPU, Q26UD(E)HCPU: up to 8 modules There is no restriction on the number of modules when the parameters are set with the CC-Link dedicated instructions. For the CC-Link system master/local modules whose parameters can be set by the dedicated instructions, refer to the CC-Link System Master/Local Module User's Manual.
*6: This number indicates the number of interrupt modules with no interrupt pointer setting. There is no restriction on the number of modules for the interrupt modules with the interrupt pointer setting.
*7: For the available GOT models, refer to the GOT1000 Series Connection Manual.
2 - 5
(b) For the GOTs, the GOT1000 series are available (however,
Q-mode-compatible operating system and communication driver must be installed). The Q series bus connection interface module is required for the bus connection. The GOT800 series, A77GOT, and A64GOT cannot be used. The GOT900 series do not support the Universal model QCPU.
2 - 6
2.2 Connection with GX Works2
2.2.1 Interface and connection channel
In the Q series, flexible and wide methods are available for connecting the CPU and GX Works2. For details, refer to the GX Works2 Operating Manual.
GX Works2 has the following two items about the "connection destination".
(1) Specification of I/F
PC side I/F or PLC side I/F
(2) Other station setting and network route Other Station Setting, Network Communication Route, Co-existence Network Route
The following explains each item of the Transfer Setup screen.
7)
8) 9)
10)
1)
2)
3)
4)
5)
6)
1) PC side I/F Select the type of the interface on the personal computer side. Double-click each interface to set the details.
2) PLC side I/F Select the module on the programmable controller side to be connected with the peripheral device. Double-click each module to set the details.
2 - 7
3) Other Station Setting
Specify the host station or other station. Double-click each icon to set the details. No Specification
Select this to access the programmable controller CPU which is directly connected to a personal computer.
Other Station (Single Network) Select this to access the programmable controller CPU on other station via only one type of network (including a multi-tier system) such as CC-Link, MELSECNET/10(H), CC-Link IE controller network, Q series C24 module and Ethernet. Since Ethernet is recognized as equivalent to CC-Link IE controller network and MELSECNET/10(H), select "Single Network" for a mixed system in which Ethernet, CC-Link IE controller network, and MELSECNET/10(H) are configured.
Other Station (Co-existence Network) Select this to access the programmable controller CPU on other station via two types of network. This means the system which consists of two different networks, such as from MELSECNET/10(H) to CC-Link module or from Q series C24 module to MELSECNET/10(H).
4) Network Communication Route Select the network type, network number, station number, and the start I/O number of the network that is routed at an access to the programmable controller CPU on other station. The setting items differ according to the selected network type.
5) Co-existence Network Route Select the network type, network number, station number, and the start I/O number of the network to be accessed. The setting items differ according to the selected network type.
6) Target System In the multiple CPU system, specify the CPU number to be accessed.
7) Connection Channel List button
Displays a list of the types of the connection destination. The connection route can be selected from the list.
8) PLC Direct Coupled Setting button This function is useful to change the station specification from "Other Station" to "No Specification".
9) Connection Test button Tests if the target programmable controller CPU set on the Transfer Setup screen can be accessed properly. If the test is successful, the model of the target programmable controller CPU module is displayed in the PLC Type column.
2 - 8
10) System Image button
Displays the connection route in an illustration.
2 - 9
2.2.2 Access range from GX Works2
The seamless communication is established among CC-Link IE, Ethernet, MELSECNET/H, and CC-Link of the Q series. GX Works2 can access a programmable controller via various networks.
MELSECNET/H, CC-Link IE
Ethernet
CC-Link
(1) Access example via Ethernet, CC-Link IE, MELSECNET/H, and CC-Link The request source GX Works2 can access up to two target stations.
Network 1 (Ethernet)
Relay station 1
Relay station 7
Target station 1
CC-Link
MELSEC NET/H
Network 8 CC-Link IE
MELSECNET/H
Target station 2
QCPU
QCPUQCPUQCPU
Network 2 to 7
Request source GX Works2
(Personal computer)
CC-Link IE
(2) Access example via CC-Link IE, MELSECNET/H, and CC-Link The request source GX Works2 can access up to two target stations.
Request source GX Works2
(Personal computer)
Network 1 CC-Link IE
MELSECNET/H
Relay station 1
Relay station 7
Target station 1
CC-Link
CC-Link IE MELSEC
NET/H
Network 8 CC-Link IE
MELSECNET/H
Target station 2
QCPU
QCPUQCPUQCPU
Network 2 to 7 Connected
programmable controller
QCPU
CPU port
2 - 10
2.3 Name and Appearance of CPU
This section explains part names and setting of the module.
Q06UDHCPU
RS-232
MODE RUN ERR.
USER BAT.
BOOT
PULL
1)
When opening the cover, put your finger here.
2)
3)
4)
6)
7)
5)
8)
USB
Q06UDHCPU
9)
10)
11)
12)
13)
15) 18)
17) 16)
14)
2 - 11
No. Name Application 1) Module fixing hook Hook used to fix the module to the base unit (Single-operation installation)
2) MODE LED
Indicates the mode of the CPU module On : Q mode Flash : Device test with conditions is in process.
Forced on and off function for external I/O is in process. CPU module change function with memory card is in process.
3) RUN LED
Indicates the operation status of the CPU module On : During operation with the RUN/STOP/RESET switch set to "RUN" Off : During stop with the RUN/STOP/RESET switch set to "STOP"
When an error which stops operation is detected Flash : Parameters or programs are written when the RUN/STOP/RESET switch is
set to "STOP", then the RUN/STOP/RESET switch is set from "STOP" to "RUN" To turn on the RUN LED after writing the program, perform the following operations. Set the RUN/STOP/RESET switch "RUN" "STOP" "RUN". Reset the CPU module with the RUN/STOP/RESET switch. Power on the programmable controller again.
To turn on the RUN LED after writing the parameters, perform the following operations.
Reset the CPU module with the RUN/STOP/RESET switch. Power on the programmable controller again.
(When the RUN/STOP/RESET switch is set to "RUN" "STOP" "RUN" after the parameters are changed, network parameters and intelligent function module parameters are not updated.)
4) ERR. LED
On : When a self-diagnosis error which does not stop the operation except a battery error is detected (When operation is set to be continued at an error detection in the parameter setting)
Off : Normal Flash : When an error which stops operation is detected
When the reset operation becomes valid with the RUN/STOP/RESET switch
5) USER LED On : When the annunciator is (F) turned on Off : Normal
6) BAT. LED
On (yellow) : When a battery error occurs due to a battery voltage drop of the memory card
Flash (yellow) : When a battery error occurs due to a voltage drop of the CPU module battery
On (green) : Turns on for five seconds when the restoration of the data backed up to the standard ROM by the latch data backup is completed.
Flash (green) : Flashes when the backup of the data to the standard ROM by the latch data backup is completed.
Off : Normal
7) BOOT LED On : When the boot operation is started Off : When the boot operation is not being performed
8) Serial number display Displays the serial number printed on the rating plate.
9) Memory card EJECT button
Used to eject the memory card from the CPU module
10) Memory card installing connector
Connector used to install a memory card to the CPU module
2 - 12
No. Name Application
11) USB connector*1 Connector for connection with a USB-compatible peripheral device (Connector type miniB) Can be connected with a USB-dedicated cable.
12) RS-232 connector*1 Connector for connection with a peripheral device Can be connected with a RS-232 connection cable (QC30R2).
13) RUN/STOP/RESET switch*2
RUN : Executes sequence program operation. STOP : Stops sequence program operation. RESET : Executes hardware reset, operation error reset, and operation initialization
etc. 14) Module fixing screw hole Hole for the fixing screw to the base unit (M3 12 screw) 15) Module fixing projection Projection used to secure the module to the base unit
16) Battery connector pin Pins used to connect battery lead wires (Lead wires are disconnected from the connector at the shipping to prevent the battery from consuming.)
17) Battery Backup battery for the standard RAM and back-up power function 18) Module mounting lever Lever used to mount the module to the base unit
*1: When connecting a cable to the RS-232 connector or USB connector at all times, clamp the cable to prevent a poor connection,
moving, and disconnection by unintentional pulling. The Q6HLD-R2 type connector disconnection prevention holder is provided as a clamp for the RS-232 connector.
Fixing screw Q6HLD-R2
CPU module
RS-232 cable
*2: Operate the RUN/STOP/RESET switch with a fingertip.
To prevent the switch from damage, do not use any tool such as screw driver.
2 - 13
2.4 Memory System Configuration
2.4.1 Universal model QCPU module memory configuration
The memory of universal model QCPU consists of the following block configurations.
Standard ROM
Standard RAM
ROM
Program memory (program cache memory) RAM
Parameter Program
Device comment Device initial value
Parameter Program
Device comment Device initial value
Parameter Program
Device comment Device initial value
ProgramParameter
Device comment Device initial value
File register
File register
Local device
Sampling trace file
File register Local device
Sampling trace file
CPU module
Memory card
Programmable controller user data
Storage file used in latch data backup function
File used in SP.DEVST/S.DEVLD function
*1
*2
Module error collection file
*1: A memory card cannot be used for Q00UJCPU, Q00UCPU, and Q01UCPU. *2: Q00UJCPU has no standard RAM.
Program memory: A memory for storing programs and parameters for CPU module operation A program operation is executed by transferring a program stored in the program memory to the program cache memory.
Program cache memory: A memory for operating programs A program operation is executed by transferring a program stored in the program memory to the program cache memory.
Standard RAM: A memory for using file registers, local devices, and sampling trace files without a memory card Using the standard RAM as the file registers enables the high-speed access as well as data registers. The standard RAM is also used for storing the module error collection file.
Standard ROM: A memory for storing data such as parameters and programs Memory card (RAM): A card for storing the file register, local device, device initial value,
sampling trace file, and device comments with the parameters and program
Memory card (ROM): A Flash card for storing parameters, programs, and file registers. An ATA card stores parameters, programs, and the programmable controller user data (general-purpose files).
2 - 14
POINT
Secure backup by long-term storage Programs and parameter files are automatically backed up to the program memory (Flash ROM) which does not require a battery backup. This prevents a loss of the program and parameter data due to the flat battery. The battery backup time is also reduced significantly. In addition, the important data (such as device data) can be backed up to the standard ROM to prevent a loss of the data due to the flat battery in case of consecutive holidays. The backup data is restored automatically when the power is turned on next time.
Programming tool
Latch data Backup
file (Standard ROM)File register
(Standard RAM)
Device data
Device memory
No battery backup needed!
CPU built-in memory Program memory
(Flash ROM)
Program cache memory
(SRAM)
For program execution
No battery required for data
protection
Backup execution
condition is ON
Write programs
2 - 15
2.4.2 Memory card application
A QCPU equips a built-in memory as standard for storing parameters and programs, therefore, the programs can be executed without a memory card. The memory cards are required for the situations in the table below.
*: A memory card cannot be used for Q00UJCPU, Q00UCPU, Q01UCPU.
(1) SRAM card
File registers in the SRAM card can be written or read by the sequence program. The SRAM card is used when:
the number of file registers exceeds the standard RAM capacity, or the sampling trace function is used.
When file registers are stored to the SRAM card, they can be written or read by the sequence program up to 4086K points.
(2) Flash card
Write data with GX Works2 and read it by the sequence program. (Data can only be read by the sequence program.) Use the Flash card when changing the data is unnecessary. File registers can be stored up to 2039K points.
(3) ATA card
An ATA card is used for programmable controller user data (general-purpose data). Programmable controller user data of an ATA card can be accessed by the file access instruction (such as the SP.FWRITE instruction) in a sequence program through a CSV format or binary format.
2 - 16
2.4.3 Handling the memory card
The specifications of the memory card which are available for the QCPU module conform to those of the JEIDA/PCMCIA small programmable controller card. Only one memory card can be installed to the QCPU.
(1) Memory card specifications
(a) SRAM card
Type Item Q2MEM-1MBS Q2MEM-2MBS Q3MEM-4MBS Q3MEM-8MBS
Memory capacity after format 1011.5K byte 2034K byte 4078K byte 8172K byte
Storable number of files 255 287 319
Number of insertions and removals
5000 times
H 45mm 74mm W 42.8mm External
dimensions D 3.3mm 8.1mm
Weight 15g 30g 31g
(b) Flash card Type Item
Q2MEM-2MBF Q2MEM-4MBF Memory capacity 2035K byte 4079K byte Storable number of files 288
Number of insertions and removals
5000 times
Number of writings 100000 times H 45mm W 42.8mm External
dimensions D 3.3mm
Weight 15g
(c) ATA card Type Item
Q2MEM-8MBA Q2MEM-16MBA*2 Q2MEM-32MBA Memory capacity after format 7982K byte*1 15982K byte*1 31854K byte
Storable number of files 512*2
Number of insertions and removals
5000 times
Number of writings 1000000 times H 45mm W 42.8mm External
dimensions D 3.3mm
Weight 15g
*1: The capacity of the ATA cards with the manufacturer control number E or earlier after formatting is as follows. Manufacturer control number E: Q2MEM-8MBA: 7948K byte, Q2MEM-16MBA: 15948K byte Manufacturer control number E or earlier: Q2MEM-8MBA: 7940k byte, Q2MEM-16MBA: 15932K byte
*2: Up to 511 files can be stored in the Universal model QCPU.
2 - 17
(2) When using the memory card in the purchased status
(a) Install the enclosed battery. SRAM card battery
Type
Item Q2MEM-BAT Q3MEM-BAT
Classification Graphite fluoride lithium primary battery Manganese dioxide lithium primary
battery Initial voltage (V) 3.0 3.0 Nominal current (mAh)
48 550
Battery life when stored
Actually 5 years (room temperature)
Battery life when used
Refer to the QCPU User's Manual Hardware Design, Maintenance and Inspection
Application Power failure backup for SRAM card For Q2MEM-1MBS/Q2MEM-2MBS
Power failure backup for SRAM card For Q3MEM-4MBS/Q3MEM-8MBS
(b) Since the memory card is not formatted in the initial setting, use the card
after formatting in GX Works2. Formatting is unnecessary for Flash cards.
2 - 18
(3) Installing and removing a memory card
(a) For Q2MEM type memory card
1) To install the memory card
Pay attention to the direction of the memory card when installing it to the CPU module. Insert the memory card securely into the connector until the projection of the memory card EJECT button appears.
Memory card
Memory card EJECT button
CPU module
* Check the insert direction. ( mark)
2) To remove the memory card When removing the memory card from the CPU module, press the memory card EJECT button and pull out the memory card.
Memory card
Push
Memory card EJECT button
CPU module
2 - 19
(b) For Q3MEM type memory card
1) To install the memory card
When installing a memory card to the CPU module, follow the following procedures and pay attention to the direction of the memory card.
Install the memory card
Completed
Turn OFF power supply of the CPU module and remove a lid of the CPU module.
Install a memory card to a memory card slot of the CPU module.
Install the memory card protective cover to the CPU module.
CPU module
CPU module Slightly bend the center of a lid to make space between a projection and a mounting hole and remove the lid.
Projection
CPU module
MEMORY card EJECT button
Memory card
* Check the insert direction. ( mark)
2) To remove the memory card When removing the memory card from the CPU module, remove the memory card protective cover and press the EJECT button and pull out the memory card.
Remove a memory card
Completed
Turn OFF power supply of the CPU module and remove a memory card protective cover from the CPU module.
Press the EJECT button to eject a memory card.
CPU module
Remove the cover , pressing fixing claws on the top and bottom.
CPU modulePush
Memory card EJECT button
2 - 20
(c) To remove the memory card while the power is on
When removing the memory card, confirm that special relays "SM604" and "SM605" are off. The memory card cannot be removed when "SM604" is on because the
CPU module is using the card. Turn off "SM605" when it is on.
When both "SM604" and "SM605" are off, remove the memory card according to the following procedure.
1) Turn on the special relay "SM609" with the sequence program or the
device test of GX Works2. 2) Use the monitor function of GX Works2 to check that the special relay
"SM600" is turned off. 3) Remove the memory card.
SM600 (Memory card can be used): The system is turned on when the memory card is ready to be used. SM604 (memory card is being used): The system is turned on when the CPU module is using the memory card. SM605 (memory card installation/removal prohibited): Turned on by the user to disable a installation/removal of the memory card.
(d) To install the memory card while the power is on
1) Install the memory card. 2) Use the monitor function of GX Works2 to check that the special relay
"SM600" is turned on.
3 - 1
CHAPTER 3 PERFORMANCE SPECIFICATIONS
3.1 Performance Specifications
The following table lists the performance specifications of the Universal model QCPU. (1) Q00UJCPU, Q00UCPU, Q01UCPU, Q02UCPU, Q03UD(E)CPU
Universal model QCPU
Q03UDCPUItem Q00UJCPU Q00UCPU Q01UCPU Q02UCPU