Before using this product, please read this manual carefully and pay full attention to safety to handle the
product correctly.
The precautions given in this manual are concerned with this product. For the safety precautions of the
programmable controller system, please read the User's Manual for the CPU module.
In this section, the safety precautions are ranked as "DANGER" and "CAUTION".
DANGER
CAUTION
Notethat the CAUTION level may lead to a serious consequence according to the circumstances.
Always follow the precautions 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 to "read-only area" or "reserved area" in the buffer memory of the intelligent
function module. Also do not turn ON/OFF the "reserved" signal in I/O signals to the programmable
controller CPU.
Doing any of these operations may cause a malfunction of the programmable controller system.
CAUTION
Do not install the control lines and/or pulse input wiring together with the main circuit or power lines,
and also do not bring them close to each other.
Keep a distance of 150 mm (5.91 inch) or more between them.
Failure to do so may cause a malfunction due to noise.
[INSTALLATION PRECAUTIONS]
CAUTION
Use the programmable controller in the environment conditions given in the general specifications of
the User's Manual for the CPU module.
Failure to do so may cause an electric shock, fire, malfunction, or damage to or deterioration of the
product.
A - 1
[INSTALLATION PRECAUTIONS]
CAUTION
While pressing the installation lever located at the bottom of the module, fully insert the module fixing
projection into the fixing hole in the base unit and press the module using the hole as a fulcrum.
Incorrect module mounting may cause a malfunction, failure, or drop of the module.
In an environment of frequent vibrations, secure the module with screws.
The screws must be tightened within the specified torque range.
If the screw is too loose, it may cause a drop, short circuit, or malfunction.
Excessive tightening may damage the screw and/or the module, resulting in a drop, short circuit or
malfunction.
Be sure to shut off all phases of the external power supply used by the system before mounting or
removing the module.
Failure to do so may cause damage to the product.
Do not directly touch any conductive part or electronic part of the module.
Doing so may cause a malfunction or failure of the module.
[WIRING PRECAUTIONS]
CAUTION
When wiring/connecting the connector, properly press, crimp or solder the connector using the tools
specified by the manufacturers and attach the connector to the module securely.
Be careful to prevent foreign matter such as dust or wire chips from entering the module.
Failure to do may cause a fire, failure or malfunction.
A protective film is attached to the module top to prevent foreign matter such as wire chips from
entering the module during wiring.
Do not remove the film during wiring.
Be sure to remove it for heat dissipation before system operation.
Be sure to place the cables connected to the module in a duct or clamp them.
If not, dangling cables may swing or inadvertently be pulled, resulting in damage to the module and/
or cables, or malfunctions due to poor cable connection.
When disconnecting the cable, do not pull it by holding the cable part.
Disconnect the cable with connector with holding the connector plugged into the module.
Pulling the cable part with the cable still connected to the module may cause a malfunction or
damage to the module and/or cable.
A - 2
[WIRING PRECAUTIONS]
CAUTION
Always ground the shielded cable on the encoder side (relay box).
Failure to do may cause a malfunction.
Correctly wire cables to the module after checking the rated voltage and terminal layout of the
product.
Connecting a voltage different from the rated voltage or incorrect wiring may result in a fire or failure.
[STARTUP/MAINTENANCE PRECAUTIONS]
CAUTION
Do not disassemble or remodel each of the modules.
Doing so may cause failure, malfunctions, personal injuries and/or a fire.
Be sure to shut off all phases of the external power supply used by the system before mounting or
removing the module.
Not doing so may result in a failure or malfunction of the module.
Do not mount/remove the module onto/from the base unit more than 50 times (IEC 61131-2compliant), after the first use of the product.
Doing so may cause malfunctions.
Do not touch the terminal while the power is ON. Failure to do may cause a malfunction.
Switch off all phases of the externally supplied powerused in the system when cleaning the module
or retightening the terminal or module fixing screws.
Not doing so may result in a failure or malfunction of the module.
If the screw is too loose, it may cause a drop, short circuit or malfunction.
Excessive tightening may damage the screw and/or the module, resulting in a drop, short circuit or
malfunction.
Before handling the module, touch a grounded metal object to discharge the static electricity from
the human body.
Not doing so may result in a failure or malfunction of the module.
[DISPOSAL PRECAUTIONS]
CAUTION
When disposing of this product, treat it as industrial waste.
A - 3
REVISIONS
* The manual number is given on the bottom left of the back cover.
Print date*Manual numberRevision
Jun., 2007SH(NA)-080692ENG-A First edition
Correction
Jan., 2008SH(NA)-080692ENG-B
CONTENTS, GENERIC TERMS AND ABBREVIATIONS, Section 2.1 to 2.3,
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any 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.
2007 MITSUBISHI ELECTRIC CORPORATION
A - 4
INTRODUCTION
Thank you for purchasing the Mitsubishi programmable controller MELSEC-Q series.
Before using the product, please read this manual carefully to develop full familiarity with the functions and
performance of the Q series programmable controller to ensure correct use.
CONTENTS
SAFETY PRECAUTIONS•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••• A - 1
Compliance with the EMC and Low Voltage Directives
When incorporating the Mitsubishi programmable controller into other machinery or
system and ensuring compliance with the EMC and Low Voltage Directives, refer to
Chapter 3 "EMC and Low Voltage Directive" in the User's Manual (Hardware) of the
programmable controller CPU included with the CPU module or base unit.
The CE logo is printed on the rating plate of the programmable controller, indicating
compliance with the EMC and Low Voltage Directives.
To conform this product to the EMC and Low Voltage Directives, refer to "CHAPTER 4
PROCEDURES AND SETTINGS BEFORE OPERATION (Section 4.4.1 Wiring
precautions)".
A - 8
GENERIC TERMS AND ABBREVIATIONS
This manual describes the type QD63P6 multichannel high-speed counter module using
the following generic terms and abbreviations, unless otherwise specified.
Generic term and
abbreviation
QD63P6Abbreviation for the type QD63P6 multichannel high-speed counter module
Personal computerGeneric term for IBM-PC/AT-compatible personal computer
Generic product name for SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C-GPPW-EV, and SWnD5C-
GX Developer
QCPU (Q mode)
GX Configurator-CTAbbreviation for GX Configurator-CT (SW0D5C-QCTU-E) of counter module setting/monitor tool
Windows Vista
Windows XP
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, Q12PHCPU, Q25PHCPU, Q02UCPU, Q03UDCPU, Q04UDHCPU, and Q06UDHCPU
Generic term for the following:
Microsoft Windows Vista Home Basic Operating System,
Microsoft Windows Vista Home Premium Operating System,
Microsoft Windows Vista Business Operating System,
Microsoft Windows Vista Ultimate Operating System,
Microsoft Windows Vista Enterprise Operating System
Generic term for the following:
Microsoft Windows XP Professional Operating System,
Microsoft Windows XP Home Edition Operating System
SW0D5C-QCTU-EGX Configurator-CT Version 1 (single license product) (CD-ROM)1
SW0D5C-QCTU-AEGX Configurator-CT Version 1 (volume license product)(CD-ROM)1
A - 9
1
OVERVIEW
CHAPTER1OVERVIEW
This User's Manual describes the specifications, handling, and programming methods for
the type QD63P6 multichannel high-speed counter module used together with the
MELSEC-Q series CPU module.
The QD63P6 can use the following methods in 1-phase/2-phase pulse inputs.
•1 multiple of 1 phase pulse
input
•1 multiple of 2 phases pulse
input
•2 multiples of 1 phase pulse
input
•2 multiples of 2 phases pulse
input
•CW/CCW
•4 multiples of 2 phases pulse
input
For details of the input methods, refer to Section 5.1.
Figure 1.1 shows the general operation of the QD63P6.
2) Reading/writing
Encoder
Encoder
Encoder
Encoder
Encoder
Encoder
Pulse
Pulse
Pulse
Pulse
Pulse
Pulse
QD63P6
CH11)
CH21)
CH31)
CH41)
CH51)
CH61)
the I/O signals and
buffer memory
3)
3)
3)
3)
3)
3)
Programmable
controller CPU
QCPU (Q mode)
1 - 1
1) Pulses input to the QD63P6 are counted.
2) The status of the I/O signals and buffer memory of the QD63P6 can be checked with the
sequence program.
Also, start, stop, preset, and coincidence detection of the count can be executed.
3) An interrupt request can be executed to the programmable controller CPU at counter
value coincidence detection.
Figure 1.1 General operation of the QD63P6
1
OVERVIEW
1.1Features
1
This section describes the features of the QD63P6.
(1) Wide range of expression on counting (from -2147483648 to 2147483647)
Count values can be stored in 6 channels and 32-bit signed binary.
(2) Switching of the maximum counting speed
Since the QD63P6 can switch between 200 k, 100 k, and 10 k, gradual rise/fall
pulses can be correctly counted.
(3) Pulse input selection
Pulse input can be selected from 1 multiple of 1 phase, 2 multiples of 1 phase, 1
multiple of 2 phases, 2 multiples of 2 phases, 4 multiples of 2 phases, and CW/CCW.
(4) Counter format selection
Either of the following counter formats can be selected.
(a) Linear counter format
From -2147483648 to 2147483647 can be counted and an overflow can be
detected when the count range is overrun.
(b) Ring counter format
Counts are repeatedly executed between the ring counter upper limit value and
ring counter lower limit value.
(5) Coincidence detection
By presetting the coincidence detection point of an arbitrary channel, the detection
point is compared to the present counter value, ON/OFF signal can be output
according to the result, and an interrupt program can be started.
(6) The periodic pulse counter function is supported.
The periodic pulse counter function stores the present and previous counter values at
every preset time while signals are input.
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
(7) Simple settings using the utility package
The utility package (GX Configurator-CT) is sold separately.
Although the usage of the utility package is arbitrary, it enables to make initial settings
and auto refresh setting on the screen, which lead to load reduction of the sequence
programs and simplicity in checking the setting status and operation status.
1.1 Features
1 - 2
UTILITY PACKAGE
7
8
(GX Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
2
SYSTEM CONFIGURATION
CHAPTER2SYSTEM CONFIGURATION
This chapter describes system configurations for the QD63P6.
2.1Applicable Systems
This section describes the applicable systems.
(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
QD63P6 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.
Programmable
controller CPU
Table 2.1 Applicable modules and the number of mountable modules
Applicable CPU module
CPU typeCPU modelMain base unit
Basic model
QCPU*3
High Performance
model QCPU
Process CPU
Redundant CPU
Universal model
QCPU
Q00JCPUUp to 8
Q00CPU
Q01CPU
Q02CPU
Q02HCPU
Q06HCPU
Q12HCPU
Q25HCPU
Q12PHCPU
Q25PHCPU
Q12PRHCPU
Q25PRHCPU
Q02UCPUUp to 36
Q03UDCPU
Q06UDHCPU
No. of
modules*1
Up to 24
Up to 64
Up to 64
Up to 53
Up to 64Q04UDHCPU
Base unit*2
Extension base
unit
: Applicable : N/A
2 - 1
* 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 For the coincidence detection interrupt function, use the CPU module of function version B or later.
2.1 Applicable Systems
2
SYSTEM CONFIGURATION
(b) Mounting to a MELSECNET/H remote I/O station
The following table shows network modules that can be mounted to the QD63P6,
the number of mountable network modules, and applicable base units.
The QD63P6 module can be mounted into any I/O slots
unit.
However, the power capacity may be insufficient depending on the combination
with the other mounted modules and the number of mounted modules.
Be sure to check the power capacity when mounting the modules.
*1
on the applicable base
1
OVERVIEW
2
Table 2.2 Mountable network modules, No. of mountable modules, and mountable base unit
Applicable base unit*2
the remote I/O
station
Extension base unit
on the remote I/O
Mountable network
module*3*4
QJ72LP25-25
QJ72LP25G
QJ72LP25GE
QJ72BR15
* 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.
* 3 The coincidence detection interrupt function is not supported.
* 4 The dedicated instructions are not supported.
Remark
The Basic model QCPU cannot configure the MELSECNET/H remote I/O network
system.
Number of
mountable
modules*1
Up to 64
Main base unit on
station
: Applicable : N/A
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
2.1 Applicable Systems
2 - 2
UTILITY PACKAGE
7
8
(GX Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
2
SYSTEM CONFIGURATION
(2) Support of the multiple CPU system
The function version of the first released QD63P6 is B, and it supports multiple CPU
systems.
When using the QD63P6 in a multiple CPU system, refer to the following manual first.
• QCPU User's Manual (Multiple CPU System)
(a) Intelligent function module parameters
Write intelligent function module parameters to only the control CPU of the
QD63P6.
(3) Supported software packages
Relation between the system containing the QD63P6 and software package is shown
in the following table.
GX Developer is necessary when using the QD63P6.
Item
Single CPU
Q00J/Q00/Q01CPU
Q02/Q02H/Q06H/
Q12H/Q25HCPU
Q12PH/
Q25PHCPU
Q12PRH/
Q25PRHCPU
Q02U/Q03UD/
Q04UDH/
Q06UDHCPU
When mounted to the MELSECNET/H
remote I/O station
system
Multiple CPU
system
Single CPU system Version 4 or later
Multiple CPU
system
Single CPU system
Multiple CPU
system
Redundant CPU
system
Single CPU system
Multiple CPU
system
Table 2.3 Software package version
Software version
GX DeveloperGX Configurator-CT
Version 7 or later
Version 8 or later
Version 6 or later
Version 7.10L or later
Version 8.45X or later
Version 8.48A or later
Version 6 or later
Version 1.25AB or later
2 - 3
(4) Connector
The connector is not included with the QD63P6.
Purchase it with reference to Section 4.3.
2.1 Applicable Systems
2
SYSTEM CONFIGURATION
2.2About Use of the QD63P6 with the Q12PRH/Q25PRHCPU
Here, use of the QD63P6 with the Q12PRH/Q25PRHCPU is explained.
1
(1) Dedicated instruction
The dedicated instruction cannnot be used.
(2) GX Configurator-CT
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
12
Main base unit
Extension base unit
(GX Configurator-CT cannot be used.)
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
Direct connection to the CPU
1
Connection through an intelligent function module on the main base unit
2
(Through Ethernet module, MELSECNET/H module, or CC-Link module)
Figure 2.1 Communication path which GX Configrator-CT can use
FUNCTIONS
6
UTILITY PACKAGE
(GX Configurator-CT)
7
PROGRAMMING
8
2.2 About Use of the QD63P6 with the Q12PRH/Q25PRHCPU
TROUBLESHOOTING
2 - 4
2
SYSTEM CONFIGURATION
2.3How to Check the Software Version
This section describes how to check the function version of the QD63P6 and software
version of GX Configurator-CT.
(1) Checking the function version of the QD63P6
(a) Checking the rating plate on the module side
Check the version by the last character of "SERIAL".
Figure 2.2 Checking the serial No. and function version (rating plate)
(b) Checking using GX Developer
Function version
Relevant regulation standards
Check the version by the last character displayed at [Production information] field
on the [Module's Detailed Information] dialog box of GX Developer.
[GX Developer operation]
Select [Diagnostics...] [System monitor...] and click the button
on the displayed screen.
Function version
2 - 5
Figure 2.3 [Module's Detailed Information] dialog box of GX Developer
2.3 How to Check the Software Version
2
SYSTEM CONFIGURATION
(2) Checking the software version of GX Configurator-CT
The software version of GX Configurator-CT can be checked GX Developer's
"Product information" screen.
[Operating procedure]
GX Developer "Help"
Product information
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
Remark
Software version
(In the case of GX Developer Version 8)
Figure 2.4 [Product information] screen of GX Developer
The version description for GX Configurator-CT has been changed as shown
below from SW0D5C-QCTU-E 40E upgraded product.
Existing productProducts after the version upgrade
SW0D5C-QCTU-E 40EGX Configurator-CT Version 1.10L
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
UTILITY PACKAGE
(GX Configurator-CT)
7
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.3 How to Check the Software Version
PROGRAMMING
8
TROUBLESHOOTING
2 - 6
3
SPECIFICATIONS
CHAPTER3SPECIFICATIONS
This chapter describes the performance specifications of the QD63P6, I/O signals to the
programmable controller CPU, specifications of the buffer memory.
For general specifications of the QD63P6, refer to the User's Manual for the CPU module.
3.1Performance Specifications
The following table shows the performance specifications of the QD63P6.
Table 3.1 Performance specifications of the QD63P6
Item
Counting speed switch setting*1200 k (100 k to 200 kPPS)100 k (10 k to 100 kPPS)10 k (10 kPPS or less)
Number of occupied I/O points32 points (I/O assignment: Intelligent 32 points)
Number of channels6 channels
Count
input
signal
Phase1-phase input, 2-phase input
Signal level ( A, B)
Counting speed
(max.)*2
Counting range32-bit signed binary (-2147483648 to 2147483647)
ModelUP/DOWN preset counter + Ring counter function
200 kPPS100 kPPS10 kPPS
Model
QD63P6
5 VDC 6.4 to 11.5 mA
Counter
Minimum count pulse
width
(Duty ratio 50 %)
(Minimum phase difference for 2-
Comparison range32-bit signed binary
Coincide
nce
detection
5 VDC internal current consumption0.59 A
Weight0.15 kg
Counting speed switch setting200 k100 k10 k
Comparison result
InterruptWith coincidence detection interrupt function
* 1 Make the counting speed switch setting with intelligent function module switch.
* 2 Counting speed is affected by pulse rise and fall time. Countable speeds are shown in Table 3.2.
Note if a pulse with long rise and/or fall time is counted, a miscount may occur.
Table 3.2 Relation between rise/fall time and counting speed
Rise/fall timeBoth 1 and 2-phase input
t = 1.25 s or less
t = 2.5 s or less
t = 25 s or less
t = 500 s
200 kPPS100 kPPS10 kPPS
100 kPPS100 kPPS10 kPPS
-10 kPPS10 kPPS
--500 PPS
5
2.5 2.5
(Unit: s)
phase input: 1.25 s)
(Minimum phase difference for
Setting value Count value
Setting value = Count value
Setting value Count value
10
55
2-phase input: 2.5 s)
(Unit: s)
100
50 50
(Unit: s)
(Minimum phase difference for
2-phase input: 25 s)
tt
3 - 1
3.1 Performance Specifications
3
SPECIFICATIONS
3.2Function List
The following table shows the functions of the QD63P6.
I/O numbers (X/Y) and buffer memory addresses in Description describe only for channel
1.
For I/O numbers (X/Y) and buffer memory addresses from channels 2 to 6, refer to Section
3.3.1.
FunctionDescriptionReference
Linear counter function
Ring counter function
Coincidence detection function
Coincidence detection
interrupt function
Preset function
Periodic pulse counter function
Table 3.3 Function list of the QD63P6
Countable from -2147483648 to 2147483647 and
detects an overflow when the count range is overrun.
Repeats count between the ring counter upper limit
value (Un\G2 and 3) and ring counter lower limit value
(Un\G0 and 1).
Presets the coincidence detection point of an arbitrary
channel, compares the detection point to the present
counter value, and outputs the counter value
coincidence (X02).
Inputs the interrupt signal to the programmable controller
CPU when a coincidence is detected, and starts an
interrupt program.
Rewrites the present counter value to an arbitrary value.
Executes the preset with the sequence program.
Stores the present value A (Un\G10 and 11)/present
value B (Un\G200 and 201) in the buffer memory at
every preset period while the periodic pulse counter start
command (Y05) is input.
* The functions can be used in combination.
However, when using the linear counter function or ring counter function, select either of them.
Section 5.2.1
Section 5.2.2
Section 5.3
Section 5.4
Section 5.5
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
3.2 Function List
3 - 2
UTILITY PACKAGE
7
8
(GX Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
3
SPECIFICATIONS
3.3I/O Signals to the Programmable Controller CPU
3.3.1I/O signal list
The following table shows the I/O signals from the QD63P6 to the programmable controller
CPU.
Note that that I/O numbers (X/Y) and I/O addresses mentioned in this and the subsequent
chapters are assumed when the QD63P6 is mounted to the null I/O slot on the main base
unit.
Table 3.4 I/O signal list
Input signal (Signal direction QD63P6 Programmable
controller CPU)
Device
No.
X00Module READYY00Reserved
X01
X02Counter value coincidenceY02Preset command
X03Counter value smallY03Subtraction count command
Output signal (Signal direction Programmable controller
CPU QD63P6)
Device
No.
CH1
CH2
CH3
CH4
CH5
CH6
Signal name
Coincidence signal reset command
Coincidence signal reset command
Coincidence signal reset command
Coincidence signal reset command
Coincidence signal reset command
Coincidence signal reset command
3 - 3
3.3 I/O Signals to the Programmable Controller CPU
3.3.1 I/O signal list
3
SPECIFICATIONS
POINT
The reserved devices above are for system use, not for users. If used (turning
ON/OFF) by a user, the functions of the QD63P6 are not ensured.
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
UTILITY PACKAGE
(GX Configurator-CT)
7
PROGRAMMING
8
3.3 I/O Signals to the Programmable Controller CPU
3.3.1 I/O signal list
TROUBLESHOOTING
3 - 4
3
SPECIFICATIONS
3.3.2Functions of I/O signals
Signal name
Device
No.
X00Module READY
QD63P6
Programmable controller
The following table shows the I/O signals of the QD63P6.
I/O numbers (X/Y) and buffer memory addresses in Description describe only for channel
1.
For I/O numbers (X/Y) and buffer memory addresses from channels 2 to 6, refer to Section
3.3.1 and Section 3.4.1.
(1) I/O signals
Table 3.5 I/O signals
Description
CPU
•Turns ON at reset or power-ON of the programmable controller CPU when counting
of the QD63P6 is ready, and the count processing is performed.
•Turns OFF when watchdog timer error or an error which affects the system (error
code: 810 to 850) occurs.
•The count processing is not performed when the module READY (X00) is OFF.
•This signal is used for an interlock of sequence programs.
Performed by the QD63P6.
Performed by the sequence program.
Status of the QD63P6
Module READY
(X00)
In preparationReady
ON
Watchdog timer error or
an error which affects the system
OFF
X01CH1
X06CH2
X0BCH3
X10CH4
X15CH5
X1ACH6
Counter value large
•Turns ON when the present value A (Un\G10 and 11)/present value B (Un\G200 and
201) Coincidence detection point setting (Un\G6 and 7).
•Turns OFF when the present value A (Un\G10 and 11)/present value B (Un\G200 and
201) Coincidence detection point setting (Un\G6 and 7).
•For details of the general operation, refer to Section 5.3.
Immediately after power-ON or reset
of the programmable controller CPU
Coincidence detection
point setting
(Un\G6 and 7)
Present value A
(Un\G10 and 11)
Counter value large
(X01)
Counter value
coincidence
(X02)
Counter value small
(X03)
Coincidence signal
reset command
(Y01)
0
01
ON
OFF
ON
t*
OFF
OFF
ON
OFF
Performed by the QD63P6.
Performed by the sequence program.
100
1001011029998
ON
ON
OFF
* t 2ms
ON
OFF
OFF
t*
3 - 5
3.3 I/O Signals to the Programmable Controller CPU
3.3.2 Functions of I/O signals
3
SPECIFICATIONS
Device
No.
X02CH1
X07CH2
X0CCH3
X11CH4
X16CH5
X1BCH6
X03CH1
X08CH2
X0DCH3
X12CH4
X17CH5
X1CCH6
X1FError occurrence
Signal name
QD63P6 Programmable
controller CPU
Counter value
coincidence
Counter value small
Table 3.5 I/O signals (Continued)
Description
•Turns ON and is the device is latched when the present value A (Un\G10 and 11)/
present value B (Un\G200 and 201) Coincidence detection point setting
(Un\G6 and 7).
•Turns OFF by the coincidence signal reset command (Y01).
•The counter value coincidence (X02) turns ON immediately after power-ON or
reset of the programmable controller CPU, since the present value A (Un\G10
and 11)/present value B (Un\G200 and 201) and coincidence detection point
setting (Un\G6 and 7) are all '0'.
•For general operation, refer to Counter value large (X01) or Section 5.3.
•Turns ON when the present value A (Un\G10 and 11)/present value B (Un\G200
and 201)
•Turns OFF when the present value A (Un\G10 and 11)/present value B (Un\G200
and 201)
•For general operation, refer to Counter value large (X01) or Section 5.3.
•Turns ON when an error occurs at any of arbitrary channels.
•To identify the channel where an error occurs, check the error code of the buffer
memory (Un\G20).
•Turns OFF when all channels are normal.
Coincidence detection point setting (Un\G6 and 7).
Coincidence detection point setting (Un\G6 and 7).
Performed by the QD63P6.
CH1 Error reset command
(Un/G21)
CH1 Error code
(Un/G20)
CH2 Error code
(Un/G50)
010
01000
0*1000
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
CH3 to 6 Error code
Error occurrence
(X1F)
* Assumed that the errors have been reset with the error reset
command of each channel.
3.3 I/O Signals to the Programmable Controller CPU
ON
OFF
3.3.2 Functions of I/O signals
0*1000
UTILITY PACKAGE
(GX Configurator-CT)
7
PROGRAMMING
8
TROUBLESHOOTING
3 - 6
3
Device
No.
Y01CH1
Y06CH2
Y0BCH3
Y10CH4
Y15CH5
Y1ACH6
Y02CH1
Y07CH2
Y0CCH3
Y11CH4
Y16CH5
SPECIFICATIONS
(2) Output signals
Signal name
Programmable controller
CPU QD63P6
Coincidence signal
reset command
Preset command
Table 3.6 Output signals
Operation
timing
•Turn ON to reset the counter value coincidence (X02).
•Note that the ON/OFF time must be 2ms or longer. *1
•Turn OFF the coincidence signal reset command (Y01) when the
•For general operation, refer to Counter value large (X01) or
•Turn ON to execute the preset function.
•Note that the ON/OFF time must be 2ms or longer. *1
•Turn OFF the preset command (Y02) when the preset value
•For general operation, refer to "Section 5.4".
Description
counter value coincidence (X02) is reset.
Section 5.3.
setting (Un\G4 and 5) is stored to the present value A (Un\G10
and 11)/present value B (Un\G200 and 201).
Performed by the QD63P6.
CH1 Preset value setting
(Un/G4 and 5)
CH1 Preset command
(Y02)
ON
100
t*
OFF
Y1BCH6
Y03CH1
Y08CH2
Y0DCH3
Y12CH4
Y17CH5
Y1CCH6
Subtraction count
command
* 1 Set ON/OFF time such as the coincidence signal reset command (Y01) to 2ms or longer using the
CH1 Present value A
(Un/G10 and 11)
•Turn ON to perform the subtraction count at 1-phase pulse input
mode.
•If either phase B pulse is input or the subtraction count command
(Y03) turns ON, the subtraction count is performed.
•Check that the phase B pulse is input and the subtraction count
command (Y03) is OFF for addition.
•This command operates as follows when the pulse input mode is
1 multiple of 1 phase.
A
B
Subtraction count command
following methods.
Using the timer (T) device
Set the constant scan to 2 ms or longer.
CH1
(Y03)
CH1
Present value A
(Un/G10 and 11)
1000
*: t 2ms
ONON
OFF
ON
99989710099
3 - 7
3.3 I/O Signals to the Programmable Controller CPU
3.3.2 Functions of I/O signals
3
Device
No.
Y04CH1
Y09CH2
SPECIFICATIONS
Signal name
Programmable controller
CPU QD63P6
Table 3.6 Output signals (Continued)
Operation
timing
•Turn ON to perform count operation.
•This command operates as follows when the pulse input mode is
1 multiple of 1 phase.
1
Description
OVERVIEW
2
Y0ECH3
Y13CH4
Y18CH5
Y1DCH6
Y05CH1
Y0ACH2
Y0FCH3
Y14CH4
Y19CH5
Y1ECH6
Count enable
command
Periodic pulse counter
start command
A
B
Count enable command
(Y04)
Present value A
(Un\G10 and 11)
ON
Turn ON to execute the periodic pulse counter function.
Performed by the QD63P6.
Present value A
(Un\G10 and 11)
Periodic pulse
counter start command
(Y05)
Period setting
(Un\G9)
Previous periodic pulse
count value
(Un\G14 and 15)
Present periodic pulse
count value
(Un\G16 and 17)
udgment value for updated
periodic pulse count value
(Un\G18 and 19)
Periodic counter flag
(Un\G13)
ON
*
T10
*The period setting (Un\G9) is enabled when the periodic pulse
counter start command (Y05) turns ON from OFF.
2
T1
ON
3410
T1
T2
10
2
10
SYSTEM
CONFIGURATION
3
210
SPECIFICATIONS
4
OFF
2
310
2
OFF
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
Remark
Definitions of the expressions in Operation timing are as follows.
•Enabled while the signal is ON.
•Enabled when the signal turns from OFF to ON.
3.3 I/O Signals to the Programmable Controller CPU
3.3.2 Functions of I/O signals
3 - 8
UTILITY PACKAGE
7
8
(GX Configurator-CT)
PROGRAMMING
TROUBLESHOOTING
3
SPECIFICATIONS
3.4Buffer Memory Assignment
3.4.1List of buffer memory assignment
The following table shows the buffer memory assignment of the QD63P6.
Table 3.7 List of buffer memory assignment
Address (decimal notation)
CH1 CH2 CH3 CH4 CH5 CH6
0306090120150
1316191121151(H)
2326292122152
3336393123153(H)
4346494124154
5356595125155(H)
6366696126156
7376797127157(H)
8386898128158 Coincidence detection point change request
9396999129159 Period setting
104070100130160
114171101131161(H)
124272102132162 Overflow detection flag
134373103133163 Periodic counter flag
144474104134164
154575105135165(H)
164676106136166
174777107137167(H)
184878108138168 Judgment value for updated periodic
194979109139169(H)
205080110140170 Error code
215181111141171 Error reset commandRead/write are enabled.
225282112142172
totototototo
295989119149179
200202204206208210
201203205207209211(H)
Ring counter lower limit value *2
Ring counter upper limit value *2
Preset value setting *2
Coincidence detection point setting *2
Present value A *2
Previous periodic pulse count value *2
Present periodic pulse count value *2
pulse count value *2
Reserved--
Present value B *2
* 1 FInitial value which is set when the programmable controller CPU is powered ON or reset.
Setting contents
(L)
(L)
(L)
(L)
(L)
(L)
(L)
(L)
(L)
Initial
value
*1
0
0Read only
Read/write
Read/write are enabled.
Read only
3 - 9
POINT
• The reserved areas in the above table and areas not mentioned in the
table are for system use, not for users. If written by a user, the functions
of the QD63P6 are not ensured.
• All data in the buffer memory of the QD63P6 are initialized when the
programmable controller CPU is powered ON or reset. To save
necessary data, use the FROM/DFRO/TO/DTO instructions in the
sequence program or make setting with the utility package for writing/
reading the buffer memory data.
3.4 Buffer Memory Assignment
3.4.1 List of buffer memory assignment
3
SPECIFICATIONS
POINT
• Items with "*2" in Table 3.7 are stored in 32-bit signed binary to the buffer
memory; therefore, make sure to read each value in units of 2 words.
• Since the buffer memory contents are automatically updated by count
operation, the latest count value can be read from the buffer memory.
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
UTILITY PACKAGE
(GX Configurator-CT)
7
PROGRAMMING
8
3.4 Buffer Memory Assignment
3.4.1 List of buffer memory assignment
TROUBLESHOOTING
3 - 10
3
SPECIFICATIONS
3.4.2Details of the buffer memory
This section describes details of the QD63P6 buffer memory.
Each item contains the I/O numbers (X/Y) and buffer memory addresses of channel 1 only.
For buffer memory addresses of channel 2 or later and I/O numbers (X/Y) of channel 2 or
later, refer to Section 3.4.1 and Section 3.3.1, respectively.
(1) Ring counter lower limit value (Un\G0 and 1)
Ring counter upper limit value (Un\G2 and 3)
• This area is used for setting count range when the counter format is the ring
counter. (Refer to Section 5.2.2.)
• Setting value when the count enable command (Y04) changes from OFF to ON
becomes effective.
• Setting range is from -2147483648 to 2147483647 (32-bit signed binary).
Count enable command
(Y04)
Ring counter lower limit value
(Un\G0 and 1)
Ring counter upper limit value
(Un\G2 and 3)
*1: Value when the count enable command (Y04) changes from OFF
to ON becomes effective.
*2: Does not become effective until the count enable command (Y04)
changes from OFF to ON.
Figure 3.1 Timing chart for the ring counter lower limit value (Un\G0 and 1) and ring counter upper limit value (Un\G2 and 3)
ON
*1
-200-1000
*2
*1
2001000
*2
(2) Preset value setting (Un\G4 and 5)
• This area is used for setting the preset value for the counter. (Refer to Section
5.4.)
• Setting value when the preset command (Y02) changes from OFF to ON
becomes effective.
• Setting range is from -2147483648 to 2147483647 (32-bit signed binary).
Performed by the QD63P6.
Preset value setting
(Un\G4 and 5)
Preset command
(Y02)
ON
100
t*
OFF
3 - 11
Present value
(Un\G10 and 11)
Figure 3.2 Timing chart for the preset value setting (Un\G4 and 5)
• For details of the general operation, refer to Section 5.4.
3.4 Buffer Memory Assignment
3.4.2 Details of the buffer memory
1000
* t 2ms
Loading...
+ 98 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.