Mitsubishi QD60P8-G, SW0D5C-QCTU-E User Manual

SAFETY PRECAUTIONS

(Always read these instructions before using this equipment.)
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 manual to make it accessible when required and always 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.
[Design Precautions]
!
DANGER
Do not write data into the "read-only area" in the buffer memory of the intelligent function module. In addition, do not turn ON/OFF the "Reserved (N/A)" signals among the I/O signals transferred to/from the programmable controller CPU. Doing so can malfunction the programmable controller system.
!
CAUTION
Do not bunch the control wires or pulse input wires with the main circuit or power wires, or install them close to each other. They should be installed 150 mm (5.9 inch) or more from each other. Not doing so could result in noise that may cause malfunction.
A - 1 A - 1
[Installation Precautions]
!
CAUTION
Use the programmable controller in an environment that meets the general specifications contained in the CPU module User's Manual. Using this programmable controller in an environment outside the range of the general specifications may cause electric shock, fire, malfunction, and damage to or deterioration of the product.
While pressing the installation lever located at the bottom of module, insert the module fixing tab into the fixing hole in the base unit until it stops. Then, securely mount the module with the fixing hole as a supporting point. Improper installation may result in malfunction, breakdown or the module coming loose and dropping. Securely fix the module with screws if it is subject to vibration during use.
Tighten the screws within the range of specified torque. If the screws are loose, it may cause the module to fallout, short circuits, or malfunction. If the screws are tightened too much, it may cause damage to the screw and/or the module, resulting in fallout, short circuits or malfunction.
Switch all phases of the external power supply off when mounting or removing the module. Not ding so may cause electric shock or damage to the module. In the system where a CPU module supporting the online module change is used and on the MELSECNET/H remote I/O stations, modules can be replaced online (during energizing). However, there are some restrictions on replaceable modules and the replacement procedures are predetermined for each module. For details, refer to the chapter of the online module change in this manual.
Do not directly touch the conductive area or electronic components of the module. Doing so may cause malfunction or failure in the module.
[Wiring Precautions]
!
DANGER
Be careful not to let foreign matters such as sawdust or wire chips get inside the module. These may cause fires, failure or malfunction.
The top surface of the module is covered with protective film to prevent foreign objects such as cable offcuts from entering the module when wiring. Do not remove this film until the wiring is complete. Before operating the system, be sure to remove the film to provide adequate heat ventilation.
The cables connected to the module should be placed in a duct or fixed. Not doing so can cause the module or cables to be damaged when the cables swing, more or are pulled carefully, for example or to malfunction due to poor cable connection.
A - 2 A - 2
[Wiring Precautions]
!
CAUTION
When removing the cable from the module, do not pull the cable. When disconnecting a cable without a terminal block, unscrew on the part that is connected to the module. Pulling the cable that is still connected to the module may cause malfunction or damage to the module or cable.
Always ground the shielded cable for the programmable controller. There is a risk of electric shock or malfunction.
Use applicable solderless terminals and tighten them with the specified torque. If any solderless spade terminal is used, it may be disconnected when the terminal screw comes loose, resulting in failure.
When wiring, be sure to verify the rated voltage of the product as well as the terminal layout. Fire or failure may result if incorrect voltage is input or incorrect wiring is performed.
[Startup/Maintenance Precautions]
!
CAUTION
Do not disassemble or modify the module. Doing so could cause failure, malfunction, injury or fire.
Switch all phases of the external power supply off when mounting or removing the module. Not doing so may cause failure or malfunction of the module. In the system where a CPU module supporting the online module change is used and on the MELSECNET/H remote I/O stations, modules can be replaced online (during energizing). However, there are some restrictions on replaceable modules and the replacement procedures are predetermined for each module. For details, refer to the chapter of the online module change in this manual.
Do not install/remove the module to/from the base unit, or the terminal block to/from the module more than 50 times after the first use of the product. (IEC 61131-2 compliant) Failure to do so may cause malfunction.
Do not touch the connector while the power is on. Doing so may cause malfunction.
Switch all phases of the external power supply off when cleaning or retightening the terminal screws and module fixing screws. Not doing so may cause failure or malfunction of the module. If the screws are loose, it may cause the module to fallout, short circuits, or malfunction. If the screws are tightened too much, it may cause damages to the screws and/or the module, resulting in the module falling out, short circuits or malfunction.
Always make sure to touch the grounded metal to discharge the electricity charged in the body, etc., before touching the module. Failure to do so may cause a failure or malfunctions of the module.
A - 3 A - 3
[Disposal Precautions]
!
CAUTION
When disposing of the product, handle it as industrial waste.
A - 4 A - 4

REVISIONS

* The manual number is given on the bottom left of the back cover.
Print Date * Manual Number Revision
Jun., 2002 SH (NA)-080313E-A First edition
Feb., 2003 SH (NA)-080313E-B
Correction
SAFETY PRECAUTIONS, Section 2.1, Section 2.2, Section 6.2.2, Section 6.4, Section 6.5, Section 9.1.1
Jun., 2004 SH (NA)-080313E-C
Addition of program example for use on the remote I/O network.
Correction
SAFETY PRECAUTIONS, Section 2.2, Section 4.1, Section 6.4, Section 6.6, Chapter 7, Section 8.1, Section 8.3.2
Feb., 2006 SH (NA)-080313E-D
Correction
SAFETY PRECAUTIONS, Conformation to the EMC Directive and Low Voltage Instruction, Section 2.2, Section 4.1, Section 6.2.2
Mar., 2006 SH (NA)-080313E-E
Correction
Sep., 2006 SH (NA)-080313E-F
Jun., 2007 SH (NA)-080313E-G
Jan., 2008 SH (NA)-080313E-H
May, 2008 SH (NA)-080313E-I
SAFETY PRECAUTIONS, Section 4.4.2, 7.2, 7.2.1, 7.3, 7.3.1
Correction
SAFETY PRECAUTIONS
Correction
Generic Terms and Abbreviations, Section 2.1, 2.2, 3.1, 4.1, 4.4, 4.5,
5.1.1, 5.2.2, 6.2.1, 6.3 to 6.6, Chapter 8, Section 8.3, INDEX
Correction
Generic Terms and Abbreviations, Section 2.2, 2.3, Section 6.2.2
Correction
SAFETY PRECAUTIONS, Compliance with the EMC and Low Voltage Directives, Generic Terms and Abbreviations, Section 2.1,
2.3, 4.1, 4.4.1, 6.2.1, 6.3.1, 6.3.3, 8.1
Japanese Manual Version SH-080312-I
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.
© 2002 MITSUBISHI ELECTRIC CORPORATION
A - 5 A - 5

INTRODUCTION

Thank you for purchasing the Mitsubishi programmable controller MELSEC-Q Series. Always read through this manual, and fully comprehend the functions and performance of the Q Series programmable controller before starting use to ensure correct usage of this product.

CONTENTS

SAFETY PRECAUSIONS..............................................................................................................................A- 1
REVISIONS ....................................................................................................................................................A- 5
INTRODUCTION............................................................................................................................................A- 6
CONTENTS....................................................................................................................................................A- 6
Using This Manual..........................................................................................................................................A- 9
Compliance with the EMC and Low Voltage Directives...............................................................................A- 10
Generic Terms and Abbreviations ................................................................................................................A- 10
Component List .............................................................................................................................................A- 11
1 OVERVIEW 1- 1 to 1- 4
1.1 Overview................................................................................................................................................... 1- 1
1.2 Features ................................................................................................................................................... 1- 1
2 SYSTEM CONFIGURATION 2- 1 to 2- 6
2.1 Applicable Systems.................................................................................................................................. 2- 1
2.2 About Use of the QD60P8-G with the Q12PRH/Q25PRHCPU ............................................................. 2- 4
2.3 How to Check the Function Version and the Software Version ............................................................. 2- 5
3 SPECIFICATIONS 3- 1 to 3- 14
3.1 Performance Specifications ..................................................................................................................... 3- 1
3.2 List of Functions ....................................................................................................................................... 3- 3
3.3 I/O Signals for Programmable Controller CPU ....................................................................................... 3- 4
3.3.1 List of I/O signals ............................................................................................................................... 3- 4
3.3.2 Details of I/O signals ......................................................................................................................... 3- 5
3.4 Buffer Memory.......................................................................................................................................... 3- 8
3.4.1 List of buffer memory assignments................................................................................................... 3- 8
3.4.2 Details of buffer memory................................................................................................................... 3- 9
3.5 Interface with External Devices ..............................................................................................................3- 14
4 SETUP AND PROCEDURE BEFORE OPERATION 4- 1 to 4- 10
4.1 Handling Precautions ............................................................................................................................... 4- 1
4.2 Procedure before Operation .................................................................................................................... 4- 2
4.3 Part Identification Nomenclature ............................................................................................................. 4- 3
4.4 Wiring........................................................................................................................................................ 4- 4
4.4.1 Wiring precautions............................................................................................................................. 4- 4
4.4.2 Wiring example.................................................................................................................................. 4- 6
4.5 Switch Setting for Intelligent Function Module ........................................................................................ 4- 8
A - 6 A - 6
5 DETAILS AND SETTING OF FUNCTIONS 5- 1 to 5- 17
5.1 Count Operation....................................................................................................................................... 5- 1
5.1.1 Pulse input method ........................................................................................................................... 5- 1
5.1.2 Input pulse count operation............................................................................................................... 5- 2
5.1.3 Count value reading .......................................................................................................................... 5- 3
5.1.4 Count cycle changing........................................................................................................................ 5- 4
5.2 Count Type Selection............................................................................................................................... 5- 5
5.2.1 Linear counter operation ...................................................................................................................5- 5
5.2.2 Ring counter operation ...................................................................................................................... 5- 7
5.3 Input Pulse Value ..................................................................................................................................... 5- 9
5.4 Comparison Output Function.................................................................................................................. 5- 10
5.5 Counter Reset Function ..........................................................................................................................5- 12
5.6 Pre-scale Function ..................................................................................................................................5- 13
5.7 Movement Averaging Function............................................................................................................... 5- 14
5.8 Alarm Output Function ............................................................................................................................ 5- 15
5.9 Count Response Delay Time.................................................................................................................. 5- 17
6 UTILITY PACKAGE (GX Configurator-CT) 6- 1 to 6- 18
6.1 Utility Package Functions ........................................................................................................................ 6- 1
6.2 Installing and Uninstalling the Utility Package ........................................................................................ 6- 2
6.2.1 Handling precautions ........................................................................................................................ 6- 2
6.2.2 Operating environment...................................................................................................................... 6- 4
6.3 Utility Package Operation ........................................................................................................................ 6- 6
6.3.1 Common utility package operations ................................................................................................. 6- 6
6.3.2 Operation overview ........................................................................................................................... 6- 8
6.3.3 Starting the intelligent function module utility .................................................................................. 6- 10
6.4 Initial Setting ............................................................................................................................................ 6- 12
6.5 Auto Refresh Setting ...............................................................................................................................6- 14
6.6 Monitoring/Test........................................................................................................................................ 6- 16
7 PROGRAMMING 7- 1 to 7- 12
7.1 Programming Procedure.......................................................................................................................... 7- 2
7.2 For Use in Normal System Configuration................................................................................................ 7- 3
7.2.1 Program example .............................................................................................................................. 7- 5
7.3 For Use on Remote I/O Network .............................................................................................................7- 7
7.3.1 Program example .............................................................................................................................. 7- 9
8 ONLINE MODULE CHANGE 8- 1 to 8- 13
8.1 Online Module Change Conditions.......................................................................................................... 8- 2
8.2 Online Module Change Operations ......................................................................................................... 8- 3
8.3 Online Module Change Procedure .......................................................................................................... 8- 4
8.3.1 GX Configurator-CT was used for initial setting ............................................................................... 8- 4
8.3.2 Sequence program was used for initial setting ................................................................................8- 8
8.4 Precautions for Online Module Change .................................................................................................8- 13
A - 7 A - 7
9 TROUBLESHOOTING 9- 1 to 9- 11
9.1 Troubleshooting ....................................................................................................................................... 9- 1
9.1.1 Confirming the error definitions using system monitor of GX Developer ........................................ 9- 3
9.2 Error Details.............................................................................................................................................. 9- 5
9.3 List of Errors ............................................................................................................................................. 9- 8
APPENDIX Appendix- 1 to Appendix - 2
Appendix 1 External Dimension Diagram .......................................................................................Appendix - 1
INDEX Index - 1 to Index - 3
A - 8 A - 8

Using This Manual

Manual Makeup
(1) To know the features and overview of this product (Chapter 1)
Section 1.1 gives the overview and Section 1.2 the features.
(2) To know the system configuration (Chapter 2)
Chapter 2 describes the system configuration, usable programmable controller CPUs, etc.
(3) To know the system performance and function list (Chapter 3)
Sections 3.1 to 3.4 provides the performance specifications, list of functions, I/O signals and list of buffer memory. Section 3.5 describes the interface with external devices.
(4) To know the module installation and setting (Chapter 4)
Chapter 4 describes the wiring example of the module and the setting method necessary for start of operation.
(5) To know the functions and their setting methods (Chapter 5)
Chapter 5 provides the functions and their setting methods.
(6) To perform initial setting, etc. from the optional utility package
(Chapter 6)
Chapter 6 gives the method for operating the utility package.
(7) To know the example of operating the QD60P8-G using a
sequence program (Chapter 7)
Chapter 7 provides a sequence program example.
(8) To change the module without stopping the system (Chapter 8)
Chapter 8 provides the method for changing the module without stopping the system (online module change).
(9) To know the error code and corresponding remedy when an error
occurs in the module (Chapter 9)
Chapter 9 gives the troubleshooting and list of error codes.
A - 9 A - 9
Numeric values used in this manual
The buffer memory addresses and error codes are represented in decimal.
The X/Y devices are represented in hexadecimal.
The values read/written from/to the buffer memory and the values set using the
intelligent function module switches are represented in either of decimal and hexadecimal. A hexadecimal value is ended by "H".
(Example) 10.........10 Decimal
10
H....... 16 Hexadecimal

Compliance with the EMC and Low Voltage Directives

(1) For programmable controller system
To configure a system meeting the requirements of the EMC and Low Voltage Directives when incorporating the Mitsubishi programmable controller (EMC and Low Voltage Directives compliant) into other machinery or equipment, refer to Chapter 9 "EMC AND LOW VOLTAGE DIRECTIVES" of the QCPU User's Manual (Hardware Design, Maintenance and Inspection). The CE mark, indicating compliance with the EMC and Low Voltage Directives, is printed on the rating plate of the programmable controller.
(2) For the product
For the compliance of this product with the EMC and Low Voltage Directives, refer to Section 4.4.1 "Wiring precautions".

Generic Terms and Abbreviations

Unless specially noted, the following generic terms and abbreviations are used in this manual.
Generic term/abbreviation Details of generic term/abbreviation QD60P8-G Abbreviation for type QD60P8-G Channel Isolated Pulse Input Module. Programmable controller CPU Generic term for programmable controller CPU on which QD60P8-G can be mounted. Personal computer DOS/V-compatible personal computer of IBM PC/ATRor its compatible.
GX Developer
QCPU (Q mode)
Process CPU Generic term for Q02PHCPU, Q06PHCPU, Q12PHCPU, Q25PHCPU.
GX Configurator-CT
Windows VistaR
WindowsR XP
Generic product name for the SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C­GPPW-EV and SWnD5C-GPPW-EVA. ("n" is 4 or greater.) "-A" and "-V" denote volume license product and upgraded product respectively. Generic term for the Q00JCPU, Q00CPU, Q01CPU, Q02CPU, Q02HCPU, Q06HCPU, Q12HCPU, Q25HCPU, Q02PHCPU, Q06PHCPU, Q12PHCPU, Q25PHCPU, Q12PRHCPU, Q25PRHCPU, Q02UCPU, Q03UDCPU, Q04UDHCPU, Q06UDHCPU, Q13UDHCPU, Q26UDHCPU, Q03UDECPU, Q04UDEHCPU, Q06UDEHCPU, Q13UDEHCPU and Q26UDEHCPU.
Abbreviation for counter module setting/monitoring tool GX Configurator-CT (SW0D5C­QCTU-E). Generic term for the following: Microsoft MicrosoftR Windows VistaR Home Premium Operating System, MicrosoftR Windows VistaR Business Operating System, Microsoft MicrosoftR Windows VistaR Enterprise Operating System Generic term for the following: MicrosoftR WindowsR XP Professional Operating System, MicrosoftR WindowsR XP Home Edition Operating System
R
Windows VistaR Home Basic Operating System,
R
Windows VistaR Ultimate Operating System,
A - 10 A - 10

Component List

The component list of this product is given below.
Type Component Quantity
QD60P8-G Type QD60P8-G Channel Isolated Pulse Input Module 1
SW0D5C-QCTU-E GX Configurator-CT Version 1 (1-license product) (CD-ROM) 1
SW0D5C-QCTU-EA GX Configurator-CT Version 1 (Volume-license product) (CD-ROM) 1
A - 11 A - 11
MEMO
A - 12 A - 12
1 OVERVIEW
MELSEC-Q

CHAPTER 1 OVERVIEW

1.1 Overview

This User's Manual describes the specifications, handling, wiring and programming methods of the Channel Isolated Pulse Input Module (QD60P8-G) used with the MELSEC-Q series programmable controller CPU.
The QD60P8-G counts the input pulse number (speed, rotation speed, instant flux or similar) and measures the quantity the length, accumulating flux and so forth. The input pulse value is updated every 10ms. The QD60P8-G updates the accumulating count value and the pulse number after movement averaging processing or similar (sampling pulse number) at intervals of the count cycle setting value.

1.2 Features

(1) Wide range of functions
Pulse generator
Input voltage selection 1)
Pulse edge selection 2)
1
Counter reset 11)
Pre-scale processing 3)
Movement averaging processing 4)
Alarm output 8)
Input pulse number
Updated in count cycle
Input pulse value 7)Accumulating count value 6)Sampling pulse number 5)
Overflow detection 9)
Accumulating counter comparison flag 10)
1) Pulse input voltage
A single module accepts the pulse inputs of 5VDC/12 to 24VDC.
2) Pulse edge selection
It is allowed to select the rise or fall of the input pulses to be counted.
3) Pre-scale function
The input pulse number is multiplied by any value to convert the pulse number.
4) Movement averaging function
The values of the sampling pulse number are averaged by the specified number of times to calculate the average value.
Updated every 10ms
1 - 1 1 - 1
1 OVERVIEW
1
MELSEC-Q
5) Sampling pulse number indication
The value obtained by performing pre-scale conversion on the pulse number entered in the count cycle set to the count cycle setting value is displayed. If the input pulse number is not uniform, movement averaging processing can be performed to average the input pulse number. The count range is 0 to 32767.
6) Accumulating count value indication
The accumulating value of the sampling pulse number is displayed in the set count cycle. The count range is 0 to 99999999, and you can select whether to use the accumulating counter as the linear counter or ring counter.
7) Input pulse value indication
The pulse number actually input is displayed every 10ms. Since the input pulse number is displayed every 10ms, the module can be used as a counter. (The input pulse value is updated every 10ms. Note this when using the module as a counter.) The count range is 0 to 2147483647.
8) Alarm output
It is allowed to set four setting values, i.e. upper/upper limit value, upper/lower limit value, lower/upper limit value and lower/lower limit value, for the sampling pulse number to output alarms.
9) Accumulating counter overflow detection
If the accumulating count value overflows (exceeds 99999999) in the linear counter mode, the accumulating counter overflow detection flag turns ON to indicate that an overflow error has occurred.
10) Accumulating counter comparison output
If the accumulating count value reaches or exceeds the comparison output setting value, the accumulating counter comparison flag turns ON.
11) Counter reset
The sampling pulse number, accumulating count value and input pulse value can be reset at any timing.
(2) Counting speed range of the input pulse can be changed
By changing the input filter, the input pulse speed is available within the range 0 to 30kpps.
(3) 8 channels of pulse inputs in one module
One module has 8 channels of pulse inputs to configure a system at low costs.
(4) Channel isolated
The channels are isolated from each other. (Dielectric withstand voltage: 1780VAC for 1 minute)
1 - 2 1 - 2
1 OVERVIEW
MELSEC-Q
(5) Online module change
It is possible to change the module without stopping the system.
(6) Easy setting by utility package
Utility package (GX Configurator-CT) is sold separately. The utility package enables the initial setting and auto refresh setting to be made on the screen, reducing the sequence programs as well as resulting in easy monitoring of the setting and operating status.
1 - 3 1 - 3
1 OVERVIEW
MEMO
MELSEC-Q
1 - 4 1 - 4
2 SYSTEM CONFIGURATION
MELSEC-Q

CHAPTER 2 SYSTEM CONFIGURATION

This chapter explains the system configuration of the QD60P8-G.

2.1 Applicable Systems

This section describes the applicable systems.
Programmable controller CPU
CPU type CPU model
Basic model QCPU
High Performance model QCPU
Process CPU
Redundant CPU
Universal model QCPU
Safety CPU QS001CPU N/A
(1) Applicable modules and base units, and No. of modules
(a) When mounted with a CPU module
The table below shows the CPU modules and base units applicable to the QD60P8-G and quantities for each CPU model. Depending on the combination with other modules or the number of mounted modules, power supply capacity may be insufficient. Pay attention to the power supply capacity before mounting modules, and if the power supply capacity is insufficient, change the combination of the modules.
Applicable CPU module
Q00JCPU Up to 8
Q00CPU
Q01CPU
Q02CPU
Q02HCPU
Q06HCPU
Q12HCPU
Q25HCPU
Q02PHCPU
Q06PHCPU
Q12PHCPU
Q25PHCPU
Q12PRHCPU
Q25PRHCPU
Q02UCPU Up to 36
Q03UDCPU
Q04UDHCPU
Q06UDHCPU
Q13UDHCPU
Q26UDHCPU
Q03UDECPU
Q04UDEHCPU
Q06UDEHCPU
Q13UDEHCPU
Q26UDEHCPU
No. of modules
Up to 24
Up to 64
Up to 64
Up to 53
Up to 64
3
*
1
*
Main base unit Extension base unit
Base unit
2
*
2
2 - 1 2 - 1
2 SYSTEM CONFIGURATION
Applicable CPU module
CPU type CPU model
C Controller module
2
QJ72LP25-25 QJ72LP25G QJ72LP25GE QJ72BR15
1
*
Main base unit Extension base unit
Q06CCPU-V
Q06CCPU-V-B
No. of modules
Up to 64
*1: Limited within the range of I/O points for the CPU module. *2: Can be installed to any I/O slot of a base unit. *3: Use the QD60P8-G module whose serial No. (first five digits) is 09012
or later.
(b) Mounting to a MELSECNET/H remote I/O station
The table below shows the network modules and base units applicable to the QD60P8-G and quantities for each network module model. Depending on the combination with other modules or the number of mounted modules, power supply capacity may be insufficient. Pay attention to the power supply capacity before mounting modules, and if the power supply capacity is insufficient, change the combination of the modules.
Applicable network
module
No. of modules *1
Up to 64
Main base unit of
remote I/O station
Base unit *2
*1: Limited within the range of I/O points for the network module. *2: Can be installed to any I/O slot of a base unit.
REMARK
MELSEC-Q
Base unit
2
*
: Applicable, : N/A
Extension base unit of
remote I/O station
: Applicable, : N/A
The Basic model QCPU or C Controller module cannot create the MELSECNET/H remote I/O network.
2 - 2 2 - 2
2 SYSTEM CONFIGURATION
(2) Support of the multiple CPU system
When using the QD60P8-G in a multiple CPU system, refer to the following manual first.
• QCPU User's Manual (Multiple CPU System) Write intelligent function module parameters to the control CPU of the QD60P8-G only.
(3) Compatibility with online module change
The QD60P8-G supports the online module change function.
POINT
The QD60P8-G does not have the products of function versions A and B. The products of function version C include the functions of the products function versions A and B.
(4) Supported software packages
Relation between the system containing the QD60P8-G and software package is shown in the following table. GX Developer is necessary when using the QD60P8-G.
MELSEC-Q
Software Version
GX Developer
GX Configurator-CT
Q00J/Q00/Q01CPU
Q02/Q02H/Q06H/Q12H/Q25HCPU
Q02PH/Q06PHCPU
Q12PH/Q25PHCPU
Q12PRH/Q25PRHCPU Redundant CPU system Version 8.45X or later Version 1.16S or later
Q02U/Q03UD/Q04UDH/Q06UDHCPU
Q13UDH/Q26UDHCPU
Q13UDEH/Q26UDEHCPU
If installed in a MELSECNET/H remote I/O station Version 6 or later Version 1.14Q or later
Single CPU system Version 7 or later
Multiple CPU system Version 8 or later
Single CPU system Version 4 or later
Multiple CPU system Version 6 or later
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system
Multiple CPU system
Single CPU system Q03UDE/Q04UDEH/Q06UDEH/
Multiple CPU system
Version 8.68W or later
Version 7.10L or later
Version 8.48A or later
Version 8.62Q or later
Version 8.68W or later
Version 1.14Q or later
Version 1.25AB or later
2 - 3 2 - 3
2 SYSTEM CONFIGURATION

2.2 About Use of the QD60P8-G with the Q12PRH/Q25PRHCPU

Here, use of the QD60P8-G with the Q12PRH/Q25PRHCPU is explained.
(1) GX Configurator-CT connection
GX Configurator-CT cannot be used when accessing the Q12PRH/Q25PRHCPU via an intelligent function module on an extension base unit from GX Developer. Connect a personal computer with a communication path indicated below.
1 2
Main base unit
MELSEC-Q
Extension base unit
(GX Configurator-CT cannot be used.)
1
Direct connection to the CPU
2
Connection through an intelligent function module on the main base unit (Through Ethernet module, MELSECNET/H module, or CC-Link module)
2 - 4 2 - 4
2 SYSTEM CONFIGURATION

2.3 How to Check the Function Version and the Software Version

This function version of the QD60P8-G and the software version of the GX Configuration-CT can be checked in the following methods.
(1) Checking the function version of the QD60P8-G
(a) Method using the rated plate on the module side face
Check the alphabet at the end of "SERIAL"
MELSEC-Q
(b) Method using the GX Developer
Check the alphabet at the end of "Product information" displayed on "Module's Detailed Information" dialog box of GX Developer.
Function version
Relevant regulation standards
[Operation of GX Developer]
Click the [Diagnostics] [System monitor] menu and click the
Module's Detailed Information
<Module's Detailed Information dialog box of GX Developer>
button in the displayed window.
Function version
2 - 5 2 - 5
2 SYSTEM CONFIGURATION
POINT
The serial No. on the rating plate may be different from the serial No. displayed on the product information screen of GX Developer.
• The serial No. on the rating plate indicates the management information of the product.
• The serial No. displayed on the product information screen of GX Developer indicates the function information of the product. The function information of the product is updated when a new function is added.
(2) Checking the software version of GX Configurator-CT
The software version of GX Configurator-CT can be checked in GX Developer’s "Product information" screen.
[Operation Procedure]
GX Developer [Help] [Product information]
MELSEC-Q
Software version
2 - 6 2 - 6
3 SPECIFICATIONS

CHAPTER 3 SPECIFICATIONS

MELSEC-Q
This chapter explains the performance specifications of the QD60P8-G, the I/O signals for the programmable controller CPU, and the specifications of the buffer memory. For the general specifications of the QD60P8-G, refer to the User's Manual of the used CPU module.

3.1 Performance Specifications

Item
Counting speed switch settings*1 30kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps
Number of I/O occupied points 32 points (I/O assignment: 32 points for intelligent function module)
Number of channels 8 channels
Phase 1-phase input Count input
signal
Input derating Refer to the derating chart (Next page)
Counter
Signal level 5VDC/12 to 24VDC
Counting speed
(Max.) *2
Counting range
Count type Linear counter method, ring counter method
Minimum count
pulse width
(Duty ratio 50%)
The following table indicates the performance specifications of the QD60P8-G.
Model name
30kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps
Sampling pulse number
Accumulating count value
Input pulse value
33.4 s
16.7 s
16.7 s
100 s
50 s50 s
1ms
0.5
0.5 ms
ms
QD60P8-G
: 16-bit binary (0 to 32767)
: 32-bit binary (0 to 99999999)
: 32-bit binary (0 to 2147483647)
10ms
5
ms
ms
5
20ms
10
10
ms
ms
100ms
50
ms
ms
50
0.5
1s
0.5 s
s
10s
5s
3
5s
For 1 min at 1500VAC between AC external connecting terminals and general grounding
Dielectric withstand voltage
Insulation resistance 5MΩ or more at 500VDC between AC external connecting terminals and general grounding
Connected terminal 18 points terminal block
Applicable wire size
Applicable solderless terminals R1.25-3 (A solderless terminals with sleeves cannot be used.)
Internal current consumption
(5VDC)
Weight 0.17kg
External dimensions 27.4 (1.08) (W) X 98 (3.86) (H) X 90 (3.54) (D) [mm (in.)]
For 1 min at 500VAC between DC external connecting terminals and general grounding
For 1 min at 1780VAC between channels
0.3 to 0.75mm
0.58A
2
*1: To change the counting speed, use the intelligent function module switch.
(For details, refer to "Section 4.5 Switch setting for intelligent function module".)
*2: The counting speed is affected by the rise/fall time of pulses. The countable counting speeds
are indicated in the table on the next page. Note that counting the pulses of long rise/fall time may result in miscounting.
3 - 1 3 - 1
C
3 SPECIFICATIONS
MELSEC-Q
<Rise/Fall time and the corresponding counting speed switch settings>
Rise/Fall Time
t = 8.4µs or less 30kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps
t = 25µs or less 10kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps
t = 250µs or less - 1kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps
t = 2.5ms or less - - 100pps 100pps 50pps 10pps 1pps 0.1pps
t = 5ms or less - - - 50pps 50pps 10pps 1pps 0.1pps
t = 25ms or less - - - - 10pps 10pps 1pps 0.1pps
3
t = 250ms or less - - - - - 1pps 1pps 0.1pps
t = 2.5s or less - - - - - - 0.1pps 0.1pps
t = 5s - - - - - - - 0.05pps
30kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0.1pps
Counting speed switch settings
tt
<Derating Chart>
( )
100
90
ON
ratio
3
80
30VD
70
60
50
40
0
10 20 30 40 50
Ambient temparature
55
( )
3: "ON" indicates the status where voltage is applied
to pulse input terminals.
3 - 2 3 - 2
3 SPECIFICATIONS

3.2 List of Functions

MELSEC-Q
Name Details Reference
Linear counter function
Accumulating
counter
Sampling
counter
Counter reset function
Pulse edge selection function
Count enable function
Online module change function
Utility function
Ring counter function This function repeats counting between 0 and 99999999. Section 5.2.2
Comparison output
function
Count cycle change
function
Movement averaging
function
Pre-scale function
Alarm output function
The following table indicates the QD60P8-G functions.
The above functions can be used in combination. However, the linear counter function and ring counter function cannot be used together. Please select either of them.
POINT
This function counts from 0 to 99999999 and detects an overflow
when the count range is exceeded.
This function turns ON the accumulating counter comparison flag
when the accumulating count value reaches or exceeds the
comparison output setting value. (The accumulating counter
comparison flag turns OFF at a comparison signal reset request.)
This function changes the count cycle of the sampling pulse
number or accumulating count value.
This function performs movement averaging processing by the
specified number of times if there are variations in the sampling
pulse number.
This function converts the input pulse number into the unit pulse
number when its weight per pulse is a fraction.
This function sets the upper/upper limit value, upper/lower limit
value, lower/upper limit value and lower/lower limit value for the
sampling pulse number converted by the pre-scale function to
output alarms.
This function resets the sampling pulse number, accumulating
count value or input pulse value. A reset can be made at any
timing.
This function selects whether the rise or fall of an input pulse will
be used for counting. (This setting can be made for each channel
using the intelligent function module switch.)
This function starts input pulse count operation when the count
enable signal is turned ON.
This function changes the module without stopping the system.
(Perform an online module change according to the messages of
GX Developer.)
This function uses the utility package (GX Configurator-CT) to
perform initial setting, auto refresh setting, monitor/test or similar
from within the software without using sequence programs.
Section 5.2.1
Section 5.4
Section 5.1.4
Section 5.7
Section 5.6
Section 5.8
Section 5.5
Section 4.5
Section 5.1.2
Chapter 8
Chapter 6
3 - 3 3 - 3
3 SPECIFICATIONS
MELSEC-Q

3.3 I/O signals for Programmable Controller CPU

3.3.1 List of I/O signals

The following table indicates the I/O signals of the QD60P8-G for the programmable controller CPU. The I/O numbers (X/Y) and I/O addresses indicated in this chapter and later assume that the QD60P8-G is installed on the I/O slot No. 0 of the main base unit.
Input signal (Signal direction:
QD60P8-G
Device No. Signal name Device No. Signal name
X0 Module READY Y0 Reserved (N/A) *
X1 Operating condition setting complete flag Y1 Operating condition setting request flag
X2
to
X7
X8 CH1 Y8 CH1
X9 CH2 Y9 CH2
XA CH3 YA CH3
XB CH4 YB CH4
XC CH5 YC CH5
XD CH6 YD CH6
XE CH7 YE CH7
XF CH8
X10 CH1 Y10 CH1
X11 CH2 Y11 CH2
X12 CH3 Y12 CH3
X13 CH4 Y13 CH4
X14 CH5 Y14 CH5
X15 CH6 Y15 CH6
X16 CH7 Y16 CH7
X17 CH8
X18
to
X1F
programmable controller CPU)
Reserved (N/A) *
Error occurrence
Accumulating counter comparison
flag
Reserved (N/A) *
Y2
to
Y7
YF CH8
Y17 CH8
Y18 CH1
Y19 CH2
Y1A CH3
Y1B CH4
Y1C CH5
Y1D CH6
Y1E CH7
Y1F CH8
*: Write is inhibited to the I/O (X/Y) reserved for the system.
Output signal (Signal direction:
programmable controller CPU QD60P8-G)
Reserved (N/A) *
Error reset request
Comparison signal reset request
Count enable
3 - 4 3 - 4
3 SPECIFICATIONS

3.3.2 Details of I/O signals

The I/O signals of the QD60P8-G are detailed below.
(1) Details of input signals (QD60P8-G programmable controller
CPU)
The following table indicates the ON/OFF timings and functions of the input
Device
No.
X0 Module READY
Operating
X1
condition setting complete flag
X8 CH1
X9 CH2
XA CH3
XB CH4
XC CH5
XD CH6
XE CH7
Error occurrence
Signal name Details
signals.
OFF: Not
ON : Prepared
OFF: Operating
ON : Operating
OFF: No error
ON : Error
Prepared/ Watch dog timer error
condition setting
condition setting complete
occurrence
occurrence
MELSEC-Q
• This signal judges whether the QD60P8-G is normal or abnormal in the sequence program. This signal turns ON when the module starts normally at power-on or reset operation.
• This signal turns OFF at occurrence of a watch dog timer error.
• This signal is used as an interlock for turning ON/OFF the operating condition setting request flag (Y1) when the function, such as the comparison output function, is selected or the setting value is changed.
• When this signal is OFF, input pulses are not counted.
• After confirming that the operating condition setting is completed (this signal has turned ON), turn ON the count enable signal (Y18 to Y1F) to start pulse counting.
Executed by QD60P8-G Executed by sequence program
ON
Module READY
Operating condition setting complete flag
Operating condition setting request flag
Count enable
(Y18 to Y1F)
(X0)
(X1)
(Y1)
OFF
ON
OFF
ON
OFF
ON
OFF
• This signal turns ON if an error exists in the overflow detection or initial setting data. (The details of the error can be confirmed from the "system monitor" screen of GX Developer.)
• This signal turns OFF when the error reset request (Y8 to YF) is turned ON.
• The "error code" is stored into the buffer memory of the corresponding channel (refer to Section 3.4.2 for details).
Executed by QD60P8-G Executed by sequence program
ON
Error occurrence (X8 to XF)
Error reset request (Y8 to YF)
OFF
ON
OFF
Initial value
*1
OFF
OFF
OFF
XF CH8
Error code is read during this period.
*1: Initial value set at power-on or when the programmable controller CPU is reset.
3 - 5 3 - 5
A
3 SPECIFICATIONS
Device
No.
X10 CH1
X11 CH2
X12 CH3
X13 CH4
X14 CH5
X15 CH6
Accumulating counter comparison flag
Signal name Details
OFF: Accumulating
count value Comparison output setting value
ON : Accumulating
count value Comparison output setting value
MELSEC-Q
• This signal turns ON if the "accumulating count value" reaches or exceeds the "comparison output setting value". The "accumulating count value" is stored into the buffer memory for each channel. Set the "comparison output setting value" to the buffer memory for each channel. (Refer to Section 3.4.2 for details.)
• This signal remains ON until the comparison signal reset request (Y10 to Y17) turns ON.
• Once turned OFF, this signal does not turn ON until the accumulating count value reaches the comparison output setting value again after it has been reset.
Executed by QD60P8-G Executed by sequence program
Count cycle setting value
Comparison output setting value
Accumulating count value
Initial
value
*1
OFF
X16 CH7
X17 CH8
ccumulating counter comparison flag (X10 to X17)
Comparison signal reset request (Y10 to Y17)
OFF
OFF
ON
ON
*1: Initial value set at power-on or when the programmable controller CPU is reset.
3 - 6 3 - 6
3 SPECIFICATIONS
(2) Details of output signals (programmable controller CPU
Device
No.
Operating condition
Y1
setting request flag
Y8 CH1 Y9 CH2 YA CH3
YB CH4 YC CH5 YD CH6
YE CH7
YF CH8
Y10 CH1 Y11 CH2 Y12 CH3 Y13 CH4 Y14 CH5 Y15 CH6 Y16 CH7 Y17 CH8 Y18 CH1 Y19 CH2 Y1A CH3
Y1B CH4 Y1C CH5 Y1D CH6
Y1E CH7
Y1F CH8
Signal name Details
Error reset request
Comparison signal reset request
Count enable
*1: Initial value set at power-on or when the programmable controller CPU is reset.
MELSEC-Q
QD60P8-G)
The following table indicates the ON/OFF timings and functions of the output signals.
Initial value
• This signal turns ON to make the "comparison output setting value" and other setting data of the buffer
OFF: No operating
condition setting request
ON : Operating
condition setting request
OFF: No error reset
request
ON : Error reset
request
OFF: No
comparison signal reset request
ON : Comparison
signal reset request
OFF: Count
operation stop
ON : Count
operation start
memory valid.
• When this signal turns ON, the setting data are reflected on the module.
• When this signal turns ON, the "sampling pulse number", "accumulating count value" or "input pulse value" assigned to the buffer memory for each channel is reset.
• When this signal is turned ON in the sequence program, it should be kept ON for longer than 10ms.
• For details on the ON/OFF timing of this signal, refer to the item of the input signal (X1).
• If the error occurrence signal (X8 to XF) has turned ON due to the error occurrence, turning ON this signal clears that error.
• For details on the ON/OFF timing of this signal, refer to the item of the input signal (X8 to XF).
• If the accumulating counter comparison flag (X10 to X17) has turned ON, turning ON this signal clears the accumulating counter comparison flag.
• For details on the ON/OFF timing of this signal, refer to the item of the input signal (X10 to X17).
• This signal turns ON when count operation is started.
• When this signal turns ON, the count operation of the "sampling pulse number", "accumulating count value" or "input pulse value" assigned to the buffer memory for each channel is started.
• For details on the ON/OFF timing of this signal, refer to the item of the input signal (X1).
*1
OFF
OFF
OFF
OFF
3 - 7 3 - 7
3 SPECIFICATIONS
MELSEC-Q

3.4 Buffer Memory

3.4.1 List of buffer memory assignments

The following table indicates the assignment of the QD60P8-G buffer memory. Refer to Section 3.4.2 for details of the buffer memory areas. The initial values are set to the buffer memory at power-on or when the programmable controller CPU is reset. (When power is switched OFF, the setting values in the buffer memory are not retained.) The sequence program or programmable controller CPU's auto refresh function, reads/writes the buffer memory contents. The settings are reflected on the module by turning ON the operating condition setting
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
0 32 64 96 128 160 192 224 Sampling pulse number Read only
1 33 65 97 129 161 193 225 Comparison output selection
2 34 66 98 130 162 194 226 (L)
3 35 67 99 131 163 195 227
4 36 68 100 132 164 196 228 Movement averaging processing selection
5 37 69 101 133 165 197 229 Number of movement averaging processing
6 38 70 102 134 166 198 230 Pre-scale function selection
7 39 71 103 135 167 199 231 Pre-scale setting value
8 40 72 104 136 168 200 232 (L)
9 41 73 105 137 169 201 233
10 42 74 106 138 170 202 234 (L)
11 43 75 107 139 171 203 235
12 44 76 108 140 172 204 236 Overflow detection flag
13 45 77 109 141 173 205 237 Counter reset request
14 46 78 110 142 174 206 238 Carry over detection flag Read only
15 47 79 111 143 175 207 239 Carry over reset request
16 48 80 112 144 176 208 240 Error code Read only
17 49 81 113 145 177 209 241 Alarm output selection
18 50 82 114 146 178 210 242 Alarm output flag Read only
19 51 83 115 147 179 211 243 Alarm output setting value upper/upper limit
20 52 84 116 148 180 212 244 Alarm output setting value upper/lower limit
21 53 85 117 149 181 213 245 Alarm output setting value lower/upper limit
22 54 86 118 150 182 214 246 Alarm output setting value lower/lower limit
23 55 87 119 151 183 215 247 Count cycle change function selection
24 56 88 120 152 184 216 248 Count cycle setting value
25 57 89 121 153 185 217 249
to to to to to to to to
31 63 95 127 159 191 223 255
request flag (Y1) after the data have been written to the buffer memory.
Buffer memory address
Comparison output setting value
Accumulating count value
Input pulse value
Reserved (N/A)
*1: Initial value set at power-on or when the programmable controller CPU is reset.
Setting details
(H)
(H)
(H)
Initial
value
0
Read/Write
Read/Write
enabled
Read only
Read/Write
enabled
Read/Write
enabled
Read/Write
enabled
Read/Write
enabled
3 - 8 3 - 8
3 SPECIFICATIONS

3.4.2 Details of buffer memory

The following table indicates the functions and setting values of the buffer memory
Item Details
• Stores the pulse number obtained by converting the input pulses into the unit pulse number using the pre-scale function.
Sampling pulse
number
Comparison
output selection
Comparison
output setting
value
• When the count enable signal (Y18 to Y1F) turns ON, count operation starts. The count range is 0 to 32767.
• The update timing is the interval set in the "count cycle setting value" of the (The initial value of the count cycle is 1s.)
• Set whether the comparison output function is valid or invalid.
• If the setting value is other than 0 or 1, a comparison output setting range outside error (error code: 200) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
[Setting value]
• Set the value to be compared with the "accumulating count value" of the buffer memory.
• If the setting value is outside the range, a comparison output setting range outside error (error code: 200) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
• The relationships between the accumulating count value, comparison output setting value and accumulating counter comparison flag (X10 to X17) ON/OFF are as indicated below.
Setting value and accumulating count
• The accumulating counter comparison flag is cleared by turning ON the comparison signal reset request (Y10 to Y17) of the corresponding channel.
• When the accumulating counter is operating as a linear counter, the accumulating counter comparison flag that was turned OFF once does not turn ON until the accumulating count value reaches the comparison output setting value again after it has been reset. When the accumulating counter is operating as a ring counter, the flag turns ON when the accumulating count value reaches the comparison output setting value again in the ring processing. [Setting range: 0 to 99999999]
areas.
buffer memory.
0: Comparison output function invalid 1: Comparison output
Setting value
Setting value = accumulating count
Setting value
*: Refer to Section 9.3 for details of the error codes.
function valid
value
accumulating count
value
value
accumulating count
value
Accumulating counter
comparison flag
(X10 to X17)
OFF
ON
ON
MELSEC-Q
Initial
value
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
0 0 32 64 96 128 160 192 224
0 1 33 65 97 129 161 193 225
2 3 34
0
Buffer memory address
66
98
130
35
67
99
131
162
163
194
195
226
227
3 - 9 3 - 9
3 SPECIFICATIONS
Item Details
• When "movement averaging processing" is set in the movement averaging processing selection, movement averaging processing is performed on the "sampling pulse number" of the buffer memory by the number of times set in the "number of movement
Movement
averaging
processing
selection
Number of
movement
averaging
processing
Pre-scale
function selection
averaging processing" of the buffer memory.
• When the setting value is other than 0 or 1, a movement averaging setting range outside error (error code: 300) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
[Setting value]
0: Sampling processing 1: Movement averaging processing
• Set the number of times to perform movement averaging processing on the "sampling pulse number" of the buffer memory.
• When "movement averaging processing" is selected in the "movement averaging processing selection" of the buffer memory, the initial value of this buffer memory is "0". Therefore, if you run the programmable controller CPU without setting the value, a movement averaging setting range outside error (error code: 300) will occur.
• If the setting value is outside the range, a movement averaging setting range outside error (error code: 300) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
[Setting range: 2 to 60]
• The pre-scale function converts the input pulse number per count cycle into the unit pulse number when the weight per pulse is a fraction, and stores the result of conversion into the "sampling pulse number" of the buffer memory. The following operation formula is used at this time.
Sampling pulse number =
Input pulse value per count cycle
The converted sampling pulse number is rounded down to the
Pre-scale function invalid 0
1 1
unit magnification
decimal point.
Pre-scale function selection
(Unit magnification)
0.1 2
0.01 3
0.001 4
0.0001 5
If the setting value is other than the above values, a pre-scale setting range outside error (error code: 400) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
pre-scale setting value
Setting value
*: Refer to Section 9.3 for details of the error codes.
MELSEC-Q
Initial
value
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
0 4 36 68 100 132 164 196 228
Buffer memory address
0 5 37 69 101 133 165 197 229
0 6 38 70 102 134 166 198 230
3 - 10 3 - 10
3 SPECIFICATIONS
Item Details
• Set the pre-scale setting value.
• The pre-scale function calculates the "sampling pulse number" of the buffer memory with the following operation formula:
Sampling pulse number =
Pre-scale setting
value
Accumulating
count value
Input pulse value
Overflow
detection flag
input pulse value per count cycle unit magnification Note that if the pre-scale setting value is "0", the displayed sampling pulse number becomes 0 from the above operation formula, and therefore, it seems as if pulses are not counted although they are actually counted.
• If the setting value is outside the range, a pre-scale setting range outside error (error code: 400) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
[Setting range: 0 to 32767]
• Stores the accumulating value of the "sampling pulse number" of the buffer memory.
• The accumulating count value can be used when either the linear counter or ring counter is selected.
• The accumulating count range is 0 to 99999999 for both the linear counter and ring counter.
• If the accumulating count value exceeds 99999999 when the accumulating counter is used as the linear counter, the "overflow detection flag" of the buffer memory turns ON.
• When the operating condition setting request flag (Y1) is turned ON or "1" is set in the "counter reset request" of the buffer memory, the accumulating count value is reset.
• The update timing is the same as the cycle of the sampling pulse number. (It is the interval set in the "count cycle setting value" of the buffer memory.")
• Stores the actually entered pulse number.
• This value is not converted into the unit pulse number by the pre­scale function, unlike the "sampling pulse number" and "accumulating count value" of the buffer memory.
• The count indication range is 0 to 2147483647.
• When the operating condition setting request flag (Y1) is turned ON or "1" is set in the "counter reset request" of the buffer memory, the input pulse value is reset.
• If an overflow error (error code: 100) occurs, this value is kept counted when the count enable (Y18 to Y1F) is ON.
• The update timing is fixed at 10ms. Therefore, take care when using the module as a counter.
• If the "accumulating count value" of the buffer memory exceeds 99999999 when the accumulating counter is used as the linear counter, the overflow detection flag turns ON. At the same time, an overflow error (error code: 100) occurs and count operation is stopped.
• When the overflow error has occurred, the accumulating count value does not change from 99999999 if pulses are input after the error occurrence. The "sampling pulse number" of the buffer memory is reset.
• The overflow error is cleared by setting "1" in the "counter reset request" of the buffer memory. Count operation is resumed after the error is cleared.
• The error is also cleared by turning ON the error reset request (Y8 to YF). To resume count operation, however, turn ON the operating condition setting request flag (Y1) or set "1" in the counter reset request.
[Detection value]
0: No overflow detection (OFF) 1: Overflow detection (ON)
pre-scale setting value
*: Refer to Section 9.3 for details of the error codes.
MELSEC-Q
Initial
value
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
0 7 39 71 103 135 167 199 231
8 9 40
0
10
0
11
0 12 44 76 108 140 172 204 236
Buffer memory address
72
104
136
41
73
105
137
42
74
106
138
43
75
107
139
168
169
170
171
200
201
202
203
232
233
234
235
3 - 11 3 - 11
3 SPECIFICATIONS
Item Details
• Setting "1" in the counter reset request resets the "sampling pulse number", "accumulating count value" or "input pulse value" of the buffer memory.
• When a reset is made, the input pulses are invalid for a maximum of 20ms.
• If count operation has been stopped due to the detection of an
Counter reset
request
Carry over
detection flag
Carry over reset
request
Error code
Alarm output
selection
Alarm output flag
overflow when the accumulating counter is used as the linear counter, the count operation is resumed after completion of a counter reset.
• If the setting value is other than 1, the setting is ignored.
[Setting value]
1: Reset request (The value automatically turns to "0" after completion of a counter reset.)
• If the "accumulating count value" of the buffer memory exceeds 99999999 when the accumulating counter is used as the ring counter, the carry over detection flag turns ON.
• Unlike the overflow detection flag, count operation is continued.
• The carry over detection flag is reset by setting "1" in the "carry over reset request" of the buffer memory.
• Unlike the overflow detection flag, an error does not occur if the carry over flag turns ON.
[Detection value]
0: No carry over detection (OFF) 1: Carry over detection (ON)
• Set the carry over reset request.
• If the setting value is other than 1, the setting is ignored.
[Setting value]
1: Reset request (The value automatically turns to "0" after completion of a carry over reset.)
• Stores the error code.
• The latest error code is always stored into the error code.
• Set whether an alarm will be output or not for the "sampling pulse number" of the buffer memory.
• If the setting value is other than 0 or 1, an alarm output setting range outside error (error code: 500) occurs.
[Setting value]
0: Alarm output function invalid 1: Alarm output function valid
• When "alarm output function valid" has been set in the "alarm output selection" of the buffer memory, the alarm output flag turns ON if the sampling pulse number exceeds the upper/upper limit value or lower/lower limit value.
b15 b0b4b8b12
Not used
Not used
Storage Item
Lower limit alarm
Upper limit alarm
0:OFF 1:ON
Meaning
(Normal)
(Range o ver)
*: Refer to Section 9.3 for details of the error codes.
MELSEC-Q
Initial
value
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
0 13 45 77 109 141 173 205 237
0 14 46 78 110 142 174 206 238
0 15 47 79 111 143 175 207 239
0 16 48 80 112 144 176 208 240
0 17 49 81 113 145 177 209 241
0 18 50 82 114 146 178 210 242
Buffer memory address
3 - 12 3 - 12
3 SPECIFICATIONS
Item Details
Alarm output
setting value
upper/upper limit
Alarm output
setting value
upper/lower limit
Alarm output
setting value
lower/upper limit
Alarm output
setting value
lower/lower limit
Count cycle
change function
selection
Count cycle
setting value
• Set the alarm output setting values (upper/upper limit, upper/lower limit, lower/upper limit, lower/lower limit).
• The following setting values can also be set: upper/upper limit = upper/lower limit, lower/upper limit = lower/lower limit. However, an alarm output setting range outside error (error code: 500) occurs if the setting value is outside the setting range or the following relation expression is not established. Upper/upper limit lower/lower limit To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value (value that will establish the above relation expression and is within the setting range), and then turn ON the operating condition setting request flag (Y1). [Setting range: 0 to 32767]
• Set whether the count cycle change function is valid or invalid.
• Set the count cycle in the "count cycle setting value" of the buffer memory.
• By setting "count cycle change function selection valid", the update timing of the "sampling pulse number" or "accumulating count value" of the buffer memory becomes the time set in the "count cycle setting value" of the buffer memory.
• When "count cycle change function selection invalid" is set, the count cycle is fixed at 1s.
• If the setting value is other than 0 or 1, a count cycle setting range outside error (error code: 600) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
[Setting value]
0: Count cycle change function selection invalid 1: Count cycle change function selection valid
• Set the count cycle of the "sampling pulse number" or "accumulating count value" of the buffer memory.
• If the setting value is other than the following values, a count cycle setting range outside error (error code: 600) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a value within the setting range and then turn ON the operating condition setting request flag (Y1).
[Setting value]
0: 1s 1: 100ms 2: 200ms 3: 500ms
upper/lower limit lower/upper limit
*: Refer to Section 9.3 for details of the error codes.
MELSEC-Q
Initial
value
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
19 51 83 115 147 179 211 243
20 52 84 116 148 180 212 244
0
21 53 85 117 149 181 213 245
22 54 86 118 150 182 214 246
0 23 55 87 119 151 183 215 247
0 24 56 88 120 152 184 216 248
Buffer memory address
3 - 13 3 - 13
3 SPECIFICATIONS

3.5 Interface with External Devices

The internal circuit of the QD60P8-G interface for connection of external devices is shown in a schematic diagram.
Input/
Output
Internal circuit
Terminal
number
Signal name Operation
Input voltage
(guaranteed
value)
MELSEC-Q
Operating current
(guaranteed
value)
Input
- -
*: Use the intelligent function module switch to change between 5VDC and 12 to 24VDC.
(For details, refer to "Section 4.5 Switch setting for intelligent function module".)
Signal layout of each channel
1, 3, 5, 7,
9, 11,
13, 15
2, 4, 6, 8,
10, 12,
14, 16
17
18
Terminal number Signal name
CH1
CH2
CH3
CH4
CH5
CH6
CH7
CH8
CH1 to 8 V+ At ON
CH1 to 8 V- At OFF
FG - - -
1 CH1 V+
2 CH1 V-
3 CH2 V+
4 CH2 V-
5 CH3 V+
6 CH3 V-
7 CH4 V+
8 CH4 V-
9 CH5 V+
10 CH5 V-
11 CH6 V+
12 CH6 V-
13 CH7 V+
14 CH7 V-
15 CH8 V+
16 CH8 V-
5VDC * 3.5V to 5.5V 4mA or more
12 to 24VDC * 10.2 to 30V 4mA or more
5VDC * 1.0V or less 0.5mA or less
12 to 24VDC * 2.0V or less 0.5mA or less
3 - 14 3 - 14
4 SETUP AND PROCEDURE BEFORE OPERATION
MELSEC-Q

CHAPTER 4 SETUP AND PROCEDURE BEFORE OPERATION

The following describes the procedure prior to the QD60P8-G operation, the name and setting of each part of the QD60P8-G, and wiring method.

4.1 Handling Precautions

The following are the precautions for handling the QD60P8-G.
(1) Do not drop the module casing, or do not subject it to strong impact.
(2) Do not remove the PCB of each module from its case. Doing so may cause
breakdowns.
(3) Be careful not to let foreign matters such as sawdust or wire chips get inside the
module. These may cause fires, failure and malfunction.
(4) The top surface of the module is covered with a protective film to prevent foreign
objects such as cable offcuts from entering the module when wiring. Do not remove this film until the wiring is complete. Before operating the system, be sure to remove the film to provide adequate heat ventilation.
(5) Tighten the screws such as module fixing screws within the following ranges.
Screw location Tightening torque range
Module fixing screw (M3 screw) *1 0.36 to 0.48N•m
Terminal block screw (M3 screw) 0.42 to 0.58N•m
Terminal block mounting screw (M3.5 screw) 0.66 to 0.89N•m
*1: The module can be easily fixed onto the base unit using the hook at the top of
the module. However, it is recommended to secure the module with the module fixing screw if the module is subject to significant vibration.
(6) To mount the module on the base unit, fully insert the module fixing latch into the
fixing hole in the base unit and press the module using the hole as a fulcrum. Improper installation may result in a malfunction or breakdown of the module, or may cause the module to fall off.
4
4 - 1 4 - 1
o
4 SETUP AND PROCEDURE BEFORE OPERATION

4.2 Procedure before Operation

MELSEC-Q
4
The figure below shows the steps that should be followed before starting the QD60P8­G operation.
Start
Module mounting
Mount the QD60P8-G in the specified slot.
Wiring
Wire the QD60P8-G.
Intelligent function module switch setting
Perform settings using the GX Developer (Refer to Section 4.5).
Use the GX Configurator-CT?
Yes
No
Initial setting
Create a sequence program for writing initial values (Refer to Chapter 7).
Initial setting
Perform the initial setting using the GX Configurator-CT (Refer to Section 6.4).
Program and debugging
Create and check the sequence program (Refer to Chapter 7).
Operation
Perform auto refresh setting?
Yes
Auto refresh setting
Perform the auto refresh setting using the GX Configurator-CT (Refer to Section 6.5).
Monitor/Test
Perform the monitor or test using the GX Configurator-CT (Refer to Section 6.6).
N
4 - 2 4 - 2
4 SETUP AND PROCEDURE BEFORE OPERATION

4.3 Part Identification Nomenclature

(1) Part identification nomenclature
The following are the part names of the QD60P8-G.
QD60P8-G
RUN
ERR.
C H 1
C H
2
C H
3
C H
4
C H
5
C H
6
C H
7
C H
8
(FG)
CH1
CH5
CH2
CH6
CH3
CH7 CH8
CH4
V+
V-
V-
V-
V-
V-
V-
V-
V-
1
2
V+
3
4
V+
5
6
V+
7
8
V+
9
10
V+
11
12
V+
13
14
V+
15
16
17
1)
2)
18
5/12-
24VDC
(2) LED Display
The LEDs turn ON/OFF as described below depending on the operating status of
Number Name Details
1) RUN LED
2) ERR. LED
3) CH1 to CH8 LED
the module.
Indicates the operating status of the QD60P8-G.
ON : Operating normally. OFF : 5V power is OFF, watch dog timer error occurred, in the module
changeable status during online module change.
Indicates the error status of the QD60P8-G.
ON : Error is occurring. OFF : Operating normally.
Displays the voltage application status of the input terminals.
ON : Voltage is being applied to the CH1 to CH8 pulse input terminal. OFF : No voltage applied to pulse input terminals of CH1 to CH8.
MELSEC-Q
3)
4 - 3 4 - 3
4 SETUP AND PROCEDURE BEFORE OPERATION

4.4 Wiring

This section explains how to wire the pulse generator to the QD60P8-G. The following are the precautions for wiring the QD60P8-G. Read these precautions together with "Section 4.1 Handling precautions" to ensure work safety.

4.4.1 Wiring precautions

In order to fully utilise the functions of the QD60P8-G and ensure system reliability, external wiring having a minimum of noise effect must be provided. The precautions regarding external wiring are described below.
(1) Use separate cables with the AC control circuit and QD60P8-G's external input
signals to avoid the influence of AC side surges and induction.
(2) Do not run the cable close to, or bundle them with, the main circuit and high-
voltage cables and the load cables from other than the programmable controller. Failure to do so will make the cables susceptible to noise, surges and induction.
(3) If there may be the effect of noise when a cable to be connected to the QD60P8-G
and the power line are installed close to each other, use a general shielded twisted pair cable as a countermeasure against noise. The shield must be grounded on the QD60P8-G side.
(4) No soldereless terminals with insulation sleeves can be used on the terminal block.
It is recommended to cover the electric wire connecting section of each solderless terminal with a marking tube or insulating tube.
(5) The cables connected to the QD60P8-G should be placed in a duct or fixed. Not
doing so can cause the QD60P8-G or cables to be damaged when the cables swing, move or are pulled carelessly, for example, or to malfunction due to poor cable connection.
MELSEC-Q
4 - 4 4 - 4
2
t
4 SETUP AND PROCEDURE BEFORE OPERATION
(6) To comply with the EMC Directive and Low-Voltage Directive, always ground the
QD60P8-G to the control box using shielded twisted pair cables and AD75CK
0cm (7.88 inch)
o 30cm (11.82 inch)
cable clamping (Mitsubishi Electric make).
Inside control box
QD60P8-G
AD75CK
MELSEC-Q
[How to ground shielded twisted pair cable using AD75CK]
Shield cable
Shield
Ground terminal
Ground terminal installation screw (M4 8 screw)
Installation screw to control box (M4 screw)
Using the AD75CK, you can tie four cables of about 7mm outside diameter together for grounding. (For details, refer to the AD75CK-type Cable Clamping Instruction Manual<IB­68682>.)
4 - 5 4 - 5
4 SETUP AND PROCEDURE BEFORE OPERATION

4.4.2 Wiring example

This section shows an example of wiring the QD60P8-G and pulse generator. In the wiring example of this section, only CH1 is wired. Also, in this example, the voltage of the external power supply is 24VDC as the electrical specifications of the pulse generator.
!
DANGER
When wiring, be sure to verify the rated voltage of the product as well as the terminal layout. Fire or failure may result if incorrect voltage is input or incorrect wiring is performed.
Do not apply the voltage exceeding the value set on the "Intelligent function module switch setting" dialog box to the terminals. Failure to observe this may cause fire or failure.
(1) Wiring example with a source logic type pulse generator
(a) For transistor output
QD60P8-G
Pulse generator
MELSEC-Q
+24V
Shielded twisted pair cable
24VDC power supply
CH1 V+
CH1 V-
FG
+
-
OUT
(b) For contact output
QD60P8-G
Shielded twisted pair cable
CH1 V+
CH1 V-
FG
Pulse generator
+24V
OUT
24VDC power supply
+
-
4 - 6 4 - 6
4 SETUP AND PROCEDURE BEFORE OPERATION
(2) Wiring example with a sink logic type pulse generator
(a) For transistor output
QD60P8-G
Pulse generator
MELSEC-Q
24VDC power supply
Shielded twisted pair cable
CH1 V+
CH1 V-
FG
+
-
OUT
OUT
GND
(b) For contact output
QD60P8-G
CH1 V+
CH1 V-
FG
Shielded twisted pair cable
Pulse generator
OUT
OUT
GND
24VDC power supply
+
-
4 - 7 4 - 7
4 SETUP AND PROCEDURE BEFORE OPERATION
MELSEC-Q

4.5 Switch Setting for Intelligent Function Module

Settings for QD60P8-G input voltage selection, pulse edge selection, linear counter or ring counter selection, and input filter setting can be made by the GX Developer intelligent function module switch setting. Make the intelligent function module switch setting in the "I/O assignment setting" PLC
Switch No. Setting items Setting details/bit assignment Default value
parameter of the QCPU using GX Developer.
• The intelligent function module switch has switches 1 to 5, and is set at 16 bits data.
• If the intelligent function module switch setting is not operated, the default setting for switches 1 to 5 is 0.
The settings made with the intelligent function module switches are made valid after power-on or programmable controller CPU reset. You cannot change the settings during operation.
Switch 1 Input voltage selection
Pulse edge selection
Switch 2
Linear counter or Ring
counter selection
b15 b0b4b8b12
Not used
b15 b0b4b8b12
Setting items Meaning
CH1 Input voltage
CH2 Input voltage
CH3 Input voltage
CH4 Input voltage
CH5 Input voltage
CH6 Input voltage
CH7 Input voltage
CH8 Input voltage
Setting items Meaning
CH1 Pulse edge
CH2 Pulse edge
CH3 Pulse edge
CH4 Pulse edge
CH5 Pulse edge
CH6 Pulse edge
CH7 Pulse edge
CH8 Pulse edge
Setting items
CH1 Linear/Ring counter
CH2 Linear/Ring counter
CH3 Linear/Ring counter
CH4 Linear/Ring counter
CH5 Linear/Ring counter
CH6 Linear/Ring counter
CH7 Linear/Ring counter
CH8 Linear/Ring counter
0:12 to 24VDC 1:5VDC
0:Rise edge 1:Fall edge
Meaning
0:Linear counter 1:Ring counter
0000H
0000H
4 - 8 4 - 8
4 SETUP AND PROCEDURE BEFORE OPERATION
MELSEC-Q
Switch No. Setting items Setting details/bit assignment Default value
Switch 3
Switch 4
Input filter setting
(CH1 to CH4)
Input filter setting
(CH5 to CH8)
Switch 5 Vacant
(1) Input voltage selection (Switch 1: lower 8 bits)
Set the level of the input signal on each channel.
(2) Pulse edge selection (Switch 2: lower 8 bits)
Set the pulse edge (rise edge/fall edge) on each channel. For pulse edge selection, the differences between the rise edge and fall edge and the count timings are shown below.
H
Setting items
CH1 Input filter
CH2 Input filter
CH3 Input filter
CH4 Input filter
H
Setting ite ms Meanin g
CH5 Input filter
CH6 Input filter
CH7 Input filter
CH8 Input filter
Meaning
0:30kpps 1:10kpps 2:1kpps 3:100pps 4:50pps 5:10pps 6:1pps 7:0.1pps
0:30kpps 1:10kpps 2:1kpps 3:100pps 4:50pps 5:10pps 6:1pps 7:0.1pps
0000H
0000H
1) Rise edge
Pulse input
Count number
1 2 3 4 5 6
2) Fall edge
Pulse input
Count number
1 2 3 4 5 6
(3) Linear counter or Ring counter selection (Switch 2: upper 8 bits)
Set the count type (linear counter or ring counter) on each channel. (Refer to Section 5.2.)
(4) Input filter setting (Switch 3, Switch 4)
Set the input pulse counting speed (maximum) on each channel. (Refer to Section 3.1.)
4 - 9 4 - 9
4 SETUP AND PROCEDURE BEFORE OPERATION
Operating procedure
Using GX Developer, make settings with the QCPU PLC parameter "I/O assignment setting" screen.
(a) I/O assignment setting screen
Specify the following for the slot where the QD60P8­G is mounted.
Type : Select "Intelli." Model name : Enter the module's model name. Points : Select 32 points. Start XY : Enter the start I/O signal for the
QD60P8-G.
MELSEC-Q
(b) Switch setting for I/O and intelligent function module
Click on Switch setting
setting screen to display the screen at left and set switches 1 to 4. The setting can easily be done if values are entered in hexadecimal. Change the input format to hexadecimal and enter values.
on the I/O assignment
4 - 10 4 - 10
(
)
5 DETAILS AND SETTING OF FUNCTIONS
MELSEC-Q

CHAPTER 5 DETAILS AND SETTING OF FUNCTIONS

This chapter explains the details and settings of the QD60P8-G functions.

5.1 Count Operation

5.1.1 Pulse input method

The pulse input method of the QD60P8-G is 1-phase input and addition count. (Subtraction count is not available.) However, it is allowed to set whether pulses will be counted on the rise or fall by using the intelligent function module switches. Refer to Section 4.5 for details of the switch settings of intelligent function module.
Pulse input
method
Pulse input from pulse generator (external)
Input pulse value
Buffer memory addresses: 10,11
1-phase
Pulse input from pulse generator (external)
Input pulse value (Buffer memory addresses: 10,11)
Count timing
1 2 3
1 2 3
Counted on rise (
Counted on fall (
of pulses
of pulses
)
5
)
5 - 1 5 - 1
5 DETAILS AND SETTING OF FUNCTIONS

5.1.2 Input pulse count operation

MELSEC-Q
5
Module READY (X0)
Operating condition setting complete flag (X1)
Count enable (Y18)
Input pulse value (Buffer memory address:10,11)
Sampling pulse number (Buffer memory address:0)
Accumulating count value (Buffer memory address:8,9)
This section explains the input pulse count operation of the QD60P8-G. (For CH1)
ON
OFF
1)
ON
OFF
ON
OFF
2) 3) 4)
Count indication start
5)
10ms
Count indication start
5)
Count cycle setting value (Buffer memory address:24)
5)
Count cycle setting value (Buffer memory address:24)
Count indication start
Number Details
When the operating condition setting complete flag (X1) turns ON, pulse count
1)
2) When the count enable (Y18) is turned ON, the count operation of CH1 starts.
3) The count enable (Y18) turns OFF and pulse count operation stops.
4) The count enable (Y18) turns ON and pulse count operation is restarted.
5)
operation is enabled.
If any setting value or similar is in error, count operation cannot be performed
since the operating condition setting complete flag (X1) does not turn ON.
The indications of the "sampling pulse number" and "accumulating count
value" of the buffer memory are updated in the cycle set in the "count cycle
setting value" of the buffer memory. (Refer to Section 5.1.4)
(The update timing of the "input pulse value" of the buffer memory is fixed at
10ms.)
REMARK
In the pulse count operation of the QD60P8-G, is delayed due to the control cycle
5 - 2 5 - 2
(10ms). Refer to Section 5.9 for details.
5 DETAILS AND SETTING OF FUNCTIONS
MELSEC-Q

5.1.3 Count value reading

This section explains how to read the count values (sampling pulse number, accumulating count value, input pulse value) stored in the buffer memory.
The accumulating count value and input pulse value are stored in the buffer memory as two words (32 bits). When reading the count value from the module, always read two words together.
Item
Sampling pulse number 0 32 64 96 128 160 192 224
Accumulating count value
Input pulse value
Item
Counter reset request 13 45 77 109 141 173 205 237
The buffer memory addresses where the count values are stored are as follows.
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
8
9
10
11
40
41
42
43
72
73
74
75
104
105
106
107
136
137
138
139
168
169
170
171
200
201
202
203
232
233
234
235
The buffer memory addresses of the counter reset requests for resetting the count values are as follows.
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
The update timings of the count values are as follows.
Item Update timing
Sampling pulse number
Accumulating count value
Input pulse value 10ms
Count cycle setting value (Refer to Section 5.1.4)
POINT
When reading the accumulating count value or input pulse value, always read two words together. If it is read in single word unit, a wrong count value may be read due to a data mismatch between the lower word and upper word when the count value is updated halfway during read. [Program example]
[Incorrect program example]
5 - 3 5 - 3
5 DETAILS AND SETTING OF FUNCTIONS

5.1.4 Count cycle changing

This section describes how to change the count cycles of the sampling pulse number and accumulating count value.
To change the count cycle, set "1: Count cycle change function selection valid" in the "count cycle change function selection" of the buffer memory. (Whether the function is valid or invalid can be selected on each channel.)
Item Setting value
Count cycle change
function selection
Count cycle setting
value
Further, set the count cycle in the "count cycle setting value" of the buffer memory.
0: Count cycle change function
selection invalid *
1: Count cycle change function
selection valid
0: 1s
1: 100ms
2: 200ms
3: 500ms
*: When "count cycle change function selection invalid" is set, the count cycle is 1s
(fixed).
POINT
• If the setting value is other than the above values, a count cycle setting range outside error (error code: 600) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
• The settings are reflected on the module by turning ON the operating condition setting request flag (Y1) after setting the values to the buffer memory.
MELSEC-Q
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
23 55 87 119 151 183 215 247
24 56 88 120 152 184 216 248
5 - 4 5 - 4
5 DETAILS AND SETTING OF FUNCTIONS

5.2 Count Type Selection

Select the linear counter or ring counter by setting with the intelligent function module switch. Refer to Section 4.5 for details of the setting method.

5.2.1 Linear counter operation

When the linear counter is selected, count operation is performed between 0 and
99999999. If the "accumulating count value" of the buffer memory exceeds 99999999, the "overflow detection flag" of the buffer memory turns ON and an overflow error (error code: 100) occurs. The linear counter can be used with the comparison output function (refer to Section
5.4), pre-scale function (refer to Section 5.6), movement averaging function (refer to Section 5.7) and alarm output function (refer to Section 5.8).
Executed by QD60P8-G Executed by sequence program
Accumulating count value*
MELSEC-Q
99999999
Count enable (Y18 to Y1F)
Overflow detection flag
Counter reset request
The accumulating count value is updated in the cycle set in the "count cycle setting value"
*:
of the buffer memory. (Refer to Section 5.1.4)
0 Time
ON
OFF
ON
OFF
ON
OFF
5 - 5 5 - 5
5 DETAILS AND SETTING OF FUNCTIONS
• Overflow error
An overflow error (error code: 100) occurs if the "accumulating count value" of the buffer memory exceeds 99999999 when the count type is the linear counter. If the overflow error occurs, count operation is stopped, and the "accumulating count value" of the buffer memory does not change from 99999999 if pulses are input. Also, the "sampling pulse number" of the buffer memory is reset.
The overflow error is cleared by setting "1" in the "counter reset request" of the buffer memory. Count operation is resumed after the error is cleared. The error is also cleared by turning ON the error reset request (Y8 to YF). To resume count operation, however, turn ON the operating condition setting request flag (Y1) or set "1" in the "counter reset request" of the buffer memory.
When checking for the module error at occurrence of an overflow error, click the
Item Read value/Setting value
Accumulating count value 0 to 99999999
Overflow detection flag
Counter reset request
[Diagnosis] - [System monitor] menu on GX Developer and monitor the system.
0: No overflow detection (OFF)
1: Overflow detection (ON)
1: Reset request
(The value automatically
turns to "0" after completion
of a counter reset.)
MELSEC-Q
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
8 9 40
41
12 44 76 108 140 172 204 236
13 45 77 109 141 173 205 237
72
73
104
105
136
137
168
169
200
201
232
233
5 - 6 5 - 6
5 DETAILS AND SETTING OF FUNCTIONS

5.2.2 Ring counter operation

When the ring counter is selected, count operation is repeated between 0 and
99999999. If the "accumulating count value" of the buffer memory exceeds 99999999, the accumulating count value returns to 0 and the "carry over detection flag" of the buffer memory turns ON. The ring counter can be used with the comparison output function (refer to Section 5.4), pre-scale function (refer to Section 5.6), movement averaging function (refer to Section 5.7) and alarm output function (refer to Section 5.8).
Executed by QD60P8-G
Executed by sequence program
Accumulating count value*
99999999
MELSEC-Q
0 Time
ON
Count enable (Y18 to Y1F)
Carry over detection flag
Carry over reset request
The accumulating count value is updated in the cycle set in the "count cycle setting value"
*:
of the buffer memory. (Refer to Section 5.1.4)
OFF
OFF
OFF
ON
ON
ON
5 - 7 5 - 7
5 DETAILS AND SETTING OF FUNCTIONS
Item Read value/Setting value
Accumulating count value 0 to 99999999
Carry over detection flag
Carry over reset request
0: No carry over detection (OFF)
1: Carry over detection (ON)
1: Reset request
(The value automatically turns
to "0" after completion of a
carry over reset.)
POINT
The carry over detection flag is not cleared until a carry over reset request is given. Once cleared, the carry over detection flag does not turn ON until the accumulating count value exceeds 99999999 again.
MELSEC-Q
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
8 9 40
14 46 78 110 142 174 206 238
15 47 79 111 143 175 207 239
41
72
73
104
105
136
137
168
169
200
201
232
233
5 - 8 5 - 8
v
5 DETAILS AND SETTING OF FUNCTIONS

5.3 Input Pulse Value

The pulse number entered into the QD60P8-G is stored into the "input pulse value" of the buffer memory. This value is counted when the count enable (Y18 to Y1F) is ON.
The input pulse value is not converted into the unit pulse number by the pre-scale function (refer to Section 5.6), unlike the "sampling pulse number" and "accumulating count value" of the buffer memory. If an overflow error occurs, the value is counted when the count enable (Y18 to Y1F) is ON. The count type of the input pulse value is a ring counter of 0 to 2147483647.
Input pulse
alue
to
2147483647 0 12321474836462147483600
MELSEC-Q
Input pulse count value of 2147483647 incremented by 1 turns to 0.
Item Read value
Input pulse value 0 to 2147483647
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
10
42
11
43
Buffer memory address
74
75
106
107
138
139
170
171
202
203
234
235
Counter reset request 13 45 77 109 141 173 205 237
The buffer memory addresses for resetting the input pulse values are as follows.
Item
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
Buffer memory address
POINT
• The update timing of the input pulse value is fixed at 10ms. Therefore, take care when using the module as a counter. (Refer to Section 5.9)
• When reading the input pulse value, always read two words together. If it is read in single word unit, a wrong count value may be read due to a data mismatch between the lower word and upper word when the count value is updated halfway during read.
5 - 9 5 - 9
5 DETAILS AND SETTING OF FUNCTIONS

5.4 Comparison Output Function

The comparison output function compares any count value set in the "comparison output setting value" of the buffer memory with the "accumulating count value" of the buffer memory, and if the "accumulating count value" is equal to or greater than the "comparison output setting value", turns ON the
Item Read value/Setting value
Comparison output
selection
Comparison output
setting value
Accumulating count
value
Item Read value/Setting value
Accumulating counter
comparison flag
Comparison signal
reset request
0: Comparison output function invalid
1: Comparison output function valid
OFF: Accumulating count value
ON : Accumulating count value
OFF: No comparison signal reset
ON : Comparison signal reset request
accumulating counter comparison flag (X10 to X17).
Set one point of the comparison output setting value for each channel.
The buffer memory addresses related to the setting of the comparison output function are as follows.
0 to 99999999
0 to 99999999
The I/O signals (X/Y devices) related to the setting of the comparison output function are as follows.
Comparison output setting value
Comparison output setting value
request
POINT
• If the value outside the range is set to any of the above buffer memory addresses, a comparison output setting range outside error (error code: 200) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a value within the setting range and then turn ON the operating condition setting request flag (Y1).
• The settings are reflected on the module by turning ON the operating condition setting request flag (Y1) after setting the values to the buffer memory.
MELSEC-Q
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
1 33 65 97 129 161 193 225
2 3 34
8 9 40
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
X10 X11 X12 X13 X14 X15 X16 X17
Y10 Y11 Y12 Y13 Y14 Y15 Y16 Y17
35
41
66
67
72
73
98
130
99
131
104
136
105
137
X/Y device
162
163
168
169
194
195
200
201
226
227
232
233
5 - 10 5 - 10
5 DETAILS AND SETTING OF FUNCTIONS
Outline of comparison output function operation
The following gives the outline of the comparison output function operation. (For CH1)
Operating condition setting complete flag (X1)
Comparison output setting value (Buffer memory address:2,3)
OFF
1)
1200
ON
ON
MELSEC-Q
Count enable (Y18)
Sampling pulse number (Buffer memory address:0)
Accumulating count value (Buffer memory address:8,9)
Accumulating counter comparison flag (X10)
Comparison signal reset request (Y10)
Number Details
1)
2)
POINT
The accumulating counter comparison flag (X10 to X17) is reset when the comparison signal reset request (Y10 to Y17) is turned ON. When the accumulating counter is operating as a linear counter, the accumulating counter comparison flag (X10 to X17) that was turned OFF once does not turn ON until the accumulating count value reaches the comparison output setting value again after it has been reset. If the accumulating counter is operating as a ring counter, the flag turns ON when the accumulating count value reaches the comparison output setting value again in the ring processing.
OFF
1)
788
0+788
0
OFF
OFF
Count operation is started when the count enable (Y18) is turned ON with
the operating condition setting complete flag (X1) ON.
When the "accumulating count value" is equal to or greater than the
"comparison output setting value", the accumulating counter comparison
flag (X10) turns ON.
Since the accumulating count value is updated at intervals of the count
cycle setting value (refer to Section 5.1.2), the accumulating counter
comparison flag is also turned ON at the timing of the count cycle setting
value.
788
Count indication start
288
1100+288>1200
1100 1388
ON
2)
ON
5 - 11 5 - 11
5 DETAILS AND SETTING OF FUNCTIONS

5.5 Counter Reset Function

Setting "1" in the "counter reset request" of the buffer memory resets the "sampling pulse number", "accumulating count value" or "input pulse value" of the buffer memory.
Item Setting value
1: Reset request
Counter reset request
(The value automatically
turns to "0" after completion
of a counter reset.)
POINT
• When the counter is reset, input pulses are invalid for a maximum of 20ms.
• When the accumulating counter is the linear counter, count operation that was stopped due to the detection of an overflow is started after completion of a counter reset.
• If a value other than 1 is set, the setting is ignored.
MELSEC-Q
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
13 45 77 109 141 173 205 237
5 - 12 5 - 12
5 DETAILS AND SETTING OF FUNCTIONS
MELSEC-Q

5.6 Pre-scale Function

The pre-scale function converts the input pulse number into the unit pulse number when its weight per pulse is a fraction. The pre-scale function converts the input pulse value per count cycle into the unit pulse number using the following operation formula. The result of conversion is
Item Setting value
Pre-scale function
selection
(Unit magnification)
Pre-scale setting value 0 to 32767 7 39 71 103 135 167 199 231
stored into the "sampling pulse number" of the buffer memory.
Sampling pulse number = input pulse value per count cycle
setting value
unit magnification
pre-scale
(The converted sampling pulse number is rounded down to the decimal point.)
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
0: Pre-scale function invalid
1:
1
0.1
2:
3:
4:
5:
0.01
0.001
0.0001
6 38 70 102 134 166 198 230
(Input pulse value per count cycle)
Count
Input pulse value
cycle
570 600 580
(Example)
If the input pulse value per count cycle is 1000, the pre-scale setting value is 5832, and the pre-scale function selection is 4.
Sampling pulse number = input pulse value per count cycle
pre-scale
setting value unit magnification
= 1000
5832 0.001
= 5832
This value is added to the accumulating count value.
POINT
• Note that if the pre-scale setting value is set to 0, the sampling pulse number calculated with the above operation formula becomes 0, and it seems as if pulses are not counted although they are actually counted.
• If the setting value is other than the above values, a pre-scale setting range outside error (error code: 400) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
• The settings are reflected on the module by turning ON the operating condition setting request flag (Y1) after setting the values to the buffer memory.
5 - 13 5 - 13
5 DETAILS AND SETTING OF FUNCTIONS

5.7 Movement Averaging Function

The movement averaging function averages the values of the sampling pulse number, which were imported in the count cycle (refer to Section 5.1.4), by the specified number of times to calculate the average value. This function is used when variations occur in the values of the sampling pulse number. The following shows the outline of movement averaging function operation.
Movement averaging processing performed when the setting number is four times.
Sampling pulse number
2)
1)
3) 4)
MELSEC-Q
Count cycle
5)
6)
8) 9)
7)
10) 11)
12)
Buffer memory
First storage Second storage Third storage
0
Data transition in buffer memory
First strage
1) +2) +3) +4)
4
*: From a counter reset or immediately after an operating condition setting request until reaching the number of movement averaging processing, averaging processing is performed by that number.
Item Read value/Setting value
Second storage
2) +3) +4) +5)
4
Buffer memory address
Third storage
3) +4) +5) +6)
4
Sampling pulse number
Time
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
Sampling pulse number 0 to 32767 0 32 64 96 128 160 192 224
Movement averaging
processing selection
Number of movement
averaging processing
0: Sampling processing
1: Movement averaging
processing
2 to 60 5 37 69 101 133 165 197 229
4 36 68 100 132 164 196 228
POINT
• If the setting value is other than the above values, a movement averaging setting range outside error (error code: 300) occurs. To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value and then turn ON the operating condition setting request flag (Y1).
• The settings are reflected on the module by turning ON the operating condition setting request flag (Y1) after setting the values to the buffer memory.
5 - 14 5 - 14
5 DETAILS AND SETTING OF FUNCTIONS
MELSEC-Q

5.8 Alarm Output Function

With "alarm output function valid" set in the "alarm output selection" of the buffer memory, the alarm output function outputs an alarm if the "sampling pulse number" of the buffer memory exceeds the upper/upper limit value or lower/lower limit value. The alarm is turned OFF if the sampling pulse number is below the upper/lower limit value or above the lower/upper limit value after the output of the alarm. To set the alarm output function, set four points: upper/upper limit value,
Item Setting value
Alarm output selection
Alarm output setting value upper/upper limit Alarm output setting value upper/lower limit Alarm output setting value lower/upper limit Alarm output setting value lower/lower limit
If the setting value is other than in the above values or does not establish the following relation expression, an alarm output setting range outside error (error code: 500) occurs.
Upper/upper limit
To clear the error, turn ON the error reset request (Y8 to YF) of the corresponding channel. After this, set a correct value (value that will establish the above relation expression and is within the setting range), and then turn ON the operating condition setting
Item Read value
Sampling pulse number 0 to 32767 0 32 64 96 128 160 192 224
Alarm output flag
request flag (Y1).
The buffer memory addresses related to the alarm output are as follows.
[Bit pattern of alarm output]
upper/lower limit value, lower/upper limit value and lower/lower limit value.
The buffer memory addresses related to the setting of the alarm output function are as follows.
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
0: Alarm output function
invalid
1: Alarm output function
valid
0 to 32767
17 49 81 113 145 177 209 241
19 51 83 115 147 179 211 243
20 52 84 116 148 180 212 244
21 53 85 117 149 181 213 245
22 54 86 118 150 182 214 246
upper/lower limit lower/upper limit lower/lower limit
Buffer memory address
CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8
bit0: Lower limit alarm bit8: Upper limit alarm
b15 b0b4b8
18 50 82 114 146 178 210 242
Not usedNot used
Storage Item
Lower limit alarm
Upper limit alarm
Meaning
0:OFF(Nor mal) 1:ON(Range over)
5 - 15 5 - 15
5 DETAILS AND SETTING OF FUNCTIONS
Outline of alarm output function operation
The following gives the outline of the alarm output function operation.
• Example of alarm output operation
Upper/ upper limit value
Upper/ lower limit value
Lower/ upper limit value
Lower/ lower limit value
Alarm output flag bit0 (Lower limit alarm)
bit8 (Upper limit alarm)
Count cycle
OFF
OFF
ON
MELSEC-Q
ON
• Assuming that the upper/upper limit = upper/lower limit and lower/upper limit = lower/lower limit, operation is performed as shown below.
Upper/ upper limit value Upper/ lower limit value
Lower/ upper limit value Lower/ lower limit value
ON
Alarm output flag bit0 (Lower limit alarm)
bit8 (Upper limit alarm)
OFF
ON
OFF
POINT
• Since the "sampling pulse number" of the buffer memory is updated at intervals of the count cycle setting value (refer to Section 5.1.4), the alarm output flag also turns ON/OFF at the timing of the count cycle setting value.
• The settings are reflected on the module by turning ON the operating condition setting request flag (Y1) after setting the values to the buffer memory.
5 - 16 5 - 16
5 DETAILS AND SETTING OF FUNCTIONS

5.9 Count Response Delay Time

The count value of the QD60P8-G is delayed for the following reasons. Please take this into consideration when using the module as a counter.
• A delay occurs due to the scan time of a sequence program at the time of count start processing using the count enable (Y18 to Y1F).
• A delay occurs due to the control cycle (10ms). A maximum of 20ms (one control cycle until the "input pulse value" of the buffer memory is displayed. Similarly, a delay also occurs at a counter reset request.
The calculation expression of the delay time is as indicated below.
Maximum delay time [ms] = (1 scan time + 20) [ms]
2) delay occurs from when the count enable (Y18 to Y1F) is turned ON/OFF
MELSEC-Q
5 - 17 5 - 17
6 UTILITY PACKAGE (GX Configurator-CT)

CHAPTER 6 UTILITY PACKAGE (GX Configurator-CT)

MELSEC-Q

6.1 Utility Package Functions

Function Details Reference
Make initial setting for operating the QD60P8-G for each channel.
Set the values of the items which require initial setting.
[Setting items]
• CH Comparison output selection
• CH
Comparison output setting value
• CH
Movement averaging processing selection
• CH
Number of movement averaging processing
• CH
Pre-scale function selection
• CH
Pre-scale setting value
(The initially set data are registered to the programmable controller CPU parameters, and when the
programmable controller CPU is set to the RUN status, they are written to the QD60P8-G automatically.)
Set the buffer memory batch to be automatically refreshed for each channel of the QD60P8-G.
[Auto refresh target buffer memory values]
• Sampling pulse number
• Comparison output selection
• Comparison output setting value
• Movement averaging processing selection
• Number of movement averaging processing
• Pre-scale function selection
• Pre-scale setting value
• Accumulating count value
• Input pulse value
• Overflow detection flag
• Counter reset request
(The values stored in the automatically refreshed QD60P8-G buffer memory are read automatically when
the END instruction of the programmable controller CPU is executed.)
Monitors and tests the buffer memory and I/O signals for the QD60P8-G.
• X/Y Monitor/Test
• CH
Monitor/Test
6
Initial setting
Auto refresh
setting
Monitor/Test
The counter module utility package (GX Configurator-CT) is software designed to make initial setting, auto refresh setting, monitor/test of the QD60P8-G using dedicated screens, without being conscious of the I/O signals and buffer memory. Use the utility package with GX Developer (SW4D5C-GPPW-E or later).
The following table gives the lists the functions of the utility package.
Utility package (GX Configurator-CT) function list
• CH
Alarm output selection
• CH
Alarm output setting value upper/upper limit
• CH
Alarm output setting value upper/lower limit
• CH
Alarm output setting value lower/upper limit
• CH
Alarm output setting value lower/lower limit
• CH
Count cycle change function selection
• CH
Count cycle setting value
• Carry over detection flag
• Carry over reset request
• Error code
• Alarm output selection
• Alarm output flag
• Alarm output setting value upper/upper limit
• Alarm output setting value upper/lower limit
• Alarm output setting value lower/upper limit
• Alarm output setting value lower/lower limit
• Count cycle change function selection
• Count cycle setting value
Section 6.4
Section 6.5
Section 6.6
6 - 1 6 - 1
6 UTILITY PACKAGE (GX Configurator-CT)
MELSEC-Q

6.2 Installing and Uninstalling the Utility Package

For how to install or uninstall the utility package, refer to "Method of installing the MELSOFT Series" included in the utility package.

6.2.1 Handling precautions

The following explains the precautions on using the Utility package.
(1) For safety
Since utility is add-in software for GX Developer, read "Safety Precautions" and the basic operating procedures in the GX Developer Operating Manual.
(2) About installation
GX Configurator- CT is add-in software for GX Developer Version 4 or later. Therefore, GX Configurator- CT must be installed on the personal computer that has already GX Developer Version 4 or later installed.
(3) Screen error of Intelligent function module utility
Insufficient system resource may cause the screen to be displayed inappropriately while using the Intelligent function module utility. If this occurs, close the Intelligent function module utility, GX Developer (program, comments, etc.), and other applications, and then start GX Developer and Intelligent function module utility again.
(4) To start the Intelligent function module utility
(a) In GX Developer, select "QCPU (Q mode)" for PLC series and specify a
project. If any PLC series other than "QCPU (Q mode)" is selected, or if no project is specified, the Intelligent function module utility will not start.
(b) Multiple Intelligent function module utilities can be started.
However, [Open parameters] and [Save parameters] operations under [Intelligent function module parameter] are allowed for one Intelligent function module utility only. Only the [Monitor/test] operation is allowed for the other utilities.
(5) Switching between two or more Intelligent function module utilities
When two or more Intelligent function module utility screens cannot be displayed side by side, select a screen to be displayed on the top of others using the task bar.
6
6 - 2 6 - 2
6 UTILITY PACKAGE (GX Configurator-CT)
(6) Number of parameters that can be set in GX Configurator-CT
When multiple intelligent function modules are mounted, the number of parameter settings must not exceed the following limit.
to:
Q00J/Q00/Q01CPU 512 256
Q02/Q02H/Q06H/Q12H/Q25HCPU 512 256
Q02PH/Q06PH/Q12PH/Q25PHCPU 512 256
Q12PRH/Q25PRHCPU 512 256
Q02UCPU 2048 1024
Q03UD/Q04UDH/Q06UDH/Q13UDH/
Q26UDH/Q03UDE/Q04UDEH/Q06UDEH/
Q13UDEH/Q26UDEHCPU
MELSECNET/H remote I/O station 512 256
For example, if multiple intelligent function modules are installed to the MELSECNET/H remote I/O station, configure the settings in GX Configurator so that the number of parameter settings for all the intelligent function modules does not exceed the limit of the MELSECNET/H remote I/O station. Calculate the total number of parameter settings separately for the initial setting and for the auto refresh setting. The number of parameters that can be set for one module in GX Configurator-CT is as shown below.
Target Module Initial setting Auto refresh setting
QD60P8-G 24 (Fixed) 8 (Max.)
(Example)
Counting the number of parameter settings in Auto refresh setting
MELSEC-Q
Maximum number of parameter settings When intelligent function modules are installed
Initial setting Auto refresh setting
4096 2048
This one row is counted as one setting. Blank rows are not counted. Count up all the setting items on this screen,and add the total to the number of settings for other intelligent function modules to get a grand total.
6 - 3 6 - 3
6 UTILITY PACKAGE (GX Configurator-CT)
MELSEC-Q

6.2.2 Operating environment

This section explains the operating environment of the personal computer that runs GX
Item Description
Installation (Add-in) target *1 Add-in to GX Developer Version 4 (English version) or later*2
Computer WindowsR-based personal computer
CPU
Required memory
For installation 65 MB or more Hard disk
space*3
For operation 10 MB or more
Display 800 600 dots or more resolution*4
Operating system
*1: Install GX Configurator-CT in GX Developer Version 4 or higher in the same language.
GX Developer (English version) and GX Configurator-CT (Japanese version) cannot be used in combination, and GX Developer (Japanese version) and GX Configurator-CT (English version) cannot be
used in combination. *2: GX Configurator-CT is not applicable to GX Developer Version 3 or earlier. *3: At least 15GB is required for Windows Vista *4: Resolution of 1024
Configurator-CT.
Refer to the following table "Used operating system and performance required for
personal computer".
Microsoft
R
WindowsR95 Operating System (English version)
MicrosoftRWindowsR98 Operating System (English version)
R
Microsoft
Microsoft
WindowsRMillennium Edition Operating System (English version)
R
Windows NTRWorkstation Operating System Version 4.0 (English version)
MicrosoftRWindowsR2000 Professional Operating System (English version)
R
Microsoft
WindowsRXP Professional Operating System (English version)
MicrosoftRWindowsRXP Home Edition Operating System (English version)
MicrosoftRWindows VistaRHome Basic Operating System (English version)
R
Microsoft
Windows VistaRHome Premium Operating System (English version)
MicrosoftRWindows VistaRBusiness Operating System (English version)
MicrosoftRWindows VistaRUltimate Operating System (English version)
R
Microsoft
Windows VistaREnterprise Operating System (English version)
R
.
768 dots or more is recommended for Windows VistaR.
6 - 4 6 - 4
6 UTILITY PACKAGE (GX Configurator-CT)
MELSEC-Q
WindowsR95 PentiumR133MHz or more 32MB or more
WindowsR98 PentiumR133MHz or more 32MB or more
WindowsRMe PentiumR150MHz or more 32MB or more
Windows NTRWorkstation 4.0 PentiumR133MHz or more 32MB or more
WindowsR2000 Professional PentiumR133MHz or more 64MB or more
WindowsRXP Professional (Service Pack 1 or more) PentiumR300MHz or more 128MB or more
WindowsRXP Home Edition (Service Pack 1 or more) PentiumR300MHz or more 128MB or more
Windows VistaRHome Basic PentiumR1GHz or more 1GB or more
Windows VistaRHome Premium PentiumR1GHz or more 1GB or more
Windows VistaRBusiness PentiumR1GHz or more 1GB or more
Windows VistaRUltimate PentiumR1GHz or more 1GB or more
Windows VistaREnterprise PentiumR1GHz or more 1GB or more
Operating system and performance required for personal computer
Operating system
Performance Required for Personal computer
CPU Memory
POINT
The functions shown below are not available for WindowsRXP and Windows
R
.
Vista If any of the following functions is attempted, this product may not operate normally.
Start of application in Windows
R
compatible mode Fast user switching Remote desktop Large fonts (Details setting of Display Properties)
R
Also, 64-bit version Windows Use a User authorization or higher in Windows Vista
XP and Windows VistaR are not supported.
R
.
6 - 5 6 - 5
r
6 UTILITY PACKAGE (GX Configurator-CT)

6.3 Utility Package Operation

6.3.1 Common utility package operations

(1) Control keys
Special keys that can be used for operation of the utility package and their applications are shown in the table below.
Key Application
Esc
Tab Moves between controls in the window.
Cancels the current entry in a cell. Closes the window.
MELSEC-Q
Ctrl
Delete
Back
space
Page
Up
Page Down
Enter Completes the entry in the cell.
Used in combination with the mouse operation to select multiple cells for test execution.
Deletes the character where the cursor is positioned. When a cell is selected, clears all of the setting contents in the cell.
Deletes the character where the cursor is positioned.
Moves the cursor.
Moves the cursor one page up.
Moves the cursor one page down.
(2) Data created with the utility package
The following data or files that are created with the utility package can be also handled in GX Developer. Figure 6.1 shows respective data or files are handled in which operation.
<Intelligent function module parameter>
(a) This represents the data created in Auto refresh setting, and they are stored
in an intelligent function module parameter file in a project created by GX Developer.
Project
Program Parameters
(b) Steps 1) to 3) shown in Figure 6.1 are performed as follows:
1) From GX Developer, select: [Project]
2) On the intelligent function module selection screen of the utility, select: [Intelligent function module parameter] parameters]
PLC parameter Network parameter Intelligent function module paramete
[Open project] / [Save]/ [Save as]
[Open parameters] / [Save
6 - 6 6 - 6
r
6 UTILITY PACKAGE (GX Configurator-CT)
3) From GX Developer, select: [Online]
[Read from PLC] / [Write to PLC] "Intelligent function module parameters" Alternatively, from the intelligent function module selection screen of the utility, select: [Online]
[Read from PLC] / [Write to PLC]
<Text files>
(a) A text file can be created by clicking the Make text file
setting, Auto refresh setting, or Monitor/Test screen. The text files can be utilized to create user documents.
MELSEC-Q
button on the initial
QCPU
Q25HCPU
MODE.
RUN.
ERR.
USER.
BAT.
BOOT.
A
GX Developer/
GX Configurator-CT
Project
3)
Disk
Project
1)
AA
2)
B
A: Intelligent function module parameters B: Data saved by "Make text file"
Personal compute
USB
RS-232
Figure 6.1 Correlation chart for data created with the utility package
6 - 7 6 - 7
6 UTILITY PACKAGE (GX Configurator-CT)

6.3.2 Operation overview

GX Developer screen
[Tools] - [Intelligent function utility] - [Start]
MELSEC-Q
Screen for selecting a target intelligent
function module
Refer to Section 6.3.3
Initial setting
Initial setting screen
Enter "Start I/O No.", and select "Module type" and "Module model name".
To the next page 1)
Auto refresh
Auto refresh setting screen
Refer to Section 6.4
Refer to Section 6.5
6 - 8 6 - 8
6 UTILITY PACKAGE (GX Configurator-CT)
From the previous page 1)
[Online] - [Monitor/Test]
Selecting monitor/test module screen
MELSEC-Q
Monitor/Test
Monitor/Test screen
Refer to Section 6.6
Select a module to be monitored/tested.
6 - 9 6 - 9
6 UTILITY PACKAGE (GX Configurator-CT)

6.3.3 Starting the intelligent function module utility

[Operating procedure]
Intelligent function module utility is started from GX Developer. [Tools]
[Setting screen]
[Intelligent function utility] [Start]
MELSEC-Q
[Explanation of items] (1) Activation of other screens
Following screens can be displayed from the intelligent function module utility screen.
(a) Initial setting screen
"Start I/O No. *1 " "Module type" "Module model name"
Initial setting
(b) Auto refresh setting screen
"Start I/O No. *1 " "Module type" "Module model name"
Auto refresh
(c) Select monitor/test module screen
[Online] [Monitor/Test]
*1 Enter the start I/O No. in hexadecimal.
(2) Command buttons
Deletes the initial setting and auto refresh setting of the selected
Delete
Exit
module.
Closes this screen.
6 - 10 6 - 10
6 UTILITY PACKAGE (GX Configurator-CT)
(3) Menu bar
(a) File menu
Intelligent function module parameters of the project opened by GX Developer are handled.
[Open parameters] : Reads a parameter file.
[Close parameters] : Closes the parameter file. If any data are modified, a
[Save parameters] : Saves the parameter file.
[Delete parameters] : Deletes the parameter file.
[Open FB support parameters] : Opens a FB support parameter file.
[Save as FB support parameters] : Saves a FB support parameter.
[Exit] : Closes this screen.
(b) Online menu
dialog asking for file saving will appear.
MELSEC-Q
[Monitor/Test] : Activates the Select monitor/test module screen.
[Read from PLC] : Reads intelligent function module parameters from the
CPU module.
[Write to PLC] : Writes intelligent function module parameters to the
CPU module.
POINT
(1) Saving intelligent function module parameters in a file
Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer, save them on the shown module selection screen.
(2) Reading/writing intelligent function module parameters from/to a
programmable controller CPU using GX Developer
(a) Intelligent function module parameters can be read from and written into a
programmable controller CPU after having been saved in a file.
(b) Set a target programmable controller CPU in GX Developer:
[Online]
(c) When mounting the QD60P8-G on a remote I/O station, use Read from
PLC and Write to PLC of GX Developer.
[Transfer setup].
(3) Checking the required utility
While the start I/O is displayed on the Intelligent function module utility setting screen, "
This means that the required utility has not been installed or the utility cannot be started from GX Developer.
Check the required utility, selecting [Tools] - [Intelligent function utility] - [Utility list...] in GX Developer.
" may be displayed for the model name.
6 - 11 6 - 11
6 UTILITY PACKAGE (GX Configurator-CT)

6.4 Initial Setting

[Purpose]
Make initial setting for operating the QD60P8-G for each channel.
Comparison output selection
Comparison output setting value
Movement averaging processing selection
Number of movement averaging processing
Pre-scale function selection
Pre-scale setting value
Alarm output selection
There are the following setting items as the initial setting data (buffer memory).
This initial setting makes sequence program setting unnecessary. For more information on the setting details, refer to Section 3.4.2.
[Operating procedure]
"Start I/O No.*" "Module type" "Module model name" Initial setting
MELSEC-Q
Alarm output setting value upper/upper limit
Alarm output setting value upper/lower limit
Alarm output setting value lower/upper limit
Alarm output setting value lower/lower limit
Count cycle change function selection
Count cycle setting value
* Enter the start I/O No. in hexadecimal.
[Setting screen]
Move to sub window
CH1 Initial Setting
6 - 12 6 - 12
6 UTILITY PACKAGE (GX Configurator-CT)
[Explanation of items]
(1) Command buttons
Make text file
Creates a file containing the screen data in text file format.
MELSEC-Q
End setup
Cancel
POINT
Initial settings are stored in the intelligent function module parameters. After being written to the CPU module, the initial setting is made effective by either (1) or (2).
(1) Cycle the RUN/STOP switch of the CPU module: STOP
RUN.
(2) With the RUN/STOP switch set to RUN, turn off and then on the power or reset
the CPU module.
If the initialization settings have been written by a sequence program, the initialization settings will be executed during the STOP Arrange so that the initial settings written by the sequence program are re-executed during the STOP
Saves the set data and ends the operation.
Cancels the setting and ends the operation.
RUN of the CPU module.
RUN STOP
RUN of the CPU module.
6 - 13 6 - 13
6 UTILITY PACKAGE (GX Configurator-CT)

6.5 Auto Refresh Setting

[Purpose]
Set the QD60P8-G buffer memory to be automatically refreshed, for each channel. There are the following buffer memory items to be automatically refreshed for
Sampling pulse number
Comparison output selection
Comparison output setting value
Movement averaging processing selection
Number of movement averaging processing
Pre-scale function selection
Pre-scale setting value
Accumulating count value
Input pulse value
Overflow detection flag
Counter reset request
each channel.
These auto refresh settings eliminate the need for reading by a sequence program.
[Operating procedure]
"Start I/O No.*" "Module type" "Module model name" Auto refresh
MELSEC-Q
Carry over detection flag
Carry over reset request
Error code
Alarm output selection
Alarm output flag
Alarm output setting value upper/upper limit
Alarm output setting value upper/lower limit
Alarm output setting value lower/upper limit
Alarm output setting value lower/lower limit
Count cycle change function selection
Count cycle setting value
* Enter the start I/O No. in hexadecimal.
[Setting screen]
6 - 14 6 - 14
6 UTILITY PACKAGE (GX Configurator-CT)
[Explanation of items] (1) Items
MELSEC-Q
Module side Buffer size
Module side Transfer word count
Transfer direction : "
PLC side Device : Enter a CPU module side device that is to be automatically
: Displays the buffer memory size of the setting item.
: Displays the number of words to be transferred.
" indicates that data are written from the programmable controller CPU to the buffer memory. "
" indicates that data are loaded from the buffer memory
to the programmable controller CPU.
refreshed. Applicable devices are X, Y, M, L, B, T, C, ST, D, W, R, and ZR. When using bit devices X, Y, M, L or B, set a number that can be divided by 16 points (examples: X10, Y120, M16, etc.) Also, buffer memory data are stored in a 16-point area, starting from the specified device number. For example, if X10 is entered, data are stored in X10 to X1F.
(2) Command buttons
Make text file
Creates a file containing the screen data in text file format.
End setup
Cancel
POINT
• At the time of auto refresh, the buffer memory contents are batch-read (25 words) for each channel. The order of storing the data into the CPU module side devices is the same as that of buffer memory assignment (refer to Section 3.4.1).
• The auto refresh settings are stored in an intelligent function module parameter file. The auto refresh settings become effective by turning the power OFF and then ON or resetting the CPU module after writing the intelligent function module parameters to the CPU module.
• Auto refresh settings cannot be changed from the sequence program. However, it is possible to add a process similar to auto refresh by the sequence program.
Saves the set data and ends the operation.
Cancels the setting and ends the operation.
6 - 15 6 - 15
6 UTILITY PACKAGE (GX Configurator-CT)

6.6 Monitoring/Test

[Purpose]
Start buffer memory monitoring/testing and I/O signal monitoring/testing from this screen.
[Operating procedure]
"Select monitor/test module" screen "Start I/O No.*" "Module type"
"Module model name"
* Enter the start I/O No. in hexadecimal.
The screen can also be started from System monitor of GX Developer Version 6 or later. Refer to the GX Developer Operating Manual for details.
[Setting screen]
Monitor/test
MELSEC-Q
Selecting these buttons displays the following screens.
Move to sub window
X/T Monitor/Test CH1 Monitor/Test
6 - 16 6 - 16
6 UTILITY PACKAGE (GX Configurator-CT)
[Explanation of items] (1) Items
Setting item : Displays I/O signals and buffer memory names.
Current value : Monitors the I/O signal states and present buffer memory values.
Setting value : Enter or select values to be written into the buffer memory for test
operation.
(2) Command buttons
MELSEC-Q
Current value display
Make text file
Start monitor
Execute test
/ Stop monitor
Displays the current value of the item selected. (This is used to check the text that cannot be displayed in the current value field. However, in this utility package, all items can be displayed in the display fields).
Creates a file containing the screen data in text file format.
Selects whether or not to monitor current values.
Performs a test on the selected items. To select
more than one item, select them while holding
down the Ctrl
key.
6 - 17 6 - 17
6 UTILITY PACKAGE (GX Configurator-CT)
(Example)
Click this button after selecting "Error reset request" in the setting (value) field of "Error reset request" on the X/Y Monitor/Test screen.
MELSEC-Q
Select "Error reset request"
Place cursor at "Error reset request"
Click Execute test
Perform similar operation also for the "Operating condition setting request flag".
Select "Oper. cond. set. req."
Place cursor at "Oper. cond. set. req."
Click Execute test
Close
Closes the screen that is currently open and returns to the previous screen.
POINT
• To reflect the new settings (values) on the module, you have to choose
"Operating condition setting request" for the "Operating condition setting request
flag" and click Execute test
.
• "Error reset request"/"Comparison signal reset request" turns to "No request"
automatically if the error occurrence (X8 to XF)/accumulating counter comparison flag (X10 to X17) turns "OFF" at the time of test execution.
6 - 18 6 - 18
7 PROGRAMMING

CHAPTER 7 PROGRAMMING

MELSEC-Q
This chapter describes a sequence program for use of the QD60P8-G. Using the utility package (GX Configurator-CT), the QD60P8-G can operate the system without using a sequence program. Refer to Chapter 6 for details of how to operate the utility package (GX Configurator-CT).
When diverting the program example introduced in this chapter to the actual system, fully check that there are no problems in the controllability of the system.
7
7 - 1 7 - 1
7 PROGRAMMING
MELSEC-Q

7.1 Programming Procedure

This section explains the programming procedure for the QD60P8-G. In the following procedure, create the program that performs the initial setting of the QD60P8-G, then turns ON the operating condition setting request flag (Y1), and turns ON the count enable (Y18 to Y1F) to start count operation.
Movement averaging processing selection setting Number of movement averagi ng processing setting
Start
Do you use the comparison output function?
YES
Comparison output selection setting Comparison output setting value setting
Do you use the movement averaging processing function?
YES
Do you use the pre-scale function?
NO
NO
NO
YES
Pre-scale function selection setting Pre-scale setting value setting
Do you use the alarm output function?
YES
Alarm out put selection setting Alarm output setting value upper/upper limit setting Alarm output setting value upper/lower limit setting Alarm output setting value lower/upper limit setting Alarm output setting value lower/lower limit setting
Do you use the count cycle change function?
YES
Count cycle change function selection setting Count cycle setting value setting
Turn ON the operating condition setting request flag (Y1).
Turn ON the count enable (Y18 to Y1F).
NO
NO
Initial setting
7
Read the sa mpling pulse number, accumulating count value and input pulse value.
End
7 - 2 7 - 2
7 PROGRAMMING

7.2 For Use in Normal System Configuration

System configuration used in the program explanation
(1) System configuration
Q
Q
D
C P
6
U
0
P
8
Power supply module
G
(2) Program conditions
The program performs the initial setting of the CH1 of the QD60P8-G, then turns ON the operating condition setting request flag (Y1), and turns ON the count enable (Y18) to start count operation. Set the input voltage selection, pulse edge selection, linear counter/ring counter selection and input filter setting using the intelligent function module switch of GX Developer. (Refer to Section 4.5 for details of setting the intelligent function module switch.)
• Input voltage selection : 12 to 24VDC
• Pulse edge selection : Rise edge
• Linear counter or Ring counter selection : Linear counter
• Input filter setting (CH1) : 30kpps
MELSEC-Q
Q X
1 0
X20 to X2F
X/Y0 to X/Y1F
7 - 3 7 - 3
7 PROGRAMMING
(3) List of devices used
In Section 7.2.1 program example, the used devices are assigned as indicated in the following table. The I/O numbers for QD60P8-G indicate those when QD60P8-G is mounted in the 0-slot of the main base unit. If it is mounted in the slot other than the 0-slot of the main base unit, change the I/O number to that for the position where QD60P8-G was installed. In addition, change the external inputs, internal relays and data resisters, according to the system used.
Inputs/outputs, external inputs, and internal relays of QD60P8-G
MELSEC-Q
Device name
Inputs
Input/output of QD60P8-G
Outputs
External input (command)
Internal relay
Data registers
Device
CH1
X0 Module READY X1 Operating condition setting complete flag X8 Error occurrence
X10 Accumulating counter comparison flag
Y1 Operating condition setting request flag
Y8 Error reset request Y10 Comparison signal reset request Y18 Count enable X20 Data setting command X21 Count enable ON command X22 Count enable OFF command X23 Comparison signal reset command X24 Error reset command X25 Counter reset request command X26 Sampling pulse number read command X27 Accumulating count value read command X28 Input pulse value read command
M10 Data setting enable M11 Overflow detection flag M30 Counter resetting M40 Carry over detection flag M60 Carry over resetting M80 Alarm output flag
Application
Data registers
Device name Device
D30 0 Sampling pulse number
D31 8 (L)
D32 9
D33 10 (L)
D34 11
D35 16 Error code
Buffer memory
address
Accumulating count value
Input pulse value
Data stored
7 - 4 7 - 4
(H)
(H)
s
7 PROGRAMMING

7.2.1 Program example

MELSEC-Q
Initial setting start
Comparison output selection
Comparison output setting value
Movement averaging processing selection
Number of movement averaging processing
Pre-scale function selection
Pre-scale setting value
Alarm output selection
Alarm output setting value upper/upper limit
Alarm output setting value upper/lower limit
Alarm output setting value lower/upper limit
Alarm output setting value lower/lower limit
Count cycle change function selection
Count cycle setting value
Turn ON the operating condition setting request flag (Y1)
Turn ON the operating condition setting request flag (Y1) for 11m
Turn OFF the operating condition setting request flag (Y1)
Turn ON the count enable (Y18)
Turn OFF the count enable (Y18)
Turn ON the comparison signal reset request (Y10)
Turn OFF the comparison signal reset request (Y10)
7 - 5 7 - 5
7 PROGRAMMING
MELSEC-Q
Read of error code
Turn ON the error reset request
Turn OFF the error reset request
Read of overflow detection flag
Counter reset request
Turn ON the counter reseting
Turn OFF the counter reseting
Read of carry over detection flag
Set "1" to the carry over reset request
Turn ON the carry over reseting
Turn OFF the carry over reseting
Read of sampling pulse number
Read of alarm output flag
Read of accumulating count value
Read of input pulse value
7 - 6 7 - 6
7 PROGRAMMING

7.3 For Use on Remote I/O Network

System configuration used in the program explanation
(1) System configuration
Remote master station (Network No.1) Remote I/O station (Station No.1)
Power supply module
Q
Q
n
J
C
7
P
1
U
L P 2 1
(2) Program conditions
The program performs the initial setting of the CH1 of the QD60P8-G, then turns ON the operating condition setting request flag (Y121), and turns ON the count enable (Y138) to start count operation. Set the input voltage selection, pulse edge selection, linear counter/ring counter selection and input filter setting using the intelligent function module switch of GX Developer. (Refer to Section 4.5 for details of setting the intelligent function module switch.)
• Input voltage selection : 12 to 24VDC
• Pulse edge selection : Rise edge
• Linear counter or Ring counter selection : Linear counter
• Input filter setting (CH1) : 30kpps
(3) Operation of GX Developer (Network parameter setting)
• Network type : MNET/H (remote master)
• Head I/O No. : 0000
• Network No. : 1
• Total number of (slave) stations : 1
• Mode : Online
• Network range assignment :
MELSEC-Q
Q
Q
Q
Y
X
1
1
0
0
Power supply module
H
Q
J 7 1
L P 2 5
Q X
1 0
X/Y100
X/Y10F
Y 1 0
X/Y110
X/Y11F
Q D 6 0 P 8
G
X/Y120
tototo
X/Y13F
• Refresh parameters :
7 - 7 7 - 7
7 PROGRAMMING
(4) List of devices used
In Section 7.3.1 program example, the used devices are assigned as indicated in the following table. The I/O numbers for QD60P8-G indicate those when QD60P8-G is mounted on Slot 2 of the remote I/O station. If it is mounted on the slot other than Slot 2 of the remote I/O station, change the I/O numbers to those for the position where QD60P8-G was installed. In addition, change the external inputs, internal relays and data resisters, according to the system used.
Inputs/outputs, external inputs, and internal relays of QD60P8-G
MELSEC-Q
Device name
Inputs
Input/output of QD60P8-G
Outputs
External input (command)
Internal relay
Data registers
Device
CH1
X120 Module READY X121 Operating condition setting complete flag X128 Error occurrence X130 Accumulating counter comparison flag Y121 Operating condition setting request flag Y128 Error reset request Y130 Comparison signal reset request Y138 Count enable
X20 Data setting command X21 Count enable ON command X22 Count enable OFF command X23 Comparison signal reset command X24 Error reset command X25 Counter reset request command X26 Sampling pulse number read command X27 Accumulating count value read command
X28 Input pulse value read command M10 Data setting enable M11 Overflow detection flag M30 Counter resetting M40 Carry over detection flag M60 Carry over resetting M80 Alarm output flag
Application
Data registers
Device name Device
D30 0 Sampling pulse number
D31 8 (L)
D32 9
D33 10 (L)
D34 11
D35 16 Error code
Buffer memory
address
Accumulating count value
Input pulse value
Data stored
7 - 8 7 - 8
(H)
(H)
7 PROGRAMMING

7.3.1 Program example

MELSEC-Q
Master station baton pass status check
Master station data link status check
Remote I/O station baton pass status check
Remote I/O station data link status check
Remote I/O station parameter communication status check
Master module status check
Comparison output selection
Comparison output setting value
Movement averaging processing selection
Number of movement averaging processing
Pre-scale function selection
Pre-scale setting value
Alarm output selection
Alarm output setting value upper/upper limit
Alarm output setting value upper/lower limit
Alarm output setting value lower/upper limit
Alarm output setting value lower/lower limit
Count cycle change function selection
Count cycle setting value
7 - 9 7 - 9
7 PROGRAMMING
MELSEC-Q
Write to buffer memory
Turn ON the operating condition setting request flag (Y121)
Turn ON the operation condition setting request flag (Y121) for 11ms
Turn OFF the operation condition setting request flag (Y121)
Read of buffer memory
Turn ON the count enable (Y138)
Turn OFF the count enable (Y138)
Turn ON the comparison signal reset request (Y130)
Turn OFF the comparison signal reset request (Y130)
< Carry over reset request >
Read of error code
Turn ON the error reset request
Turn OFF the error reset request
Read of overflow detection flag
Counter reset request
Turn ON the counter reseting
Turn OFF the counter reseting
Read of carry over detection flag
Set "1" to the carry over
7 - 10 7 - 10
e
7 PROGRAMMING
MELSEC-Q
Turn ON the carry over reseting
Turn OFF the carry over reseting
Read of sampling pulse number
Read of alarm output flag
Read of accumulating count valu
Read of input pulse value
7 - 11 7 - 11
7 PROGRAMMING
MEMO
MELSEC-Q
7 - 12 7 - 12
8 ONLINE MODULE CHANGE

CHAPTER 8 ONLINE MODULE CHANGE

MELSEC-Q
When changing a module online, carefully read the QCPU User's Manual (Hardware Design, Maintenance and Inspection), section 12.4.1 "Online module change". This chapter describes the functions of an online module change. Perform an online module change by operating GX Developer.
POINT
(1) Perform an online module change after making sure that the system outside
the programmable controller will not malfunction.
(2) To prevent an electric shock and malfunction of operating modules, provide
means such as switches for powering off each of the external power supply and external devices connected to the module to be replaced online.
(3) To prevent an electric shock, always turn OFF the input pulse signal from the
pulse generator connected to the module to be changed online.
(4) After the module has become faulty, the buffer memory contents cannot be
confirmed. Therefore, prerecord the settings (The whole buffer memory contents that can be written refer to Section 3.4.1).
(5) It is recommended to perform an online module change in the actual system in
advance to ensure that it would not affect the other modules by checking the following:
• Means of cutting off the connection to external devices and its configuration are correct.
• Switching ON/OFF does not bring any undesirable effect.
(6) Do not install/remove the module to/from the base unit, or the terminal block
to/from the module more than 50 times after the first use of the product. (IEC 61131-2 compliant) Failure to do so may cause malfunction.
8
8 - 1 8 - 1
8 ONLINE MODULE CHANGE
MELSEC-Q

8.1 Online Module Change Conditions

The programmable controller CPU, MELSECNET/H remote I/O module, GX Developer and base unit given below are needed to perform an online module change.
(1) Programmable controller CPU
The Process CPU is required. For precautions for multiple CPU system configuration, refer to the QCPU User's Manual (Multiple CPU System).
(2) MELSECNET/H remote I/O module
The module of function version D or later is necessary.
(3) GX Developer
GX Developer of Version 7.10L or later is necessary. GX Developer of Version 8.18U or later is required to perform an online module change on the remote I/O station.
(4) Base unit
1) When the slim type main base unit (Q3 SB) is used, an online module change cannot be performed.
2) When the power supply module unnecessary type extension base unit (Q5
B) is used, online module change cannot be performed for the modules
on all the base units connected.
8
8 - 2 8 - 2
8 ONLINE MODULE CHANGE

8.2 Online Module Change Operations

MELSEC-Q
No.*3
(1)
(2)
(3)
The following gives the operations performed for an online module change.
Programmable controller CPU operation
: Executed : Not executed
X/Y
refresh
FROM/TO
instruction *
1
Device
test
GX Configurator-CT
Initial setting
parameter
Monitor/
test
(User operation)
(1) Operation stop
Turn OFF all Y signals that were turned ON by a sequence program.
(2) Dismounting of module
Operate GX Develop er to start an online module change.
Click the [Execution] button of GX Developer to make the module dismountable.
Dismount the corresponding module (QD60P8-G).
(3) Mounting of new module
Mount a new module (QD60P8-G).
After mounting the module, click the [Execution] button of GX Developer.
3
(Intelligent function module
operation)
Module is operating.
Module stops operating. RUN LED turns OFF.
X/Y refresh resumes and the module starts. RUN LED turns ON. Default operation (X0 remains OFF)
When there are initial setting parameters, operation is performed according to the initial setting parameters at this point.
Operation check before control start
(4) Operation check
Click the [Cancel] button of GX Developer to leave the online mode.
Conduct an operation test on the new module using
(4)
(5)
(5) Resumption of control
Operate GX Developer to resume the online module change mode, and click the [Execution] button to resume control.
"Device test" of GX Developer or "Monitor/test" of GX Configurator-CT.
Operation check completed
Module operates according to test operation
X0 (Module READY) turns ON.
Start is made when X0 turns from OFF to ON. Operation is performed according to the initial setting sequence.
*1: Access to the intelligent function module device (U \G ) is included.
*2: In the absence of the operation marked
*3: The item numbers (1) to (5) correspond to the operation step numbers of "Section 8.3 Online module change procedure".
2, the operation of the intelligent function module is the operation performed prior to that.
2
2
8 - 3 8 - 3
8 ONLINE MODULE CHANGE

8.3 Online Module Change Procedure

The online module change procedure is explained separately for the case where GX Configurator-CT was used for initial setting and for the case where a sequence program was used for initial setting.

8.3.1 GX Configurator-CT was used for initial setting

(1) Operation stop
Turn OFF all output signals (Y devices) from the sequence program or the device test of GX Developer to stop the module operation.
MELSEC-Q
8 - 4 8 - 4
8 ONLINE MODULE CHANGE
(2) Dismounting of module
(a) After choosing [Diagnosis] - [Online module change] on GX Developer to
enter the "Online module change" mode, double-click the module to be changed online to display the "Online module change" screen.
MELSEC-Q
(b) Click the "Execution" button to enable a module change.
If the following error screen appears, click the "OK" button and perform the operation in (2)(c) and later.
(c) After confirming that the "RUN" LED of the module has turned OFF,
disconnect the external wiring and dismount the module.
POINT
Always dismount the module. If mounting confirmation is made without the module being dismounted, the module will not start properly and the “RUN” LED will not be lit.
8 - 5 8 - 5
Loading...