HSC QD
HSC QD
-NZ2GFCF-D62PD2
SAFETY PRECAUTIONS
(Read these precautions before using this product.)
Before using this product, please read this manual and the relevant manuals carefully and pay full attention
to safety to handle the product correctly.
The precautions given in this manual are concerned with this product only. For the safety precautions of the
programmable controller system, refer to the user's manual for the CPU module used.
In this manual, the safety precautions are classified into two levels: " WARNING" and " CAUTION".
Under some circumstances, failure to observe the precautions given under " CAUTION" may lead to
serious consequences.
Observe the precautions of both levels because they are important for personal and system safety.
Make sure that the end users read this manual and then keep the manual in a safe place for future
reference.
[Design Precautions]
WARNING
● In the case of a communication failure in the network, data in the master module are held. Check Data
link status (each station) (SW00B0 to SW00B7) and configure an interlock circuit in the program to
ensure that the entire system will operate safely.
● When the module is disconnected due to a communication failure in the network or the CPU module is
in the STOP status, all outputs are held or turned off according to the parameter setting.
Configure an interlock circuit in the program to ensure that the entire system will always operate
safely even in such a case. If not, an accident may occur due to an incorrect output or malfunction.
● Outputs may remain on or off due to a failure of the module. Configure an external circuit for
monitoring output signals that could cause a serious accident.
● Do not use any "use prohibited" signals as a remote input or output signal. These signals are reserved
for system use. Do not write any data to the "use prohibited" area in the remote register. If these
operations are performed, correct operation of the module cannot be guaranteed.
1
[Design Precautions]
CAUTION
● Do not install the communication cables together with the main circuit lines or power cables. Keep a
distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
● Do not install the control lines together with the main circuit lines or power cables. Keep a distance of
150mm or more between them. Failure to do so may result in malfunction due to noise.
[Installation Precautions]
WARNING
● Shut off the external power supply (all phases) used in the system before mounting or removing a
module. Failure to do so may result in electric shock or cause the module to fail or malfunction.
[Installation Precautions]
CAUTION
● Use the module in an environment that meets the general specifications in the user's manual for the
module. Failure to do so may result in electric shock, fire, malfunction, or damage to or deterioration of
the product.
● Do not directly touch any conductive parts and electronic components of the module. Doing so can
cause malfunction or failure of the module.
● After the first use of the product, do not connect/remove the extension module more than 50 times
(IEC 61131-2 compliant). Exceeding the limit may cause malfunction.
● To connect an extension module to a main module, engage the respective connectors and securely
lock the module joint levers. Incorrect connection may cause malfunction, failure, or drop of the
module.
● Securely connect the cable connectors. Poor contact may cause malfunction.
2
[Wiring Precautions]
WARNING
● Shut off the external power supply (all phases) used in the system before wiring. Failure to do so may
result in electric shock or cause the module to fail or malfunction.
[Wiring Precautions]
CAUTION
● Ground the shield cable for the pulse input on the encoder side (relay box) with a ground resistance of
100 or less. Failure to do so may cause malfunction.
● Individually ground the FG terminal of the programmable controller with a ground resistance of 100
or less. Failure to do so may result in electric shock or malfunction.
● Check the rated voltage and terminal layout before wiring to the module, and connect the cables
correctly. Connecting a power supply with a different voltage rating or incorrect wiring may cause a fire
or failure.
● Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can
cause a fire, failure, or malfunction.
● Place the cables in a duct or clamp them. If not, dangling cable may swing or inadvertently be pulled,
resulting in damage to the module or cables or malfunction due to poor contact.
● Do not install the communication cables together with the main circuit lines or power cables. Keep a
distance of 100mm or more between them. Failure to do so may result in malfunction due to noise.
● Do not install the control lines together with the main circuit lines or power cables. Keep a distance of
150mm or more between them. Failure to do so may result in malfunction due to noise.
● When disconnecting the cable from the module, do not pull the cable by the cable part. For the cable
with connector, hold the connector part of the cable. For the cable connected to the terminal block,
loosen the terminal screw. Pulling the cable connected to the module may result in malfunction or
damage to the module or cable.
● When an overcurrent caused by an error of an external device or a failure of the programmable
controller flows for a long time, it may cause smoke and fire. To prevent this, configure an external
safety circuit, such as a fuse.
● Connectors for external devices must be crimped with the tool specified by the manufacturer, or must
be correctly soldered. Securely connect the connector to the module.
● Mitsubishi programmable controllers must be installed in control panels. Wiring and replacement of a
module must be performed by qualified maintenance personnel with knowledge of protection against
electric shock. For wiring methods, refer to "INSTALLATION AND WIRING" in this manual.
3
[Startup and Maintenance Precautions]
WARNING
● Do not touch any terminal while power is on. Doing so will cause electric shock or malfunction.
● Shut off the external power supply (all phases) used in the system before cleaning the module or
retightening the terminal block screws or connector screws. Failure to do so may cause the module to
fail or malfunction.
[Disposal Precautions]
CAUTION
● When disposing of this product, treat it as industrial waste.
4
CONDITIONS OF USE FOR THE PRODUCT
(1) Mitsubishi programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or serious accident;
and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the PRODUCT for the
case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general industries.
MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT NOT LIMITED TO ANY AND ALL
RESPONSIBILITY OR LIABILITY BASED ON CONTRACT, WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY
INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE
OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS, OR
WARNING CONTAINED IN MITSUBISHI'S USER, INSTRUCTION AND/OR SAFETY MANUALS, TECHNICAL
BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
• Nuclear Power Plants and any other power plants operated by Power companies, and/or any other cases in which the
public could be affected if any problem or fault occurs in the PRODUCT.
• Railway companies or Public service purposes, and/or any other cases in which establishment of a special quality
assurance system is required by the Purchaser or End User.
• Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator and Escalator,
Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for Recreation and Amusement, and
Safety devices, handling of Nuclear or Hazardous Materials or Chemicals, Mining and Drilling, and/or other
applications where there is a significant risk of injury to the public or property.
Notwithstanding the above, restrictions Mitsubishi may in its sole discretion, authorize use of the PRODUCT in one or
more of the Prohibited Applications, provided that the usage of the PRODUCT is limited only for the specific
applications agreed to by Mitsubishi and provided further that no special quality assurance or fail-safe, redundant or
other safety features which exceed the general specifications of the PRODUCTs are required. For details, please
contact the Mitsubishi representative in your region.
5
INTRODUCTION
Thank you for purchasing the CC-Link IE Field Network high-speed counter module (hereafter abbreviated as high-
speed counter module).
This manual describes the operating procedure, system configuration, parameter settings, functions, and
troubleshooting of the high-speed counter module.
Before using this product, please read this manual and the relevant manuals carefully and develop familiarity with the
functions and performance of the high-speed counter module to handle the product correctly.
When applying the program examples introduced in this manual to an actual system, ensure the applicability and
confirm that it will not cause system control problems.
Remark
Unless otherwise specified, this manual describes the program examples in which the remote I/O signals and remote
registers are assigned for a high-speed counter module as follows.
• Remote input signal: RX00 to RX4F
• Remote output signal: RY00 to RY4F
• Remote register: RWr0 to RWr3F, RWw0 to RWw3F
For the assignment of remote I/O signals and remote registers, refer to the following.
User's manual for the master/local module used
6
RELEVANT MANUALS
7
CONTENTS
CONTENTS
SAFETY PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CONDITIONS OF USE FOR THE PRODUCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
INTRODUCTION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
RELEVANT MANUALS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
MANUAL PAGE ORGANIZATION . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
TERM. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
PACKING LIST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
CHAPTER 3 SPECIFICATIONS 27
3.1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2 Performance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3.2.1 The input waveform and the phase difference between phase A pulse and phase B pulse . .32
6.3 Installation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
6.3.1 Connecting extension modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .60
6.3.2 Mounting the modules on a DIN rail. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
6.4 Wiring with Terminal Block for Module Power Supply and FG . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.5 Wiring of Ethernet Cable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67
6.6 Wiring of Connectors for External Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
6.6.1 Wiring precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .70
6.6.2 Connectors for external devices. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
8
6.6.3 I/O interfaces with external devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .73
6.6.4 Encoders that can be connected . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78
9
8.23 Function at the Extension Module Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186
8.24 CC-Link IE Field Network Diagnostic Function. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
APPENDICES 256
Appendix 1 Details of Remote I/O Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Appendix 1.1 Details of remote input signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .256
Appendix 1.2 Details of remote output signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .268
10
INDEX 320
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
TRADEMARKS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
11
MANUAL PAGE ORGANIZATION
In this manual, pages are organized and the symbols are used as shown below.
The following illustration is for explanation purpose only, and should not be referred to as an actual documentation
The chapter of
the current page is shown.
shows operating
procedures.
shows mouse
operations.*1
The section of
the current page is shown.
shows reference
manuals.
shows useful
information.
Menu bar
12
TERM
Unless otherwise specified, this manual uses the following terms.
Term Description
A memory in an intelligent function module, where data (such as setting values and monitoring
Buffer memory
values) are stored
CC-Link IE Field Network A high-speed and large-capacity open field network that is based on Ethernet (1000BASE-T)
A function by which data are periodically exchanged among stations on the same network using link
Cyclic transmission
devices (RX, RY, RWw, and RWr)
Data link A generic term for cyclic transmission and transient transmission
Dedicated instruction An instruction that simplifies programming for using functions of intelligent function modules
A generic term for a device which supports iQ Sensor Solution.
Device supporting iQSS For iQ Sensor Solution, refer to the following.
iQ Sensor Solution Reference Manual
Disconnection A process of stopping data link if a data link error occurs
Engineering tool A generic term for GX Works2 and GX Works3
Extension I/O module A generic term for extension modules where a digital signal can be input or output
A remote module that does not support the CC-Link IE Field Network communication function. This
Extension module module cannot be used as a single module. However, connecting the module to the main module will
increase the number of I/O points per station.
GX Works2
The product name of the software package for the MELSEC programmable controllers
GX Works3
High-speed counter module The abbreviation for the CC-Link IE Field Network high-speed counter module
A station that deals with bit data and word data.
The station can communicate with the master station and other local stations. The station cannot
Intelligent device station
communicate with other remote I/O stations, remote device stations and intelligent device stations.
The station can perform the cyclic transmission and transient transmission.
Link device A device (RX, RY, RWr, or RWw) in a module on CC-Link IE Field Network
Bit data that indicates the operating status and data link status of a module on CC-Link IE Field
Link special register (SW)
Network
Bit data that indicates the operating status and data link status of a module on CC-Link IE Field
Link special relay (SB)
Network
A station that includes a CPU module and can communicate with the master station and other local
stations.
Local station This station can create simplified CC-Link IE Controller Network by combining the master station
and other local stations.
The station can perform the cyclic transmission and transient transmission.
A module with the CC-Link IE Field Network communication function, which can be used as a single
Main module
remote module.
A station that controls CC-Link IE Field Network. The station can communicate with all stations.
Master station Only one master station can be used in a network.
The station can perform the cyclic transmission and transient transmission.
Master/local module A generic term for the CC-Link IE Field Network master/local module
A generic term for the following modules:
• CC-Link IE Field Network module
• CC-Link IE Controller Network module
Network module
• Ethernet interface module
• MELSECNET/H module
• MELSECNET/10 module
A station that includes two or more network modules. Data are passed through this station to
Relay station
stations on other networks.
The abbreviation for ZP.REMFR.
REMFR
This dedicated instruction is used in programs of the master/local module.
Remote buffer memory Buffer memory in a remote device station
A station that deals with bit data and word data.
The station can communicate with the master station and other local stations. The station cannot
Remote device station
communicate with other remote I/O stations, remote device stations and intelligent device stations.
The station can perform the cyclic transmission.
13
Term Description
A station that deals with bit data.
The station can communicate with the master station and other local stations. The station cannot
Remote I/O station
communicate with other remote I/O stations, remote device stations and intelligent device stations.
The station can perform the cyclic transmission.
Bit data input from a slave station to the master station (For some areas in a local station, data are
Remote input (RX) output in the opposite direction.)
User's manual for the master/local module used
Bit data output from the master station to a slave station (For some areas in a local station, data are
Remote output (RY) output in the opposite direction.)
User's manual for the master/local module used
Word data input from a slave station to the master station (For some areas in a local station, data are
Remote register (RWr) output in the opposite direction.)
User's manual for the master/local module used
Word data output from the master station to a slave station (For some areas in a local station, data
Remote register (RWw) are output in the opposite direction.)
User's manual for the master/local module used
The abbreviation for ZP.REMTO.
REMTO
This dedicated instruction is used in programs of the master/local module.
A station reserved for future use. This station is not actually connected, but counted as a connected
Reserved station
station.
Return A process of restarting data link when a station recovers from an error
A process of selecting paths for communication with other networks.
On CC-Link IE Field Network, set a network route with the routing parameter in advance to
Routing communicate with a station that is set a different network number.
A high-speed counter module does not need to set the routing parameter. Communications with
other networks are performed according to the routing parameters set to the master station.
Simple motion module The abbreviation for the QD77GF16 simple motion module
A generic term for stations other than a master station: local station, remote I/O station, remote
Slave station
device station, and intelligent device station
A function of communication with another station, which is used when requested by a dedicated
Transient transmission
instruction or a engineering tool
14
PACKING LIST
The following items are included in the package of this product. Before use, check that all the items are included.
15
CHAPTER 1 HIGH-SPEED COUNTER MODULE
This chapter describes the operation, the application, and the features of the high-speed counter module.
The high-speed counter module is a remote device station of the CC-Link IE Field Network whose maximum counting
speed of input pulse is 8Mpps (with differential input and 4 multiples of 2 phases).
The module has two channels and functions including the preset/replace function by external input or input from a
master module, the latch counter function, counter function selection, external coincidence output by coincidence
detection.
The following illustration shows the operation overview of the high-speed counter module.
Master module
3) Reading/writing of
remote I/O signals,
High-speed a remote register,
counter module and a remote buffer memory
Pulse
Encoder 1)
External control
CH1
signal
Controller 2)
Preset/replace
(phase Z) function
latch
Coincidence
output
4)
Pulse (0 to 4 points)
shared with
Encoder 1) CH1, CH2.
16
CHAPTER 1 HIGH-SPEED COUNTER MODULE
1.1 Application 1
This module performs controls which are applicable to various applications by executing various functions according to
count values of pulses input from the external device. The following describes an application example.
1.1 Application
17
1.2 Features
18
CHAPTER 1 HIGH-SPEED COUNTER MODULE
NZ2GFCF-D62PD2
Select
1.2 Features
(3) Easy station number setting
Because of the rotary switch on the front of the module, setting and checking the station number are easy.
19
(5) Pulse measurement function
Pulses can be measured with 100ns measurement resolution. The pulse width (ON width/OFF width) can be
precisely measured. Various pulse measurement applications such as the workpiece length measurement or the
transport/processing speed management of various types of transport equipment and processing equipment are
available.
Pulse
Light sensor
Encoder
Inverter
20
CHAPTER 1 HIGH-SPEED COUNTER MODULE
ON
Output 1
OFF
ON
Output 2
OFF
ON
Output 3
OFF
Count present value 1000 2000 3000 4000 5000 6000 7000 8000
1.2 Features
Lighting: dimmer Lighting: brighter
Lighting can
be controlled by
changing
the duty ratio.
21
(9) CC-Link IE Field Network synchronous communication function
This function updates the count value in the synchronization cycle of a master station that supports the CC-Link
IE Field Network synchronous communication function.
This allows the operation timing to match with slave stations sharing the same network.
22
CHAPTER 2 PART NAMES
This chapter describes the part names of the high-speed counter module.
2
*1
2) 1)
3)
4) 5) 6) 7)
*1
*1 Do not remove this seal because it is used for a maintenance purpose.
23
No. Name Description
A rotary switch for the following setting and test
• Station Number Setting ( Page 57, Section 6.1)
Station number setting
1) • Unit Test ( Page 246, Section 11.4)
switch
When operating the station number setting switch, use a slotted screwdriver with 3.5mm or less width
of the tip.
Indicates the power supply status of the module.
PW LED (green) • ON: Power supply ON
• OFF: Power supply OFF
Indicates the operating status of the module.
RUN LED (green) • ON: Operating normally
• OFF: When a major error occurs
Indicates the mode status of the module.
• ON: In online mode
MODE LED (green)
• Flashing: In unit test mode
• OFF: At the unit test completion
Indicates the data communication status between the module and the master module.
• ON: Data link in operation (cyclic transmission in progress)
D LINK LED (green)
• Flashing: Data link in operation (cyclic transmission stopped)
2) • OFF: Data link not performed (disconnected)
Indicates the error status of the module.
• ON: A moderate error or major error has occurred.
ERR. LED (red)
• Flashing: A minor error (warning) has occurred.
• OFF: Operating normally
Indicates the input status of the pulse input terminals in phase A, B, and Z.
CH1A/B/Z LED
• ON: At voltage application
CH2A/B/Z LED (green)
• OFF: At no voltage application
Indicates the input status of the function/latch counter input terminal.
CH1FNC/LAT LED
• ON: At voltage application
CH2FNC/LAT LED (green)
• OFF: At no voltage application
Indicates the output status of the coincidence output 1 to 4 terminals (EQU1 to EQU4).
EQU1 to EQU4 LED (green) • ON: Signal output ON
• OFF: Signal output OFF
PORT1 connector for CC-Link IE Field Network (RJ45 connector)
Connect an Ethernet cable. ( Page 67, Section 6.5)
There are no restrictions on the connection order of the cables for the P1
connector and P2 connector.
• ON: The module has received abnormal data or the module is performing
P1
loopback.
L ER LED (red)
• OFF: The module has received normal data or the module is not performing
loopback.
3)
ON: Linkup in progress
LINK LED (green)
OFF: Linkdown in progress
PORT2 connector for CC-Link IE Field Network (RJ45 connector)
Connect an Ethernet cable. ( Page 67, Section 6.5)
There are no restrictions on the connection order of the cables for the P1
P2 connector and P2 connector.
L ER LED (red)
(Same as the P1)
LINK LED (green)
Terminal block for module
4) A terminal block to connect the module power supply (24VDC) and FG.
power supply and FG
5) DIN rail hook A hook to mount a module on a DIN rail
Connectors for external Connectors for encoders, controllers, and others
6)
devices (40 pins) (For the terminal layouts, refer to Page 73, Section 6.6.3)
24
CHAPTER 2 PART NAMES
2
When the phase Z of the encoder is connected to the phase Z pulse input terminal (Zn), a pulse is counted per rotation of the
encoder. Therefore, lighting of the LEDs may be missed.
25
(1) Module status and LED status
The following table lists the correspondence between the module status and the LED status.
LED status
Module status Data link status
PW LED RUN LED MODE LED D LINK LED ERR. LED
Disconnecting Disconnection ON ON ON OFF OFF
Data link in operation Data link in operation ON ON ON ON OFF
Reserved station
Cyclic stop ON ON ON Flashing OFF
specification in progress
Link stop Cyclic stop ON ON ON Flashing OFF
In progress ON ON Flashing OFF OFF
Normal
ON ON OFF OFF OFF
Unit test completion
Abnormal
ON ON OFF OFF ON
completion
Communication error Cyclic stop ON ON ON Flashing OFF
*1 *2
Major ON OFF ON*3
Error
Moderate ON ON *1 *2 ON
*1 Either of ON or OFF.
*2 Either of ON, Flashing, or OFF.
*3 When the module is failed, the LED may not turn on.
26
CHAPTER 3 SPECIFICATIONS
CHAPTER 3 SPECIFICATIONS
Item Specifications
Operating
ambient 0 to 55
temperature
Storage ambient
-25 to 75
temperature
Operating
ambient humidity
5 to 95%RH, non-condensing
Storage ambient
humidity
Constant Number of
Frequency Half amplitude
acceleration sweeps
Compliant with Under 5 to 8.4Hz 3.5mm 10 times each in
Vibration
JIS B 3502 and intermittent X, Y, and Z
resistance 8.4 to 150Hz 9.8m/
IEC 61131-2 vibration directions
Under continuous 5 to 8.4Hz 1.75mm
vibration 8.4 to 150Hz 4.9m/
Shock resistance Compliant with JIS B 3502 and IEC 61131-2 (147m/, 3 times each in X, Y, and Z directions)
*1 Do not use or store the high-speed counter module under pressure higher than the atmospheric pressure of altitude 0m.
Doing so may cause malfunction. When using the high-speed counter module under pressure, please consult your local
Mitsubishi representative.
*2 If the environment satisfies the operating ambient temperature, operating ambient humidity and other conditions, the
module can be used even outside the control panel.
*3 This indicates the section of the power supply to which the equipment is assumed to be connected between the public
electrical power distribution network and the machinery within premises. Category applies to equipment for which
electrical power is supplied from fixed facilities. The surge voltage withstand level for the equipment with the rated
voltage of 300V or less is 2500V.
*4 This index indicates the degree to which conductive material is generated in terms of the environment in which the
equipment is used. Pollution degree 2 is when only non-conductive pollution occurs. A temporary conductivity caused by
condensing must be expected occasionally.
27
To use the high-speed counter module complying with the EMC Directive, refer to "EMC and Low Voltage Directives" in this
manual. ( Page 310, Appendix 5)
28
CHAPTER 3 SPECIFICATIONS
The following table shows the performance specifications of the high-speed counter module.
Item Specifications
Station type Remote device station
Availability of connecting extension module Connectable (Max. one module) 3
Differential input DC input
1 multiple 10kpps/100kpps/200kpps/500kpps/1Mpps/2Mpps 10kpps/100kpps/200kpps
Counting
speed switch 10kpps/100kpps/200kpps/500kpps/1Mpps/2Mpps/
2 multiples 10kpps/100kpps/200kpps
4Mpps
setting*1
10kpps/100kpps/200kpps/500kpps/1Mpps/2Mpps/
4 multiples 10kpps/100kpps/200kpps
4Mpps/8Mpps
Number of channels 2 channels
Differential input DC input
Phase 1-phase input (1 multiple/2 multiples), 2-phase input (1 multiple/2 multiples/4 multiples), CW/CCW
Count input EIA Standards RS-422-A
signal Differential line driver level (AM26LS31
Signal level (A, B) 5/24VDC, 4 to 8mA
[manufactured by Texas Instruments] or
equivalent)
Differential input DC input
0.5 s 5 s
(Minimum pulse width in 2 multiples of 1 phase: (Minimum pulse width in 2 multiples of 1 phase:
Counter 0.25s) 2.5s)
Minimum 0.5 s 20 s
count pulse
width (s)
(Duty ratio
50%)
0.125 s 5 s
(Minimum pulse width in 4 multiples of 2 phases: (Minimum pulse width in 4 multiples of 2 phases:
0.125s) 5s)
29
Item Specifications
Comparison range 32-bit signed binary
Setting value < Count value
Coincidence output Setting value = Count value
Setting value > Count value
Coincidence Comparison
Within-range
detection condition Setting value (lower limit value) Count value Setting value (upper limit value)
output
Out-of-range
Count value < Setting value (lower limit value), Setting value (upper limit value) < Count value
output
Interrupt None
Differential input DC input
EIA Standards RS-422-A
Phase Z Differential line driver level (AM26LS31
5/24VDC, 4 to 8mA: 2 points
External input [manufactured by Texas Instruments] or
equivalent): 2 points
Function 5/24VDC, 7 to 12mA: 2 points
Latch counter 5/24VDC, 7 to 12mA: 2 points
External Transistor (sink type) output: 4 points
Coincidence output
output 5 to 24VDC 0.1A/point, 0.4A/common
Measurement item Pulse width (ON width/OFF width)
Pulse
Measurement resolution 100ns
measurement
Measurement points 2 points/channel
Number of output points 16 points
Number of steps per output point Maximum 16 steps/point
Cam switch Control cycle 0.5ms
Difference between each output
Within the output response time of the extension output module
duration in a channel
Output frequency range DC and up to 200kHz
PWM output
Duty ratio Any ratio (Can be set by 0.1s)
0.088 to 0.3 (28 to 22 AWG) (A6CON1 and A6CON4)
Applicable For external device connection
0.088 to 0.24 (28 to 24 AWG) (A6CON2)
wire size
For power supply Core: 0.5 to 1.5 (20 to 16 AWG)
Applicable connector for external wiring A6CON1, A6CON2, A6CON4 (sold separately)
24VDC (20.4 to 26.4VDC)
External power supply
Current consumption: 220mA
30
CHAPTER 3 SPECIFICATIONS
*1 Counting speed setting can be done using the parameter setting. ( Page 84, Section 7.1)
*2 Note that the count may be done incorrectly by inputting pulses whose phase difference is small between the phase A
pulse and phase B pulse. To check the input waveform of the phase A pulse and phase B pulse, or to check phase
difference between the phase A pulse and phase B pulse, refer to the following:
Page 32, Section 3.2.1
*3 The counting speed is affected by the pulse rise/fall time. The applicable counting speed is listed below.
Note that the count may be done incorrectly by counting pulses with long rise/fall time.
8Mpps
Counting speed
4Mpps 1Mpps 500kpps 200kpps 100kpps 10kpps
3
switch setting
2Mpps
Rise/fall time Both 1- and 2-phase inputs *Counting speed = 1/T (pps)
t = 500s 500pps t t
31
3.2.1 The input waveform and the phase difference between phase
A pulse and phase B pulse
The count may be done incorrectly by inputting pulses whose phase difference is small between the phase A pulse
and phase B pulse in 2-phase input.
The following figures show the pulse waveform to be input and the phase difference between the phase A pulse and
phase B pulse. (Though the following are the cases for the differential input, they are also applied to the DC input.)
Though the following are the pulse waveform to be input and the phase difference measured at the maximum counting
speed of each pulse input condition, they are also applied to the case measured at under the maximum counting
speed.
t (= tH + tL) 0.5 s
tH, tL 0.25 s (= 0.5 t)
t
Differential
voltage
H level
0.1V -0.1V 0.1V
L level
tH tL
32
CHAPTER 3 SPECIFICATIONS
Differential
voltage
H level
3
A 0.1V -0.1V 0.1V
L level
t1 t2
Count
Differential
voltage
H level
B 0.1V -0.1V 0.1V
L level
Differential
voltage
H level
A -0.1V 0.1V -0.1V
L level
Subtraction t3 t4
count
Differential
voltage
H level
B 0.1V -0.1V 0.1V
33
3.3 Calculating Current Consumption
The total current consumption of the modules is calculated by summing the module power supply current in the main
module and extension module.
The power supply current in the extension module must be within 30mA.
For the value of the module power supply current, refer to the specifications of each module.
• Performance specifications of the high-speed counter module ( Page 29, Section 3.2)
• Performance specifications of extension I/O module ( CC-Link IE Field Network Remote I/O Module
User's Manual)
The value of the module power supply current in the extension module described in the specifications is the value of
the module power supply current supplied from the main module.
34
CHAPTER 3 SPECIFICATIONS
The following table lists the functions of the high-speed counter module.
Operation
Function name Description Reference
mode*1
This function counts pulses between -2147483648 and Page 107,
Linear counter function 2147483647, and detects an overflow/underflow when the Section 3
count value is outside the range. 8.4.1
Page 109,
This function repeatedly counts pulses between the upper
Ring counter function Section
limit value and lower limit value of the ring counter.
8.4.2
This function compares the count value with the preset
Page 114,
comparison condition, and outputs ON/OFF signals when
Section 8.5
they match.
This function compares the present count value with the
Page 116,
preset coincidence detection point or a detection area and
Section
Coincidence outputs ON/OFF signals from the coincidence output
8.5.2
output terminal when they match.
Comparison function Preset/replace This function replaces the count value with any preset Page 126,
output (at coincidence numerical value at the rising edge of Coincidence output 1 Section
function output) function and 2. 8.5.3
This function compares the count value with the preset
output status (ON/OFF address) of the coincidence output,
and outputs ON/OFF signals from the extension output Page 129,
Cam switch function module when they match. Section
The points for ON/OFF switch can be used up to 16 points. Normal mode 8.5.4
An extension output module is required for using this
35
Operation
Function name Description Reference
mode*1
This function executes the counter function selection using
both the program and CH Function input terminal Page 141,
(FUNC1, FUNC2) of the connector for external devices, or Section 8.8
using either of them.
Count disable This function stops counting pulses while CH Count Page 143,
function enable command (RY24, RY3C) is on. Section 8.9
Latch counter This function acquires the count value and stores it in the Page 145,
function remote register. Section 8.10
Sampling This function counts pulses that are input during the preset Page 148,
counter function sampling period. Section 8.11
This function stores the present value and difference value
Counter function selection Periodic pulse Page 151,
to the corresponding remote registers by the preset cycle
counter function Section 8.12
time.
According to the status change of CH Function input
Count terminal (FUNC1, FUNC2) of the connector for external Normal mode
Page 154,
disable/preset/r devices, this function executes the count disable function
Section 8.13
eplace function and preset/replace function without switching the
functions.
According to the status change of CH Function input
Latch terminal (FUNC1, FUNC2) of the connector for external
Page 156,
counter/preset/r devices, this function executes the latch counter function
Section 8.14
eplace function and preset/replace function without switching the
functions.
This function updates CH Present value (RWr10 to
RWr11, RWr28 to RWr29) in the synchronization cycle of a
CC-Link IE Field Network synchronous master station that supports the CC-Link IE Field Network Page 159,
communication function synchronous communication function. Section 8.15
This allows the operation timing to match with other slave
stations sharing the same network.
This function counts the pulses of the pulse input terminals Frequency
Page 162,
Frequency measurement function in phase A and B, and automatically calculates the measurement
Section 8.16
frequency. mode
Rotation
This function counts the pulses of the pulse input terminals
speed Page 166,
Rotation speed measurement function in phase A and B, and automatically calculates the rotation
measurement Section 8.17
speed.
mode
This function measures CH Function input terminal
Pulse
(FUNC1, FUNC2) or CH Latch counter input terminal Page 170,
Pulse measurement function measurement
(LATCH1, LATCH2) of the connector for external devices, Section 8.18
mode
and calculates the ON width.
This function outputs the specified PWM waveform from PWM output Page 174,
PWM output function
any coincidence output 1 to 4 terminals (EQU1 to EQU4). mode Section 8.19
36
CHAPTER 3 SPECIFICATIONS
Operation
Function name Description Reference
mode*1
This function sets the output status of the extension output
module (Y0 to YF) used as the output of Coincidence Page 181,
Output HOLD/CLEAR setting function
output (EQU1 to EQU4) and the cam switch function to Section 8.20
HOLD or CLEAR.
This function monitors the cyclic data update interval.
When the cyclic transmission remains to be stopped over Page 182,
Cyclic data update watch function
the set watch time, this function holds or clears the value Section 8.21 3
which is output just before.
When a moderate error or a major error occurs in the high-
speed counter module, this function notifies the master Page 183,
Error notification function
station of the error using the remote register and the Section 8.22
remote input signal.
One extension I/O module can be connected to one high-
speed counter module.
Page 186,
Function at the extension module installation The cam switch function can be used by connecting the Common to
Section 8.23
extension I/O module. In addition, functions unique to the all modes
extension I/O module can be used.
Whether an error is present in the network can be checked
Page 189,
CC-Link IE Field Network diagnostic function using this function through the engineering tool connected
Section 8.24
to the CPU module.
Using an engineering tool, this function automatically
displays "List of devices" and "Device map area" of
Automatic detection of connected device
devices supporting iQSS connected to a CPU module
(built-in Ethernet port part). iQ
Sensor
This function reads or writes parameters of devices
Sensor parameter read/write Solution
supporting iQSS.
Reference
This function backs up data of slave modules to an SD Manual
37
3.5 List of Remote I/O Signals
38
CHAPTER 3 SPECIFICATIONS
39
Remote input Remote output
Signal direction: High-speed counter module Signal direction: Master/local module High-
Module
Master/local module speed counter module
type
Device Device
Description Description
number number
CH1 Measured pulse value update flag reset CH1 Measured pulse value update flag reset
RX31 RY31
completed (Function input terminal) command (Function input terminal)
CH1 Measured pulse value update flag CH1 Pulse measurement start command (Latch
RX32 RY32
(Function input terminal) counter input terminal)
CH1 Measured pulse value update flag reset CH1 Measured pulse value update flag reset
RX33 RY33
completed (Latch counter input terminal) command (Latch counter input terminal)
CH1 Measured pulse value update flag (Latch
RX34 RY34 Use prohibited
counter input terminal)
CH1 ON width setting change completed (PWM CH1 ON width setting change request (PWM
RX35 RY35
output) output)
RX36 CH1 Error status RY36 CH1 Error reset command
RX37 CH1 Warning status RY37 Use prohibited
RX38 Use prohibited RY38 CH2 Coincidence output enable command
RX39 CH2 Preset/replace completion RY39 CH2 Preset/replace command
RX3A Use prohibited RY3A CH2 Count down command
CH2 External preset/replace (Z Phase) request CH2 External preset/replace (Z Phase) request
RX3B RY3B
detection detection reset command
RX3C Use prohibited RY3C CH2 Count enable command
RX3D CH2 Counter function detection RY3D CH2 Selected counter function start command
CH2 Cam switch execute command/PWM
RX3E CH2 Cam switch execute/PWM output RY3E
output start command
CH2 Setting change completed (Sampling CH2 Setting change request (Sampling
Main RX3F RY3F
counter/Periodic pulse counter) counter/Periodic pulse counter)
module
CH2 Update flag reset completed (Latch count CH2 Update flag reset command (Latch count
RX40 value/Sampling count value/Periodic pulse RY40 value/Sampling count value/Periodic pulse
count value) count value)
CH2 Update flag (Latch count value/Sampling
RX41 RY41 Use prohibited
count value/Periodic pulse count value)
CH2 Latch count value update flag reset CH2 Latch count value update flag reset
RX42 RY42
completed (Latch counter input terminal) command (Latch counter input terminal)
CH2 Latch count value update flag (Latch
RX43 RY43 Use prohibited
counter input terminal)
CH2 Update flag reset completed (Measured CH2 Update flag reset command (Measured
RX44 RY44
frequency value/Measured rotation speed value) frequency value/Measured rotation speed value)
CH2 Update flag (Measured frequency
RX45 RY45 Use prohibited
value/Measured rotation speed value)
RX46 Use prohibited RY46 Use prohibited
RX47 Use prohibited RY47 Use prohibited
CH2 Pulse measurement start command
RX48 Use prohibited RY48
(Function input terminal)
CH2 Measured pulse value update flag reset CH2 Measured pulse value update flag reset
RX49 RY49
completed (Function input terminal) command (Function input terminal)
CH2 Measured pulse value update flag CH2 Pulse measurement start command (Latch
RX4A RY4A
(Function input terminal) counter input terminal)
CH2 Measured pulse value update flag reset CH2 Measured pulse value update flag reset
RX4B RY4B
completed (Latch counter input terminal) command (Latch counter input terminal)
40
CHAPTER 3 SPECIFICATIONS
Main
RX4D
CH2 ON width setting change completed (PWM
output)
RY4D
CH2 ON width setting change request (PWM
output)
3
module
RX4E CH2 Error status RY4E CH2 Error reset command
RX4F CH2 Warning status RY4F Use prohibited
Extension RX50 to Remote input (RX) of the connected extension RY50 to Remote output (RY) of the connected extension
module 1 RX5F module is assigned. RY5F module is assigned.
Do not use any "Use prohibited" remote I/O signals. If any of the signals are used, correct operation of the module cannot be
guaranteed.
41
3.6 List of Remote Register
42
CHAPTER 3 SPECIFICATIONS
Remote register (RWr) signal direction: High-speed Remote register (RWw) signal direction: Master/local
counter module Master/local module module High-speed counter module
Device Device
Description Description
number number
RWr1E CH1 Measured pulse value (Latch counter input RWw1E
CH1 ON width setting (PWM output)
RWr1F terminal) RWw1F
RWr20 CH1 Status RWw20
CH1 Cycle setting (PWM output)
RWr21 CH1 External input status RWw21 3
RWr22 CH1 Latest error code RWw22 Use prohibited
RWr23 CH1 Latest warning code RWw23 Use prohibited
RWr24 Use prohibited RWw24 Use prohibited
RWr25 Use prohibited RWw25 Use prohibited
RWr26 Use prohibited RWw26 Use prohibited
RWr27 Use prohibited RWw27 Use prohibited
RWr28 RWw28
CH2 Present value CH2 Ring counter lower limit value
RWr29 RWw29
RWr2A CH2 Latch count value/Sampling count RWw2A
CH2 Ring counter upper limit value
RWr2B value/Periodic pulse count, difference value RWw2B
RWr2C RWw2C
CH2 Periodic pulse count, present value CH2 Preset value setting
RWr2D RWw2D
CH2 Time unit setting (Sampling counter/Periodic
RWr2E RWw2E
pulse counter)
CH2 Periodic pulse count value update check
CH2 Cycle setting (Sampling counter/Periodic pulse
RWr2F RWw2F
counter)
CH2 Time unit setting (Frequency
RWr30 RWw30
measurement/Rotation speed measurement)
CH2 Latch count value (Latch counter input terminal)
Do not read or write the data to/from any "Use prohibited" remote registers. If the data is read or written from/to any of the
registers, correct operation of the module cannot be guaranteed.
The remote register information is not stored in the nonvolatile memory of the high-speed counter module. Thus, the remote
register information is initialized by turning off then on the power supply of the high-speed counter module.
43
3.7 List of Remote Buffer Memory
This section lists remote buffer memory areas of the high-speed counter module.
The remote buffer memory areas of the main module and extension module are assigned as shown below.
2560 to 4095 0A00H to 0FFFH Error history area Station-based error history data *2
44
CHAPTER 3 SPECIFICATIONS
Do not access the system area using the REMFR or REMTO instruction. Doing so may cause the module to malfunction.
3
(1) Parameter area (address: 0000H to 04FFH)
For the parameter area, parameters can be set using the CC IE Field configuration of the engineering tool or
using the REMTO instruction.
The parameter in the parameter area is backed up to the nonvolatile memory.
The parameter backed up to the nonvolatile memory is read to the parameter area when the module power
supply is turned off then on or the module returns from remote reset.
If the parameter is written from the parameter setting of the CC IE Field configuration of the engineering tool, it is
also written to the nonvolatile memory at that time. When the parameter is written using the REMTO instruction, it
is written to the nonvolatile memory when Initial data setting request flag (RY9) is turned off then on. At this time,
the parameter is written to the nonvolatile memory even though it is incorrect. When the power supply is turned
off then on with an incorrect parameter written, the incorrect parameter is read from the nonvolatile memory and
an error code is stored to CH Latest error code (RWr22, RWr3A). Take corrective action according to the error
code list. (Page 225, Section 11.2)
Address
Type Description Default*1 Read/Write*2
Decimal Hexadecimal
0 0000H Mode switch setting 9 R/W
45
Address
Type Description Default*1 Read/Write*2
Decimal Hexadecimal
256 0100H Comparison output setting 0 R/W
261 0105H Cam switch output channel assignment setting 0000H R/W
297 0129H CH1 External control input response time setting 002AH R/W
CH1 Pulse measurement setting (Function input
298 012AH 0 R/W
terminal)
CH1 Pulse measurement setting (Latch counter
299 012BH 0 R/W
input terminal)
300 to 319 012CH to 013FH System area
329 0149H CH2 External control input response time setting 002AH R/W
CH2 Pulse measurement setting (Function input
330 014AH 0 R/W
terminal)
CH2 Pulse measurement setting (Latch counter
331 014BH 0 R/W
input terminal)
332 to 511 014CH to 01FFH System area
Module-based
parameter data The remote buffer memory of the connected
512 to 767 0200H to 02FFH
(extension extension module is assigned.
module 1)
768 to 1279 0300H to 04FFH System area
46
CHAPTER 3 SPECIFICATIONS
*1 This is the value at default or initialization by Parameter area initialization command (address: 1002H).
*2 This shows whether read or write from programs is possible.
R: Readable
W: Writable
To activate the parameter data, turn off then on Initial data setting request flag (RY9). Writing the parameter data to the
parameter area does not activate the parameter data.
3
(a) Parameter area of the extension module
The remote buffer memory differs depending on the model of the extension module.
• For the extension I/O module, refer to the CC-Link IE Field Network Remote I/O Module User's Manual.
*1 This is the value for when the module power supply is turned off then on or at the remote reset.
*2 This shows whether read or write from programs is possible.
R: Readable
W: Writable
47
(3) Error history area (address: 0A00H to 0FFFH)
Address
Type Description Default*1 Read/Write*2
Decimal Hexadecimal
2560 0A00H Error code 0000H R
*1 This is the value at default or initialization by Error history clear command (address: 1000H).
*2 This shows whether read or write from programs is possible.
R: Readable
W: Writable
The error history area is written to a nonvolatile memory when an error occurs.
48
CHAPTER 3 SPECIFICATIONS
*1 This is the value for when the module power supply is turned off then on or at the remote reset.
*2 This shows whether read or write from programs is possible.
R: Readable
W: Writable
49
Address
Type Description Default*1 Read/Write*2
Decimal Hexadecimal
Cam switch function, step No.8 setting
5392 to 5393 1510H to 1511H 0 R/W
(Output 1)
Cam switch function, step No.9 setting
5394 to 5395 1512H to 1513H 0 R/W
(Output 1)
Cam switch function, step No.10 setting
5396 to 5397 1514H to 1515H 0 R/W
(Output 1)
Cam switch function, step No.11 setting
5398 to 5399 1516H to 1517H 0 R/W
(Output 1)
Cam switch function, step No.12 setting
5400 to 5401 1518H to 1519H 0 R/W
(Output 1)
Cam switch function, step No.13 setting
5402 to 5403 151AH to 151BH 0 R/W
(Output 1)
Cam switch function, step No.14 setting
5404 to 5405 151CH to 151DH 0 R/W
(Output 1)
Cam switch function, step No.15 setting
5406 to 5407 151EH to 151FH 0 R/W
(Output 1)
Cam switch function, step No.16 setting
5408 to 5409 1520H to 1521H 0 R/W
(Output 1)
5410 to 5503 1522H to 157FH System area
5504 to 5537 1580H to 15A1H Cam switch output 2 Same as Cam switch output 1.
5632 to 5665 1600H to 1621H Cam switch output 3 Same as Cam switch output 1.
Cam switch function 5760 to 5793 1680H to 16A1H Cam switch output 4 Same as Cam switch output 1.
parameter data 5794 to 5887 16A2H to 16FFH System area
5888 to 5921 1700H to 1721H Cam switch output 5 Same as Cam switch output 1.
6016 to 6049 1780H to 17A1H Cam switch output 6 Same as Cam switch output 1.
6144 to 6177 1800H to 1821H Cam switch output 7 Same as Cam switch output 1.
6272 to 6305 1880H to 18A1H Cam switch output 8 Same as Cam switch output 1.
6400 to 6433 1900H to 1921H Cam switch output 9 Same as Cam switch output 1.
6528 to 6561 1980H to 19A1H Cam switch output 10 Same as Cam switch output 1.
6656 to 6689 1A00H to 1A21H Cam switch output 11 Same as Cam switch output 1.
6784 to 6817 1A80H to 1AA1H Cam switch output 12 Same as Cam switch output 1.
6912 to 6945 1B00H to 1B21H Cam switch output 13 Same as Cam switch output 1.
7040 to 7073 1B80H to 1BA1H Cam switch output 14 Same as Cam switch output 1.
50
CHAPTER 3 SPECIFICATIONS
Address
Type Description Default*1 Read/Write*2
Decimal Hexadecimal
7168 to 7201 1C00H to 1C21H Cam switch output 15 Same as Cam switch output 1.
The extended parameter data is written to a nonvolatile memory at the rising edge (off to on) of Initial data setting request
flag (RY9) or when the parameters are set on the parameter setting window. However, the extended parameters cannot be
set on the parameter setting window. Set the extended parameters from the program before setting parameters on the
parameter setting window.
The activation timing of the extended parameter data differs depending on the data type. Refer to the pages where details of
each data are described.
51
CHAPTER 4 THE PROCEDURE BEFORE
OPERATION
Check box
Setting a station number For setting the station number, refer to the
following.
Set the station number for an A/D converter module. • Page 57, Section 6.1
52
CHAPTER 4 THE PROCEDURE BEFORE OPERATION
Memo
53
CHAPTER 5 SYSTEM CONFIGURATION
54
CHAPTER 5 SYSTEM CONFIGURATION
When a master station other than the above is used, the high-speed counter module cannot be used.
5
(2) Connectable modules
One extension module can be connected to one high-speed counter module.
Module Model
NZ2EX2B1-16D
Extension I/O module NZ2EX2B1-16T
NZ2EX2B1-16TE
(5) Profile
The parameter settings of the high-speed counter module require a profile.
A profile is a setting file containing necessary information for the start-up, operations, and maintenance of CC-Link
compatible products. Registering the profile to GX Works3 and GX Works2 adds the module in "Module List" on the "CC IE
Field Configuration" window. For details on the profile registration, refer to the following.
GX Works3 Operating Manual
GX Works2 Version1 Operating Manual (Common)
55
(a) Checking the profile version
1. Display the "CC IE Field Configuration" window.
• When the master/local module is the QJ71GF11-T2
List of stations
Right-click [Properties]
56
CHAPTER 6 INSTALLATION AND WIRING
This chapter describes the installation and wiring of the high-speed counter module.
Ex. To set the station number to 115, set the switch as shown below.
57
6.2 Installation Environment and Installation Position
When installing the high-speed counter module in a control panel, provide clearance of 60mm or longer between the
module and the sides of the control panel or neighboring modules to ensure good ventilation and an easy module
change.
60mm 60mm
or longer or longer
60mm 60mm 60mm
or longer or longer or longer
60mm 60mm
or longer or longer
58
CHAPTER 6 INSTALLATION AND WIRING
The high-speed counter module can be installed in six directions. Use the DIN rail to install the module.
Downward installation
DIN rail
59
6.3 Installation
Release
Lock
4. Lock the module joint levers (two points) on the
side of the extension module. Slide the levers
toward the module. Check that the modules are
securely connected.
Lock
60
CHAPTER 6 INSTALLATION AND WIRING
● Shut off the external power supply for the system in all phases before connecting or disconnecting extension modules.
● Lock the module joint levers securely. Failure to do so may cause malfunction, failure, or drop of the module.
6.3 Installation
61
6.3.2 Mounting the modules on a DIN rail
An example of the use of the DIN rail stopper is described in the following procedure. Fix the module according to the
manual of the DIN rail stopper used.
3. Lock the DIN rail hooks to the DIN rail to secure the
modules in position.
Push each hook up until it clicks. If the hooks are
beyond the reach, use a tool such as a screwdriver.
Hook
62
CHAPTER 6 INSTALLATION AND WIRING
6.3 Installation
● Do not slide modules from the edge of the DIN rail when mounting them. Doing so may damage the metal part located on
the back of the module.
63
(2) Removal procedure
Remove the modules from the DIN rail by reversing the procedure above.
64
CHAPTER 6 INSTALLATION AND WIRING
6.4 Wiring with Terminal Block for Module Power Supply and FG
65
(4) Connecting and disconnecting the cable
To connect the cable, insert the wire with the terminal screw loosened and tighten the screw. To disconnect the
cable, pull out the wire with the terminal screw loosened with a slotted screwdriver.
ble
Ca
m
m
10
d
o un
Ar
66
CHAPTER 6 INSTALLATION AND WIRING
(a) Connecting
67
● PORT1 and PORT2 need not to be distinguished. When only one connector is used in star topology, either PORT1 or
PORT2 can be connected.
● When two connectors are used in line topology or ring topology, an Ethernet cable can be connected to the connectors in
any combination. For example, the cable can be connected between PORT1s and between PORT1 and PORT2.
(b) Disconnecting
1. Power off the high-speed counter module.
2. Press the latch down and unplug the Ethernet cable.
68
CHAPTER 6 INSTALLATION AND WIRING
(2) Precautions
69
6.6 Wiring of Connectors for External Devices
This section describes how to wire the high-speed counter module with an encoder or a controller.
To obtain the maximum performance from the functions of the high-speed counter module and improve the system
reliability, an external wiring with high durability against noise is required.
Precautions for the external wiring are as follows.
(1) Wiring
• Terminals are prepared depending on the voltage of the signal to be input. Connecting to a terminal with a
different voltage may cause malfunction of the module and failure of the connected devices.
• In 1-phase input, always connect a pulse input cable to the A-phase side.
70
CHAPTER 6 INSTALLATION AND WIRING
Measure 1
Use shielded twisted pair cables, and ground them on the encoder side with a ground
resistance of 100 or less.
Measure 2
Use the shortest possible shielded twisted pair cables, placing them not parallel with
noise-generating power cables or I/O cables and at a distance of 150mm or more.
High-speed
counter module High-speed counter module
• Ground the shielded twisted pair cable on the encoder side (relay box). (Wiring example: with a sink type
encoder (24V))
+24V
Current for encoder 0V To the encoder
To A A
B
To B 24V
Connect the shielded cable of the encoder to the shielded cable
To the high-speed E of the shielded twisted pair cable in the relay box. If the shielded
counter module cable of the encoder is not grounded in the encoder, ground it to
E the relay box as shown by the dotted lines.
71
6.6.2 Connectors for external devices
The connectors and crimp tools for use with the high-speed counter module must be purchased separately by the user.
The following tables list the connector types and the crimp tool.
(1) Precautions
• Tighten the connector screws within the following specified torque range.
Screw type Tightening torque range
Connector screw (M2.6 screw) 0.20 to 0.29Nm
• Use copper wires having temperature rating of 75 or more for the connectors.
• When required, use UL-approved connectors.
*1 The A6CON3 (pressure-displacement type, straight out) connector cannot be used for the high-speed counter module.
72
CHAPTER 6 INSTALLATION AND WIRING
This section describes the high-speed counter module interfaces to connect with external devices.
(1) Terminal layouts and pin numbers of connectors for external devices
The following figure and table show the terminal layouts and the pin numbers of the high-speed counter module
connector for external devices.
B20 A20
B19 A19
B18 A18
B17 A17
B16 A16
B15 A15
B14 A14
B13 A13
B12 A12
B11 A11
B10 A10
B09 A09
B08 A08
B07
B06
A07
A06
6
B05 A05
B04 A04
B03 A03
B02 A02
B01 A01
73
(2) List of I/O signal details
The following table lists the signals for the high-speed counter module connectors for external devices.
I/O Pin
Symbol Signal name Description
classification number
A1-24V B20 CH1 Phase A pulse input 24V (+)
A1-5V A20 CH1 Phase A pulse input 5V (+)
• This signal inputs + (plus) side of phase A pulse.
CH1 Phase A pulse differential
A1-DIF B19
input (+)
CH1 Phase A pulse input common
A1-COM A19 • This signal inputs - (minus) side of phase A pulse.
(-)
B1-24V B18 CH1 Phase B pulse input 24V (+)
B1-5V A18 CH1 Phase B pulse input 5V (+)
• This signal inputs + (plus) side of phase B pulse.
CH1 Phase B pulse differential
B1-DIF B17
input (+)
CH1 Phase B pulse input common
B1-COM A17 • This signal inputs - (minus) side of phase B pulse.
(-)
Z1-24V B16 CH1 Phase Z input 24V (+) • This signal inputs + (plus) side of phase Z.
• Turn on this signal to replace a count value by the external signal.
Z1-5V A16 CH1 Phase Z input 5V (+)
• The count value is replaced with the preset value when this signal
becomes on (when "CH1 Z phase (Preset) trigger setting" is set to
Z1-DIF B15 CH1 Phase Z differential input (+)
"0: Rising").
Z1-COM A15 CH1 Phase Z input common (-) • This signal inputs - (minus) side of phase Z.
A2-24V B14 CH2 Phase A pulse input 24V (+)
A2-5V A14 CH2 Phase A pulse input 5V (+)
• This signal inputs + (plus) side of phase A pulse.
CH2 Phase A pulse differential
A2-DIF B13
input (+)
CH2 Phase A pulse input common
A2-COM A13 • This signal inputs - (minus) side of phase A pulse.
(-)
Input
B2-24V B12 CH2 Phase B pulse input 24V (+)
B2-5V A12 CH2 Phase B pulse input 5V (+)
• This signal inputs + (plus) side of phase B pulse.
CH2 Phase B pulse differential
B2-DIF B11
input (+)
CH2 Phase B pulse input common
B2-COM A11 • This signal inputs - (minus) side of phase B pulse.
(-)
Z2-24V B10 CH2 Phase Z input 24V (+) • This signal inputs + (plus) side of phase Z.
• Turn on this signal to replace a count value by the external signal.
Z2-5V A10 CH2 Phase Z input 5V (+)
• The count value is replaced with the preset value when this signal
becomes on (when "CH2 Z phase (Preset) trigger setting" is set to
Z2-DIF B09 CH2 Phase Z differential input (+)
"0: Rising").
Z2-COM A09 CH2 Phase Z input common (-) • This signal inputs - (minus) side of phase Z.
FUNC1-24V B08 CH1 Function input 24V
FUNC1-5V B07 CH1 Function input 5V • Turn on this signal to execute the selected counter function start
FUNC2-24V B05 CH2 Function input 24V command by the external signal.
74
CHAPTER 6 INSTALLATION AND WIRING
I/O Pin
Symbol Signal name Description
classification number
EQU1 B03 Coincidence output 1 (+) • With the coincidence output function activated, the high-speed
EQU2 A03 Coincidence output 2 (+) counter module outputs a signal when the count value is matched
with the preset comparison condition.
EQU3 B01 Coincidence output 3 (+) • When the PWM output function is used, the high-speed counter
Output module outputs the PWM waveform.
EQU4 A01 Coincidence output 4 (+)
• It inputs 0V when Coincidence output 1 to 4 are used.
EQUCOM A02, B02 Coincidence output common (-) • Common for coincidence outputs
• It is common between channels.
75
(3) Interface with external devices
The following table lists the high-speed counter module interfaces to connect with external devices.
76
CHAPTER 6 INSTALLATION AND WIRING
IO 5V EQU1
Coincidence output
B03 –
1 (+)
680
4.7k EQU2
Coincidence output
A03 –
2 (+)
• Operating load voltage: 4.75 to 30VDC
680
• Maximum load current: 0.1A/point
• Maximum voltage drop at ON: 0.5V
4.7k
EQU3 Coincidence output • Response time
Output B01 – –
3 (+) OFF → ON: 1μs or less
(rated load, resistive load)
680 ON → OFF: 1μs or less
(rated load, resistive load)
4.7k Coincidence output
EQU4 A01 –
4 (+) 6
680
EQUCOM
B02, B02, Coincidence output
4.7k
A02 A02 common (-)
*1 Configure the logic setting by CH Function input logic setting (address: 0127H, 0147H). For details on the setting, refer
to the following.
Page 287, Appendix 3
77
6.6.4 Encoders that can be connected
This section lists the encoders that can be connected to the high-speed counter module.
• Open collector output type encoders
• CMOS level voltage output type encoders
• Line driver output type encoders (AM26LS31 or equivalent)
● Verify that the encoder output voltage meets the specifications of the high-speed counter module.
● TTL level voltage output type encoders cannot be used with the high-speed counter module.
78
CHAPTER 6 INSTALLATION AND WIRING
(1) Example of wiring with an open collector output type encoder (24VDC)
High-speed counter module
DIF
B19(B13)
Phase A
5V
A20(A14)
24V
B20(B14)
240 270 4.1k
820
COM
A19(A13)
Shielded twisted pair cable Encoder
DIF
B17(B11)
Phase B 24V
5V OUT
24V
A18(A12)
6
B18(B12)
240 270 4.1k 24V
820 OUT
COM
24V
A17(A11)
OUT
DIF
B15(B09) E
Phase Z
5V
A16(A10)
24V
B16(B10)
240 270 4.1k External 24VDC
820 power
COM supply 0V
A15(A09)
79
When wiring the high-speed counter module and an encoder, separate power cables and signal cables. The following figure
shows examples.
● Example of correct wiring
High-speed COM
counter module OUT
E
External 24VDC
power
supply 0V
80
CHAPTER 6 INSTALLATION AND WIRING
DIF
B19(B13)
Phase A
5V
A20(A14)
24V
B20(B14)
240 270 4.1k
820
COM
A19(A13)
Shielded twisted pair cable Encoder
DIF
B17(B11)
Phase B OUT
5V GND
A18(A12)
24V
B18(B12)
240 270 4.1k OUT
820 GND
COM
A17(A11)
OUT
GND 6
DIF
B15(B09)
Phase Z
5V
A16(A10) E
24V
B16(B10)
240 270 4.1k External 5VDC
820 power
COM supply 0V
A15(A09)
DIF
B19(B13)
Phase A
5V
A20(A14)
24V
B20(B14)
240 270 4.1k
820 Encoder
COM
A19(A13)
Shielded twisted pair cable
DIF
B17(B11)
Phase B A
5V A
A18(A12)
24V
B18(B12)
240 270 4.1k B
820 B
COM
Z
A17(A11)
Z
DIF
B15(B09) E
Phase Z
5V
A16(A10)
24V
B16(B10)
240 270 4.1k
820
COM
A15(A09)
81
6.8 Wiring Example (Between a Controller and External
Input Terminals)
5V
A07(A04)
Shielded twisted pair cable 24V
24V
A08(A05)
390 2.32k
Latch counter 470 OUT
Shield
E
External 24VDC
power
supply 0V
Controller
High-speed counter module
5V
B07(B04)
24V Shielded twisted pair cable OUT
B08(B05)
390 2.32k
Function 470 GND
CTRLCOM
B06(A06)
E
5V
A07(A04)
24V Shielded twisted pair cable OUT
A08(A05)
390 2.32k
Latch counter 470 GND
External 24VDC
power
supply 0V
82
CHAPTER 6 INSTALLATION AND WIRING
(1) Example of wiring with coincidence output terminals (sink output type)
EQU1
B3
Load
Coincidence
output 1 680
Coincidence
output 2 680
Coincidence
output 3 680 6
4.7k EQU4 Load
A1
Coincidence
output 4 680
4.7k
EQUCOM
A02(B02)
83
CHAPTER 7 VARIOUS SETTINGS
This chapter describes the setting procedures of the high-speed counter module.
Set the parameter of this module with the network parameter written to the CPU module of the master station. For the
setting procedure of the master station, refer to the following.
User's manual for the master/local module used
Remark
● Check "Set the network configuration settings in CC IE Field configuration window" on the "MELSECNET/CC IE/Ethernet
Module Configuration" window in advance.
● To select an extension module in the "CC IE Field Configuration" window, select the following models from the "Module
List" window.
● When points less than the ones of the high-speed counter module and extension module are set for the remote I/O signal
and remote register, no error occurs. The cyclic transmission is performed for the data of the points set from the start.
84
CHAPTER 7 VARIOUS SETTINGS
(1) Precautions
For the block data assurance per station, refer to the following.
User's manual for the master/local module used
• Do not set the parameter using the CCPASET instruction in the master station. Correct operation of the high-
85
(2) Setting procedure
1. Display the "CC IE Field Configuration" window.
• When the master/local module is the QJ71GF11-T2
List of stations
86
CHAPTER 7 VARIOUS SETTINGS
5. Double-click the item to change the setting, and input the setting value.
• Items to input from the pull-down list
Double-click the item to set to display the pull-down list. Select the item.
• Items to input from the text box
Double-click the item to set, and input the setting value.
87
Setting item Setting details Reference
0: Coincidence Output
Coincidence output 1 comparison
1: Within-range Output
condition setting
2: Out-of-range Output
0: Coincidence Output
Coincidence output 2 comparison
1: Within-range Output
condition setting
2: Out-of-range Output
Page 114, Section 8.5
0: Coincidence Output
Coincidence output 3 comparison
1: Within-range Output
condition setting
2: Out-of-range Output
0: Coincidence Output
Coincidence output 4 comparison
1: Within-range Output
condition setting
2: Out-of-range Output
Preset/replace setting at coincidence 0: Present value not replaced
output (Coincidence output 1) 1: Present value replaced
Page 126, Section 8.5.3
Preset/replace setting at coincidence 0: Present value not replaced
output (Coincidence output 2) 1: Present value replaced
88
CHAPTER 7 VARIOUS SETTINGS
89
Setting item Setting details Reference
Setting OFF ON Response time ON OFF Response time
0 0.25s 2.5s Page 295, Appendix 3
Z phase input response time setting
1 0.1ms 0.1ms (11)
2 1.0ms 1.0ms
Setting OFF ON Response time ON OFF Response time
0 0.02ms 0.1ms Page 295, Appendix 3
Function input response time setting
1 0.1ms 0.1ms (11)
2 1.0ms 1.0ms
Setting OFF ON Response time ON OFF Response time
Latch counter input response time 0 0.02ms 0.1ms Page 295, Appendix 3
setting 1 0.1ms 0.1ms (11)
2 1.0ms 1.0ms
Pulse measurement setting 0: Pulse ON Width
Page 170, Section 8.18
(Function input terminal) 1: Pulse OFF Width
Pulse measurement setting (Latch 0: Pulse ON Width
Page 170, Section 8.18
counter input terminal) 1: Pulse OFF Width
90
CHAPTER 7 VARIOUS SETTINGS
● When using the extension module, also set the parameter of the extension module.
For the parameter of the extension module, refer to the following.
Manual for the extension module used
● Set all the items for the parameter. If any blank exists, the parameter cannot be written to the high-speed counter module.
● To read the parameter from the high-speed counter module, set "Parameter read" for "Method selection" and click the
[Execute] button.
● If the following message is displayed, take corrective action for the error code in <>. For details on the error codes, refer
to the list of error codes ( Page 225, Section 11.2) and the user's manual for the master/local module used.
● When the parameters are written, the contents in the extended parameter area are stored in the nonvolatile memory.
● When writing the parameters while Initial data processing request flag (RX8) is off, set values in the remote registers
(RWw) beforehand. The values in the remote registers (RWw) related to the setting values of the parameters are
checked at the writing. If the setting is incorrect, an error occurs.
91
7.2 Changing the Parameter
When changing the network configuration diverting the created project, set the parameter in the following procedure.
1. Power off the module.
2. Connect the modules again according to the desired network configuration.
3. Power on the module.
4. Display the "CC IE Field Configuration" window.
• When the master/local module is the QJ71GF11-T2
92
CHAPTER 7 VARIOUS SETTINGS
6. Select the high-speed counter module in "List of stations" on the "CC IE Field Configuration"
window.
List of stations
93
12. Set "Parameter write" for "Method selection".
14. Click the [Execute] button and the following window is displayed.
94
CHAPTER 7 VARIOUS SETTINGS
20. Write the set parameter to the CPU module of the master station and reset the CPU module.
RESET
RUN
95
7.2.2 Changing the parameter without changing the network
configuration
To change only the created module parameter of the slave station without changing the network configuration, set the
parameter in the following procedure.
1. Display the "CC IE Field Configuration" window.
• When the master/local module is the QJ71GF11-T2
List of stations
96
CHAPTER 7 VARIOUS SETTINGS
97
9. Set "Write Value". The following are the procedure.
• Click the title cell of "Read Value" to select all the items and copy them.
• Click the title cell of "Write Value" to select all the items and paste the copy.
• Select the items to be changed, and set new values.
10. Click the [Execute] button and the following window is displayed.
98
CHAPTER 7 VARIOUS SETTINGS
This section lists the comparison output setting and counter function selection that can be combined with each
operation mode.
: Can be set/: Cannot be set/: Same as normal mode (asynchronous communication mode)
Drive mode
Normal mode
(asynchronous
communication mode)
Operation mode Setting Synchronous
Function name Comparison Reference
setting value*1 Counter communication
output
function mode
setting*2
selection
Coinci- *3
Cam
dence
Page 107,
Linear counter function Section
8.4.1
Page 109,
Ring counter function Section
8.4.2
Page 114, 7
Section 8.5
Page 116,
Coinci- Section
Compari- dence 8.5.2
son output output Preset/replace Page 126,
function function (at coincidence Section
output) function 8.5.3
99
Drive mode
Normal mode
(asynchronous
communication mode)
Operation mode Setting Synchronous
Function name Comparison Reference
setting value*1 Counter communication
output
function mode
setting*2
selection
Coinci- *3
Cam
dence
Frequency
*5
Page 162,
measurement 1 Frequency measurement function
Section 8.16
mode
Rotation
speed *6
Page 166,
2 Rotation speed measurement function
Dedicated measurement Section 8.17
mode mode
Pulse
*7
Page 170,
measurement 3 Pulse measurement function
Section 8.18
mode
PWM output *8
Page 174,
4 PWM output function
mode Section 8.19
Page 183,
Error notification function
Section 8.22
Page 181,
Output HOLD/CLEAR setting function
Section 8.20
Page 182,
Cyclic data update watch function
Section 8.21
Input function (extension input module)
Common Output function (extension output
module)
Input response time setting function
*9
Page 186,
(extension input module)
Section 8.23
External power supply monitoring
function (extension output module)
Number of ON times integration function
(extension output module)
*1 The value set in CH Operation mode setting (address: 0120H, 0140H)
*2 The value set in Comparison output setting (address: 0100H)
*3 The value set in CH Counter function selection (address: 0126H, 0146H)
*4 This mode operates according to the combination of each function and setting.
*5 In this mode, the pulses of the pulse input terminals in phase A and B are counted and the frequency is automatically
calculated.
*6 In this mode, the pulses of the pulse input terminals in phase A and B are counted and the rotation speed is
automatically calculated.
*7 In this mode, the ON width or OFF width of pulses input to the function input terminal or latch counter input terminal is
measured.
*8 In this mode, the PWM waveform of 200kHz at a maximum is output from any coincidence output 1 to 4 terminals (EQU1
to EQU4).
*9 Function at the extension I/O module installation
100
CHAPTER 8 FUNCTIONS
CHAPTER 8 FUNCTIONS
At power-on, the mode of the high-speed counter module shifts to any of the following.
• Unit test mode
• Normal mode (asynchronous communication mode)
• Synchronous communication mode
The following table lists conditions where the mode shifts.
a) Power-on b)
Normal mode
Synchronous
(asynchronous
communication mode
communication mode) 8
Sym
Mode Condition
bol
101
8.2 Drive Mode Switch
The drive modes of the high-speed counter module are the normal mode (asynchronous communication mode) and
synchronous communication mode.
The following table lists the type and the operation of the mode.
Type Operation
Normal mode (asynchronous The present value is updated with reference to the internal control cycle of the high-speed counter
communication mode) module.
The present value is updated in the synchronization cycle of a master station that supports the CC-
Synchronous communication mode
Link IE Field Network synchronous communication function.
The drive mode can be selected by setting Mode switch setting (address: 0000H).
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "Mode switch setting" to "0: Normal mode (Asynchronous communication mode)", or "9:
Automatical judgment mode".
The following table lists the setting value of "Mode switch setting" and the drive mode.
Setting value of "Mode switch
Operation
setting"
0: Normal mode (Asynchronous The high-speed counter module operates in the normal mode (asynchronous communication
communication mode) mode).
The drive mode is automatically set according to the type of the module that operates as the
"9: Automatical judgment mode"
master station of the high-speed counter module.*1
*1 The drive mode varies depending on the module of the master station as shown below.
*2 For the settings of the master station, refer to the MELSEC iQ-R Inter-Module Synchronization Function Reference
Manual.
102
CHAPTER 8 FUNCTIONS
3. Click the [Execute] button to write the parameter to the high-speed counter module.
4. Check that "0190H" is stored in CH1 Latest warning code (RWr23).
5. The high-speed counter module starts operating in the set drive mode by turning off and on the
power or performing the remote reset.
• For the normal mode (asynchronous communication mode) operation of the high-speed counter module
connected to a master station that supports the CC-Link IE Field Network synchronous communication function,
set to "0: Normal mode (Asynchronous communication mode)".
• In the MELSEC iQ-R series master station, setting each slave station to Synchronous or Asynchronous allows
their operation (synchronous communication mode/normal mode (asynchronous communication mode)) to be
managed and configured at a time by the master station. Note, however, that settings for the extension modules
take no effect. Their operation follows the settings of the main module connected.
103
8.3 Pulse Input Modes and Counting Methods
There are six pulse input modes: 1-phase pulse input (1 multiple/2 multiples), CW/CCW pulse input, and 2-phase
pulse input (1 multiple/2 multiples/4 multiples).
1-phase multiple of 1
A
Counts on the rising edge () and the falling edge ()
of A.
For counting up B and CH
Count down command B and CH Count down command (RY22, RY3A)
(RY22, RY3A) are off.
1-phase multiple of 2
A Counts on the rising edge () and the falling edge ()
For counting of A.
B or CH
down Count down command B or CH Count down command (RY22, RY3A) is
(RY22, RY3A) on.
A
For counting up Counts on the rising edge () of A while B is off.
B
2-phase multiple of 1
For counting A
Counts on the falling edge () of A while B is off.
down
B
104
CHAPTER 8 FUNCTIONS
Pulse input
Count timing
mode
When using the phase B pulse input or CH Count down command (RY22, RY3A) for 1-phase pulse input, turn off the
unused signals.
When the phase B pulse input or CH Count down command (RY22, RY3A) is on, countdown is performed with the phase
A pulse input.
8
(a) 1-phase pulse input
For 1-phase pulse input, multiple of 1 or multiple of 2 can be selected as a counting method.
The following figure shows the relationship between phase A pulse input and phase B pulse input or CH
Pulse input
Encoder A
B
B or CH Count down command
(RY22, RY3A)
105
(b) CW/CCW pulse input
For CW/CCW pulse input, pulses can be counted up with the phase A pulse input and counted down with the
phase B pulse input.
The following figure shows the relationship between phase A pulse input and phase B pulse input.
Encoder
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "CH Pulse input mode".
106
CHAPTER 8 FUNCTIONS
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "CH Counter format".
3) Overflow
+2147483647
-2147483648
1) Underflow
ON (1)
CH Underflow detection flag
(RWr20.b1, RWr38.b1)
OFF (0)
ON (1)
CH Overflow detection flag
(RWr20.b2, RWr38.b2)
OFF (0)
ON
CH Preset/replace command 2) 4)
(RY21, RY39)
OFF
T1 or more*1 T1 or more*1
107
No. Description
For counting down from the lower limit value (-2147483648) in CH Present value (RWr10 to RWr11, RWr28 to RWr29), the
underflow error occurs and CH Underflow detection flag (RWr20.b1, RWr38.b1) is changed to Detected (1) from Not detected
1) (0).
For details on the underflow error, refer to the following.
Page 108, Section 8.4.1 (2)
When CH Preset/replace command (RY21, RY39) is turned off then on to clear the underflow error, the value in CH Preset
value setting (RWw14 to RWw15, RWw2C to RWw2D) is stored in CH Present value (RWr10 to RWr11, RWr28 to RWr29) and
2)
CH Underflow detection flag (RWr20.b1, RWr38.b1) is changed to Not detected (0) from Detected (1).
Counting in CH Present value (RWr10 to RWr11, RWr28 to RWr29) resumes.
For counting up from the upper limit value (2147483647) in CH Present value (RWr10 to RWr11, RWr28 to RWr29), the overflow
error occurs and CH Overflow detection flag (RWr20.b2, RWr38.b2) is changed to Detected (1) from Not detected (0).
3)
For details on the overflow error, refer to the following.
Page 108, Section 8.4.1 (2)
When CH Preset/replace command (RY21, RY39) is turned off then on to clear the overflow error, the value in CH Preset
value setting (RWw14 to RWw15, RWw2C to RWw2D) is stored in CH Present value (RWr10 to RWr11, RWr28 to RWr29) and
4)
CH Overflow detection flag (RWr20.b2, RWr38.b2) is changed to Not detected (0) from Detected (1).
Counting in CH Present value (RWr10 to RWr11, RWr28 to RWr29) resumes.
108
CHAPTER 8 FUNCTIONS
+2147483647
CH Ring counter
upper limit value
(RWw12 to RWw13,
RWw2A to RWw2B)
2)
CH Present value
(RWr10 to RWr11, 0
RWr28 to RWr29)
CH Ring counter
lower limit value 8
(RWw10 to RWw11, 1) 3)
RWw28 to RWw29)
-2147483648
109
(2) Counting range of the ring counter
One of the following three counting ranges of the ring counter is determined by the relationship among CH
Present value (RWr10 to RWr11, RWr28 to RWr29), CH Ring counter lower limit value (RWw10 to RWw11,
RWw28 to RWw29), and CH Ring counter upper limit value (RWw12 to RWw13, RWw2A to RWw2B) at the
time when CH Count enable command (RY24, RY3C) is turned on or when the preset/ replace function is
performed.
• Ring counter lower limit value Present value Ring counter upper limit value (This range is normally used.)
• "Present value < Ring counter lower limit value" or "Ring counter upper limit value < Present value"
• Ring counter lower limit value = Ring counter upper limit value
Set the ring counter upper limit value and the ring counter lower limit value according to the condition "Ring
counter lower limit value Ring counter upper limit value". When CH Count enable command (RY24, RY3C) is
turned off then on with the condition not satisfied, CH Ring counter upper/lower limit value setting error (error
code: 210H) is stored in CH Latest error code (RWr22, RWr3A) and counting does not start. To start counting,
set the ring counter upper limit value and the ring counter lower limit value according to the condition "Ring
counter lower limit value Ring counter upper limit value" and turn off then on CH Count enable command
(RY24, RY3C). The OFF time must be longer than T1.
For T1, refer to Page 305, Appendix 4.
110
CHAPTER 8 FUNCTIONS
(a) Ring counter lower limit value Present value Ring counter upper limit value
• For counting up: When the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) reaches
CH Ring counter upper limit value (RWw12 to RWw13, RWw2A to RWw2B), the value in CH Ring
counter lower limit value (RWw10 to RWw11, RWw28 to RWw29) is automatically stored in CH Present
value (RWr10 to RWr11, RWr28 to RWr29).
• For counting down: When the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) reaches
CH Ring counter lower limit value (RWw10 to RWw11, RWw28 to RWw29), the value in CH Ring
counter lower limit value (RWw10 to RWw11, RWw28 to RWw29) is kept in CH Present value (RWr10 to
RWr11, RWr28 to RWr29). The value "ring counter upper limit value - 1" is stored in CH Present value
(RWr10 to RWr11, RWr28 to RWr29) at the next count-down pulse input.
Both for counting up and down, the value in CH Ring counter upper limit value (RWw12 to RWw13, RWw2A
to RWw2B) is not stored in CH Present value (RWr10 to RWr11, RWr28 to RWr29). (Except for the case that
the present value equals to the ring counter upper limit value when CH Count enable command (RY24,
RY3C) is turned off then on, or when the preset/replace function is performed. When pulses are counted up or
down in the status, the operation is the same as that of when pulses are counted from CH Ring counter lower
limit value (RWw10 to RWw11, RWw28 to RWw29).)
For example, if CH Count enable command (RY24, RY3C) is turned on when CH Ring counter lower limit
value (RWw10 to RWw11, RWw28 to RWw29) is 0, CH Ring counter upper limit value (RWw12 to RWw13,
RWw2A to RWw2B) is 2000, and CH Present value (RWr10 to RWr11, RWr28 to RWr29) is 500, the counting
range and the CH Present value (RWr10 to RWr11, RWr28 to RWr29) change as follows.
CH Ring counter lower limit value CH Present value CH Ring counter upper limit value
8
(RWw10 to RWw11, RWw28 to RWw29) (RWr10 to RWr11, (RWw12 to RWw13, RWw2A to RWw2B)
RWr28 to RWr29)
0 2000
500
-2147483648 2147483647
Counting range
CH Present value
111
(b) "Present value < Ring counter lower limit value" or "Ring counter upper limit value <
Present value"
• For counting up: When the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) reaches
CH Ring counter lower limit value (RWw10 to RWw11, RWw28 to RWw29), the value in CH Ring
counter lower limit value (RWw10 to RWw11, RWw28 to RWw29) is kept in CH Present value (RWr10 to
RWr11, RWr28 to RWr29). The value "ring counter upper limit value + 1" is stored in CH Present value
(RWr10 to RWr11, RWr28 to RWr29) at the next count-up pulse input.
• For counting down: When the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) reaches
CH Ring counter upper limit value (RWw12 to RWw13, RWw2A to RWw2B), the value in CH Ring
counter lower limit value (RWw10 to RWw11, RWw28 to RWw29) is automatically stored in CH Present
value (RWr10 to RWr11, RWr28 to RWr29).
Both for counting up and down, the value in CH Ring counter upper limit value (RWw12 to RWw13, RWw2A
to RWw2B) is not stored in CH Present value (RWr10 to RWr11, RWr28 to RWr29). For example, if CH
Count enable command (RY24, RY3C) is turned on when CH Ring counter lower limit value (RWw10 to
RWw11, RWw28 to RWw29) is 0, CH Ring counter upper limit value (RWw12 to RWw13, RWw2A to
RWw2B) is 2000, and CH Present value (RWr10 to RWr11, RWr28 to RWr29) is 3000, the counting range
and the CH Present value (RWr10 to RWr11, RWr28 to RWr29) change as follows.
CH Ring counter lower limit value CH Ring counter upper limit value
(RWw10 to RWw11, RWw28 to RWw29) (RWw12 to RWw13, RWw2A to RWw2B)
-2147483648 2147483647
CH Ring counter
upper limit value CH Ring counter
CH Present value
(RWw12 to RWw13, lower limit value
(RWr10 to RWr11,
RWw2A to RWw2B) (RWw10 to RWw11,
RWr28 to RWr29)
RWw28 to RWw29)
(2000)
3000 3001 to 2147483647 -2147483648 to -2 -1 0 2001 2002 to 2998 2999
In counting
up
CH Ring counter
CH Ring counter
CH Present value upper limit value lower limit value
(RWr10 to RWr11, (RWw12 to RWw13, (RWw10 to RWw11,
RWr28 to RWr29) RWw2A to RWw2B) RWw28 to RWw29)
(2000) 2147483647
3000 2999 to 2001 0 -1 -2 to -2147483648 2147483646 3002 3001
In counting
down
(c) Ring counter lower limit value = Ring counter upper limit value
When the ring counter lower limit value equals to the ring counter upper limit value, the counting range is from
-2147483648 to 2147483647 regardless of CH Present value (RWr10 to RWr11, RWr28 to RWr29).
112
CHAPTER 8 FUNCTIONS
● The setting values of CH Ring counter upper limit value (RWw12 to RWw13, RWw2A to RWw2B) and CH Ring
counter lower limit value (RWw10 to RWw11, RWw28 to RWw29) can be reflected by turning off then on Initial data
processing completion flag (RY8) or by turning off then on Initial data setting request flag (RY9). In that case, however,
monitoring data such as CH Present value (RWr10 to RWr11, RWr28 to RWr29) is cleared. For ordinary use, reflect the
setting values by turning off then on CH Count enable command (RY24, RY3C).
● When CH Count enable command (RY24, RY3C) is on, the stored value does not change even if a value is written to
CH Ring counter lower limit value (RWw10 to RWw11, RWw28 to RWw29) and CH Ring counter upper limit value
(RWw12 to RWw13, RWw2A to RWw2B). Turn off CH Count enable command (RY24, RY3C) before changing CH
Ring counter upper limit value (RWw12 to RWw13, RWw2A to RWw2B) and CH Ring counter lower limit value (RWw10
to RWw11, RWw28 to RWw29). The OFF time must be longer than T1. For T1, refer to Page 305, Appendix 4.
● Always turn off CH Count enable command (RY24, RY3C) before changing the counting range by the preset/replace
function to prevent a miscount.
113
8.5 Comparison Output Function
The comparison output function outputs ON/OFF signals comparing the count value with any point or range set by the
user.
The coincidence output function or the cam switch function can be selected depending on the processing method.
Set the comparison output function in the parameter setting window or Comparison output setting (address: 0100H).
The following table shows the operation overview of the coincidence output function and the cam switch function.
Item Coincidence output function Cam switch function
CH Present value (RWr10 to RWr11, RWr28 to CH Present value (RWr10 to RWr11, RWr28 to
Comparison target
RWr29) RWr29)
Number of output points per
0 to 4 points 0 to 16 points
channel
When Initial data processing request flag (RX8) is
When CH Cam switch execute (RX26, RX3E) is
Comparison start timing off and Initial data setting completion flag (RX9) is
turned off then on
off
• Point setting (Coincidence output 1 to 4)/Lower
limit value setting (Coincidence output 1 to 4)
(RWw0 to RWw1, RWw4 to RWw5, RWw8 to
Setting item for comparison • Cam switch function parameter data (address:
RWw9, RWwC to RWwD)
point/range 1500H to 1FFFH)
• Upper limit value setting (Coincidence output 1
to 4) (RWw2 to RWw3, RWw6 to RWw7,
RWwA to RWwB, RWwE to RWwF)
• Turning off then on Setting change request
(Coincidence output 1 to 4) (RY14 to RY17)
Change method of comparison • Turning off then on Initial data processing Turning off then on CH Cam switch execute
point/range completion flag (RY8) (RX26, RX3E)
• Turning off then on Initial data setting request
flag (RY9)*1
• Coincidence output 1 to 4 (RX10 to RX13)
Internal
• Counter value greater/smaller signal (RWr0) Cam switch output signal (RWr2)
output
Comparison result (only for coincidence output)
External Coincidence output 1 to 4 terminals (EQU1 to
Output terminals of the extension output module
output EQU4)
Preset/replace (at coincidence
Provided Not provided
output) function
• When Reset command (Coincidence output 1
to 4) (RY10 to RY13) is turned off then on (for
Automatically reset depending on Cam switch
coincidence output)
Output reset timing function, step No.1 to No.16 setting (Output 1 to 16)
• When values are counted outside the detection
of remote buffer memory
area (for within-range output or out-of-range
output)
114
CHAPTER 8 FUNCTIONS
115
8.5.2 Coincidence output function
The coincidence output function compares CH Present value (RWr10 to RWr11, RWr28 to RWr29) with a
coincidence detection point or with an area divided by the coincidence output upper/lower limit value, and outputs the
comparison result from Coincidence output 1 to 4 terminals (EQU1 to EQU4). The result can be output from
Coincidence output 1 to 4 terminals (EQU1 to EQU4) in two ways, by each channel or by each terminal. At coincidence
output, Coincidence output 1 to 4 (RX10 to RX13) turns on.
The unit to output the comparison result is called coincidence output.
Four points are assigned to coincidence output. The present value is compared with each point and the comparison
result is output from the point.
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "0: Coincidence Output Function" for "Comparison output setting".
4. Set the comparison condition for "Coincidence output 1 to 4 comparison condition setting".
5. Set the way of output for "Coincidence output enable command setting".
When "Operation mode setting" is set to a mode other than "0: Normal Mode", the setting of "Coincidence output 1 to 4
comparison condition setting" is ignored.
116
CHAPTER 8 FUNCTIONS
Present
value
Coincidence output 1 to 4 ON
Coincidence (RX10 to RX13)
output Coincidence output 1 to 4 OFF
terminals (EQU1 to EQU4)
* To turn off Coincidence output 1 to 4 (RX10 to RX13),
use Reset command (Coincidence output 1 to 4) (RY10 to RY13).
Present value
ON
Coincidence output 1 to 4
Within-range (RX10 to RX13)
output Coincidence output 1 to 4 terminals OFF
(EQU1 to EQU4)
ON
Coincidence output 1 to 4
Out-of-range (RX10 to RX13)
output Coincidence output 1 to 4 terminals OFF
(EQU1 to EQU4)
117
(d) Comparison setting item
The following table lists the comparison setting items.
Comparison
Comparison setting item Setting details Reference
condition
Point setting (Coincidence output 1 to Page 281, Appendix 2
Coincidence Set the point to be compared with the present
4) (RWw0 to RWw1, RWw4 to RWw5, (7), Page 282,
output value.
RWw8 to RWw9, RWwC to RWwD) Appendix 2 (8)
• Upper limit value setting
(Coincidence output 1 to 4) (RWw2
Set the upper and lower limit values for the area to
to RWw3, RWw6 to RWw7, RWwA
Within-range be compared with the present value. When the Page 281, Appendix 2
to RWwB, RWwE to RWwF)
output or out-of- upper limit value is less than the lower limit value, (7), Page 282,
• Lower limit value setting
range output Upper limit value setting error (Coincidence output Appendix 2 (8)
(Coincidence output 1 to 4) (RWw0
1 to 4) (error code: 311H to 314H) occurs.
to RWw1, RWw4 to RWw5, RWw8
to RWw9, RWwC to RWwD)
Turning off then on Initial data processing completion flag (RY8) when the comparison condition is coincidence output or
when the comparison setting item for within-range output (Point setting (Coincidence output 1)/Lower limit value setting
(Coincidence output 1) (RWw0 to RWw1) to Upper limit value setting (Coincidence output 4) (RWwE to RWwF)) is 0 (default)
turns on Coincidence output 1 to 4 (RX10 to RX13) because CH Present value (RWr10 to RWr11, RWr28 to RWr29) of
when Initial data processing request flag (RX8) is turned off is 0 (default). To turn off Coincidence output 1 to 4 (RX10 to
RX13), set the comparison setting item to other than 0 or to a range that does not include 0 before turning off then on Initial
data processing completion flag (RY8).
118
CHAPTER 8 FUNCTIONS
*1 When Initial data processing request flag (RX8) is on, the setting data is checked.
*2 When Initial data processing request flag (RX8) is on, the setting data is not checked.
*3 For details on the preset/replace (at coincidence output) function, refer to the following.
Page 126, Section 8.5.3
119
(5) Output destination of comparison result for the coincidence output function
The following table lists the output destination of the comparison result for each comparison condition.
: Enable, : Disable
Comparison condition
Setting item Coincidence Within-range Out-of-range Output overview
output output output
Coincidence output 1 to 4 (RX10 to
Outputs the result whether the specified
RX13)
comparison condition was satisfied or
Coincidence output 1 to 4 terminals
not.
(EQU1 to EQU4)
Outputs a relationship (greater or
Counter value greater/smaller signal smaller) between the present value and
(RWr0) the point setting (coincidence output 1 to
4).
The following table lists the details on Counter value greater/smaller signal (RWr0).
Point setting (Coincidence output 1 to 4)
Details Bit name (Present (Present (Present
value) > value) = value) <
Counter value
b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 smaller
0 0 1
Coincidence Coincidence Coincidence Coincidence
(Coincidence
output 4 output 3 output 2 output 1 output 1 to 4)
Counter value
Counter value
Counter value
Counter value
Counter value
Counter value
Counter value
Counter value
0 0 0 0 0 0 0 0 Counter value
smaller
smaller
smaller
smaller
greater
greater
greater
greater
greater
1 0 0
(Coincidence
output 1 to 4)
120
CHAPTER 8 FUNCTIONS
ON
CH1 Coincidence output
OFF 5)
enable command (RY20)
ON
Setting change request 1)
(Coincidence output 1) (RY14) OFF
ON
Setting change completed
(Coincidence output 1) (RX14) OFF
ON
Reset command 3)
OFF 7) 8) 10)
CH1 Present value (RWr10 to RWr11) 0 1 ............ 999 1000 1001 .........
ON
CH1 Count enable command (RY24)
OFF 4)
*1 t T1
121
No. Description
Start comparison of the present value and a value set to Point setting (Coincidence output 1) (RWw0 to RWw1) in the following
order.
• Write 1000 into Point setting (Coincidence output 1) (RWw0 to RWw1).
1) • Turn off then on Setting change request (Coincidence output 1) (RY14).
• The values set in Point setting (Coincidence output 1) (RWw0 to RWw1) are enabled when Setting change completed
(Coincidence output 1) (RX14) turns on. After confirming that Setting change completed (Coincidence output 1) (RX14) turns on,
turn off Setting change request (Coincidence output 1) (RY14).
When CH1 Present value (RWr10 to RWr11) is less than Point setting (Coincidence output 1) (RWw0 to RWw1), the value in
2)
Counter value smaller (Coincidence output 1) (RWr0.b0) is 1.
When Reset command (Coincidence output 1) (RY10) is turned on, Coincidence output 1 (RX10) and the coincidence output 1
3)
terminal (EQU1) turn off.
4) Turn off then on CH1 Count enable command (RY24) to start counting.
If performing coincidence output from the coincidence output 1 terminal (EQU1), turn on CH1 Coincidence output enable command
5)
(RY20).
When CH1 Present value (RWr10 to RWr11) equals to Point setting (Coincidence output 1) (RWw0 to RWw1), Coincidence output
6) 1 (RX10) and the coincidence output 1 terminal (EQU1) turn on. Also, Counter value smaller (Coincidence output 1) (RWr0.b0)
becomes 0.
If Reset command (Coincidence output 1) (RY10) is turned on while CH1 Present value (RWr10 to RWr11) and Point setting
7) (Coincidence output 1) (RWw0 to RWw1) match, Coincidence output 1 (RX10) and the coincidence output 1 terminal (EQU1) turn
off.
If Reset command (Coincidence output 1) (RY10) is turned off while CH1 Present value (RWr10 to RWr11) and Point setting
8) (Coincidence output 1) (RWw0 to RWw1) match, Coincidence output 1 (RX10) and the coincidence output 1 terminal (EQU1) turn
on again.
When CH1 Present value (RWr10 to RWr11) is more than Point setting (Coincidence output 1) (RWw0 to RWw1), the value in
9)
Counter value greater (Coincidence output 1) (RWr0.b1) is 1.
Turn on Reset command (Coincidence output 1) (RY10) to reset Coincidence output 1 (RX10) and the coincidence output 1
10) terminal (EQU1). If Coincidence output 1 (RX10) and the coincidence output 1 terminal (EQU1) remain on, the next coincidence
output cannot be detected.
● Coincidence output 1 to 4 (RX10 to RX13) turn on regardless of CH Coincidence output enable command (RY20,
RY38).
● Set the ON time of Reset command (Coincidence output 1 to 4) (RY10 to RY13) to T1 or longer. For T1, refer to Page
305, Appendix 4.
● Due to coincidence detection processing inside the high-speed counter module, the counter value greater or smaller
corresponding to Counter value greater/smaller signal (RWr0) is not updated at the same time when Coincidence output
1 to 4 (RX10 to RX13) turns off then on. Therefore, the counter value greater or smaller may be 1 even though it is not the
correct value.
● Even if Point setting (Coincidence output 1 to 4) (RWw0 to RWw1, RWw4 to RWw5, RWw8 to RWw9, RWwC to RWwD)
is changed, the present value is not compared with the changed value unless Setting change request (Coincidence
output 1 to 4) (RY14 to RY17) is turned off then on.
122
CHAPTER 8 FUNCTIONS
ON
CH1 Coincidence output
OFF 3)
enable command (RY20)
ON
Setting change request 1)
(Coincidence output 1) (RY14) OFF
ON
Setting change completed
(Coincidence output 1) (RX14) OFF
ON
Coincidence output 1 terminal (EQU1) OFF 4) 5) 8
CH1 Present value (RWr10 to RWr11) 0 1 999 1000 2000 2001
ON
No. Description
Start comparison of the present value and values set to Lower limit value setting (Coincidence output 1) (RWw0 to RWw1) and
Upper limit value setting (Coincidence output 1) (RWw2 to RWw3) in the following order.
• Write 1000 into Lower limit value setting (Coincidence output 1) (RWw0 to RWw1).
• Write 2000 into Upper limit value setting (Coincidence output 1) (RWw2 to RWw3).
1) • Turn off then on Setting change request (Coincidence output 1) (RY14).
• The values set for Lower limit value setting (Coincidence output 1) (RWw0 to RWw1) and Upper limit value setting (Coincidence
output 1) (RWw2 to RWw3) are enabled when Setting change completed (Coincidence output 1) (RX14) turns on. After
confirming that Setting change completed (Coincidence output 1) (RX14) turns on, turn off Setting change request (Coincidence
output 1) (RY14).
2) Turn off then on CH1 Count enable command (RY24) to start counting.
If performing coincidence output from the coincidence output 1 terminal (EQU1), turn on CH1 Coincidence output enable
3)
command (RY20).
When CH1 Present value (RWr10 to RWr11) is Lower limit value setting (Coincidence output 1) (RWw0 to RWw1) or more and the
4)
present value is within the specified range, Coincidence output 1 (RX10) and the coincidence output 1 terminal (EQU1) turn on.
When CH1 Present value (RWr10 to RWr11) is more than Upper limit value setting (Coincidence output 1) (RWw2 to RWw3) and
5) the present value is outside the specified range, Coincidence output 1 (RX10) and the coincidence output 1 terminal (EQU1) turn
off.
123
● Coincidence output 1 to 4 (RX10 to RX13) turn on regardless of CH Coincidence output enable command (RY20,
RY38).
● Even if Lower limit value setting (Coincidence output 1 to 4) (RWw0 to RWw1, RWw4 to RWw5, RWw8 to RWw9, RWwC
to RWwD) and Upper limit value setting (Coincidence output 1 to 4) (RWw2 to RWw3, RWw6 to RWw7, RWwA to RWwB,
RWwE to RWwF) are changed, the present value is not compared with the changed value unless Setting change request
(Coincidence output 1 to 4) (RY14 to RY17) is turned off then on.
ON
CH1 Coincidence output
3)
enable command (RY20) OFF
ON
Setting change request 1)
(Coincidence output 1) (RY14) OFF
ON
Setting change completed
(Coincidence output 1) (RX14) OFF
ON
Coincidence output 1 terminal (EQU1) OFF 5) 6)
ON
CH1 Count enable command (RY24) OFF 4)
No. Description
Start comparison of the present value and values set to Lower limit value setting (Coincidence output 1) (RWw0 to RWw1) and
Upper limit value setting (Coincidence output 1) (RWw2 to RWw3) in the following order.
• Write 1000 into Lower limit value setting (Coincidence output 1) (RWw0 to RWw1).
• Write 2000 into Upper limit value setting (Coincidence output 1) (RWw2 to RWw3).
1) • Turn off then on Setting change request (Coincidence output 1) (RY14).
• The values set for Lower limit value setting (Coincidence output 1) (RWw0 to RWw1) and Upper limit value setting (Coincidence
output 1) (RWw2 to RWw3) are enabled when Setting change completed (Coincidence output 1) (RX14) turns on. After
confirming that Setting change completed (Coincidence output 1) (RX14) turns on, turn off Setting change request (Coincidence
output 1) (RY14).
CH1 Present value (RWr10 to RWr11) becomes less than Lower limit value setting (Coincidence output 1) (RWw0 to RWw1) and
2)
Coincidence output 1 (RX10) turns on since the present value is outside the specified range.
If performing coincidence output from the coincidence output 1 terminal (EQU1), turn on CH1 Coincidence output enable command
3) (RY20). In this case, the coincidence output 1 terminal (EQU1) turns on immediately since Coincidence output 1 (RX10) is already
on.
124
CHAPTER 8 FUNCTIONS
No. Description
4) Turn off then on CH1 Count enable command (RY24) to start counting.
When CH1 Present value (RWr10 to RWr11) is Lower limit value setting (Coincidence output 1) (RWw0 to RWw1) or more and the
5)
present value is within the specified range, Coincidence output 1 (RX10) and the coincidence output 1 terminal (EQU1) turn off.
When CH1 Present value (RWr10 to RWr11) is more than Upper limit value setting (Coincidence output 1) (RWw2 to RWw3) and
6) the present value is outside the specified range, Coincidence output 1 (RX10) and the coincidence output 1 terminal (EQU1) turn
on.
● Coincidence output 1 to 4 (RX10 to RX13) turn on regardless of CH Coincidence output enable command (RY20,
RY38).
● Even if Lower limit value setting (Coincidence output 1 to 4) (RWw0 to RWw1, RWw4 to RWw5, RWw8 to RWw9, RWwC
to RWwD) and Upper limit value setting (Coincidence output 1 to 4) (RWw2 to RWw3, RWw6 to RWw7, RWwA to RWwB,
RWwE to RWwF) are changed, the present value is not compared with the changed value unless Setting change request
(Coincidence output 1 to 4) (RY14 to RY17) is turned off then on.
125
8.5.3 Preset/replace (at coincidence output) function
The preset/replace (at coincidence output) function performs the preset/replace function (replaces the present value
with a value preset by the user) at the rising state (off to on) of Coincidence output 1 and 2.
The preset/replace by this function is performed to the channel assigned to Coincidence output 1 and 2.
This function is not available for Coincidence output 3 and 4.
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "0: Coincidence Output Function" for "Comparison output setting".
4. Set the comparison condition for "Coincidence output 1 to 4 comparison condition setting".
5. Set "1: Present value replaced" for "Preset/replace setting at coincidence output (Coincidence
output 1 to 2)".
126
CHAPTER 8 FUNCTIONS
200
0 Time
t*1
No. Description
When CH1 Present value (RWr10 to RWr11) equals to Point setting (Coincidence output 1) (RWw0 to RWw1), Coincidence output
1)
1 (RX10) turns on.
2) The preset/replace function is performed at the rising state (off to on) of Coincidence output 1 (RX10).
Turn on Reset command (Coincidence output 1) (RY10) and turn off Coincidence output 1 (RX10) so that Coincidence output 1
3) (RX10) rises (off to on) when the next CH1 Present value (RWr10 to RWr11) = Point setting (coincidence output 1) (RWw0 to
RWw1) is made.
If CH1 Preset value setting (RWw14 to RWw15) was changed in advance, the preset/replace function is performed with the
4)
changed value.
If Coincidence output 1 (RX10) was not reset, Coincidence output 1 (RX10) remains on without rising when CH1 Present value
5) (RWr10 to RWr11) = Point setting (Coincidence output 1) (RWw0 to RWw1) is made. Therefore, the preset/replace function does
not operate.
127
● While CH External preset/replace (Z Phase) request detection (RX23, RX3B) is on, values cannot be replaced by this
function as well as by CH Preset/replace command (RY21, RY39). Turn off then on CH External preset/replace (Z
Phase) request detection reset command (RY23, RY3B) to turn off CH External preset/replace (Z Phase) request
detection (RX23, RX3B).
● Have a T1 or longer interval after changing CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) until the
value is replaced because there are maximum of T1 delay until change in CH Preset value setting (RWw14 to
RWw15, RWw2C to RWw2D) is reflected.*1
● To perform the preset/replace function continuously using the same coincidence output, have a T1 or longer interval.
The preset/replace function may not operate if there is not a T1 or longer interval.*1
The following is the rough standard of an interval for performing the preset/replace function continuously using the same
coincidence output.
(|Point setting (Coincidence output 1 to 4)*2 - Preset value setting|) > (Input pulse speed (pps)/1000)
● When the preset/replace (at coincidence output) function is used under the condition where pulses are input in a counting
speed of 2Mpps or faster, a pulse count difference (plus one or minus one pulse) occurs. Use the function after checking
that the difference does not cause a problem for the system.
*1 For T1, refer to Page 305, Appendix 4.
*2 Change this into Upper limit value setting (Coincidence output 1 to 4) or Lower limit value setting (Coincidence output 1
to 4) according to the comparison condition and the setting in which Coincidence output 1 to 4 turns on.
128
CHAPTER 8 FUNCTIONS
The cam switch function allows users to output the ON/OFF status of any of the output terminals on the extension
output module (Y0 to YF) according to the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29).
The maximum of 16 steps of ON/OFF switching can be set per output point.
Up to 16 output points can be set.
Ex. The following figure and table show an operation example of output control according to CH1 Present
value (RWr10 to RWr11) with CH1 being assigned to "Cam switch output 1 channel assignment setting",
"Cam switch output 2 channel assignment setting", and "Cam switch output 3 channel assignment
setting".
CH1 Present value (RWr10
Output 3 Output 2 Output 1
to RWr11)
-2147483648 to 999 OFF OFF OFF
1000 to 1999 OFF OFF ON
2000 to 2999 OFF ON OFF
3000 to 3999 OFF ON ON
4000 to 4999 ON OFF OFF
5000 to 5999 ON OFF ON
6000 to 6999 ON ON OFF
7000 to 7999 ON ON ON
8000 to 2147483647 OFF OFF OFF 8
ON
ON
Output 2
OFF
ON
Output 3
OFF
(1) Restrictions
While the following functions are used, the cam switch function cannot be used.
• Number of ON times integration function
• CC-Link IE Field Network synchronous communication function
129
(2) Setting method of the cam switch function
1. Set "Parameter write" for "Method selection".
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "1: Cam Switch Function" for "Comparison output setting".
3. Set "1: Stage 1" for "Cam switch output unit assignment setting".
4. Set a channel to be compared for "Cam switch output 1 to 16 channel assignment setting".
5. Set Cam switch function parameter data (address: 1500H to 1FFFH) in a program.
For details, refer to the following.
Page 131, Section 8.5.4 (3)
130
CHAPTER 8 FUNCTIONS
ON
Cam switch (Output 1)
Output 1 Step type: 0 (Starts with output status being OFF.)
OFF
Number of steps: 8
1) 2) 3) 4) 5) 6) 7) 8)
Ex. Cam switch function, step type (Output 1) (address: 1500H) is set to "Starts with output status being OFF
(0H)", and Cam switch function, number of steps (Output 1) (address: 1501H) is set to 6.
Note that Output 1 is assigned to CH1.
8
Setting item Setting value
Cam switch function, step type (Output 1) (address: 1500H) 0
Step number 1 2 3 4 5 6
ON
Output 1 OFF
CH1 Present value
(RWr10 to RWr11) 100 250 400 550 700 850
131
(4) Minimum setting width of the ON/OFF status
To output the ON/OFF signal according to the setting, set the value of each step No. so that the following formula
is satisfied.
• Allowable time: (T2 2) + (output response time of the extension output module*1)
• ◆: Cam switch output No. (1 to 16)
• i: Step No. (1 to 15)
For T2, refer to Page 305, Appendix 4.
*1 Either of the output response time for switching on from off or that for switching off from on, whichever is longer
Ex. When the input pulse speed is 10kpps and the output response time of the extension output module is
1.5ms
Allowable time: (0.5ms 2) + 1.5ms = 2.5ms
Setting width of the ON/OFF status: (10 103) (2.5 10 -3) = 25
Therefore, set the difference between the values of Cam switch function, step No.i setting (Output ◆) and
Cam switch function, step No.i + 1 setting (Output ◆) to 25 or more.
For all of Cam switch function, step type (Output ◆), Cam switch function, number of steps (Output ◆), and Cam switch
function, step No.i setting (Output ◆) of cam switch output ◆ that is not used, set the default (0). When a value other than the
default is set, output may be turned on when the cam switch function is performed. In addition, when a value other than the
default value is backed up to the nonvolatile memory by turning off then on Initial data setting request flag (RY9), the setting
in the nonvolatile memory also must be set to the default. If the setting in the nonvolatile memory is not the default, the
above setting item becomes the backed up value when the module power supply is turned off then on or the module returns
from the remote reset.
132
CHAPTER 8 FUNCTIONS
ON ON ON ON
ON/OFF status of Cam switch (Output 1) OFF OFF OFF OFF
T3*1
ON 4)
CH1 Cam switch execute command (RY26) OFF 1)
2)
CH1 Cam switch execute (RX26) 4)
OFF
3)
1 1 1
Cam switch status (Output 1) (RWr2.b0) 4)
0 0 0
ON 3) ON ON
External output signal of the extension
output module (Y0) OFF OFF OFF OFF 4)
No. Description
8
When CH1 Cam switch execute command (RY26) is turned off then on, the step setting of Cam switch (Output 1) is acquired and
1) CH1 Cam switch execute (RX26) turns on. (If the value is changed while the cam switch function is in operation, the change is
ignored.)
2) The cam switch function operates when CH1 Cam switch execute (RX26) turns on.
Cam switch output signal (RWr2) turns on regardless of CH Count enable command (RY24, RY3C).
133
8.6 Preset/replace Function
The preset/replace function replaces the count value with any value preset by the user. This value is called a preset
value.
This function can be used to start counting pulses from the preset value.
Perform this function by one of the following methods. This section describes No.1 and 2.
No. Method Reference
1 Performing the preset/replace function by a program Page 135, Section 8.6 (1)
2 Performing the preset/replace function by CH Phase Z input terminal (Z1, Z2) Page 136, Section 8.6 (2)
3 Performing the preset/replace function by the preset/replace (at coincidence output) function Page 126, Section 8.5.3
4 Performing the preset/replace function by the count disable/preset/replace function Page 154, Section 8.13
5 Performing the preset/replace function by the latch counter/preset/replace function Page 156, Section 8.14
All the above preset/replace functions cannot be performed while CH External preset/replace (Z Phase) request detection
(RX23, RX3B) is on.
134
CHAPTER 8 FUNCTIONS
Counter pulse
1)
CH Preset value setting
0 100
(RWw14 to RWw15, RWw2C to RWw2D)
t t
ON
2)
CH Preset/replace command
(RY21, RY39) OFF
CH Preset/replace completion
(RX21, RX39) OFF
CH Present value
(RWr10 to RWr11, RWr28 to RWr29)
0 1 2 to 65 66 67 68 100 101102103 104100 101102103 104 8
t T1*1
No. Description
135
(2) Performing the preset/replace function by CH Phase Z input terminal (Z1, Z2)
The preset/replace function by CH Phase Z input terminal (Z1, Z2) can be performed when the set trigger
condition is met.
(a) Setting method of the condition for the preset/replace function by CH Phase Z
input terminal (Z1, Z2)
1. Set "Parameter write" for "Method selection".
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "CH Z phase (Preset) trigger setting".
136
CHAPTER 8 FUNCTIONS
(b) Operation example of the preset/replace function by CH Phase Z input terminal
(Z1, Z2)
The following figure shows an operation example of turning on CH External preset/replace (Z Phase) request
detection (RX23, RX3B) and changing the present value to the preset value (100) at the rising edge of CH
Phase Z input terminal (Z1, Z2).
Counter pulse
ON ON ON
CH Phase Z input terminal
OFF 2) 2)
(Z1, Z2)
CH External preset/replace
(Z Phase) request detection
(RX23, RX3B)
8
CH External preset/replace 4)
(Z Phase) request detection
reset command (RY23, RY3B)
t T1
No. Description
Write any value to CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) in 32-bit binary. (Setting range: -
1)
2147483648 to 2147483647)
The value in CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) is stored in CH Present value (RWr10 to
RWr11, RWr28 to RWr29) at the rising edge (off to on) of CH Phase Z input terminal (Z1, Z2). Also, CH External
2)
preset/replace (Z Phase) request detection (RX23, RX3B) turns on. The value can be replaced regardless of the ON/OFF status
of CH Count enable command (RY24, RY3C).
While CH External preset/replace (Z Phase) request detection (RX23, RX3B) is on, the value cannot be replaced by either CH
Preset/replace command (RY21, RY39) or CH Phase Z input terminal (Z1, Z2). Also, when CH Preset/replace command
3)
(RY21, RY39) is turned off then on, CH Preset/replace completion (RX21, RX39) turns on. However, the value is not replaced.
Turn off CH Preset/replace completion (RX21, RX39) by turning off CH Preset/replace command (RY21, RY39).
When CH External preset/replace (Z Phase) request detection (RX23, RX3B) turns off by turning on CH External
4)
preset/replace (Z Phase) request detection reset command (RY23, RY3B), the value can be replaced.
137
● While CH External preset/replace (Z Phase) request detection (RX23, RX3B) is on, the value cannot be replaced by
any methods. Replace the value after turning off CH External preset/replace (Z Phase) request detection (RX23,
RX3B) by turning on CH External preset/replace (Z Phase) request detection reset command (RY23, RY3B).
● Have a T1 or longer interval after changing CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) until
CH Phase Z input terminal (Z1, Z2) is turned on because there are maximum of T1 delay until change in CH Preset
value setting (RWw14 to RWw15, RWw2C to RWw2D) is reflected. An interval is not necessary when the preset/replace
function is performed by the preset/replace command since there is a delay of when the preset/replace command is
used.*1
● When the preset/replace function is performed by CH Phase Z input terminal (Z1, Z2), the operation response time
follows CH Z phase input response time setting (address: 0129H.b0 to b1, 0149H.b0 to b1). Since CH Present value
(RWr10 to RWr11, RWr28 to RWr29) is updated synchronizing with the internal control cycle, a maximum of delay time
shown below occurs until the preset value is stored.
• T1*1 + Setting time of CH Z phase input response time setting (address: 0129H.b0 to b1, 0149H.b0 to b1)
*1 For T1, refer to Page 305, Appendix 4.
138
CHAPTER 8 FUNCTIONS
(1) Latching the present value by the latch counter input terminal
The latch counter function by latch counter input terminal acquires the value in CH Present value (RWr10 to
RWr11, RWr28 to RWr29) of the counter and stores it in the remote register when CH Latch counter input
terminal (LATCH1, LATCH2) is input.
The following figure shows an operation example of acquiring the value in CH Present value (RWr10 to RWr11,
RWr28 to RWr29) as CH Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31)
at the rising edge of CH Latch counter input terminal (LATCH1, LATCH2).
150 130
100
100
50
50
CH Present value
(RWr10 to RWr11, RWr28 to RWr29)
0
0
ON ON ON ON
CH Latch counter input terminal
(LATCH1, LATCH2) OFF 1) OFF 1) OFF 1) OFF 1)
8
150 130
100
100
CH Latch count value
0
0
CH Latch count value update flag
ON 4)
(Latch counter input terminal) 2)
(RX2B, RX43) OFF
CH Latch count value update
flag reset command
3)
(Latch counter input terminal)
OFF
(RY2A, RY42)
CH Latch count value update
flag reset completed
(Latch counter input terminal) OFF
(RX2A, RX42)
No. Description
The value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) is stored in CH Latch count value (Latch counter input
1)
terminal) (RWr18 to RWr19, RWr30 to RWr31) at the rising edge of CH Latch counter input terminal (LATCH1, LATCH2).
After CH Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31) is updated, CH Latch count
2)
value update flag (Latch counter input terminal) (RX2B, RX43) turns on.
When CH Latch count value update flag reset command (Latch counter input terminal) (RY2A, RY42) is turned off then on, the
high-speed counter module turns off CH Latch count value update flag (Latch counter input terminal) (RX2B, RX43) and turns
3) on CH Latch count value update flag reset completed (Latch counter input terminal) (RX2A, RX42). After that, CH Latch count
value update flag reset completed (Latch counter input terminal) (RX2A, RX42) turns off when CH Latch count value update flag
reset command (Latch counter input terminal) (RY2A, RY42) is turned off.
CH Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31) is updated even if CH Latch count
4) value update flag (Latch counter input terminal) (RX2B, RX43) is on. (The latch counter function operates regardless of the
ON/OFF status of CH Count enable command (RY24, RY3C).)
139
● When the latch counter function is performed by using CH Latch counter input terminal (LATCH1, LATCH2), the
resulting response time follows CH Latch counter input response time setting (address: 0129H.b4 to b5, 0149H.b4 to
b5). Note that CH Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31) is updated in
synchronization with the internal control cycle, thus causing a maximum of delay as shown below until the obtained value
is stored.
• T1*1 + Setting time of CH Latch counter input response time setting (address: 0129H.b4 to b5, 0149H.b4 to b5)
*1 For T1, refer to Page 305, Appendix 4.
● During operation in the synchronous communication mode, the latch counter function using the latch counter input
terminal cannot be used.
140
CHAPTER 8 FUNCTIONS
When CH Selected counter function start command (RY25, RY3D) or CH Function input terminal (FUNC1,
FUNC2) is input, one of the functions shown below can be used.
The function can be selected for each channel.
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. For "CH Counter function selection", select a counter function to be used.
141
In the counter function selection, a delay occurs before the start of the selected function due to any of the following factors:
• Input response time of CH Function input terminal (FUNC1, FUNC2)
• Scan time of the program (for CH Selected counter function start command (RY25, RY3D))
• Link scan time of the network (for CH Selected counter function start command (RY25, RY3D))
• Internal control cycle in the high-speed counter module (for CH Selected counter function start command
(RY25, RY3D))
The count errors by these delays are as follows:
• Count error (maximum) which occurs when a function is performed by CH Function input terminal (FUNC1,
FUNC2)
For the sampling counter function and the periodic pulse counter function, a sampling/periodic time error due to a
component error (100ppm) occurs. The count error is as follows:
100 [ppm]
Sampling/periodic time [s]*2 Pulse input speed [pps]*1
1000000
*1 Pulse input speed [pps] = pulse input frequency [Hz] number of multiples [count]
*2 Sampling/periodic time [s] = Sampling/periodic time setting value Sampling/periodic time unit [s]
(When the sampling/periodic time unit setting is 1 [ms], the sampling/periodic time is 0.001 [s]. When the unit setting is
10 [ms], the time is 0.01 [s].)
*3 For T1, refer to Page 305, Appendix 4.
142
CHAPTER 8 FUNCTIONS
The count disable function stops the counting when CH Function input terminal (FUNC1, FUNC2) or CH Selected
counter function start command (RY25, RY3D) is input during the counting.
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Select "0: Count Disable Function" in "CH Counter function selection".
ON
4) 5)
CH Function input terminal
(FUNC1, FUNC2) OFF
CH Present value
(RWr10 to RWr11,
RWr28 to RWr29) Count value stored in CH Present value
(RWr10 to RWr11, RWr28 to RWr29)
143
No. Description
1) Counting starts by turning on CH Count enable command (RY24, RY3C).
Counting stops by turning on CH Selected counter function start command (RY25, RY3D). Also, CH Counter function detection
2)
(RX25, RX3D) turns on by turning on CH Selected counter function start command (RY25, RY3D).
Counting resumes by turning off CH Selected counter function start command (RY25, RY3D). Also, CH Counter function
3)
detection (RX25, RX3D) turns off by turning off CH Selected counter function start command (RY25, RY3D).
4) Counting stops by turning on CH Function input terminal (FUNC1, FUNC2).
5) Counting resumes by turning off CH Function input terminal (FUNC1, FUNC2).
6) Counting stops by turning off CH Count enable command (RY24, RY3C).
Counting stops regardless of CH Selected counter function start command (RY25, RY3D) since CH Count enable command
7)
(RY24, RY3C) is off.
Counting remains stopped even if CH Count enable command (RY24, RY3C) is turned on since CH Selected counter function
8)
start command (RY25, RY3D) is on.
9) Counting resumes by turning off CH Selected counter function start command (RY25, RY3D).
144
CHAPTER 8 FUNCTIONS
The latch counter function by counter function selection acquires CH Present value (RWr10 to RWr11, RWr28 to
RWr29) of the counter and stores it in the remote register when CH Function input terminal (FUNC1, FUNC2) or
CH Selected counter function start command (RY25, RY3D) is input.
(1) Setting method of the latch counter function (counter function selection)
1. Set "Parameter write" for "Method selection".
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Select "1: Latch Counter Function" in "CH Counter function selection".
145
(2) Operation example of the latch counter function (counter function selection)
The following figure shows an operation example of acquiring the value in CH Present value (RWr10 to RWr11,
RWr28 to RWr29) as CH Latch count value (RWr12 to RWr13, RWr2A to RWr2B) at the rising edge of CH
Selected counter function start command (RY25, RY3D) or CH Function input terminal (FUNC1, FUNC2).
100
100
50
50
CH Present value
(RWr10 to RWr11, RWr28 to RWr29) 0
0
CH Selected counter function ON
1) 1)
start command
OFF
(RY25, RY3D)
ON
CH Counter function detection
(RX25, RX3D) OFF
ON
CH Function input terminal 1) 1)
(FUNC1, FUNC2) OFF
150 130
100
100
50
50
CH Latch count value
(RWr12 to RWr13, RWr2A to RWr2B)
0
0
CH Update flag (Latch count value) ON 4)
(RX29, RX41) 2)
OFF
CH Update flag reset command ON
(Latch count value) 3)
OFF
(RY28, RY40)
CH Update flag reset completed ON
(Latch count value)
(RX28, RX40) OFF
No. Description
The value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) is stored in CH Latch count value (RWr12 to RWr13,
RWr2A to RWr2B) at the rising edge of CH Selected counter function start command (RY25, RY3D) or CH Function input
1)
terminal (FUNC1, FUNC2). For CH Selected counter function start command (RY25, RY3D), CH Counter function detection
(RX25, RX3D) turns on or off by turning on or off CH Selected counter function start command (RY25, RY3D).
After CH Latch count value (RWr12 to RWr13, RWr2A to RWr2B) is updated, CH Update flag (Latch count value) (RX29,
2)
RX41) turns on.
When CH Update flag reset command (Latch count value) (RY28, RY40) is turned off then on, the high-speed counter module
turns off CH Update flag (Latch count value) (RX29, RX41) and turns on CH Update flag reset completed (Latch count value)
3)
(RX28, RX40). After that, CH Update flag reset completed (Latch count value) (RX28, RX40) turns off when CH Update flag
reset command (Latch count value) (RY28, RY40) is turned off.
CH Latch count value (RWr12 to RWr13, RWr2A to RWr2B) is updated even if CH Update flag (Latch count value) (RX29,
4) RX41) is on. (The latch counter function operates regardless of the ON/OFF status of CH Count enable command (RY24,
RY3C).)
146
CHAPTER 8 FUNCTIONS
● When the latch counter function is performed by CH Function input terminal (FUNC1, FUNC2), the operation response
time follows CH Function input response time setting (address: 0129H.b2 to b3, 0149H.b2 to b3)). Since CH Latch
count value (RWr12 to RWr13, RWr2A to RWr2B) is updated synchronizing with the internal control cycle, a maximum of
delay time shown below occurs until the acquired value is stored.
• T1*1 + Setting time of CH Function input response time setting (address: 0129H.b2 to b3, 0149H.b2 to b3)
*1 For T1, refer to Page 305, Appendix 4.
● The latch counter function cannot be performed while CH Selected counter function start command (RY25, RY3D) or
CH Function input terminal (FUNC1, FUNC2) is on even if the other is turned on.
147
8.11 Sampling Counter Function
The sampling counter function counts pulses that are input during the specified sampling period (T) and stores it as
CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) in the remote register.
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Select "2: Sampling Counter Function" in "CH Counter function selection".
● Change the sampling period by CH Setting change request (Sampling counter/Periodic pulse counter) (RY27, RY3F).
When the period is changed by Initial data processing completion flag (RY8) or Initial data setting request flag (RY9), the
items of the monitor value such as CH Present value (RWr10 to RWr11, RWr28 to RWr29) are cleared.
● When changing the sampling period by using CH Setting change request (Sampling counter/Periodic pulse counter)
(RY27, RY3F), do not execute the sampling counter function by CH Function input terminal (FUNC1, FUNC2) from
when CH Setting change request (Sampling counter/Periodic pulse counter) (RY27, RY3F) is turned on until CH
Setting change completed (Sampling counter/Periodic pulse counter) (RX27, RX3F) turns on. Doing so may perform
counting with the previous setting.
148
CHAPTER 8 FUNCTIONS
150
100
CH Present value
(RWr10 to RWr11, RWr28 to RWr29) 50
CH Selected counter ON
1) 1)
function start command
OFF
(RY25, RY3D)
ON
CH Counter function detection
(RX25, RX3D) OFF
ON
CH Function input terminal 1)
(FUNC1, FUNC2) OFF
150
100 2)
5) 8
50
CH Sampling counter/ ON 3)
Periodic pulse counter operation flag
OFF
(RWr20.b3, RWr38.b3)
ON
CH Update flag (Sampling count value) 4)
(RX29, RX41) OFF
ON
CH Update flag reset command 6)
(Sampling count value) OFF
(RY28, RY40)
CH Update flag reset completed
(Sampling count value) OFF
(RX28, RX40)
*1 T = Sampling period
149
No. Description
Counting the input pulses starts from 0 at the rising edge of CH Selected counter function start command (RY25, RY3D) or
1) CH Function input terminal (FUNC1, FUNC2). For CH Selected counter function start command (RY25, RY3D), CH Counter
function detection (RX25, RX3D) turns on or off by turning on or off CH Selected counter function start command (RY25, RY3D).
2) Counting stops at the end of the preset sampling period.
While the sampling counter function is being performed, set CH Sampling counter/Periodic pulse counter operation flag
3)
(RWr20.b3, RWr38.b3) to Operating (1).
4) At the end of each sampling period, CH Update flag (Sampling count value) (RX29, RX41) turns on.
Even after the counting is completed, the values stored in CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B)
remain the same until CH Selected counter function start command (RY25, RY3D) or CH Function input terminal (FUNC1,
5) FUNC2) is turned on again. When CH Selected counter function start command (RY25, RY3D) or CH Function input terminal
(FUNC1, FUNC2) is turned on again, 0 is stored in CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) and the
counting resumes.
When CH Update flag reset command (Sampling count value) (RY28, RY40) is turned on, the high-speed counter module turns
off CH Update flag (Sampling count value) (RX29, RX41) and turns on CH Update flag reset completed (Sampling count
6)
value) (RX28, RX40). After that, CH Update flag reset completed (Sampling count value) (RX28, RX40) turns off when CH
Update flag reset command (Sampling count value) (RY28, RY40) is turned off.
Although the sampling counter function operates regardless of the ON/OFF status of CH Count enable command (RY24,
RY3C), CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) is not counted while CH Count enable command
7) (RY24, RY3C) is off. At the end of the sampling period after CH Count enable command (RY24, RY3C) is turned off, CH
Sampling counter/Periodic pulse counter operation flag (RWr20.b3, RWr38.b3) is set to Not operating (0) and CH Update flag
(Sampling count value) (RX29, RX41) turns on.
● The sampling counter function cannot be performed while CH Selected counter function start command (RY25, RY3D)
or CH Function input terminal (FUNC1, FUNC2) is on even if the other is turned on.
● By turning off both CH Selected counter function start command (RY25, RY3D) and CH Function input terminal
(FUNC1, FUNC2) and then turning on one of them during the operation of the sampling counter function, the pulses are
counted from 0 again though the sampling period is continually measured.
● Depending on the pulse input speed and sampling period, the values stored in CH Sampling count value (RWr12 to
RWr13, RWr2A to RWr2B) may be over the upper limit value (2147483647) or below the lower limit value (-2147483648).
In that case, the value stored in CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) remains the upper limit
value (2147483647) or the lower limit value (-2147483648), and CH Overflow/underflow error (Sampling count
value/Periodic pulse count, difference value) (error code: 050H) occurs. Despite this minor error, the sampling counter
function keeps working till the end of the sampling period.
● To perform the sampling counter function again, reset CH Update flag (Sampling count value) (RX29, RX41) before
turning on again CH Selected counter function start command (RY25, RY3D) or CH Function input terminal (FUNC1,
FUNC2). If it is not reset, whether its value was updated after the re-execution cannot be checked.
150
CHAPTER 8 FUNCTIONS
The periodic pulse counter function stores the values which are stored in CH Present value (RWr10 to RWr11,
RWr28 to RWr29) and CH Periodic pulse count, difference value (RWr12 to RWr13, RWr2A to RWr2B) in the remote
register every specified cycle time (T).
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Select "3: Periodic Pulse Counter Function" in "CH Counter function selection".
● Change the cycle time by CH Setting change request (Sampling counter/Periodic pulse counter) (RY27, RY3F). When
the cycle time is changed by Initial data processing completion flag (RY8) or Initial data setting request flag (RY9), the
items of the monitor value such as CH Present value (RWr10 to RWr11, RWr28 to RWr29) are cleared.
● When changing the cycle time by using CH Setting change request (Sampling counter/Periodic pulse counter) (RY27,
RY3F), do not execute the periodic pulse counter function by CH Function input terminal (FUNC1, FUNC2) from when
CH Setting change request (Sampling counter/Periodic pulse counter) (RY27, RY3F) is turned on until CH Setting
change completed (Sampling counter/Periodic pulse counter) (RX27, RX3F) turns on. Doing so may perform counting
with the previous setting.
151
(3) Operation example of the periodic pulse counter function
The following figure shows an operation example of storing each calculated value in CH Periodic pulse count,
difference value (RWr12 to RWr13, RWr2A to RWr2B), CH Periodic pulse count, present value (RWr14 to
RWr15, RWr2C to RWr2D), and CH Periodic pulse count value update check (RWr16 to RWr17, RWr2E to
RWr2F) based on the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) counted within the preset
cycle time (1ms).
200
200
ON
CH Selected counter function start command 8)
OFF
(RY25, RY3D)*2
ON
100 80
2)
200
200
CH Periodic pulse count, present value 100
(RWr14 to RWr15, RWr2C to RWr2D) 100 80
20
0
3)
200
200
100 80
CH Periodic pulse count value update check
(RWr16 to RWr17, RWr2E to RWr2F) 0
-20
-100
-180
-200
CH Sampling counter/ ON
4)
Periodic pulse counter operation flag
(RWr20.b3, RWr38.b3) OFF
ON
CH Update flag (Periodic pulse count value) 5)
(RX29, RX41) OFF
CH Update flag reset command
(Periodic pulse count value) 6)
(RY28, RY40) OFF
CH Update flag reset completed
(Periodic pulse count value)
(RX28, RX40) OFF
152
CHAPTER 8 FUNCTIONS
*1 T = Cycle time
*2 Though the periodic pulse counter function can also be performed by CH Function input terminal (FUNC1, FUNC2),
the status of CH Counter function detection (RX25, RX3D) does not change.
No. Description
Counting the input pulses starts from 0 at the rising edge of CH Selected counter function start command (RY25, RY3D) or
1) CH Function input terminal (FUNC1, FUNC2). For CH Selected counter function start command (RY25, RY3D), CH Counter
function detection (RX25, RX3D) turns on or off by turning on or off CH Selected counter function start command (RY25, RY3D).
Every preset cycle time, the value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) is stored in CH Periodic pulse
2)
count, present value (RWr14 to RWr15, RWr2C to RWr2D).
Every preset cycle time, the difference of the count values between the previous one and the present one is stored in CH
3) Periodic pulse count, difference value (RWr12 to RWr13, RWr2A to RWr2B) and CH Periodic pulse count value update check
(RWr16 to RWr17, RWr2E to RWr2F).
While the periodic pulse counter function is being performed, set CH Sampling counter/Periodic pulse counter operation flag
4)
(RWr20.b3, RWr38.b3) to Operating (1).
CH Update flag (Periodic pulse count value) (RX29, RX41) turns on when CH Periodic pulse count, difference value (RWr12
5) to RWr13, RWr2A to RWr2B), CH Periodic pulse count, present value (RWr14 to RWr15, RWr2C to RWr2D), and CH Periodic
pulse count value update check (RWr16 to RWr17, RWr2E to RWr2F) are updated.
When CH Update flag reset command (Periodic pulse count value) (RY28, RY40) is turned on, the high-speed counter module
turns off CH Update flag (Periodic pulse count value) (RX29, RX41) and turns on CH Update flag reset completed (Periodic
6)
pulse count value) (RX28, RX40). After that, CH Update flag reset completed (Periodic pulse count value) (RX28, RX40) turns
off when CH Update flag reset command (Periodic pulse count value) (RY28, RY40) is turned off.
7) The periodic pulse counter function operates regardless of the ON/OFF status of CH Count enable command (RY24, RY3C).
The periodic pulse counter function is stopped by turning off both CH Selected counter function start command (RY25, RY3D)
8)
and CH Function input terminal (FUNC1, FUNC2).
8
● Use the periodic pulse count value after checking the values in CH Periodic pulse count, difference value (RWr12 to
153
8.13 Count Disable/preset/replace Function
The count disable/preset/replace function executes the count disable function and the preset/replace function
according to the status change of CH Function input terminal (FUNC1, FUNC2) without switching the functions by
the counter function selection.
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Select "4: Count disable/Preset/replace Function" in "CH Counter function selection".
4)
CH Preset value setting
(RWw14 to RWw15, 0 100
RWw2C to RWw2D)
T1 or more*1
2) ON 3) 6) 8)
CH Present value
(RWr10 to RWr11, RWr28 to RWr29)
stored in a remote register
0
154
CHAPTER 8 FUNCTIONS
No. Description
1) Counting starts by turning on CH Count enable command (RY24, RY3C).
2) Counting stops at the rising edge of CH Function input terminal (FUNC1, FUNC2).
The value in CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) is stored in CH Present value (RWr10 to RWr11,
3)
RWr28 to RWr29) at the falling edge of CH Function input terminal (FUNC1, FUNC2), and the counting resumes.
4) Set any values to CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D).
5) Counting stops by turning off CH Count enable command (RY24, RY3C).
Counting stops regardless of CH Function input terminal (FUNC1, FUNC2) since CH Count enable command (RY24, RY3C) is
6)
off.
Counting remains stopped even if CH Count enable command (RY24, RY3C) is turned on since CH Function input terminal
7)
(FUNC1, FUNC2) is on.
The value in CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) is stored in CH Present value (RWr10 to RWr11,
8)
RWr28 to RWr29) at the falling edge of CH Function input terminal (FUNC1, FUNC2), and the counting resumes.
● The count value cannot be replaced with the preset value while CH External preset/replace (Z Phase) request
detection (RX23, RX3B) is on.
Replace the value after CH External preset/replace (Z Phase) request detection (RX23, RX3B) turns off by turning on
CH External preset/replace (Z Phase) request detection reset command (RY23, RY3B).
● Have a T1 or longer interval after changing CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) until the
value is replaced since there are maximum of T1 delay until change in CH Preset value setting (RWw14 to RWw15,
RWw2C to RWw2D) is reflected. For T1, refer to Page 305, Appendix 4.
155
8.14 Latch Counter/preset/replace Function
The latch counter/preset/replace function executes the latch counter function and the preset/replace function
according to the status change of CH Function input terminal (FUNC1, FUNC2) without switching the functions by
the counter function selection.
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Select "5: Latch counter/Preset/replace Function" in "CH Counter function selection".
156
CHAPTER 8 FUNCTIONS
3)
CH Preset value setting
(RWw14 to RWw15, RWw2C to RWw2D) 0 100
T1 or more*1
2) ON
CH Function input terminal
(FUNC1, FUNC2) OFF
150
100
7
0
0
ON
CH Update flag (Latch count value)
(RX29, RX41) OFF
CH Update flag reset command ON
5)
(Latch count value)
(RY28, RY40) OFF
157
No. Description
1) Counting starts by turning on CH Count enable command (RY24, RY3C).
The value in CH Present value (RWr10 to RWr11, RWr28 to RWr29) is stored in CH Latch count value (RWr12 to RWr13,
RWr2A to RWr2B), and the value in CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) is stored in CH Present
2)
value (RWr10 to RWr11, RWr28 to RWr29) at the rising edge of CH Function input terminal (FUNC1, FUNC2). After CH Latch
count value (RWr12 to RWr13, RWr2A to RWr2B) is updated, CH Update flag (Latch count value) (RX29, RX41) turns on.
3) Set any values to CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D).
4) Counting stops by turning off CH Count enable command (RY24, RY3C).
When CH Update flag reset command (Latch count value) (RY28, RY40) is turned off then on, the high-speed counter module
turns off CH Update flag (Latch count value) (RX29, RX41) and turns on CH Update flag reset completed (Latch count value)
5)
(RX28, RX40). After that, CH Update flag reset completed (Latch count value) (RX28, RX40) turns off when CH Update flag
reset command (Latch count value) (RY28, RY40) is turned off.
6) Counting resumes by turning on CH Count enable command (RY24, RY3C).
● The count value cannot be replaced with the preset value while CH External preset/replace (Z Phase) request
detection (RX23, RX3B) is on.
Replace the value after CH External preset/replace (Z Phase) request detection (RX23, RX3B) turns off by turning on
CH External preset/replace (Z Phase) request detection reset command (RY23, RY3B).
● Have a T1 or longer interval after changing CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D) until the
value is replaced since there are maximum of T1 delay until change in the preset value is reflected.*1
● When the latch counter function is performed by CH Function input terminal (FUNC1, FUNC2), the operation response
time follows CH Function input response time setting (address: 0129H.b2 to b3, 0149H.b2 to b3). Since CH Latch
count value (RWr12 to RWr13, RWr2A to RWr2B) is updated synchronizing with the internal control cycle, a maximum of
delay time shown below occurs until the acquired value is stored.
• T1*1 + Setting time of CH Function input response time setting (address: 0129H.b2 to b3, 0149H.b2 to b3)
*1 For T1, refer to Page 305, Appendix 4.
158
CHAPTER 8 FUNCTIONS
This function updates CH Present value (RWr10 to RWr11, RWr28 to RWr29) in the synchronization cycle of a
master station that supports the CC-Link IE Field Network synchronous communication function.
This enables the high-speed counter module to operate at the same timing of other slave stations on the same
network.
This function can be used only when the used master station supports the CC-Link IE Field Network synchronous
communication function and "Mode switch setting" is set to "9: Automatical judgment mode".
(2) Restrictions
Only Normal Mode (0) can be set for CH Operation mode setting (address: 0120H, 0140H).
The following items cannot be set.
• Frequency Measurement Mode (1)
CH Operation mode
• Rotation Speed Measurement Mode (2)
setting (address:
• Pulse Measurement Mode (3)
0120H, 0140H)
• PWM Output Mode (4)
When any of the items above is set, Synchronous communication mode setting error (error code:
0170H) occurs.
Latch counter function No latch operation with the latch counter input terminal is available. Even if a signal is applied to
by latch counter input the latch counter input terminal, the value in CH Latch count value (Latch counter input terminal)
terminal (RWr18 to RWr19, RWr30 to RWr31) does not change.
Cyclic data update
The setting of Cyclic data update watch time setting (address: 0003H) will be ignored.
watch function
159
(3) Operation using the CC-Link IE Field Network synchronous communication
function
CH Present value is updated for each synchronization cycle of the master station.
The following figure shows an example.
Ex. Operation timing when the synchronization cycle of the master station is 0.88ms
CH1 Count value 100 101 102 103 104 105 106 107 108 109 110
CH2 Count value 200 201 202 203 204 205 206 207 208 209 210
No. Description
1) to 4) CH Count value is latched in every synchronization cycle of the master station.
The latched CH Count value is stored in CH Present value (RWr10 to RWr11, RWr28 to
1') to 4')
RWr29) in the next synchronization cycle of the master station.
(a) SB/SW signals used with the CC-Link IE Field Network synchronous communication
function
To check the operating status of the high-speed counter module (synchronous or asynchronous), use the
following link special register (SW) on the master station.
• Synchronous/asynchronous operation status information (each station) (SW01C8 to SW01CF)
For details, refer to the following.
When the master station is the RJ71GF11-T2 or RJ71EN71:
• MELSEC iQ-R CC-Link IE Field Network User's Manual (Application)
• MELSEC iQ-R Inter-Module Synchronization Function Reference Manual
When the master station is a simple motion module:
• MELSEC-Q QD77GF Simple Motion Module User's Manual (Network)
When reading CH Present value, use the condition of the above mentioned link special register (SW) (the
corresponding bit of the register being on) as an interlock.
The following figure shows the program example to read CH1 Present value of the high-speed counter module
with station number 17.
Reading a present value in the CC-Link IE Field Network synchronous communication function
X100B X3E SW1C9.0
DMOV W1110 D1116
Remote Synchronous Synchronous CH1 CH1
READY present value operation Present Present
read signal status
information value value
(station No.17) storage
device
160
CHAPTER 8 FUNCTIONS
The setting 0.8 to 10.0ms (in increments of 0.05ms) is allowed for the CC-Link IE Field Network synchronous communication
between the following master station and high-speed counter module:
Master station
• RJ71GF11-T2 or RJ71EN71 with a firmware version of 03 or later
High-speed counter module
• High speed counter module with a serial number (first five digits) of 17022 or later
4. Click the [Execute] button to write the parameter to the high-speed counter module.
5. Check that "0190H" is stored in CH1 Latest warning code (RWr23).
6. The high-speed counter module starts operating in the synchronous communication mode by
turning off and on the power or performing the remote reset.
161
8.16 Frequency Measurement Function
The frequency measurement function counts the pulses of the pulse input terminals in phase A and B, and
automatically calculates the frequency.
High-speed
counter module
Pulses
Remote register
Frequency
Encoder measurement CH Measured frequency value
(RWr1A to RWr1B, RWr32 to RWr33)
(1) Restrictions
During operation in the synchronous communication mode, the frequency measurement function cannot be used.
Set "CH Operation mode setting" to "0: Normal Mode".
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "CH Operation mode setting" to "1: Frequency Measurement Mode".
162
CHAPTER 8 FUNCTIONS
● Whichever mode ("1: 1-Phase Multiple of 2", "4: 2-Phase Multiple of 2", or "5: 2-Phase Multiple of 4") is set in "CH Pulse
input mode" ( Page 104, Section 8.3.1), the frequency (Hz) is calculated based on the count value per unit of time.
● When "1: 1-Phase Multiple of 2" is set in "CH Pulse input mode" ( Page 104, Section 8.3.1) and the input frequency
in phase A is 10kHz (10000 per second), the measured frequency value becomes 20kHz since the pulse count is
regarded as 20000 (Pulse count = 10000 (pulse) 2 = 20000 (pulse/s)).
● Measurable frequency (minimum)
The frequency is calculated from the count value per unit of time. However, the frequency smaller than the one in the
following table cannot be measured correctly as the count value is in an integer number.
When a unit of time is 0.01s and the input frequency is 1234Hz, the measured frequency value is 1200Hz or 1300Hz. By
doing the moving average count, the fluctuation of the measured values can be lowered.
After the specified number of counts are done, the average of the measured frequency values is stored in CH
Ex. When the number for CH Moving average count (Frequency measurement) (RWw19, RWw31) is set to
3
T T T T T
10000
3) 4)
2)
Frequency
1) Remote register
5000 5)
CH Measured
1st storage frequency value
2nd storage (RWr1A to RWr1B,
RWr32 to RWr33)
3rd storage
0 Time
T: Time unit
After the start of the frequency measurement, CH Update flag (Measured frequency value) (RX2D, RX45) turns on every
time the measured value is stored in the remote register. The value previously stored in the remote register is held while
CH Update flag (Measured frequency value) (RX2D, RX45) is off. (Except at the start of the measurement)
163
(6) Operation example of the frequency measurement function
The following figure shows an operation example of when CH Time unit setting (Frequency measurement)
(RWw18, RWw30) is set to 0.01s and CH Moving average count (Frequency measurement) (RWw19, RWw31)
is set to 3.
10000
Frequency 5000
T T T T T
0 Time
1
CH Frequency measurement flag
(RWr20.b4, RWr38.b4) 0
ON
2) 4)
CH Update flag (Measured frequency value)
(RX2D, RX45) OFF
ON
CH Update flag reset command 3)
(Measured frequency value)
OFF
(RY2C, RY44)
ON
CH Update flag reset completed
(Measured frequency value)
OFF
(RX2C, RX44)
T: Frequency measurement time unit
164
CHAPTER 8 FUNCTIONS
No. Description
The following processing is performed when CH Count enable command (RY24, RY3C) is turned on to turn CH Frequency
measurement flag (RWr20.b4, RWr38.b4) to Operating (1).
• The values in CH Time unit setting (Frequency measurement) (RWw18, RWw30) and CH Moving average count
1) (Frequency measurement) (RWw19, RWw31) are acquired. (If the value is changed during the frequency measurement, the
change is ignored.)
• CH Update flag (Measured frequency value) (RX2D, RX45) turns off.
• The value in CH Measured frequency value (RWr1A to RWr1B, RWr32 to RWr33) is cleared to 0.
CH Update flag (Measured frequency value) (RX2D, RX45) turns on when a value is stored in CH Measured frequency value
2)
(RWr1A to RWr1B, RWr32 to RWr33).
When CH Update flag reset command (Measured frequency value) (RY2C, RY44) is turned off then on, the high-speed counter
module turns off CH Update flag (Measured frequency value) (RX2D, RX45) and turns on CH Update flag reset completed
3)
(Measured frequency value) (RX2C, RX44). After that, CH Update flag reset completed (Measured frequency value) (RX2C,
RX44) turns off when CH Update flag reset command (Measured frequency value) (RY2C, RY44) is turned off.
CH Measured frequency value (RWr1A to RWr1B, RWr32 to RWr33) is updated even when CH Update flag (Measured
4)
frequency value) (RX2D, RX45) is on.
CH Frequency measurement flag (RWr20.b4, RWr38.b4) changes to Not operating (0) when CH Count enable command
5)
(RY24, RY3C) is turned off.
● The margin of error (maximum) of the frequency measurement function is calculated from the following formula.
100 (ppm) 1
Real frequency (Hz) +
1000000 Time unit Moving average count
(Frequency measurement) (S) (Frequency measurement) 8
Ex. The following table shows each value to be put into the formula.
Item Value
100 (ppm) 1
1234 (Hz) +
1000000 0.01 (s) 2
= 0.1234 (Hz) + 50 (Hz)
= 50.1234 (Hz)
● CH Measured frequency value (RWr1A to RWr1B, RWr32 to RWr33) is updated without resetting CH Update flag
(Measured frequency value) (RX2D, RX45).
● CH Update flag reset command (Measured frequency value) (RY2C, RY44) responds within T1 after the action. For
T1, refer to the following.
• Internal Control Cycle and Response Delay Time ( Page 305, Appendix 4)
165
8.17 Rotation Speed Measurement Function
The rotation speed measurement function counts the pulses of the pulse input terminals in phase A and B, and
automatically calculates the rotation speed.
High-speed
counter module
Pulses
Rotation Remote register
Encoder speed CH Measured rotation speed value
measurement (RWr1A to RWr1B, RWr32 to RWr33)
(1) Restrictions
During operation in the synchronous communication mode, the rotation speed measurement function cannot be
used. Set "CH Operation mode setting" to "0: Normal Mode".
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "CH Operation mode setting " to "2: Rotation Speed Measurement Mode".
(4) Setting of the unit of time for rotation speed measurement and the number of
pulses per rotation
Set a unit of time to CH Time unit setting (Rotation speed measurement) (RWw18, RWw30).
Set the number of pulses per rotation to CH Number of pulses per rotation (RWw1A to RWw1B, RWw32 to
RWw33).
Setting item Setting range Reference
0: 0.01s
CH Time unit setting (Rotation speed measurement)
1: 0.1s
(RWw18, RWw30)
2: 1s
CH Number of pulses per rotation (RWw1A to RWw1B,
1 to 8000000
RWw32 to RWw33)
166
CHAPTER 8 FUNCTIONS
● Whichever mode ("1: 1-Phase Multiple of 2", "4: 2-Phase Multiple of 2", or "5: 2-Phase Multiple of 4") is set in "CH Pulse
input mode" ( Page 104, Section 8.3.1), the rotation speed (r/min) is calculated based on the count value per unit of
time.
● Required pulse speed (minimum)
The rotation speed is calculated from the count value per unit of time. However, the pulse speed lower than the one in the
following table, the rotation speed cannot be measured correctly as the count value is in an integer number. Input the
pulses with the speed shown below or higher.
When a unit of time is 0.01[s], the number of pulses per rotation is 60, and when the pulse input speed is 1234[pps], the
value of the calculated rotation speed is 1200(r/min) or 1300(r/min). By doing the moving average count, the fluctuation of
the measured values can be lowered.
Ex. When the number for CH Moving average count (Rotation speed measurement) (RWw19, RWw31) is
set to 3
T T T T T
10000
3) 4)
Rotation speed 2)
1) Remote register
5000 5)
CH Measured rotation
1st storage speed value
2nd storage (RWr1A to RWr1B,
3rd storage RWr32 to RWr33)
0 Time
T: Time unit
167
(6) Operation example of the rotation speed measurement function
The following figure shows an operation example with the following settings.
• CH Time unit setting (Rotation speed measurement) (RWw18, RWw30): 0.01s
• CH Moving average count (Rotation speed measurement) (RWw19, RWw31): 3
• CH Number of pulses per rotation (RWw1A to RWw1B, RWw32 to RWw33): 1000
10000
0 Time
ON
2) 4)
CH Update flag
(Measured rotation speed value) OFF
(RX2D, RX45)
ON
CH Update flag reset command 3)
(Measured rotation speed value)
OFF
(RY2C, RY44)
ON
CH Update flag reset completed
(Measured rotation speed value) OFF
(RX2C, RX44)
T: Rotation speed measurement time unit
168
CHAPTER 8 FUNCTIONS
No. Description
The following processing is performed when CH Count enable command (RY24, RY3C) is turned on to turn CH Rotation
speed measurement flag (RWr20.b5, RWr38.b5) to Operating (1).
• The values of CH Time unit setting (Rotation speed measurement) (RWw18, RWw30), CH Moving average count (Rotation
1) speed measurement) (RWw19, RWw31), and CH Number of pulses per rotation (RWw1A to RWw1B, RWw32 to RWw33) are
acquired. (If the value is changed during the rotation speed measurement, the change is ignored.)
• CH Update flag (Measured rotation speed value) (RX2D, RX45) turns off.
• The value in CH Measured rotation speed value (RWr1A to RWr1B, RWr32 to RWr33) is cleared to 0.
CH Update flag (Measured rotation speed value) (RX2D, RX45) turns on when a value is stored in CH Measured rotation
2)
speed value (RWr1A to RWr1B, RWr32 to RWr33).
When CH Update flag reset command (Measured rotation speed value) (RY2C, RY44) is turned off then on, the high-speed
counter module turns off CH Update flag (Measured rotation speed value) (RX2D, RX45) and turns on CH Update flag reset
3) completed (Measured rotation speed value) (RX2C, RX44). After that, CH Update flag reset completed (Measured rotation
speed value) (RX2C, RX44) turns off when CH Update flag reset command (Measured rotation speed value) (RY2C, RY44) is
turned off.
CH Measured rotation speed value (RWr1A to RWr1B, RWr32 to RWr33) is updated even when CH Update flag (Measured
4)
rotation speed value) (RX2D, RX45) is on.
CH Rotation speed measurement flag (RWr20.b5, RWr38.b5) changes to Not operating (0) when CH Count enable command
5)
(RY24, RY3C) is turned off.
● After the start of the rotation speed measurement, CH Update flag (Measured rotation speed value) (RX2D, RX45)
turns on every time the measured value is stored in CH Measured rotation speed value (RWr1A to RWr1B, RWr32 to
RWr33).
The value previously stored in the remote register is held while CH Update flag (Measured rotation speed value)
(RX2D, RX45) is off. (Except at the start of the measurement)
8
● The margin of error (maximum) of the rotation speed measurement function is calculated from the following formula.
100 (ppm) 60
Actual rotation speed (r/min) +
Ex. The following table shows each value to be put into the formula.
Item Value
Actual rotation speed (r/min) 1234r/min
Time unit (Rotation speed measurement) (s) 0.01s
Moving average count (Rotation speed measurement) 4 times
Number of pulses per rotation 60
100 (ppm) 60
1234 (r/min) +
1000000 0.01 (s) 4 60
= 0.1234 (r/min) + 25 (r/min)
= 25.1234 (r/min)
● CH Measured rotation speed value (RWr1A to RWr1B, RWr32 to RWr33) is updated without resetting CH Update flag
(Measured rotation speed value) (RX2D, RX45).
● CH Update flag reset command (Measured rotation speed value) (RY2C, RY44) responds within T1 after the action.
For T1, refer to the following.
• Internal Control Cycle and Response Delay Time ( Page 305, Appendix 4)
169
8.18 Pulse Measurement Function
The pulse measurement function measures the ON width or OFF width of pulses that are input to the external input
terminals, CH Function input terminal (FUNC1, FUNC2) or CH Latch counter input terminal (LATCH1, LATCH2).
When the next pulse is measured, the measured value is written over the previous value.
High-speed
Function input terminal counter module
(FUNC1/FUNC2) Remote register
Analysis
Pulses CH Measured pulse value
(Function input terminal)
(RWr1C to RWr1D, RWr34 to RWr35)
(1) Restrictions
During operation in the synchronous communication mode, the pulse measurement function cannot be used. Set
"CH Operation mode setting" to "0: Normal Mode".
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "CH Operation mode setting " to "3: Pulse Measurement Mode".
3. Set the pulse width to be measured in "CH Pulse measurement setting (Function input
terminal)".
4. Set the pulse width to be measured in "CH Pulse measurement setting (Latch counter input
terminal)".
170
CHAPTER 8 FUNCTIONS
ON width
OFF width
Pulse width to be
Setting value of 8
pulse width to be Description
measured
measured
Pulse ON width 0 The ON time of the input pulse is measured.
171
(7) Operation example of the pulse measurement function
The following figure shows an operation example of the pulse measurement for the ON width with CH Function
input terminal (FUNC1, FUNC2).
The explanations in the following table are for the measurement with CH Function input terminal (FUNC1,
FUNC2). The same can be applied to the measurement with CH Latch counter input terminal (LATCH1,
LATCH2) except the difference of the terminals for the pulse measurement and the setting items. For details on
the difference, refer to Page 173, Section 8.18 (8).
No. Description
When CH Pulse measurement start command (Function input terminal) (RY30, RY48) is turned on, CH Pulse measurement
flag (Function input terminal) (RWr20.b6, RWr38.b6) changes to Operating (1). The following processing are performed. The
1) remote input signal and remote register remain the same before the measured pulse value is stored.
• CH Measured pulse value update flag (Function input terminal) (RX32, RX4A) turns off.
• The value in CH Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35) changes to 0.
The following processing is performed when the measured pulse value is stored.
2)
• CH Measured pulse value update flag (Function input terminal) (RX32, RX4A) turns on.
When CH Measured pulse value update flag reset command (Function input terminal) (RY31, RY49) is turned off then on, the
high-speed counter module turns off CH Measured pulse value update flag (Function input terminal) (RX32, RX4A) and turns on
3) CH Measured pulse value update flag reset completed (Function input terminal) (RX31, RX49). After that, CH Measured
pulse value update flag reset completed (Function input terminal) (RX31, RX49) turns off when CH Measured pulse value
update flag reset command (Function input terminal) (RY31, RY49) is turned off.
CH Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35) is updated even if CH Measured
4)
pulse value update flag (Function input terminal) (RX32, RX4A) is on.
CH Pulse measurement flag (Function input terminal) (RWr20.b6, RWr38.b6) changes to Not operating (0) and the pulse
5)
measurement stops by turning off CH Pulse measurement start command (Function input terminal) (RY30, RY48).
If the pulse (pulse ON width in this case) is input before CH Pulse measurement flag (Function input terminal) (RWr20.b6,
RWr38.b6) changes to Operating (1), CH Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35)
6) is not updated even when CH Function input terminal (FUNC1, FUNC2) is turned off. Note that the pulse that is input after the
setting in CH Pulse measurement flag (Function input terminal) (RWr20.b6, RWr38.b6) changes to Operating (1) is to be
measured.
172
CHAPTER 8 FUNCTIONS
When the pulse measurement function is executed with CH Function input terminal (FUNC1, FUNC2), the time to be taken
to update CH Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35) varies according to
the time set in "CH Function input response time setting". (The same can be applied to the measurement with CH Latch
counter input terminal (LATCH1, LATCH2) except the differences such as the setting items.)
(8) Pulse measurement difference between CH Function input terminal (FUNC1,
FUNC2) and CH Latch counter input terminal (LATCH1, LATCH2)
The pulse measurement same as CH Function input terminal (FUNC1, FUNC2) can be applied to the
measurement with CH Latch counter input terminal (LATCH1, LATCH2) except the difference of the terminals
for the pulse measurement and the setting items.
The following table lists the differences of the setting items between both terminals.
Input terminal, setting Pulse measurement (with function Pulse measurement (with latch
item input terminal) counter input terminal)
Terminals for the pulse CH Function input terminal (FUNC1, CH Latch counter input terminal (LATCH1,
measurement FUNC2) LATCH2)
CH Pulse measurement setting (Latch
Setting for pulse width to be CH Pulse measurement setting (Function
counter input terminal) (address: 012BH,
measured input terminal) (address: 012AH, 014AH)
014BH)
CH Measured pulse value (Function CH Measured pulse value (Latch counter
Measured pulse value input terminal) (RWr1C to RWr1D, RWr34 input terminal) (RWr1E to RWr1F, RWr36 to
to RWr35) RWr37)
8
Pulse measurement start CH Pulse measurement start command CH Pulse measurement start command
command (Function input terminal) (RY30, RY48) (Latch counter input terminal) (RY32, RY4A)
CH Pulse measurement flag (Function CH Pulse measurement flag (Latch counter
173
8.19 PWM Output Function
The PWM output function outputs the PWM waveform (up to 200kHz) from one of the coincidence output 1 to 4
terminals (EQU1 to EQU4). Up to four points can be assigned for one channel. The same waveform is to be output to
the assigned terminals. The ON width setting (PWM output) can be changed during PWM output.
(1) Restrictions
During operation in the synchronous communication mode, the PWM output function cannot be used. Set "CH
Operation mode setting" to "0: Normal Mode".
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. Set "CH Operation mode setting" to "4: PWM Output Mode".
174
CHAPTER 8 FUNCTIONS
175
Ex. Setting item Setting detail Operation
Coincidence output 1 channel
0: CH1
assignment setting
Coincidence output 2 channel Coincidence output 1 to 2 are
0: CH1 The error code (670H) is stored in CH
assignment setting assigned to CH1 and
Coincidence output 3 to 4 are Latest error code (RWr22, RWr3A) since
Coincidence output 3 channel
1: CH2 the Coincidence output is assigned to
4 assignment setting assigned to CH2.
Coincidence output 3 that is used by CH2.
Coincidence output 4 channel
1: CH2 At this time, Error status flag (RXA) and
assignment setting
the ERR. LED turns on.
Coincidence output 3 is
CH1 PWM output assignment setting
0004H assigned to the PWM output
(RWw1D)
terminal.
Coincidence output 1 channel
0: CH1
assignment setting
Coincidence output 2 channel
0: CH1
assignment setting Coincidence output 1 to 4 are Coincidence output 1 to 4 are assigned to
Coincidence output 3 channel assigned to CH1. the PWM output terminal and the
0: CH1
5 assignment setting operation is performed. (The same PWM
Coincidence output 4 channel waveform is output from all the
0: CH1 Coincidence output terminals.)
assignment setting
Coincidence output 1 to 4 are
CH1 PWM output assignment setting
000FH assigned to the PWM output
(RWw1D)
terminal.
For Coincidence output that is assigned as the PWM output terminal in CH PWM output assignment setting (RWw1D,
RWw35), the setting in "Coincidence output 1 to 4 comparison condition setting" is disabled.
176
CHAPTER 8 FUNCTIONS
*1 Set the value that is equal to or smaller than the one set to the cycle setting (PWM output).
● The ON width of the PWM output is calculated from the following formula according to the duty ratio to be specified.
ON width of the PWM output = Cycle of the PWM output Duty ratio [%] 100
8
● Given that output circuits or connected devices of the high-speed counter module do not affect the value, the margin of
error (maximum) of each setting value is calculated as shown below.
• ON width setting (PWM output) [s] 100 [ppm] 1000000 + 0.1 [s]
177
(5) Operation example of the PWM output function
The following figure shows an operation example of outputting the PWM waveform whose cycle time is 2ms and
ON time is 1ms to change the ON time to 0.5ms during PWM output.
Coincidence output is assigned to the corresponding channel in the "Coincidence output 3 channel assignment
setting".
T1 T3
T2 T2
CH PWM output ON
(RX26, RX3E) OFF
T1: ON width setting (PWM output) (1ms)
T2: Cycle setting (PWM output) (2ms)
T3: ON width setting (PWM output) (0.5ms)
178
CHAPTER 8 FUNCTIONS
No. Description
The following processing is performed when CH PWM output start command (RY26, RY3E) is turned on to turn on CH PWM
output (RX26, RX3E).
• The values in CH PWM output assignment setting (RWw1D, RWw35), CH ON width setting (PWM output) (RWw1E to
1)
RWw1F, RWw36 to RWw37), and CH Cycle setting (PWM output) (RWw20 to RWw21, RWw38 to RWw39) are acquired.
• The PWM waveform is output from one of the coincidence output 1 to 4 terminals (EQU1 to EQU4) based on the settings. (The
PWM waveform is output starting with OFF.)
The PWM waveform continues to be output based on the acquired settings until CH PWM output start command (RY26, RY3E)
2)
is turned off or CH ON width setting change request (PWM output) (RY35, RY4D) is turned on.
When the values in CH PWM output assignment setting (RWw1D, RWw35), CH ON width setting (PWM output) (RWw1E to
RWw1F, RWw36 to RWw37), and CH Cycle setting (PWM output) (RWw20 to RWw21, RWw38 to RWw39) are changed, the
3)
PWM waveform is not changed. Only the value in CH ON width setting (PWM output) (RWw1E to RWw1F, RWw36 to RWw37)
can be changed by CH ON width setting change request (PWM output) (RY35, RY4D).
The following processing is performed when CH ON width setting change request (PWM output) (RY35, RY4D) is turned off
then on to turn on CH ON width setting change completed (PWM output) (RX35, RX4D).
• The value in CH ON width setting (PWM output) (RWw1E to RWw1F, RWw36 to RWw37) is acquired.
• The PWM waveform is output from one of the coincidence output 1 to 4 terminals (EQU1 to EQU4) based on the settings. The
4)
change is reflected immediately.
Turn off CH ON width setting change request (PWM output) (RY35, RY4D) when CH ON width setting change completed
(PWM output) (RX35, RX4D) turns on. CH ON width setting change completed (PWM output) (RX35, RX4D) turns off when
CH ON width setting change request (PWM output) (RY35, RY4D) is turned off.
The following processing is performed when CH PWM output start command (RY26, RY3E) is turned off to turn off CH PWM
5) output (RX26, RX3E).
• Turn off the coincidence output 1 to 4 terminals (EQU1 to EQU4) immediately.
179
● The waveform that is output from the coincidence output 1 to 4 terminals (EQU 1 to EQU4), the external output terminals,
can be affected by output circuits or connected devices of the high-speed counter module and change its form.
Therefore, check the waveform by using, for example, a synchroscope, and set the output waveform.
● When changing the cycle time of the PWM waveform, turn off CH PWM output start command (RY26, RY3E) to turn off
CH PWM output (RX26, RX3E). After checking that CH PWM output (RX26, RX3E) is off, change the setting of CH
Cycle setting (PWM output) (RWw20 to RWw21, RWw38 to RWw39), and turn on CH PWM output start command
(RY26, RY3E) again.
● When the ON time is changed during PWM output, the change is reflected immediately, therefore, the ON time before the
change may be interrupted at the cycle in which the ON time is changed. When the ON time after the change is shorter
than the ON time before the change, unnecessary OFF waveform may be output depending on the changing timing.
Change of the ON
width of PWM output
Waveform before
the change
Waveform after
the change
Waveform to
be output
T t
T: Cycle time
t: (Remaining ON width before the change) - (ON width after the change)
When the ON time after the change is longer than the ON time before the change, the ON waveform may be output at the
time of the change depending on the changing timing.
Change of the ON
width of PWM output
Waveform before
the change
Waveform after
the change
Waveform to
be output
T t
T: Cycle time
t: (Remaining OFF width before the change) + (ON width after the change)
180
CHAPTER 8 FUNCTIONS
When the high-speed counter module is disconnected from data link, or the CPU module operating status is STOP,
whether to hold or clear the last Coincidence output (EQU1 to EQU4) and the output status of the extension output
module can be set. Set whether to hold or clear the values for all the output points of the module in a batch from the
module parameter setting window of the engineering tool or the program.
When the output status changes according to the change in the comparison result after the output is set to HOLD, the output
of the following functions changes.
• Coincidence output (EQU1 to EQU4) of the coincidence output function
• Coincidence output (EQU1 to EQU4) of the PWM output function
• Output of the extension output module that is used as the output of the cam switch function (Y0 to YF)
181
8.21 Cyclic Data Update Watch Function
This function monitors the cyclic data update interval. When the cyclic transmission remains to be stopped over the set
watch time, this function holds or clears the value which is output just before.
In the cyclic transmission stop status, the D LINK LED is flashing (Data link in operation (cyclic transmission stopped))
or off (Data link not performed (disconnected)).
Set whether to hold or clear the output value using the output HOLD/CLEAR setting function. For the output
HOLD/CLEAR setting function, refer to the following.
• Output HOLD/CLEAR Setting Function ( Page 181, Section 8.20)
Master station
Cyclic data
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. For "Cyclic data update watch time setting", set the monitoring time.
● Set the greater value for the cyclic data update watch time setting than that of the link scan time.
● While the synchronous communication mode is enabled, the setting of Cyclic data update watch time setting is ignored.
182
CHAPTER 8 FUNCTIONS
When an error or warning occurs, the high-speed counter module notifies the master station of it using remote input
signals and remote registers.
Remark
The notification of the error or warning can be checked on the LED on the front of the module.
For details, refer to the following.
• PART NAMES ( Page 23, CHAPTER 2)
*1 Errors independent from channels are station errors stored in CH1 Latest error code (RWr22).
*1 A moderate error that has occurred after another moderate error that cannot be reset cannot be reset. However, error
reset is possible on CH2 because no moderate error that cannot be reset occurs.
For moderate errors that cannot be reset, refer to the following.
• When error codes/warning codes cannot be reset ( Page 254, Section 11.5.6)
*1 Errors independent from channels are station errors stored in CH1 Latest warning code (RWr23).
183
(a) Method for clearing a warning
Error type Clearing an error
Error code:
Other than A warning is cleared five seconds after the error cause is removed.*1
Minor error Warning 050H
Error code: Turning off then on CH Error reset command (RY36, RY4E) resets
050H the warning status of each channel.*1
*1 A warning results in the following state five seconds after the error cause is removed or CH Error reset command
(RY36, RY4E) is turned off then on.
• Warning status flag (RX7) turns off.
• CH Warning status (RX37, RX4F) of a channel where the error cause is removed turns off.
• CH Latest warning code (RWr23, RWr3B) of a channel where the error cause is removed is cleared.
• The ERR. LED turns off.
However, a minor error that has occurred after another minor error that cannot be reset and occurs only on CH1 cannot
be reset even if the conditions above are satisfied. Error reset is possible on CH2 because no minor error that cannot be
reset occurs.
For minor errors that cannot be reset, refer to the following.
• When error codes/warning codes cannot be reset ( Page 254, Section 11.5.6)
Ex. Operation to clear Station number switch change failure (error code: 0160H)
ON
Warning status flag
(RX7) OFF OFF
5 seconds
ON
Remote READY
(RXB)
184
CHAPTER 8 FUNCTIONS
(3) Method for clearing an error by executing the command of the slave station
The following shows how to clear an error by executing the command of the slave station.
1. Select the high-speed counter module in "List of
stations" on the "CC IE Field Configuration"
window.
List of
stations
185
8.23 Function at the Extension Module Installation
One extension I/O module can be connected to one high-speed counter module.
In addition, functions unique to the extension I/O module can be used.
● Turn off the high-speed counter module before replacing the extension I/O module. If the extension module is removed
when the module power supply is on, the error code (1F00H) is stored to CH1 Latest error code (RWr22), Error status flag
(RXA) turns on, and the ERR. LED turns on. The main module stops its operation.
● After replacing the extension I/O module, write the parameters again.
186
CHAPTER 8 FUNCTIONS
External power ON
External power ON
supply monitor
state flag
OFF
(RX1F)
*1 Errors which occur in the extension I/O module are displayed in the error area of CH1 of the high-speed counter module.
(b) Setting and checking the external power supply monitoring function
Item Description Reference
External power supply monitor request Set whether to enable or disable the external power
Page 268, Appendix 1.2
flag (RY1F) supply monitoring function.
External power supply monitor state Indicates whether the external power supply
Page 256, Appendix 1.1
flag (RX1F) monitoring function is enabled or disabled.
187
(3) Input response time setting function
This function prevents an incorrect input due to noise by setting the response time until the extension input
module recognizes an actual input as the X signal.
The input response time can be set from the module parameter setting window of the engineering tool or the
program.
"CC IE Field Configuration" window Select a high-speed counter module in "List of stations".
[CC IE Field Configuration] [Online] [Parameter Processing of Slave Station]
2. For "Input response time setting", select the appropriate input response time.
The extension input module may take in noise as an input depending on the input response time setting.
The pulse width which is taken in as an input varies depending on the response time set in parameters.
To set the input response time, consider fully the operating environment.
The following table shows the minimum values of the pulse widths which may be taken in as an input. The pulse widths lower
than the values shown below can be filtered as noise.
Value of input response time setting 2ms 5ms 10ms 20ms 70ms
Minimum values of the pulse widths which may be
taken in as an input (the maximum pulse widths which 0.15ms 2ms 4ms 9ms 36ms
can be filtered as noise)
188
CHAPTER 8 FUNCTIONS
Whether an error is present in the network can be checked with this function through the engineering tool connected to
the CPU module.
3
2 8
4
189
Item to be diagnosed Description Reference
Display of network The status of the CC-Link IE Field Network can be checked. When an error or
configuration diagram and a warning for the high-speed counter module occurs, the status of the station
error status is indicated on an icon.
Display of selected-station The communication status of the station selected in "Networks Status" can be
status and error details checked.*1
The transient communication route and whether the communication is
Communication Test established from the connected station to the destination station can be
checked.
The reaching time and the route of the IP communication from the connected
IP Communication Test
station to the target station can be checked.
The cable status between the connected station and the destination station
Cable Test User's manual for the
can be checked.
master/local module
Link Start/Stop The network data link can be started and stopped. used
Network Event History The history of various events that occurred in the network can be checked.
A reservation for a station can be temporarily cancelled, and the cancellation
Reserved Station Function
can be disabled. Also, the station numbers for the modules set as reserved
Enable
stations can be checked on a list.
A station not set as an error invalid station can be temporarily set as an error
Enable/Disable Ignore invalid station, and the error invalid station setting can be disabled. Also, the
Station Errors station numbers for the modules set as (temporarily) error ignore stations can
be checked on a list.
The system monitor on the selected station is activated and the status of the
System Monitor module can be checked. This function is unavailable for the high-speed
counter module.
Page 191, Section
Remote Operation The selected station can be reset through the remote operation.
8.24 (1) (a)
*1 "Selected Station Communication Status Monitor", which appears at the bottom right in the window, indicates the
communication status of the high-speed counter module. For the error and warning for the high-speed counter module,
refer to the following.
• Checking for The Error Codes and the Warning Codes ( Page 221, Section 11.1)
Some of items cannot be diagnosed depending on the master/local module or the simple motion module used.
For details, refer to the following.
• User's manual for the master/local module used
• MELSEC-Q QD77GF Simple Motion Module User's Manual (Network)
190
CHAPTER 8 FUNCTIONS
2. Clicking the [Yes] button on the following window starts the remote reset.
191
CHAPTER 9 PROGRAMMING
This chapter describes the basic programs of the high-speed counter module.
Start contact
Dedicated instruction to station No.1
192
CHAPTER 9 PROGRAMMING
193
9.2 Procedure for Programming
Start
Parameter setting
Auxiliary program*1
End
194
CHAPTER 9 PROGRAMMING
For the settings using an engineering tool, the procedure is described based on the use of GX Works2.
195
(2) Program condition
This program uses Coincidence output 1 and Coincidence output 2 of CH1 in the high-speed counter module.
The extension output module is used for outputting digital output signals and cam switch output signals.
196
CHAPTER 9 PROGRAMMING
ON
Output 1 OFF
● The setting value in the item related to the cam switch function is enabled when CH Cam switch execute command
(RY26, RY3E) is turned off then on. However, the extended parameter is set before turning on then off Initial data setting
request flag (RY9) to save the extended parameter to the nonvolatile memory in this program.
● The extended parameters can be read/written only by the REMFR/REMTO instruction unlike the parameters.
197
(c) Remote register setting
Setting item Setting details (setting value)
Point setting (Coincidence output 1) (RWw0 to RWw1)*1 1000
If Initial data processing request flag (RX8) turns on when the module is powered on, always set the remote register.
198
CHAPTER 9 PROGRAMMING
Common program
(b) Program configuration under a mode other than the normal mode
Program examples under a mode other than the normal mode operate in a single-program example.
199
(5) Device for user
Device Description
X20 Count start signal
X21 Present value read signal
X22 Coincidence output data setting signal
X23 Preset/replace command signal
X24 Count stop signal
X25 Coincidence output clear signal
X26 Counter function start signal
X27 Counter function stop signal
QX40 (X20 to X2F)
X28 Latch count data read signal
X29 Latch counter start signal
X2A Sampling count data read signal
X2B Sampling count start signal
X2C Periodic pulse count data read signal
X2D Periodic pulse count start signal
X2E Coincidence output data 1 setting signal
X2F Coincidence output data 2 setting signal
X30 Latch count value (Latch counter input terminal) read signal
X31 Cam switch start signal
X32 Frequency measurement start signal
X33 Frequency measurement stop signal
X34 Rotation speed measurement start signal
X35 Rotation speed measurement stop signal
X36 Pulse measurement (Function input terminal) start signal
QX40 (X30 to X3F)
X37 Pulse measurement (Latch counter input terminal) start signal
X38 Pulse measurement (Function input terminal) stop signal
X39 Pulse measurement (Latch counter input terminal) stop signal
X3A PWM output start signal
X3B PWM output stop signal
X3C Error/warning reset start signal
X3D Error history read start signal
200
CHAPTER 9 PROGRAMMING
Device Description
X1007 Warning status flag
9
X1008 Initial data processing request flag
X1009 Initial data setting completion flag
X100A Error status flag
X100B Remote READY
X1010 Coincidence output 1
X1011 Coincidence output 2
X1012 Coincidence output 3
X1013 Coincidence output 4
X1014 Setting change completed (Coincidence output 1)
X1015 Setting change completed (Coincidence output 2)
X1016 Setting change completed (Coincidence output 3)
X1017 Setting change completed (Coincidence output 4)
X101F External power supply monitor state flag (for extension output module)
X1021 CH1 Preset/replace completion
X1023 CH1 External preset/replace (Z Phase) request detection
X1025 CH1 Counter function detection
X1026 CH1 Cam switch execute/PWM output
CH1 Setting change completed (Sampling counter/Periodic pulse
X1027 NZ2GFCF-D62PD2
counter)
(X1000 to X104F)
CH1 Update flag reset completed (Latch count value/Sampling count
X1028
value/Periodic pulse count value)
CH1 Update flag (Latch count value/Sampling count value/Periodic
X1029
pulse count value)
CH1 Latch count value update flag reset completed (Latch counter
X102A
input terminal)
201
Device Description
Y1008 Initial data processing completion flag
Y1009 Initial data setting request flag
Y1010 Reset command (Coincidence output 1)
Y1011 Reset command (Coincidence output 2)
Y1012 Reset command (Coincidence output 3)
Y1013 Reset command (Coincidence output 4)
Y1014 Setting change request (Coincidence output 1)
Y1015 Setting change request (Coincidence output 2)
Y1016 Setting change request (Coincidence output 3)
Y1017 Setting change request (Coincidence output 4)
External power supply monitor request flag (for extension output
Y101F
module)
Y1020 CH1 Coincidence output enable command
Y1021 CH1 Preset/replace command
Y1022 CH1 Count down command
CH1 External preset/replace (Z Phase) request detection reset
Y1023
command
Y1024 CH1 Count enable command NZ2GFCF-D62PD2
Y1025 CH1 Selected counter function start command (Y1000 to Y104F)
Y1026 CH1 Cam switch execute command/PWM output start command
CH1 Setting change request (Sampling counter/Periodic pulse
Y1027
counter)
CH1 Update flag reset command (Latch count value/Sampling count
Y1028
value/Periodic pulse count value)
CH1 Latch count value update flag reset command (Latch counter
Y102A
input terminal)
CH1 Update flag reset command (Measured frequency
Y102C
value/Measured rotation speed value)
Y1030 CH1 Pulse measurement start command (Function input terminal)
CH1 Measured pulse value update flag reset command (Function
Y1031
input terminal)
CH1 Pulse measurement start command (Latch counter input
Y1032
terminal)
CH1 Measured pulse value update flag reset command (Latch counter
Y1033
input terminal)
Y1035 CH1 ON width setting change request (PWM output)
Y1036 CH1 Error reset command
Y1050 LED signal for checking the coincidence output 1
Y1051 LED signal for checking the coincidence output 2
NZ2EX2B1-16T (Y1050 to
Y1052 LED signal for checking underflow occurrence
Y105F)
Y1053 LED signal for checking overflow occurrence
Y1054 LED signal for checking that PWM output is in process
D1100 Counter value greater/smaller signal
D1116 to D1117 CH1 Present value
D1118 to D1119 CH1 Latch count value/Sampling count value/Periodic pulse count, difference value
D1120 to D1121 CH1 Periodic pulse count, present value
D1122 to D1123 CH1 Periodic pulse count value update check
D1124 to D1125 CH1 Latch count value (Latch counter input terminal)
D1126 to D1127 CH1 Measured frequency value/Measured rotation speed value
202
CHAPTER 9 PROGRAMMING
Device Description
D1128 to D1129 CH1 Measured pulse value (Function input terminal)
9
D1130 to D1131 CH1 Measured pulse value (Latch counter input terminal)
D1132 CH1 Status
203
(6) Setting procedure
Connect GX Works2 to the master station to configure the setting.
1. Create a project on GX Works2.
Select "QCPU (Q mode)" for "Series" and select "Q10UDH" for "Type".
[Project] [New...]
2. Display the network parameter setting window and configure the setting as follows.
204
CHAPTER 9 PROGRAMMING
3. Display the "CC IE Field Configuration" window and configure the configuration and station
number of the slave station as follows. 9
[CC IE Field Configuration Setting] button
6. Write the set parameter to the CPU module of the master station and reset the CPU module, or turn
off then on the power supply.
[Online] [Write to PLC...]
RESET
or Power OFF ON
205
7. Display the "Parameter Processing of Slave Station" window.
10. Click the [Execute] button to write the parameter to the high-speed counter module.
206
CHAPTER 9 PROGRAMMING
RESET
or Power OFF ON
3. Change the status of the CPU module of the master station to RUN.
RUN
207
(8) Program example under the normal mode (when the coincidence output is set
with the comparison output function)
If the master station does not receive a response for several link scans from the high-speed counter module, the high-speed
counter module is determined as a cyclic transmission faulty station and the corresponding bit of the data link status (each
station) (SW00B0 to SW00B7) turns on.
208
CHAPTER 9 PROGRAMMING
• Program for reading the latch count value (latch counter input terminal)
209
• Program for the sampling counter function
210
CHAPTER 9 PROGRAMMING
• Program to control the outputs of Coincidence output 1 to 4 terminals (EQU1 to EQU4) with By each
coincidence output (1) being set
211
(e) Program for overflow/underflow detection processing
212
CHAPTER 9 PROGRAMMING
(9) Program example under the normal mode (when the cam switch function is set 9
with the comparison output function)
213
(d) Program for the cam switch function
214
CHAPTER 9 PROGRAMMING
215
(11)Program example of the rotation speed measurement mode
216
CHAPTER 9 PROGRAMMING
217
(13)Program example of the PWM output mode
218
CHAPTER 10 MAINTENANCE AND INSPECTION
219
Memo
220
CHAPTER 11 TROUBLESHOOTING
CHAPTER 11 TROUBLESHOOTING
This chapter describes errors that may occur while the high-speed counter module is used, and those troubleshooting.
11.1 Checking for the Error Codes and the Warning Codes
11
Error codes can be checked by any of the following methods:
• Checking by executing a command of the slave station ( Page 221, Section 11.1 (1))
• Checking by CH Latest error code (RWr22, RWr3A) ( Page 223, Section 11.1 (2))
Warning codes can be checked by any of the following methods:
• Checking by executing a command of the slave station ( Page 221, Section 11.1 (1))
• Checking by CH Latest warning code (RWr23, RWr3B) ( Page 224, Section 11.1 (3))
● Errors of the high-speed counter module are detected at not only every station, but also every channel.
● Errors detected at a channel are stored in the remote register for the channel.
● Errors independent from channels are station errors stored in CH1 Latest error code (RWr22) or CH1 Latest warning
code (RWr23).
11.1 Checking for the Error Codes and the Warning Codes
window.
List of
stations
221
3. Set "Method selection" to "Error history read" and
click the [Execute] button.
222
CHAPTER 11 TROUBLESHOOTING
Item Contents
Error and Solution The action for the error is displayed.
Order of generation The order of error occurrence is displayed.
[Error time] First two digits of the year/Last
two digits of the year
The date and time of error occurrence is displayed. (When the tens place of Month, Hour
[Error time] Month/Day
and Second is 0, the date and time are displayed without 0.)
[Error time] Hour/Minute
[Error time] Second/No Use
11
The value in the remote buffer memory Error code details 1 to 10 of when an error occurs is
Error code details 1 to Error code details 10
stored.
● The error history registers 15 errors at a maximum. If 16 or more errors occur, errors are deleted from the oldest.
● If the same error occurs continuously, only the error that occurred first is stored to the error history.
● Even after the power of the module is turned off and on, the error history remains.
● To initialize the error history, set "Method selection" to "Error history clear request" on the "Command Execution of Slave
Station" window and click the [Execute] button.
11.1 Checking for the Error Codes and the Warning Codes
Ex. When the refresh target device for CH1 Latest error code (RWr22) is W1122
223
(3) Checking by CH Latest warning code (RWr23, RWr3B)
Check the latest warning code with the remote register of the master/local module.
Ex. When the refresh target device for CH1 Latest warning code (RWr23) is W1123
224
CHAPTER 11 TROUBLESHOOTING
D529H, D52BH
High-speed counter module error Page 225, Section 11.2 (1) 11
D000H to DFFFH
CC-Link IE Field Network error Page 242, Section 11.2 (2)
(D529H and D52BH excluded)
If an error occurs, check that the D LINK LED is on. Then take corrective actions as listed below.
Operation of when an error
Error code Description and occurs
Classification Error name Action
(hexadecimal) cause The other
Error CH
CHs
Take measures against noise
An invalid data where
and reset the module. If the
the settings of the
Communication same error occurs again, a
225
Operation of when an error
Error code Description and occurs
Classification Error name Action
(hexadecimal) cause The other
Error CH
CHs
• Initialize the module
operation information in the
nonvolatile memory by setting
Module operation information
initialization command
(address: 1004H) to Not
commanded (0)
Commanded (1) Not
Non-volatile The module operation commanded (0). Note that
memory data error information stored in the number of ON times
0110H Moderate error *16
(module operation the nonvolatile integration value is initialized
information) memory is abnormal. to 0.
• Take measures against noise,
such as using a shielded
cable for connection.
• If the same error occurs
again, a module failure may
be the cause. Please consult
your local Mitsubishi
representative.
• Set the parameters in the
nonvolatile memory to the
default values by setting
Parameter area initialization
command (address: 1002H)
to Not commanded (0)
Commanded (1) Not
The parameter data
Non-volatile commanded (0).
stored in the
0120H Moderate error memory data error *13 • Set the parameters again.
nonvolatile memory
(parameter) • Take measures against noise,
are abnormal.
such as using a shielded
cable for connection.
• If the same error occurs
again, a module failure may
be the cause. Please consult
your local Mitsubishi
representative.
• Set the parameters in the
nonvolatile memory to the
default values by setting
Parameter area initialization
command (address: 1002H)
to Not commanded (0)
Commanded (1) Not
Non-volatile The extended
commanded (0).
memory data error parameter data stored
0130H Moderate error *13 • Set the parameters again.
(Extended in the nonvolatile
• Take measures against noise,
parameter) memory are abnormal.
such as using a shielded
cable for connection.
• If the same error occurs
again, a module failure may
be the cause. Please consult
your local Mitsubishi
representative.
226
CHAPTER 11 TROUBLESHOOTING
227
Operation of when an error
Error code Description and occurs
Classification Error name Action
(hexadecimal) cause The other
Error CH
CHs
A value other than 0 Set Cam switch output unit
Cam switch output and 1 is set in Cam assignment setting (address:
0340H Moderate error unit assignment switch output unit *13 0104H) to 0 or 1, and turn off
setting error assignment setting then on Initial data setting
(address: 0104H). request flag (RY9).
The setting in
Comparison output
setting (address: Take the following actions, and
0100H) is in one of the turn off then on Initial data
following cases. setting request flag (RY9).
• A value other than 0 • Set Comparison output
Comparison output setting (address: 0100 H) to 0
0800H Moderate error and 1 is set. *13
setting error
• If 1 is set, the value or 1.
in CH Operation • Set CH Operation mode
mode setting setting (address: 0120 H,
(address: 0120H, 0140H) to 0.
0140H) is other than
0.
A value other than 0
Set Coincidence output enable
and 1 is set in
Coincidence output command setting (address:
Coincidence output
0801H Moderate error enable command *13 0106H) to 0 or 1, and turn on
enable command
setting error Initial data setting request flag
setting (address:
(RY9).
0106H).
228
CHAPTER 11 TROUBLESHOOTING
229
Operation of when an error
Error code Description and occurs
Classification Error name Action
(hexadecimal) cause The other
Error CH
CHs
The value in CH
Present value (RWr10
to RWr11, RWr28 to
RWr29) is outside the
CH range of -2147483648
Replace the present value with
200 H Moderate error Overflow/underflow to 2147483647 in the *5 *3
the preset value.
error linear counter function
operation.
indicates the
channel where
settings are incorrect.
Set the values that satisfy the
condition "CH Ring counter
lower limit value (RWw10 to
If the If the RWw11, RWw28 to RWw29)
parameters are parameters are CH Ring counter upper limit
written with the written with the value (RWw12 to RWw13,
The value in CH parameter parameter RWw2A to RWw2B)", and
Ring counter upper processing of processing of perform one of the following
limit value (RWw12 to the slave the slave operations.
RWw13, RWw2A to station, or Initial station, or Initial • If Initial data processing
RWw2B) is smaller data processing data processing request flag (RX8) is on, turn
than the value in CH completion flag completion flag off then on Initial data
CH Ring counter Ring counter lower (RY8) or Initial (RY8) or Initial processing completion flag
210 H Moderate error upper/lower limit limit value (RWw10 to (RY8).
data setting data setting
value setting error RWw11, RWw28 to request flag request flag • If the parameters are written
RWw29) in the ring (RY9) is turned (RY9) is turned with the parameter
counter function processing of the slave
off then on: *13 off then on: *13
operation. station, or Initial data setting
If CH Count If CH Count
indicates the completion flag (RX9) is on,
enable enable
channel where turn off then on Initial data
command command
settings are incorrect. setting request flag (RY9).
(RY24, RY3C) (RY24, RY3C)
• If Initial data processing
is turned off is turned off
request flag (RX8) and Initial
then on: *4 then on: *3 data setting completion flag
(RX9) are off, turn off then on
CH Count enable command
(RY24, RY3C).
A value other than 00b
to 10b is set in
Coincidence output
of Coincidence output
comparison condition Set coincidence output of
setting (address: Coincidence output comparison
Comparison
0102H). condition setting (address:
condition setting
30H Moderate error indicates the *13 0102H) to a value between 00b
error (Coincidence
channel where and 10b, and turn off then on
output)
settings are incorrect. Initial data setting request flag
indicates the (RY9).
number of
Coincidence output on
which this error
occurred.
230
CHAPTER 11 TROUBLESHOOTING
231
Operation of when an error
Error code Description and occurs
Classification Error name Action
(hexadecimal) cause The other
Error CH
CHs
A value other than 0
and 1 is set in Cam Set Cam switch function, step
Cam switch switch function, step type (Output 1) (address:
function, step type type (Output 1) 1500H) to 0 or 1, and turn off
391 H Moderate error *7 *3
setting error (address: 1500H). then on CH Cam switch
(Output 1) indicates the execute command (RY26,
channel where RY3E).
settings are incorrect.
to to to to to to to
A value other than 0
and 1 is set in Cam Set Cam switch function, step
Cam switch switch function, step type (Output 9) (address:
function, step type type (Output 9) 1900H) to 0 or 1, and turn off
399 H Moderate error *7 *3
setting error (address: 1900H). then on CH Cam switch
(Output 9) indicates the execute command (RY26,
channel where RY3E).
settings are incorrect.
A value other than 0
and 1 is set in Cam Set Cam switch function, step
Cam switch switch function, step type (Output 10) (address:
function, step type type (Output 10) 1980H) to 0 or 1, and turn off
3A0H Moderate error *7 *3
setting error (address: 1980H). then on CH Cam switch
(Output 10) indicates the execute command (RY26,
channel where RY3E).
settings are incorrect.
to to to to to to to
A value other than 0
and 1 is set in Cam Set Cam switch function, step
Cam switch switch function, step type (Output 16) (address:
function, step type type (Output 16) 1C80 H) to 0 or 1, and turn off
3A6H Moderate error *7 *3
setting error (address: 1C80H). then on CH Cam switch
(Output 16) indicates the execute command (RY26,
channel where RY3E).
settings are incorrect.
The values set in Cam
switch function, step
Set Cam switch function, step
No.1 to No.16 setting
No.1 to No.16 setting (Output 1)
Cam switch (Output 1) (address:
(address: 1502H to 1521H) to
function, step No. 1502H to 1521H) are
401 H Moderate error *7 *3 values in the ascending order,
setting error not in the ascending
and turn off then on CH Cam
(Output 1) order.
switch execute command
indicates the
(RY26, RY3E).
channel where
settings are incorrect.
to to to to to to to
The values set in Cam
switch function, step
Set Cam switch function, step
No.1 to No.16 setting
No.1 to No.16 setting (Output 9)
Cam switch (Output 9) (address:
(address: 1902H to 1921H) to
function, step No. 1902H to 1921H) are
409 H Moderate error *7 *3 values in the ascending order,
setting error not in the ascending
and turn off then on CH Cam
(Output 9) order.
switch execute command
indicates the
(RY26, RY3E).
channel where
settings are incorrect.
232
CHAPTER 11 TROUBLESHOOTING
233
Operation of when an error
Error code Description and occurs
Classification Error name Action
(hexadecimal) cause The other
Error CH
CHs
Set CH Cycle setting
(Sampling counter/Periodic
If the If the
pulse counter) (RWw17,
parameters are parameters are
written with the written with the RWw2F) to a value between 1
parameter parameter and 65535, and perform one of
processing of processing of the following operations.
the slave the slave • If Initial data processing
station, or Initial station, or Initial request flag (RX8) is on, turn
data processing data processing off then on Initial data
CH Cycle setting
completion flag completion flag processing completion flag
(Sampling
(RY8) or Initial (RY8) or Initial (RY8).
CH Cycle setting counter/Periodic pulse
data setting data setting • If the parameters are written
error (Sampling counter) (RWw17,
502 H Moderate error with the parameter
counter/Periodic RWw2F) is set to 0. request flag request flag
(RY9) is turned (RY9) is turned processing of the slave
pulse counter) indicates the
station, or Initial data setting
channel where off then on: *13 off then on: *13
completion flag (RX9) is on,
settings are incorrect. If CH Setting If CH Setting
turn off then on Initial data
change request change request
setting request flag (RY9).
(Sampling (Sampling
• If Initial data processing
counter/Periodi counter/Periodi
request flag (RX8) and Initial
c pulse counter) c pulse counter)
data setting completion flag
(RY27, RY3F) (RY27, RY3F)
(RX9) are off, turn off then on
is turned off is turned off
CH Setting change request
then on: *8 then on: *3
(Sampling counter/Periodic
pulse counter) (RY27, RY3F).
A value other than 1 to
100 is set in CH
Set CH Moving average count
CH Moving Moving average count
(Frequency measurement)
average count (Frequency
(RWw19 , RWw31) to a value
601 H Moderate error setting error measurement) *9 *3
between 1 and 100, and turn off
(Frequency (RWw19, RWw31).
then on CH Count enable
measurement) indicates the
command (RY24, RY3C).
channel where
settings are incorrect.
A value other than 0 to
2 is set in CH Time Set CH Time unit setting
CH Time unit unit setting (Frequency (Frequency measurement)
setting error measurement) *9 *3
(RWw18, RWw30) to a value
602 H Moderate error
(Frequency (RWw18, RWw30). between 0 and 2, and turn off
measurement) indicates the then on CH Count enable
channel where command (RY24, RY3C).
settings are incorrect.
A value other than 1 to
100 is set in CH
Set CH Moving average count
CH Moving Moving average count
(Rotation speed measurement)
average count (Rotation speed
(RWw19, RWw31) to a value
621 H Moderate error setting error measurement) *10 *3
between 1 and 100, and turn off
(Rotation speed (RWw19, RWw31).
then on CH Count enable
measurement) indicates the
command (RY24, RY3C).
channel where
settings are incorrect.
A value other than 0 to
2 is set in CH Time Set CH Time unit setting
CH Time unit unit setting (Rotation (Rotation speed measurement)
setting error speed measurement) *10 *3
(RWw18, RWw30) to a value
622 H Moderate error
(Rotation speed (RWw18, RWw30). between 0 and 2, and turn off
measurement) indicates the then on CH Count enable
channel where command (RY24, RY3C).
settings are incorrect.
234
CHAPTER 11 TROUBLESHOOTING
235
Operation of when an error
Error code Description and occurs
Classification Error name Action
(hexadecimal) cause The other
Error CH
CHs
Set CH ON width setting
If CH PWM (PWM output) (RWw1E to
output start RWw1F, RWw36 to RWw37) to
A value other than 0 command 0 or a value between 10 and
and 10 to 10000000 is (RY26, RY3E) 10000000, and perform either
set in CH ON width is turned off of the following operations.
CH ON width setting (PWM output) then on: *12 • If CH PWM output (RX26,
671 H Moderate error setting error (PWM (RWw1E to RWw1F, If CH ON *3 RX3E) is off, turn off then on
output) RWw36 to RWw37). width setting PWM output start
indicates the change request command (RY26, RY3E).
channel where (PWM output) • If CH PWM output (RX26,
settings are incorrect. (RY35, RY4D) RX3E) is on, turn off then on
is turned off CH ON width setting
then on: *1 change request (PWM
output) (RY35, RY4D).
A value other than 50
to 10000000 is set in Set CH Cycle setting (PWM
CH Cycle setting output) (RWw20 to RWw21,
(PWM output) RWw38 to RWw39) to a value
CH Cycle setting
672 H Moderate error (RWw20 to RWw21, *12 *3 between 50 and 10000000, and
error (PWM output)
RWw38 to RWw39). turn off then on CH PWM
indicates the output start command (RY26,
channel where RY3E).
settings are incorrect.
Set the values that satisfy the
condition "CH ON width
If CH PWM setting (PWM output) (RWw1E
The value in CH
output start to RWw1F, RWw36 to RWw37)
Cycle setting (PWM
command CH Cycle setting (PWM
output) (RWw20 to
(RY26, RY3E) output) (RWw20 to RWw21,
RWw21, RWw38 to
is turned off RWw38 to RWw39)", and
RWw39) is smaller
perform either of the following
CH ON than the value in CH then on: *12
operations.
673 H Moderate error width/Cycle setting ON width setting If CH ON *3
• If CH PWM output (RX26,
error (PWM output) (PWM output) width setting
RX3E) is off, turn off then on
(RWw1E to RWw1F, change request
CH PWM output start
RWw36 to RWw37). (PWM output)
command (RY26, RY3E).
indicates the (RY35, RY4D)
• If CH PWM output (RX26,
channel where is turned off
RX3E) is on, turn off then on
settings are incorrect. then on: *1 CH ON width setting
change request (PWM
output) (RY35, RY4D).
A value other than 0 to
4 is set in CH
Set CH Operation mode
Operation mode
setting (address: 0120H, 0140H)
CH Operation setting (address:
810 H Moderate error *13 to a value between 0 and 4, and
mode setting error 0120H, 0140H).
turn off then on Initial data
indicates the
setting request flag (RY9).
channel where
settings are incorrect.
236
CHAPTER 11 TROUBLESHOOTING
237
Operation of when an error
Error code Description and occurs
Classification Error name Action
(hexadecimal) cause The other
Error CH
CHs
The setting in CH
Counting speed
setting (address:
0123H, 0143H) is in
one of the following Take one of the following
cases. actions on CH Counting
• If the value in CH speed setting (address: 0123H,
Pulse input mode
0143H), and turn off then on
(address: 0122H,
Initial data setting request flag
0142H) is 0, 2, or 3,
(RY9).
a value other than 0 • If the value in CH Pulse
to 5 is set. input mode (address: 0122H,
• If the value in CH
CH Counting 0142H) is 0, 2, or 3, set a
814 H Moderate error Pulse input mode *13
speed setting error value between 0 and 5.
(address: 0122H,
• If the value in CH Pulse
0142H) is 1 or 4, a
input mode (address: 0122H,
value other than 0 to
0142H) is 1 or 4, set a value
6 is set.
between 0 and 6.
• If the value in CH
• If the value in CH Pulse
Pulse input mode
input mode (address: 0122H,
(address: 0122H,
0142H) is 5, set a value
0142H) is 5, a value
between 0 and 7.
other than 0 to 7 is
set.
indicates the
channel where
settings are incorrect.
The channel where the
PWM output mode is
selected is not Assign the channel where the
assigned to the setting PWM output mode is selected
Coincidence output
in Coincidence output on Coincidence output channel
channel *13
815 H Moderate error channel assignment assignment setting (address:
assignment setting
setting (address: 0101H), and turn off then on
error
0101H). Initial data setting request flag
indicates the (RY9).
channel where
settings are incorrect.
A value other than 0
and 1 is set in CH
Counter format Set CH Counter format
CH Counter (address: 0124H, (address: 0124H, 0144H) to 0 or
820 H Moderate error *13
format setting error 0144H). 1, and turn off then on Initial
indicates the data setting request flag (RY9).
channel where
settings are incorrect.
A value other than 0 to
5 is set in CH
Set CH Counter function
Counter function
CH Counter selection (address: 0126H,
selection (address:
821 H Moderate error function selection *13 0146H) to a value between 0
0126H, 0146H).
setting error and 5, and turn off then on Initial
indicates the
data setting request flag (RY9).
channel where
settings are incorrect.
A value other than 0
and 1 is set in CH
Set CH Function input logic
Function input logic
CH Function setting (address: 0127H, 0147H)
setting (address:
822 H Moderate error input logic setting *13 to 0 or 1, and turn off then on
0127H, 0147H).
error Initial data setting request flag
indicates the
(RY9).
channel where
settings are incorrect.
238
CHAPTER 11 TROUBLESHOOTING
239
*11 Stops measuring pulses.
*12 Does not output the PWM waveform.
*13 Stops operations except the one on the error. The updating EQU1 to EQU4 terminal status (RWr1), Cam switch output
signal (RWr2), Cam switch output terminal status (RWr3), CH Status (RWr20, RWr38), and CH External input status
(RWr21, RWr39) is stopped.
*14 Continues its operation although the external output terminals of the extension output module are forced off. (Y0 LED to
YF LED on the extension output module turn on or off depending on the output status.)
*15 A minor error which can be reset by turning off then on CH Error reset command (RY36, RY4E)
*16 Stores 0 in all the monitor data and keeps 0 until the module operation information is initialized. The number of ON times
integration does not start.
*17 The module operates according to a value set in Mode switch setting (address: 0000H) when module power supply is
turned off and on or at remote reset.
*18 Mode switch setting change (error code: 0190H) is not reset even if five seconds have passed after the error occurred.
During the error, the high-speed counter module keeps operating in the mode before Mode switch setting (address:
0000H) change. To reset the error in the previous mode, set the previous value to Mode switch setting (address: 0000H)
and turn on and off Initial data setting request flag (RY9).
*19 The CC-Link IE Field Network synchronous communication function stops working.
240
CHAPTER 11 TROUBLESHOOTING
● When multiple errors occur, only the latest error code is stored in CH Latest error code (RWr22, RWr3A) or CH Latest
warning code (RWr23, RWr3B). (Error codes which do not have on their names are stored in CH1.) Old errors can be
checked with the error history of the engineering tool. For the error history, refer to the following.
• Checking by executing a command of the slave station ( Page 221, Section 11.1 (1))
• Error history 1 to 15 (address: 0A00H to 0AEFH) ( Page 298, Appendix 3 (15))
● Turning on CH Error reset command (RY36, RY4E) resets errors. However, the error causes are detected again and
thus the error codes are stored again unless the error causes are removed. 11
241
(2) Error code list (D000H to DFFFH (D529H and D52BH excluded))
When an error occurs, the ERR. LED does not turn on. The D LINK LED flashes or turns off.
Troubleshoot the problem with the CC-Link IE Field Network diagnostics. ( Page 189, Section 8.24)
Error code
Error name Description and cause Action
(hexadecimal)
Station type The network parameter is In the network configuration settings of the master station,
D0E0H
mismatch incorrect or outside the range. change the station type to the remote device station.
• In the network configuration settings of the master station,
Own station The network parameter is cancel the reserved station setting.
D0E1H
reserved incorrect or outside the range. • Change the station number of the module to a station number
that is not reserved.
Station No. • Set a unique station number.
The network parameter is
D0E2H already in use • After taking the above action, turn off then on or reset all the
incorrect or outside the range.
(own station) stations where this error has been detected.
Own station No. The network parameter is Add the station information of the module in the network
D0E3H
out of range incorrect or outside the range. configuration settings of the master station.
Transient data The transient data request Correct the request command at the request source, and retry
D217H
command error command is incorrect. the operation.
• Check the network status using the CC-Link IE Field Network
diagnostics of the engineering tool to take corrective action.
Receive buffer The target station is overloaded
D2A0H • When the target station is overloaded and cannot receive
full and cannot receive transient data.
transient data, send the data to the target station after a
while.
Transient data The received transient data is Correct the number of data (frame length) at the request
D2A3H
length error incorrect. source, and retry the operation.
Station number
switch out of
A station number out of range has
D72AH range (a value Set the station number within the allowable range.
been set.
other than 1 to
120)
Transient data The divided transient data have Set the transient data size within the range that can be handled
DF01H
divided error been received. by the module. Then send the transient data that is not divided.
When multiple errors occur, only the latest error code is stored in CH Latest error code (RWr22, RWr3A) or CH Latest
warning code (RWr23, RWr3B).
Old errors can be checked with the error history of the engineering tool.
For the error history, refer to the following.
• Checking by executing a command of the slave station ( Page 221, Section 11.1 (1))
• Error history 1 to 15 (address: 0A00H to 0AFFH) ( Page 298, Appendix 3 (15))
242
CHAPTER 11 TROUBLESHOOTING
For troubleshooting with the LEDs of the extension I/O module, refer to the following.
CC-Link IE Field Network Remote I/O Module User's Manual 11
243
(4) When the D LINK LED turns off
Check item Action
Connect the engineering tool to the master station, and check that the own
Does the own station in network operate normally? station is in data link by CC-Link IE Field Network diagnostics. ( User's
manual for the master/local module used)
Replace the cable with a 1000BASE-T-compliant Ethernet cable. (
Are 1000BASE-T-compliant Ethernet cables used?
User's manual for the master/local module used)
Is the station-to-station distance 100m or less? Change the station-to-station distance to 100m or less.
Does the cabling condition (bend radius) meet the Refer to the manual for the Ethernet cable used, and correct the bend
specifications? radius.
Is any Ethernet cable disconnected? Replace the Ethernet cable.
Do other stations connected to the high-speed counter
Check that the power supplies of the other stations are turned on.
module normally operate?
• Check that a 1000BASE-T-compliant switching hub is used. ( User's
Does the switching hub normally operate? manual for the master/local module used)
• Check that the power supply of the switching hub is turned on.
Is the station number of the high-speed counter module Two or more duplicated stations exist. Change the setting so that all the
duplicated with any of other stations? station numbers differ.
244
CHAPTER 11 TROUBLESHOOTING
If link-up processing is repeated due to a condition of a device on the line, it may take a longer time for the LINK LED to turn
on. This phenomenon may be eliminated by changing the module PORT into which the Ethernet cable is connected
(example: PORT1 PORT2). For wiring of Ethernet cable, refer to the following.
( Page 67, Section 6.5)
245
11.4 Unit Test
Run a unit test to check if there is any abnormality in the high-speed counter module.
1. Power off the module.
2. Connect the PORT1 and PORT2 of the high-speed
counter module with an Ethernet cable.
Ethernet cable
: Flashing
executed.
: OFF
: Flashing
: OFF
Remark
When unit test fails, the error details can be checked in the error history. To check the error history, set the station number of
the high-speed counter module and connect the module to the master station with an Ethernet cable.
For the error history, refer to the following.
• Checking by executing a command of the slave station ( Page 221, Section 11.1 (1))
• Error history 1 to 15 (address: 0A00H to 0AFFH) ( Page 298, Appendix 3 (15))
246
CHAPTER 11 TROUBLESHOOTING
The troubleshooting by symptom is suitable for the case where no error occurs in the high-speed counter module, but
the operation is abnormal. If an error occurs in the high-speed counter module, identify the error cause with the
engineering tool.
11.5.1 When the setting on the operation mode setting is the normal
11
mode
(1) When the module does not count or perform normal count
247
Check item Action
Are the shielded twisted pair cables used for
Use the shielded twisted pair cables for pulse input wiring.
pulse input wiring?
Are measures against noise taken for the
Take noise reduction measures such as attaching a CR surge suppressor to
adjacent devices and inside the control
the magnet switch.
Measures panel?
against Bundle up the pulse input lines in a single tube, and keep a distance of
Is the distance between the high voltage
noise 150mm or more between the pulse input lines and the power line even inside
equipment and pulse input line kept enough?
the control panel.
Separate the grounding cable of the high-speed counter module from the
Does any noise come from the grounded part
grounded part. If the case of the high-speed counter module touches the
of the high-speed counter module?
grounded part, separate it.
Check the pulse waveform with a synchronoscope. If the input pulse does not
Does the input pulse waveform meet the performance
meet the performance specifications, input pulses which meet the
specifications?
performance specifications.
Does the other channel show the same count result when If a different count value appears, a module failure may be the cause. Please
the same input is applied to the other channel? consult your local Mitsubishi representative.
248
CHAPTER 11 TROUBLESHOOTING
(2) When the coincidence output function does not perform normal operation
Are the comparison conditions for Coincidence output 1 to 4 Review the setting in Coincidence output comparison condition 11
proper? setting (address: 0102H).
Is Initial data setting request flag (RY9) or Setting change request Turn on Initial data setting request flag (RY9) or Setting change
(Coincidence output 1 to 4) (RY14 to RY17) turned on after request (Coincidence output 1 to 4) (RY14 to RY17) after changing
changing Point setting (Coincidence output 1)/Lower limit value Point setting (Coincidence output 1)/Lower limit value setting
setting (Coincidence output 1) (RWw0 to RWw1) to Upper limit (Coincidence output 1) (RWw0 to RWw1) to Upper limit value setting
value setting (Coincidence output 4) (RWwE to RWwF)? (Coincidence output 4) (RWwE to RWwF).
Is Reset command (Coincidence output 1 to 4) (RY10 to RY13) off?
Turn off Reset command (Coincidence output 1 to 4) (RY10 to
(Only when Coincidence output is selected as the comparison
RY13).
condition)
Are the settings in Point setting (Coincidence output 1)/Lower limit
Set Point setting (Coincidence output 1)/Lower limit value setting
value setting (Coincidence output 1) (RWw0 to RWw1) to Upper
(Coincidence output 1) (RWw0 to RWw1) to Upper limit value setting
limit value setting (Coincidence output 4) (RWwE to RWwF) within
(Coincidence output 4) (RWwE to RWwF) within the count range of
the count range of the ring counter when the counter format is the
the ring counter.
ring counter?
(b) When Coincidence output 1 to 4 (RX10 to RX13) does not turn off
Check item Action
Is the ON time of Reset command (Coincidence output 1 to 4)
Set the ON time of Reset command (Coincidence output 1 to 4)
(RY10 to RY13) T1*1 or longer? (Only when Coincidence output is
(RY10 to RY13) to T1*1 or longer. ( Page 268, Appendix 1.2)
selected as the comparison condition)
(c) When only Coincidence output 1 to 4 terminals (EQU1 to EQU4) do not turn on
Check item Action
Is CH Coincidence output enable command (RY20, RY38) on
when Coincidence output enable command setting (address: Turn on CH Coincidence output enable command (RY20, RY38).
0106H) is set to By each channel (0)?
249
(d) When the count value cannot be replaced with a preset value by the preset/replace
(at coincidence output) function
Check item Action
Turn off CH External preset/replace (Z Phase) request detection
(RX23, RX3B) by turning on CH External preset/replace (Z Phase)
Is CH External preset/replace (Z Phase) request detection (RX23, request detection reset command (RY23, RY3B). Note that the
RX3B) off? ON/OFF time of CH External preset/replace (Z Phase) request
detection reset command (RY23, RY3B) must be T1*1 or longer.
( Page 268, Appendix 1.2)
Is Preset/replace setting at coincidence output (address: 0103H) set Set Preset/replace setting at coincidence output (address: 0103H) to
to "Present value replaced (1)"? Present value replaced (1).
This function replaces the count value with the preset value at the
rising edge (OFF to ON) of Coincidence output 1 to 4 (RX10 to
Is Coincidence output 1 to 4 (RX10 to RX13) off?
RX13). Turn off Coincidence output 1 to 4 (RX10 to RX13) before
replacing the value.
Is the interval of T1*1 or longer taken between change in the Set the interval of T1*1 or longer between change in the setting in
setting in CH Preset value setting (RWw14 to RWw15, RWw2C to CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D)
RWw2D) and the execution of preset? and the execution of preset.
(3) When the cam switch function does not perform normal operation
(a) When Cam switch output signal (RWr2) does not turn on or off
Check item Action
Review the settings in Cam switch output unit assignment setting
Is the cam switch output assigned properly? (address: 0104H) and Cam switch output channel assignment setting
(address: 0105H).
(b) When only the output (Y0 to YF) of the extension output module does not turn on
Check item Action
Is the external power supply for the extension output module on? Turn on the external power supply for the extension output module.
Is the external wiring at the output terminal of the extension output
Check the external wiring and correct errors.
module correct?
250
CHAPTER 11 TROUBLESHOOTING
(4) When the count value cannot be replaced with a value preset by the user
(a) When the preset/replace function by CH Preset/replace command (RY21, RY39)
cannot be performed
Check item Action
Is CH Preset/replace completion (RX21, RX39) used as an Turn on or off CH Preset/replace command (RY21, RY39) using
interlock? CH Preset/replace completion (RX21, RX39) as an interlock. 11
Turn off CH External preset/replace (Z Phase) request detection
(RX23, RX3B) by turning on CH External preset/replace (Z Phase)
Is CH External preset/replace (Z Phase) request detection request detection reset command (RY23, RY3B). Note that the
(RX23, RX3B) off? ON/OFF time of CH External preset/replace (Z Phase) request
detection reset command (RY23, RY3B) must be T1*1 or longer.
( Page 268, Appendix 1.2)
(b) When the preset/replace function by CH Phase Z input terminal (Z1, Z2) cannot be
performed
Check item Action
Is the external wiring to CH Phase Z input terminal (Z1, Z2)
Check the external wiring and correct errors.
correct?
Is the interval of T1*1 or longer taken between change in the Set the interval of T1*1 or longer between change in the setting in
setting in CH Preset value setting (RWw14 to RWw15, RWw2C CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D)
to RWw2D) and the execution of preset? and the execution of preset.
Turn off CH External preset/replace (Z Phase) request detection
(RX23, RX3B) by turning on CH External preset/replace (Z Phase)
(c) When the preset/replace function by CH Function input terminal (FUNC1, FUNC2)
cannot be performed
Check item Action
Is the external wiring to CH Function input terminal (FUNC1,
Check the external wiring and correct errors.
FUNC2) correct?
Is the interval of T1*1 or longer taken between change in the Set the interval of T1*1 or longer between change in the setting in
setting in CH Preset value setting (RWw14 to RWw15, RWw2C CH Preset value setting (RWw14 to RWw15, RWw2C to RWw2D)
to RWw2D) and the execution of preset? and the execution of preset.
Turn off CH External preset/replace (Z Phase) request detection
(RX23, RX3B) by turning on CH External preset/replace (Z Phase)
Is CH External preset/replace (Z Phase) request detection request detection reset command (RY23, RY3B). Note that the
(RX23, RX3B) off? ON/OFF time of CH External preset/replace (Z Phase) request
detection reset command (RY23, RY3B) must be T1*1 or longer.
( Page 268, Appendix 1.2)
251
(5) When the counter function selection cannot be performed
(a) When turning on CH Selected counter function start command (RY25, RY3D) does
not perform the counter function selection
Check item Action
Does the selected function apply to CH Selected counter Check referring to the following.
function start command (RY25, RY3D)? Page 141, Section 8.8
If the selected function is one that starts to work at the rising edge
Turn on or off CH Selected counter function start command (RY25,
(OFF to ON) of CH Selected counter function start command
RY3D) using CH Counter function detection (RX25, RX3D) as an
(RY25, RY3D), is CH Counter function detection (RX25, RX3D)
interlock.
used as an interlock?
Is CH Function input terminal (FUNC1, FUNC2) off? Turn off CH Function input terminal (FUNC1, FUNC2).
(b) When the input from CH Function input terminal (FUNC1, FUNC2) does not
perform the counter function selection
Check item Action
Is the external wiring to CH Function input terminal (FUNC1,
Check the external wiring and correct errors.
FUNC2) correct?
Is CH Selected counter function start command (RY25, RY3D) Turn off CH Selected counter function start command (RY25,
off? RY3D).
252
CHAPTER 11 TROUBLESHOOTING
(1) When the module does not measure or perform normal measurement
Page 247, Section 11.5.1 (1)
11.5.3 When the setting on the operation mode setting is the rotation 11
speed measurement mode
(1) When the module does not measure or perform normal measurement
Page 247, Section 11.5.1 (1)
11.5.4 When the setting on the operation mode setting is the pulse
measurement mode
(1) When the module does not measure or perform normal measurement
253
11.5.5 When the setting on the operation mode setting is the PWM
output mode
254
CHAPTER 11 TROUBLESHOOTING
255
APPENDICES
Appendix 1 Details of Remote I/O Signals
ON
Remote READY
RX7 Warning status flag (RXB)
*1
CH1 Latest warning code
0 1050H 0
(RWr23)
ON
CH1 Warning status
(RX37) OFF
256
APPENDICES
Remote input
Signal name Description
(RX) No.
• After the module is powered on or the remote reset is performed, this signal turns on to let
A
the high-speed counter module request the initial setting.
• When this signal is on, set initial data to the remote register (RWw) and turn on Initial data
processing completion flag (RY8).
• To change the setting in the parameter area of the remote buffer memory as well, change
the setting in the parameter area, enable the setting values by turning on Initial data setting
request flag (RY9), then turn on Initial data processing completion flag (RY8).
• While this signal is on, the high-speed counter module does not count pulses.
The operation is ON
Remote READY set with the
(RXB) OFF
setting value A.
• After checking that the initial data processing is completed (this signal turns off) and Initial
data setting completion flag (RX9) turns off, turn on CH Count enable command (RY24,
RY3C) to start pulse counting.
• Remote output signals other than CH Error reset command (RY36, RY4E) that are already
turned on when this signal turns off are recognized as they are turned on right after this
signal turns off.
• At the rising state of either of Coincidence output 1 or Coincidence output 2 for which the
preset/replace (at coincidence output) function is enabled from the comparison result at
when this signal turns off, the count value is replaced with the preset value. (However, this
operation is performed only when Comparison output setting (address: 0100H) is set to
Coincidence Output Function (0) and CH Operation mode setting (address: 0120H, 0140H)
is set to Normal Mode (0).)
• If an error occurs, such as when a value out of the setting range of the remote register
(RWw) or the remote buffer memory is detected, this signal does not turn off even if Initial
data processing completion flag (RY8) is turned off. (This signal remains on.) In this case,
remove the error cause and turn on then off Initial data processing completion flag (RY8). In
addition, the OFF time must be longer than T1*2.
257
Remote input
Signal name Description
(RX) No.
• This signal is used as an interlock for turning on/off Initial data setting request flag (RY9)
when the setting values in the parameter area of the remote buffer memory are changed or
the setting values of the extended parameter area are saved into the nonvolatile memory.
• While this signal is on, the high-speed counter module does not count pulses.
ON
Initial data setting completion flag
(RX9) OFF
ON
Initial data setting request flag
(RY9) OFF
ON ON
Remote READY
(RXB) The operation is OFF The operation is
performed with performed with
the setting value A. the setting value B.
• After checking that the initial data setting processing is completed (this signal turns off) and
Initial data processing request flag (RX8) turns off, turn on CH Count enable command
(RY24, RY3C) to start pulse counting.
• Remote output signals other than CH Error reset command (RY36, RY4E) that are already
turned on when this signal turns off are recognized as they are turned on right after this
signal turns off.
• When Initial data processing request flag (RX8) is off and at the rising state of either of
Coincidence output 1 or Coincidence output 2 for which the preset/replace (at coincidence
output) function is enabled from the comparison result at when this signal turns off, the count
value is replaced with the preset value. (However, this operation is performed only when
Comparison output setting (address: 0100H) is set to Coincidence Output Function (0) and
CH Operation mode setting (address: 0120H, 0140H) is set to Normal Mode (0).)
• If an error occurs, such as when a value out of the setting range of the remote register
(RWw) or the remote buffer memory is detected, this signal does not turn off even if Initial
data setting request flag (RY9) is turned off. (This signal remains on.) In this case, remove
the error cause and turn on then off Initial data setting request flag (RY9). In addition, the
OFF time must be longer than T1*2.
258
APPENDICES
Remote input
Signal name Description
(RX) No.
• This signal turns on when CH Error status (RX36, RX4E) turns on.
A
• This signal turns off when CH Error status (RX36, RX4E) turns off.
ON ON
Remote READY
RXA Error status flag (RXB) OFF
• This signal turns on when the initial data setting processing is completed after the module is
powered on or the remote reset is performed.
• This signal turns on after Initial data processing request flag (RX8) turns off.
• This signal turns on when Initial data processing request flag (RX8) is off and Initial data
RXB Remote READY setting completion flag (RX9) is turned off.
• This signal turns off when Error status flag (RXA) turns on.
• This signal can be used as an interlock of programs. (For the overview of the operation, refer
to the descriptions of Initial data processing request flag (RX8), Initial data setting
completion flag (RX9), and Error status flag (RXA).)
CH Present value
(RWr10 to RWr11, RWr28 to RWr29) 0 1 999 1000 2000 2001
RX13 Coincidence output 4
• Up to T1*2 delay occurs until this signal turns on after the comparison conditions of CH
Present value (RWr10 to RWr11, RWr28 to RWr29) are satisfied in the coincidence output
function.
259
Remote input
Signal name Description
(RX) No.
• This signal turns on when the changes of the following remote registers (RWw) are reflected
to the high-speed counter module in the coincidence output function.
Setting change • Point setting (Coincidence output 1 to 4)/Lower limit value setting (Coincidence output 1 to
RX14 completed 4) (RWw0 to RWw1, RWw4 to RWw5, RWw8 to RWw9, RWwC to RWwD)
(Coincidence output 1) • Upper limit value setting (Coincidence output 1 to 4) (RWw2 to RWw3, RWw6 to RWw7,
RWwA to RWwB, RWwE to RWwF)
• For Coincidence output 1, Setting change completed (Coincidence output 1) (RX14) turns
on after the changes of Point setting (Coincidence output 1)/Lower limit value setting
(Coincidence output 1) (RWw0 to RWw1) and Upper limit value setting (Coincidence output
Setting change 1) (RWw2 to RWw3) are reflected to the high-speed counter module by Setting change
RX15 completed request (Coincidence output 1) (RY14).
(Coincidence output 2) • For Coincidence output 1, Setting change completed (Coincidence output 1) (RX14) turns
off when Setting change request (Coincidence output 1) (RY14) is turned off.
• For Coincidence output 2 to 4, each corresponding remote I/O signals and remote register
(RWw) are used.
• This signal turns on when the external power supply monitoring function is enabled by
turning on External power supply monitor request flag (RY1F).
• This signal turns off when the external power supply monitoring function is disabled by
turning off External power supply monitor request flag (RY1F).
260
APPENDICES
Remote input
Signal name Description
(RX) No.
• This signal turns on when the preset is completed by turning on CH Preset/replace
A
command (RY21, RY39).
• This signal turns off when CH Preset/replace command (RY21, RY39) is turned off.
CH Present value
0 100
(RWr10 to RWr11, RWr28 to RWr29)
Up to T1*2 delay occurs until this signal turns on after the preset is completed.
• This signal turns on when a count value is replaced with the preset value by CH Phase Z
input terminal (Z1, Z2). Note that this signal does not turn on when Z phase (Preset) trigger
setting (address: 0125H.b0 to b1, 0145H.b0 to b1) in CH Phase Z setting (address: 0125H,
0145H) is set to During ON (11).
• This signal turns off when CH External preset/replace (Z Phase) request detection reset
command (RY23, RY3B) is turned on.
• The value is not replaced while this signal is on.
• Note that this signal does not turn on when External preset/replace (Z Phase) request
detection setting (address: 0125H.b4, 0145H.b4) in CH Phase Z setting (address: 0125H,
0145H) is set to Not ON at detection (1). This signal turns on only when External
CH Present value
(RWr10 to RWr11, RWr28 to RWr29)
0 100
t T1
• Up to T1*2 delay occurs until this signal turns on after the preset is completed.
261
Remote input
Signal name Description
(RX) No.
• This signal turns on when the counter function starts by turning on CH Selected counter
function start command (RY25, RY3D).
• This signal turns off when CH Selected counter function start command (RY25, RY3D) is
turned off.
• The following figure shows an operation example of when the latch counter function is
performed.
• This signal turns on when the cam switch function is started by turning on CH Cam switch
execute command/PWM output start command (RY26, RY3E).
Cam switch
RX26 CH1 • This signal turns on when the PWM output is started by turning on CH Cam switch
execute/PWM
RX3E CH2 execute command/PWM output start command (RY26, RY3E).
output
• This signal turns off when CH Cam switch execute command/PWM output start command
(RY26, RY3E) is turned off.
• This signal turns on after the changes of CH Time unit setting (Sampling counter/Periodic
pulse counter) (RWw16, RWw2E) and CH Cycle setting (Sampling counter/Periodic pulse
counter) (RWw17, RWw2F) by CH Setting change request (Sampling counter/Periodic
pulse counter) (RY27, RY3F) are reflected to the high-speed counter module.
• This signal turns off when CH Setting change request (Sampling counter/Periodic pulse
counter) (RY27, RY3F) is turned off.
CH Cycle setting
(Sampling counter/Periodic pulse counter) 0 100
(RWw17, RWw2F)
CH Setting change completed ON
(Sampling counter/Periodic pulse counter)
(RX27, RX3F) OFF
262
APPENDICES
Remote input
Signal name Description
(RX) No.
• This signal turns on when resetting CH Update flag (Latch count value) (RX29, RX41) by
A
CH Update flag reset command (Latch count value) (RY28, RY40) is completed.
• This signal turns off when CH Update flag reset command (Latch count value) (RY28,
RY40) is turned off.
ON
CH Update flag (Latch count value)
(RX29, RX41) OFF
RX28 CH1 CH Update flag reset completed ON
RX40 CH2 (Latch count value)
(RX28, RX40) OFF
• This signal turns on when resetting CH Update flag (Sampling count value) (RX29, RX41)
Update flag
by CH Update flag reset command (Sampling count value) (RY28, RY40) is completed.
reset completed
• This signal turns off when CH Update flag reset command (Sampling count value) (RY28,
(Sampling
RY40) is turned off. (The operation is the same as that of CH Update flag reset completed
count value)
(Latch count value) (RX28, RX40) except the signal name.)
• This signal turns on when resetting CH Update flag (Periodic pulse count value) (RX29,
Update flag RX41) by CH Update flag reset command (Periodic pulse count value) (RY28, RY40) is
reset completed completed.
(Periodic pulse • This signal turns off when CH Update flag reset command (Periodic pulse count value)
count value) (RY28, RY40) is turned off. (The operation is the same as that of CH Update flag reset
completed (Latch count value) (RX28, RX40) except the signal name.)
263
Remote input
Signal name Description
(RX) No.
• This signal turns on when CH Latch count value (RWr12 to RWr13, RWr2A to RWr2B) is
updated.
• ( Page 145, Section 8.10, Page 156, Section 8.14)
• CH Latch count value (RWr12 to RWr13, RWr2A to RWr2B) is updated without resetting
Update flag
this flag.
(Latch count
• This signal turns off when CH Update flag reset command (Latch count value) (RY28,
value)
RY40) is turned on.
• Up to T1*2 delay occurs until this signal turns on after CH Latch count value (RWr12 to
RWr13, RWr2A to RWr2B) is updated. (For the overview of the operation, refer to the
description of CH Update flag reset completed (Latch count value) (RX28, RX40).)
• This signal turns on when CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B)
is updated.
( Page 148, Section 8.11)
• CH Sampling count value (RWr12 to RWr13, RWr2A to RWr2B) is updated without
Update flag
resetting this flag.
(Sampling
• This signal turns off when CH Update flag reset command (Sampling count value) (RY28,
count value)
RY40) is turned on.
• Up to T1*2 delay occurs until this signal turns on after CH Sampling count value (RWr12
RX29 CH1
to RWr13, RWr2A to RWr2B) is updated. (For the overview of the operation, refer to the
RX41 CH2
description of CH Update flag reset completed (Sampling count value) (RX28, RX40).)
• This signal turns on when CH Periodic pulse count, difference value (RWr12 to RWr13,
RWr2A to RWr2B), CH Periodic pulse count, present value (RWr14 to RWr15, RWr2C to
RWr2D), and CH Periodic pulse count value update check (RWr16 to RWr17, RWr2E to
RWr2F) are updated.
• ( Page 151, Section 8.12)
• CH Periodic pulse count, difference value (RWr12 to RWr13, RWr2A to RWr2B), CH
Periodic pulse count, present value (RWr14 to RWr15, RWr2C to RWr2D), and CH
Update flag Periodic pulse count value update check (RWr16 to RWr17, RWr2E to RWr2F) are updated
(Periodic pulse without resetting this flag.
count value) • This signal turns off when CH Update flag reset command (Periodic pulse count value)
(RY28, RY40) is turned on.
• Up to T1*2 delay occurs until this signal turns on after CH Periodic pulse count, difference
value (RWr12 to RWr13, RWr2A to RWr2B), CH Periodic pulse count, present value
(RWr14 to RWr15, RWr2C to RWr2D), and CH Periodic pulse count value update check
(RWr16 to RWr17, RWr2E to RWr2F) are updated. (For the overview of the operation, refer
to the description of CH Update flag reset completed (Periodic pulse count value) (RX28,
RX40).)
• This signal turns on when resetting CH Latch count value update flag (Latch counter input
terminal) (RX2B, RX43) by CH Latch count value update flag reset command (Latch
counter input terminal) (RY2A, RY42) is completed.
• This signal turns off when CH Latch count value update flag reset command (Latch
counter input terminal) (RY2A, RY42) is turned off.
Latch count
value update Controlled by the high-speed counter module
RX2A CH1 flag reset Controlled by the program
RX42 CH2 completed
CH Latch count value update flag reset command ON
(Latch counter (Latch counter input terminal)
(RY2A, RY42)
input terminal) OFF
CH Latch count value update flag ON
(Latch counter input terminal)
(RX2B, RX43) OFF
CH Latch count value update flag reset completed ON
(Latch counter input terminal)
(RX2A, RX42) OFF
264
APPENDICES
Remote input
Signal name Description
(RX) No.
• This signal turns on when CH Latch count value (Latch counter input terminal) (RWr18 to
A
RWr19, RWr30 to RWr31) is updated. ( Page 137, Section 8.7)
• CH Latch count value (Latch counter input terminal) (RWr18 to RWr19, RWr30 to RWr31)
Latch count
is updated without resetting this flag.
value update
RX2B CH1 • This signal turns off when CH Latch count value update flag reset command (Latch
flag (Latch
RX43 CH2 counter input terminal) (RY2A, RY42) is turned on.
counter input
• Up to T1*2 delay occurs until this signal turns on after CH Latch count value (Latch
terminal)
counter input terminal) (RWr18 to RWr19, RWr30 to RWr31) is updated. (For the overview of
the operation, refer to the description of CH Latch count value update flag reset completed
(Latch counter input terminal) (RX2A, RX42).)
• This signal turns on when resetting CH Update flag (Measured frequency value) (RX2D,
RX45) by CH Update flag reset command (Measured frequency value) (RY2C, RY44) is
completed.
• This signal turns off when CH Update flag reset command (Measured frequency value)
(RY2C, RY44) is turned off.
Update flag
reset completed Controlled by the high-speed counter module
(Measured Controlled by the program
frequency CH Update flag reset command ON
value) (Measured frequency value)
RX2C CH1 (RY2C, RY44) OFF
RX44 CH2 CH Update flag ON
(Measured frequency value)
(RX2D, RX45) OFF
CH Update flag reset completed ON
(Measured frequency value)
(RX2C, RX44) OFF
• This signal turns on when resetting CH Update flag (Measured rotation speed value)
Update flag
(RX2D, RX45) by CH Update flag reset command (Measured rotation speed value)
reset completed
265
Remote input
Signal name Description
(RX) No.
• This signal turns on when resetting CH Measured pulse value update flag (Function input
terminal) (RX32, RX4A) by CH Measured pulse value update flag reset command
(Function input terminal) (RY31, RY49) is completed.
• This signal turns off when CH Measured pulse value update flag reset command (Function
input terminal) (RY31, RY49) is turned off.
Measured pulse
value update Controlled by the high-speed counter module
RX31 CH1 flag reset Controlled by the program
RX49 CH2 completed
CH Measured pulse value ON
(Function input update flag reset command
terminal) (Function input terminal) (RY31, RY49) OFF
ON
CH Measured pulse value update flag
(Function input terminal) (RX32, RX4A) OFF
CH Measured pulse value ON
update flag reset completed
(Function input terminal) (RX31, RX49) OFF
• This signal turns on when CH Measured pulse value (Function input terminal) (RWr1C to
RWr1D, RWr34 to RWr35) is updated.
• CH Measured pulse value (Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35)
Measured pulse is updated without resetting this flag.
RX32 CH1 value update • This signal turns off when CH Measured pulse value update flag reset command (Function
RX4A CH2 flag (Function input terminal) (RY31, RY49) is turned on.
input terminal) • Up to T1*2 delay occurs until this signal turns on after CH Measured pulse value
(Function input terminal) (RWr1C to RWr1D, RWr34 to RWr35) is updated. (For the overview
of the operation, refer to the description of CH Measured pulse value update flag reset
completed (Function input terminal) (RX31, RX49).)
• This signal turns on when resetting CH Measured pulse value update flag (Latch counter
input terminal) (RX34, RX4C) by CH Measured pulse value update flag reset command
(Latch counter input terminal) (RY33, RY4B) is completed.
• This signal turns off when CH Measured pulse value update flag reset command (Latch
counter input terminal) (RY33, RY4B) is turned off.
Measured pulse
value update Controlled by the high-speed counter module
RX33 CH1 flag reset Controlled by the program
RX4B CH2 completed
CH Measured pulse value ON
(Latch counter update flag reset command
input terminal) (Latch counter input terminal) (RY33, RY4B) OFF
CH Measured pulse value update flag ON
(Latch counter input terminal)
(RX34, RX4C) OFF
CH Measured pulse value ON
update flag reset completed
(Latch counter input terminal) (RX33, RX4B) OFF
• This signal turns on when CH Measured pulse value (Latch counter input terminal)
(RWr1E to RWr1F, RWr36 to RWr37) is updated.
• CH Measured pulse value (Latch counter input terminal) (RWr1E to RWr1F, RWr36 to
Measured pulse
RWr37) is updated without resetting this flag.
value update
RX34 CH1 • This signal turns off when CH Measured pulse value update flag reset command (Latch
flag (Latch
RX4C CH2 counter input terminal) (RY33, RY4B) is turned on.
counter input
• Up to T1*2 delay occurs until this signal turns on after CH Measured pulse value (Latch
terminal)
counter input terminal) (RWr1E to RWr1F, RWr36 to RWr37) is updated. (For the overview of
the operation, refer to the description of CH Measured pulse value update flag reset
completed (Latch counter input terminal) (RX33, RX4B).)
266
APPENDICES
Remote input
Signal name Description
(RX) No.
• This signal turns on when the changes of CH ON width setting (PWM output) (RWw1E to
A
RWw1F, RWw36 to RWw37) are reflected to the high-speed counter module by CH ON
width setting change request (PWM output) (RY35, RY4D).
• This signal turns off when CH ON width setting change request (PWM output) (RY35,
RY4D) is turned off.
CH
ON width setting
(PWM output) 100 200
(RWw1E to RWw1F, RWw36 to RWw37)
• This signal turns on when a moderate error or major error occurs on a channel
corresponding to this signal.
• This signal turns off when CH Error reset command (RY36, RY4E) is turned on and no
moderate error or major error newly occurs.
ON
CH Error reset command
(RY36, RY4E) OFF
• This signal turns on when a minor error occurs on a channel corresponding to this signal.
• This signal turns off when CH Error reset command (RY36, RY4E) is turned on and no
minor error newly occurs. Some warning codes (error codes of minor errors) cannot be reset
by turning on CH Error reset command (RY36, RY4E). For details, refer to Page 225,
RX37 CH1
Warning status Section 11.2.
RX4F CH2
• This signal turns off when no minor error newly occurs five seconds after a minor error
occurred. (For the overview of the operation, refer to the description of CH Error status
(RX36, RX4E).) However, this signal may not turn off even after five seconds depending on
warning codes (error codes of minor errors). For details, refer to Page 225, Section 11.2.
*1 This signal cannot be reset arbitrarily by output signals such as CH Error reset command (RY36, RY4E) depending on
warning codes (error codes of minor errors). For details, refer to Page 225, Section 11.2.
*2 For T1, refer to Page 305, Appendix 4.
267
Appendix 1.2 Details of remote output signals
268
APPENDICES
Remote
Operation
output (RY) Signal name Description
No.
timing A
• When this signal is turned on, all the remote registers (RWr) of the high-speed
counter module are cleared to 0.
• When this signal is turned on, all the following remote buffer memory areas
are cleared to 0.
Initial data setting • Channel assignment (Coincidence output 1 to 4) (address: 0600H)
RY9
request flag
- • CH Operation mode (address: 0620H, 0640H)
• CH Selected counter function (address: 0621H, 0641H)
• For details of the ON/OFF timing of this signal, refer to Page 256, Appendix
1.1.
• Turn on this signal to turn off Coincidence output 1 to 4 (RX10 to RX13) and
Reset command coincidence output 1 to 4 terminals (EQU1 to EQU4).
RY10 • This signal is valid only when Coincidence Output Function (0) is selected in
(Coincidence output 1)
Comparison output setting (address: 0100H) and Coincidence Output (00) is
selected in Coincidence output comparison condition setting (address:
0102H).
Reset command
RY11
(Coincidence output 2)
Controlled by the high-speed counter module
Controlled by the program
Coincidence output 1 to 4
ON ON ON
(RX10 to RX13) OFF
Reset command
(Coincidence output 1 to 4) OFF OFF
(RY10 to RY13)
Reset command t t t
RY13
(Coincidence output 4) CH Present value
(RWr10 to RWr11, RWr28 to RWr29) 0 1 999 1000 1001
• Turn on this signal to reflect the changes of the following remote registers
Setting change request
RY14 (RWw) to the high-speed counter module in the coincidence output function.
(Coincidence output 1) • Point setting (Coincidence output 1 to 4)/Lower limit value setting
(Coincidence output 1 to 4) (RWw0 to RWw1, RWw4 to RWw5, RWw8 to
Setting change request RWw9, RWwC to RWwD)
RY15 • Upper limit value setting (Coincidence output 1 to 4) (RWw2 to RWw3, RWw6
(Coincidence output 2)
to RWw7, RWwA to RWwB, RWwE to RWwF)
• For Coincidence output 1, when Setting change request (Coincidence output
Setting change request 1) (RY14) is turned on, the changes of Point setting (Coincidence output
RY16
(Coincidence output 3) 1)/Lower limit value setting (Coincidence output 1) (RWw0 to RWw1) and
Upper limit value setting (Coincidence output 1) (RWw2 to RWw3) are
reflected to the high-speed counter module. After the setting value is
Setting change request reflected, Setting change completed (Coincidence output 1) (RX14) turns on.
RY17 • For Coincidence output 2 to 4, each corresponding remote I/O signals and
(Coincidence output 4)
remote register (RWw) are used. (For the overview of the operation, refer to
Page 256, Appendix 1.1.)
Enable command • Turn on this signal to enable output to coincidence output 1 to 4 terminals
RY18
(Coincidence output 1) (EQU1 to EQU4) in the coincidence output function.
Enable command • This signal is valid when Coincidence output enable command setting
RY19 (address: 0106H) is set to By each coincidence output (1).
(Coincidence output 2)
Enable command • For Coincidence output 1, turning on Enable command (Coincidence output
RY1A 1) (RY18) enables the output to the coincidence output 1 terminal (EQU1).
(Coincidence output 3)
For Coincidence output 2 to 4, the output to the coincidence output terminal
corresponding to the remote output signal that was turned on becomes
Enable command
RY1B enabled.
(Coincidence output 4)
• Up to T1*1 is taken until this signal has been turned on.
269
Remote
Operation
output (RY) Signal name Description
timing
No.
External power supply Turn on this signal to activate the external power supply monitoring function.
RY1F
monitor request flag (For the overview of the operation, refer to Page 256, Appendix 1.1.)
• Turn on this signal to enable output to coincidence output 1 to 4 terminals
(EQU1 to EQU4) in the coincidence output function.
Coincidence • This signal is valid when Coincidence output enable command setting
RY20 CH1 (address: 0106H) is set to By each channel (0).
output enable
RY38 CH2
command • This signal is valid to all the coincidence output 1 to 4 terminals (EQU1 to
EQU4) assigned to the channel.
• Up to T1*1 is taken until this signal has been turned on.
• Turn on this signal to replace a count value with the preset value.
• The value cannot be replaced by turning on this signal while CH External
preset/replace (Z Phase) request detection (RX23, RX3B) is on. Turn off
RY21 CH1 Preset/replace
CH External preset/replace (Z Phase) request detection (RX23, RX3B) by
RY39 CH2 command
using CH External preset/replace (Z Phase) request detection reset
command (RY23, RY3B). (For the overview of the operation, refer to Page
256, Appendix 1.1.)
• Turn on this signal to count down pulses.
• This signal is valid when 1-Phase Multiple of 1 (0) or 1-Phase Multiple of 2 (1)
is selected for CH Pulse input mode (address: 0122H, 0142H).
• Inputting pulse in phase B can also start counting down pulses.
• The following figure shows the overview of the operation (when 1-Phase
Multiple of 1 (0) is selected for CH1 Pulse input mode (address: 0122H)).
• Up to T1*1 is taken until this signal has been turned on.
CH1 Count ON
down command OFF
(RY22)
CH1 Present value
(RWr10 to RWr11)
99 100 101 100 99 98
External
• Turn on this signal to turn off CH External preset/replace (Z Phase) request
preset/replace
detection (RX23, RX3B).
RY23 CH1 (Z Phase)
• A count value cannot be replaced with the preset value while CH External
RY3B CH2 request
preset/replace (Z Phase) request detection (RX23, RX3B) is on.
detection reset
• For the overview of the operation, refer to Page 256, Appendix 1.1.
command
270
APPENDICES
Remote
Operation
output (RY) Signal name Description
No.
timing A
• Turn on this signal to count pulses.
• The following figure shows the overview of the operation (when 1-Phase
Multiple of 1 (0) is selected for CH1 Pulse input mode (address: 0122H)).
ON
A OFF
RY24 CH1 Count enable
RY3C CH2 command ON
B OFF
CH1 Count ON
enable command
(RY24) OFF
CH1 Present value
(RWr10 to RWr11)
0 1 2 3 4
271
Remote
Operation
output (RY) Signal name Description
timing
No.
• Turn on this signal to reset CH Update flag (Latch count value) (RX29,
Update flag RX41).
reset command • When this signal is turned on, CH Update flag (Latch count value) (RX29,
(Latch count RX41) turns off. After resetting is completed, CH Update flag reset
value) completed (Latch count value) (RX28, RX40) turns on. (For the overview of
the operation, refer to Page 256, Appendix 1.1.)
• Turn on this signal to reset CH Update flag (Sampling count value) (RX29,
Update flag RX41).
RY28 CH1 reset command • When this signal is turned on, CH Update flag (Sampling count value)
RY40 CH2 (Sampling count (RX29, RX41) turns off. After resetting is completed, CH Update flag reset
value) completed (Sampling count value) (RX28, RX40) turns on. (For the overview
of the operation, refer to Page 256, Appendix 1.1.)
• Turn on this signal to reset CH Update flag (Periodic pulse count value)
Update flag (RX29, RX41).
reset command • When this signal is turned on, CH Update flag (Periodic pulse count value)
(Periodic pulse (RX29, RX41) turns off. After resetting is completed, CH Update flag reset
count value) completed (Periodic pulse count value) (RX28, RX40) turns on. (For the
overview of the operation, refer to Page 256, Appendix 1.1.)
• Turn on this signal to reset CH Latch count value update flag (Latch counter
Latch count
input terminal) (RX2B, RX43).
value update
• When this signal is turned on, CH Latch count value update flag (Latch
RY2A CH1 flag reset
counter input terminal) (RX2B, RX43) turns off. After resetting is completed,
RY42 CH2 command
CH Latch count value update flag reset completed (Latch counter input
(Latch counter
terminal) (RX2A, RX42) turns on. (For the overview of the operation, refer to
input terminal)
Page 256, Appendix 1.1.)
• Turn on this signal to reset CH Update flag (Measured frequency value)
Update flag (RX2D, RX45).
reset command • When this signal is turned on, CH Update flag (Measured frequency value)
(Measured (RX2D, RX45) turns off. After resetting is completed, CH Update flag reset
frequency value) completed (Measured frequency value) (RX2C, RX44) turns on. (For the
RY2C CH1 overview of the operation, refer to Page 256, Appendix 1.1.)
RY44 CH2 • Turn on this signal to reset CH Update flag (Measured rotation speed value)
Update flag
(RX2D, RX45).
reset command
• When this signal is turned on, CH Update flag (Measured rotation speed
(Measured
value) (RX2D, RX45) turns off. After resetting is completed, CH Update flag
rotation speed
reset completed (Measured rotation speed value) (RX2C, RX44) turns on.
value)
(For the overview of the operation, refer to Page 256, Appendix 1.1.)
• Turn on this signal to start measuring pulses using CH Function input
Pulse
terminal (FUNC1, FUNC2).
measurement
RY30 CH1 • When this signal is turned on, the measurement of pulses using CH
start command
RY48 CH2 Function input terminal (FUNC1, FUNC2) starts. When the measurement
(Function input
starts, Operating (1) is set in CH Pulse measurement flag (Function input
terminal)
terminal) (RWr20.b6, RWr38.b6).
• Turn on this signal to reset CH Measured pulse value update flag (Function
Measured pulse
input terminal) (RX32, RX4A).
value update
• When this signal is turned on, CH Measured pulse value update flag
RY31 CH1 flag reset
(Function input terminal) (RX32, RX4A) turns off. After resetting is completed,
RY49 CH2 command
CH Measured pulse value update flag reset completed (Function input
(Function input
terminal) (RX31, RX49) turns on. (For the overview of the operation, refer to
terminal)
Page 256, Appendix 1.1.)
272
APPENDICES
Remote
Operation
output (RY) Signal name Description
No.
timing A
• Turn on this signal to start measuring pulses using CH Latch counter input
Pulse
terminal (LATCH1, LATCH2).
measurement
RY32 CH1 • When this signal is turned on, the measurement of pulses using CH Latch
start command
RY4A CH2 counter input terminal (LATCH1, LATCH2) starts. When the measurement
(Latch counter
starts, Operating (1) is set in CH Pulse measurement flag (Latch counter
input terminal)
input terminal) (RWr20.b7, RWr38.b7).
• Turn on this signal to reset CH Measured pulse value update flag (Latch
Measured pulse
counter input terminal) (RX34, RX4C).
value update
• When this signal is turned on, CH Measured pulse value update flag (Latch
RY33 CH1 flag reset
counter input terminal) (RX34, RX4C) turns off. After resetting is completed,
RY4B CH2 command
CH Measured pulse value update flag reset completed (Latch counter input
(Latch counter
terminal) (RX33, RX4B) turns on. (For the overview of the operation, refer to
input terminal)
Page 256, Appendix 1.1.)
• Turn on this signal to activate the changes of CH ON width setting (PWM
output) (RWw1E to RWw1F, RWw36 to RWw37) during PWM output.
ON width setting • When this signal is turned on, CH ON width setting (PWM output) (RWw1E
RY35 CH1
change request to RWw1F, RWw36 to RWw37) is reflected to the high-speed counter module.
RY4D CH2
(PWM output) After the setting values are reflected, CH ON width setting change
completed (PWM output) (RX35, RX4D) turns on. (For the overview of the
operation, refer to Page 256, Appendix 1.1.)
• Turn on this signal to reset CH Latest error code (RWr22, RWr3A) and
RY36 CH1 Error reset
CH Latest warning code (RWr23, RWr3B). (For the overview of the
RY4E CH2 command
operation, refer to Page 225, Section 11.2.)
*1 For T1, refer to Page 305, Appendix 4.
273
Remark
The figures in the operation timing indicate the following.
Set T1 or longer for the ON/OFF time of the remote output signals.
For T1, refer to Page 305, Appendix 4.
274
APPENDICES
Point setting (Coincidence output 1 to 4) > Present value ... Counter value greater:
0/Counter value smaller: 1
Point setting (Coincidence output 1 to 4) = Present value ... Counter value greater:
0/Counter value smaller: 0
Point setting (Coincidence output 1 to 4) < Present value ... Counter value greater:
1/Counter value smaller: 0
• When Initial data setting request flag (RY9) is turned off then on, the value in this
• When Initial data setting request flag (RY9) is turned off then on, the value in this
area is cleared.
275
(2) Remote registers (RWr2 to RWr3)
Address
(RWr) Name Description Default
CH1 CH2
• When the cam switch function is selected, this area stores the comparison result
of "Cam switch function, step No.1 to No.16 setting (Output 1 to 16)" in the
remote buffer memory and CH Present value (RWr10 to RWr11, RWr28 to
RWr29).
0: OFF
Cam switch output 1: ON
3 0000H
terminal status
1) Cam switch status (Output 1)
2) Cam switch status (Output 2)
: :
15) Cam switch status (Output 15)
16) Cam switch status (Output 16)
• When Initial data setting request flag (RY9) is turned off then on, the value in this
area is cleared.
276
APPENDICES
277
(4) Remote registers (RWr18 to RWr1F, RWr30 to RWr37)
Address
(RWr) Item Description Default
CH1 CH2
• This area stores the count value latched when the latch counter function by latch
Latch count value counter input terminal is selected. (For the overview of the operation, refer to
18 30
(Latch counter input Page 139, Section 8.7.) 0
19 31
terminal) • When Initial data setting request flag (RY9) is turned off then on, the value in this
area is cleared.
• This area stores the frequency value measured when the frequency
Measured frequency measurement function is selected.
value • When Initial data setting request flag (RY9) is turned off then on, the value in this
1A 32 area is cleared.
0
1B 33 • This area stores the rotation speed value measured when the rotation speed
Measured rotation measurement function is selected.
speed value • When Initial data setting request flag (RY9) is turned off then on, the value in this
area is cleared.
• This area stores the value of the ON width or OFF width of pulses input to CH
Function input terminal (FUNC1, FUNC2) measured when the pulse
Measured pulse measurement function is selected.
1C 34
value (Function input • The following shows the range of values which can be stored. 0
1D 35
terminal) 0 to 2147483647 (increments of 0.1s)
• When Initial data setting request flag (RY9) is turned off then on, the value in this
area is cleared.
• This area stores the value of the ON width or OFF width of pulses input to CH
Latch counter input terminal (LATCH1, LATCH2) measured when the pulse
Measured pulse measurement function is selected.
1E 36
value (Latch counter • The following shows the range of values which can be stored. 0
1F 37
input terminal) 0 to 2147483647 (increments of 0.1s)
• When Initial data setting request flag (RY9) is turned off then on, the value in this
area is cleared.
278
APPENDICES
Count-up/
0 (fixed) count-down status
0: Count-up
1: Count-down
Underflow
detection flag
0: Not detected
1: Detected
Overflow
detection flag
0: Not detected
1: Detected
Sampling counter/
Periodic pulse
counter operation
flag
0: Not operating
20 38 Status 1: Operating 0000H
Frequency
measurement flag
0: Not operating
1: Operating
Rotation speed
measurement flag
0: Not operating
1: Operating
Pulse measurement
flag (Function
input terminal)
0: Not operating
1: Operating
Pulse measurement
flag (Latch counter
input terminal)
• When Initial data setting request flag (RY9) is turned off then on, the value in this
area is cleared.
279
(6) Remote registers (RWr21 to RWr23, RWr39 to RWr3B)
Address
(RWr) Item Description Default
CH1 CH2
• This area stores the input statuses of phase Z, the function, the latch counter,
phase A, and phase B of the external I/O connector.
Latch counter
input status
0: OFF
1: ON
Phase A input
status 0000H
21 39 External input status 0: OFF
1: ON
Phase B input
status
0: OFF
1: ON
• When CH Operation mode setting (address: 0120H, 0140H) is set to either of
Frequency Measurement Mode (1), Rotation Speed Measurement Mode (2), or
PWM Output Mode (4), Function input status (RWr21.b1, RWr39.b1) is always
OFF (0).
• With Negative Logic (1) being set in CH Function input logic setting (address:
0127H, 0147H) or CH Latch counter input logic setting (address: 0128H,
0148H), its input status changes to OFF (0) when a voltage is applied.
• When Initial data setting request flag (RY9) is turned off then on, the value in this
area is cleared.
• This area stores the latest error code of the generated major error or moderate
error.
• When multiple errors in the same category occur, this area stores the error code
22 3A Latest error code of the later error. 0000H
• When a moderate error occurs while a major error is occurring, this area does
not store the error code of the moderate error.
• For the error code, refer to Page 225, Section 11.2.
• This area stores the error code of the generated minor error.
• When multiple minor errors occur, this area stores the error code of the later
23 3B Latest warning code 0000H
error.
• For the error code, refer to Page 225, Section 11.2.
280
APPENDICES
281
(8) Remote registers (RWw2 to RWwF)
Address
(RWw) Item Description Default
CH1 CH2
• When the coincidence output function is selected and a bit corresponding to
Coincidence output 1 of Coincidence output comparison condition setting
(address: 0102H) is set to "Within-range Output (01)" or "Out-of-range Output
(10)", set the upper limit value.
• When a bit corresponding to Coincidence output 1 of Coincidence output
comparison condition setting (address: 0102H) is set to "Coincidence Output
Upper limit value (00)", this setting value is not used.
2
setting (Coincidence • The following shows the setting range. 0
3
output 1) -2147483648 to 2147483647
• The reflection timing of the setting value
1) When Initial data processing request flag (RX8) turns off
2) When Initial data setting request flag (RY9) is turned off then on (only while
Initial data processing request flag (RX8) is off)
3) When Setting change request (Coincidence output 1) (RY14) is turned off
then on
Point setting
(Coincidence output • This setting is for Coincidence output 2 of the coincidence output function.
4 2) • The details on this area such as the setting range are the same as those of Point
0
5 Lower limit value setting (Coincidence output 1)/Lower limit value setting (Coincidence output 1)
setting (Coincidence (RWw0 to RWw1) except the coincidence output number.
output 2)
• This setting is for Coincidence output 2 of the coincidence output function.
Upper limit value
6 • The details on this area such as the setting range are the same as those of
setting (Coincidence 0
7 Upper limit value setting (Coincidence output 1) (RWw2 to RWw3) except the
output 2)
coincidence output number.
Point setting
(Coincidence output • This setting is for Coincidence output 3 of the coincidence output function.
8 3) • The details on this area such as the setting range are the same as those of Point
0
9 Lower limit value setting (Coincidence output 1)/Lower limit value setting (Coincidence output 1)
setting (Coincidence (RWw0 to RWw1) except the coincidence output number.
output 3)
• This setting is for Coincidence output 3 of the coincidence output function.
Upper limit value
A • The details on this area such as the setting range are the same as those of
setting (Coincidence 0
B Upper limit value setting (Coincidence output 1) (RWw2 to RWw3) except the
output 3)
coincidence output number.
Point setting
(Coincidence output • This setting is for Coincidence output 4 of the coincidence output function.
C 4) • The details on this area such as the setting range are the same as those of Point
0
D Lower limit value setting (Coincidence output 1)/Lower limit value setting (Coincidence output 1)
setting (Coincidence (RWw0 to RWw1) except the coincidence output number.
output 4)
• This setting is for Coincidence output 4 of the coincidence output function.
Upper limit value
E • The details on this area such as the setting range are the same as those of
setting (Coincidence 0
F Upper limit value setting (Coincidence output 1) (RWw2 to RWw3) except the
output 4)
coincidence output number.
282
APPENDICES
283
(11)Remote registers (RWw16 to RWw17, RWw2E to RWw2F)
Address
(RWw) Item Description Default
CH1 CH2
• Set a unit of time for the sampling counter function or the periodic pulse counter
function.
• The following shows the setting range.
0: 1ms
Time unit setting
1: 10ms
(Sampling
16 2E • The reflection timing of the setting value 0
counter/Periodic
1) When Initial data processing request flag (RX8) turns off
pulse counter)
2) When Initial data setting request flag (RY9) is turned off then on (only while
Initial data processing request flag (RX8) is off)
3) When CH Setting change request (Sampling counter/Periodic pulse
counter) (RY27, RY3F) is turned off then on
• Set the sampling period for the sampling counter function or the cycle time of
the periodic pulse counter function.
• The following shows the setting range.
1 to 65535 (When CH Time unit setting (Sampling counter/Periodic pulse
counter) (RWw16, RWw2E) is set to 1ms (0), the sampling period or the cycle time
Cycle setting
is indicated in increments of 1ms and when set to 10ms (1), in increments of
(Sampling
17 2F 10ms.) 0
counter/Periodic
• The reflection timing of the setting value
pulse counter)
1) When Initial data processing request flag (RX8) turns off
2) When Initial data setting request flag (RY9) is turned off then on (only while
Initial data processing request flag (RX8) is off)
3) When CH Setting change request (Sampling counter/Periodic pulse
counter) (RY27, RY3F) is turned off then on
284
APPENDICES
285
(14)Remote registers (RWw1D to RWw21, RWw35 to RWw39)
Address
(RWw) Item Description Default
CH1 CH2
• Select an output target from Coincidence output 1 to 4 to output the PWM
waveform using the PWM output function.
• This setting applies only to coincidence outputs where the corresponding
channels are assigned using Coincidence output channel assignment setting
(address: 0101H). Two or more points can be set.
• The following shows the setting range.
0 (fixed) 0: No Assignment
1: Assignment
286
APPENDICES
287
(2) Station-based parameter data (address: 0002H to 0003H)
Address
Name Description Default
CH1 CH2
• Set whether to hold or clear the output of the high-speed counter module and
the extension output module.
• The following shows the setting range.
288
APPENDICES
Coincidence output
0 (fixed) 0: CH1
0101H channel assignment 1: CH2
0000H
setting
1) Coincidence output 1 channel assignment setting
2) Coincidence output 2 channel assignment setting
3) Coincidence output 3 channel assignment setting
4) Coincidence output 4 channel assignment setting
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
289
(5) Module-based parameter data (address: 0104H to 0105H)
Address
Name Description Default
CH1 CH2
• Set an extension output module to be used with the cam switch function.
• The following shows the setting range.
Cam switch output
0: No Assignment
0104H unit assignment 0
1: Stage 1
setting
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
• Set channels to be compared for the outputs of the cam switch function.
• The following shows the setting range.
290
APPENDICES
291
(8) Module-based parameter data (address: 0122H to 0123H, 0142H to 0143H)
Address
Name Description Default
CH1 CH2
• Set the pulse input mode.
• The following shows the setting range.
0: 1-Phase Multiple of 1
1: 1-Phase Multiple of 2
2: CW/CCW
0122H 0142H Pulse input mode 0
3: 2-Phase Multiple of 1
4: 2-Phase Multiple of 2
5: 2-Phase Multiple of 4
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
• Set the counting speed.
• The following shows the setting range.
0: 10kpps
1: 100kpps
2: 200kpps
3: 500kpps
Counting speed 4: 1Mpps
0123H 0143H 0
setting 5: 2Mpps
6: 4Mpps
7: 8Mpps
• Always set 200kpps or slower to the counting speed when DC input is used
for connecting.
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
292
APPENDICES
0 (fixed) 0 (fixed)
293
(10)Module-based parameter data (address: 0126H to 0128H, 0146H to 0148H)
Address
Name Description Default
CH1 CH2
• Set the counter function which becomes valid when the value in CH
Operation mode setting (address: 0120H, 0140H) is Normal Mode (0).
• The following shows the setting range.
0: Count Disable Function
1: Latch Counter Function
Counter function
0126H 0146H 2: Sampling Counter Function 0
selection
3: Periodic Pulse Counter Function
4: Count disable/Preset/replace Function
5: Latch counter/Preset/replace Function
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
• Set the logic setting of CH Function input terminal (FUNC1, FUNC2).
• CH1 FNC LED and CH2 FNC LED turn on with any setting value when a
voltage is applied.
Function input logic • The following shows the setting range.
0127H 0147H 0
setting 0: Positive Logic
1: Negative Logic
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
• Set the logic setting of CH Latch counter input terminal (LATCH1,
LATCH2).
• CH1 LAT LED and CH2 LAT LED turn on with any setting value when a
voltage is applied.
Latch counter input
0128H 0148H • The following shows the setting range. 0
logic setting
0: Positive Logic
1: Negative Logic
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
294
APPENDICES
0 (fixed)
295
(12)Module-based parameter data (address: 012AH to 012BH, 014AH to 014BH)
Address
Name Description Default
CH1 CH2
• Set the pulse measurement target of CH Function input terminal
(FUNC1, FUNC2).
Pulse measurement • The following shows the setting range.
012AH 014AH setting (Function 0: Pulse ON Width 0
input terminal) 1: Pulse OFF Width
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
• Set the pulse measurement target of CH Latch counter input terminal
(LATCH1, LATCH2).
Pulse measurement
• The following shows the setting range.
setting (Latch
012BH 014BH 0: Pulse ON Width 0
counter input
1: Pulse OFF Width
terminal)
• The reflection timing of the setting value
When Initial data setting request flag (RY9) is turned off then on
• When Initial data setting request flag (RY9) is turned off then on, the value in
this area is cleared.
296
APPENDICES
297
(15)Station-based error history data (address: 0A00H to 0AEFH)
Address Name Description Default
• This area stores the error history when an error or a warning occurs.
• Up to 15 errors are stored in the error history.
• The latest history is stored in Error history 1 (address: 0A00H to 0A0FH).
• Errors or warnings that occurred in the past are stored in Error history 2 to Error
history 15 (address: 0A10H to 0AEFH) in reverse chronological order.
• If 16 or more errors or warnings occur, errors or warnings are deleted from the
oldest.
• The following shows the format of the stored values.
b15 to b8 b7 to b0
0A00H Error code Type of the error or warning that has occurred
0A01H Order of generation The value of 0 to 65535 that indicates the order of error occurrence
The date and time of error occurrence (upper 8 bits: first two digits of
0A00H to 0A02H First two digits Last two digits the year/lower 8 bits: last two digits of the year
of the year of the year
Error history 1 The date and time of error occurrence (upper 8 bits: month/ 0000H
0A0FH 0A03H Month Day lower 8 bits: day)
The date and time of error occurrence (upper 8 bits: hour/
0A04H Hour Minute lower 8 bits: minute)
0A05H Second No use (0) The date and time of error occurrence (upper 8 bits: second/
lower 8 bits: no use)
0A06H Error code details 1 Detail information of the error that has occurred*1
0A07H Error code details 2
to to 0 (fixed)
0A0FH Error code details 10
*1
For the details on Error code details 1, refer to the following.
( Page 241, Section 11.2 (1) (a))
• The clock information of the error that occurred is based on the clock information
acquired from the CPU module of the master station. When an error has occurred
before the clock information is acquired from the CPU module, the error time is not
recorded.
to to to to
0AE0H to
Error history 15 • Same as Error history 1. 0000H
0AEFH
298
APPENDICES
Stored condition of
An error history is stored. An error history is not stored.
an error history
Error history
clear command Not commanded (0) Commanded (1) Not commanded (0)
(address: 1000H)
Error history
clear completed Not performed (0)
Completed Not performed
(1) (0)
(address: 1001H)
• Errors or warnings which have occurred are not reset even when Error history
299
(18)Station-based control data (address: 1002H)
Address Name Description Default
• The parameter information and the extended parameter information stored in
the remote buffer memory and the nonvolatile memory are initialized by this
command.
• The following shows the setting range.
Parameter (remote
buffer memory and Set parameter Default value
nonvolatile memory)
Parameter area
initialization command Not commanded (0) Commanded (1) Not commanded (0)
(address: 1002H)
Parameter area
initialization completed Not performed (0)
Completed Not
(1) performed (0)
(address: 1003H)
● When Parameter area initialization command (address: 1002H) is executed, the following remote input signals and
remote registers are not cleared. (Note that the following are the target data to be cleared by Initial data setting request
flag (RY9).)
• Warning status flag (RX7)
• Error status flag (RXA)
• CH Error status (RX36, RX4E)
• CH Warning status (RX37, RX4F)
• CH Latest error code (RWr22, RWr3A)
• CH Latest warning code (RWr23, RWr3B)
● When initialization of the parameter information and the extended parameter information is completed, Initial data
processing request flag (RX8) turns on. Set parameters using Initial data setting request flag (RY9) and remote registers
using Initial data processing completion flag (RY8).
300
APPENDICES
Error data of
module operation Module operation information Default value
Module operation
information initialization
Not commanded (0) Commanded (1) Not commanded (0)
command
(address: 1004H)
Module operation
information initialization
Completed Not
completed Not performed (0)
(1) performed (0)
(address: 1005H)
301
(21)Station-based control data (address: 1005H)
Address Name Description Default
• When initialization of the module operation information stored in the remote
buffer memory and the nonvolatile memory is completed, Module operation
information initialization completed (address: 1005H) changes to Initialization
is completed (1).
Module operation • When Module operation information initialization command (address: 1004H)
302
APPENDICES
303
Address Name Description Default
Cam switch function,
1A80H to step type (Output 12)
1AA0H to Cam switch 0
1AA1H function, step No.16
setting (Output 12)
Cam switch function,
1B00H to step type (Output 13)
1B20H to Cam switch 0
1B21H function, step No.16 For Output 2 to 16, set the step type and the number of steps for the cam, and
setting (Output 13) set the count value for switching ON and OFF of the corresponding output at
Cam switch function, the step No.1 to No.16.
1B80H to step type (Output 14) Since the details on these settings are the same as those of Output 1, refer to
1BA0H to Cam switch the following. 0
1BA1H function, step No.16 ( Page 302, Appendix 3 (22))
setting (Output 14) • The reflection timing of the setting value
Cam switch function, When CH Cam switch execute command/PWM output start command
1C00H to step type (Output 15) (RY26, RY3E) is turned off then on
1C20H to Cam switch 0
1C21H function, step No.16
setting (Output 15)
Cam switch function,
1C80H to step type (Output 16)
1CA0H to Cam switch 0
1CA1H function, step No.16
setting (Output 16)
304
APPENDICES
For the high-speed counter module, responses are delayed by the causes shown in (1) to (4).
Processing time for acquiring data for the maximum setting number of steps of The smaller the number of steps, the
T3
cam switches (16 points 16 steps) and analyzing them (40ms) shorter the processing time.
The synchronization cycle time of the
T4 Synchronization cycle of master station master station will be the same as the link
scan time.
305
(5) Examples of response delay time in the normal mode (asynchronous
communication mode)
An example is described in (a) to (d) regarding the operation of the coincidence output function in the following
condition.
• Master/local module is the QJ71GF11-T2
• Block data assurance per station is set
• Asynchronous mode
ON
CH Count enable command
(RY24, RY3C) OFF
ON
CH Coincidence output
enable command
OFF
(RY20, RY38)
(c)
Reset command ON
(Coincidence output 1)
OFF
(RY10)
(a) Processing time (Normal value): Master station (RY) Remote device station (RY)
The following shows the processing time required until the high-speed counter module starts pulse input after
CH Count enable command (RY24, RY3C) is turned on.
(SM n2) + (LS 1) + Processing time of the high-speed counter module (T1)
• SM: Scan time of the program in the master station
• LS: Link scan time
• n2: The value provided by rounding up the value after the decimal point of (LS SM)
(b) Processing time (Normal value): Master station (RWr) Remote device station
(RWr)
The following shows the processing time required until a count value is read by the master station after the
count value is counted by the high-speed counter module.
306
APPENDICES
(SM 1) + (LS n1) + Processing time of the high-speed counter module (T1)
• SM: Scan time of the program in the master station
• LS: Link scan time
A
• n1: The value provided by rounding up the value after the decimal point of (SM LS)
(c) Processing time (Normal value): Master station (RX) Remote device station (RX)
The following shows the processing time required until Coincidence output 1 (RX10) is transmitted to the
master station after the high-speed counter module receives Reset command (Coincidence output 1) (RY10).
(The processing time required for transmitting Reset command (Coincidence output 1) (RY10) to the high-
speed counter module is not included.)
(SM 1) + (LS n1) + Processing time of the high-speed counter module (T1)
• SM: Scan time of the program in the master station
• LS: Link scan time
• n1: The value provided by rounding up the value after the decimal point of (SM LS)
(d) Processing time (Normal value): Master station (RWw) Remote device station
(RWw)
The following shows the transmission time required for setting Point setting (Coincidence output 1) (RWw0 to
RWw1) to the high-speed counter module. (The processing time required for transmitting Setting change
request (Coincidence output 1) (RY14) to the high-speed counter module is not included.)
(SM n2) + (LS 1) + Processing time of the high-speed counter module (T1)
• SM: Scan time of the program in the master station
• LS: Link scan time
• n2: The value provided by rounding up the value after the decimal point of (LS SM)
307
(6) Examples of response delay time in the synchronous communication mode
An example is described in (a) to (d) regarding the operation of the coincidence output function in the following
condition.
• Master/local module is the QD77GF16
• Block data assurance per station is set
ON
CH Count enable command
(RY24, RY3C) OFF
ON
CH Coincidence output
enable command
OFF
(RY20, RY38)
(c)
Reset command ON
(Coincidence output 1)
OFF
(RY10)
(a) Processing time (Normal value): Master station (RY) Remote device station (RY)
The following shows the processing time required until the high-speed counter module starts pulse input after
CH Count enable command (RY24, RY3C) is turned on.
(SM n2) + (CT 1) + Processing time of the high-speed counter module (T1)
• SM: Scan time of the program in the master station
• CT: Synchronization cycle
• n2: The value provided by rounding up the value after the decimal point of (CT SM)
(b) Processing time (Normal value): Master station (RWr) Remote device station
(RWr)
The following shows the processing time required until a count value is read by the master station after the
count value is counted by the high-speed counter module.
(SM 1) + (CT n1) + Processing time of the high-speed counter module (T1 + T4)
• SM: Scan time of the program in the master station
• CT: Synchronization cycle
308
APPENDICES
• n1: The value provided by rounding up the value after the decimal point of (SM CT)
(c) Processing time (Normal value): Master station (RX) Remote device station (RX) A
The following shows the processing time required until Coincidence output 1 (RX10) is transmitted to the
master station after the high-speed counter module receives Reset command (Coincidence output 1) (RY10).
(The processing time required for transmitting Reset command (Coincidence output 1) (RY10) to the high-
speed counter module is not included.)
(SM 1) + (CT n1) + Processing time of the high-speed counter module (T1 + T4)
• SM: Scan time of the program in the master station
• CT: Synchronization cycle
• n1: The value provided by rounding up the value after the decimal point of (SM CT)
(d) Processing time (Normal value): Master station (RWw) Remote device station
(RWw)
The following shows the transmission time required for setting Point setting (Coincidence output 1) (RWw0 to
RWw1) to the high-speed counter module. (The processing time required for transmitting Setting change
request (Coincidence output 1) (RY14) to the high-speed counter module is not included.)
(SM n2) + (CT 1) + Processing time of the high-speed counter module (T1)
• SM: Scan time of the program in the master station
• CT: Synchronization cycle
• n2: The value provided by rounding up the value after the decimal point of (CT SM)
309
Appendix 5 COMPLIANCE WITH EMC AND LOW
VOLTAGE DIRECTIVES
Compliance to the EMC Directive, which is one of the EU Directives, has been a legal obligation for the products sold
in European countries since 1996 as well as the Low Voltage Directive since 1997.
Manufacturers who recognize their products are compliant to the EMC and Low Voltage Directives are required to
attach a "CE mark" on their products.
The EMC Directive specifies that "products placed on the market must be so constructed that they do not cause
excessive electromagnetic interference (emissions) and are not unduly affected by electromagnetic interference
(immunity)".
This section summarizes the precautions on compliance with the EMC Directive of the machinery constructed with the
module.
These precautions are based on the requirements and the standards of the regulation, however, it does not guarantee
that the entire machinery constructed according to the descriptions will comply with abovementioned directives.
The method and judgement for complying with the EMC Directive must be determined by the person who constructs
the entire machinery.
310
APPENDICES
311
(2) Installation in a control panel
The module is open type devices and must be installed inside a control panel. This ensures safety as well as
effective shielding of programmable controller-generated electromagnetic noise.
312
APPENDICES
(3) Cables A
Use shielded cables for the cables which are connected to the module and run out from the control panel. If a
shielded cable is not used or not grounded correctly, the noise immunity will not meet the specified value.
Inside
the control panel
Module
20 to 30cm
313
(4) External power supply
• Use a CE-marked product for an external power supply and always ground the FG terminal. (External power
supply used for the tests conducted by Mitsubishi: TDK-Lambda DLP-120-24-1, IDEC PS5R-SF24, PS5R-
F24)
• Use a power cable of 10m or shorter when connecting it to the module power supply terminal.
(6) Others
314
APPENDICES
315
Appendix 6 Checking Serial Number and Function
Version
The serial number and function version of the high-speed counter module can be checked on the rating plate.
316
APPENDICES
The following table lists the functions added to the high-speed counter module and the production information and the
profile version of the module supporting the added functions.
Serial number (first
Additional function five digits) of high- Profile*2 Reference
speed counter module
Ver.00 or later, or the profile pre-registered in the
CC-Link IE Field Network
engineering tool below Page 159, Section
synchronous communication 15102 or later
• GX Works2 with Version 1.501X or later 8.15
function
• GX Works3 with Version 1.000A or later
CC-Link IE Field Network
synchronous communication Ver.00 or later, or the profile pre-registered in the
Page 159, Section
function (addition of a 17022 or later engineering tool below
8.15
synchronization cycle (0.8 to • GX Works3 with Version 1.000A or later
*1
10ms) of the master station)
iQ Sensor
Data backup/restoration No restriction with the version Solution Reference
Manual
17122 or later
Coincidence output enable
Page 291,
command setting (address: Ver.00 or later
Appendix 3 (6)
0106H)
*1 The firmware version of the RJ71GF11-T2 and RJ71EN71 used as the master station must be 03 or later.
*2 For how to check the profile version, refer to the following.
The following table lists the changed functions of the high-speed counter module and the operation differences
between the modules with different serial numbers.
Serial number (first five digits) Serial number (first five digits) is 15102
Changed function Reference
is 15101 or earlier or later
The REMFR/REMTO instruction is not
The REMFR/REMTO instruction
accepted if the network parameter written
is accepted even if the network
REMFR/REMTO instruction to the CPU module is not correct. Incorrect -
parameter written to the CPU
network parameter access error occurs
module is not correct.
(minor error, 01A0H).
317
Appendix 7.3 Precautions for the high-speed counter module
replacement
This section describes precautions when replacing the high-speed counter module before function addition with the
high-speed counter module after function addition.
(a) Action
The following table lists how to set parameters depending on the module operation.
Desired operation Setting
Change Mode switch setting (address: 0000H) to Normal mode (0) in the
parameter settings.
Same operation with the high-speed counter module
When Normal mode (0) is set, RWw/RWr setting error (error code: 0E00H) and
before the CC-Link IE Field Network synchronous
Synchronous communication mode setting error (error code: 0170H) do not
communication function is added
occur and the cam switch function and the modes in CH Operation mode
(except the normal mode) can be used.
Set the following in the parameter settings.
• Mode switch setting (address: 0000H): Automatical judgment mode (9)
• Comparison output setting (address: 0100H): Coincidence Output Function
Operation in the synchronous communication mode (0)
• CH Operation mode setting (address: 0120H, 0140H): Normal Mode (0)
In addition, set values to "RWw/RWr Setting" so that RWw3F/RWr3F is
refreshed.
318
APPENDICES
133
23
50
DIN rail center
68
4.5
(Unit: mm)
319
INDEX
320
CH1 to CH2 ON width setting change completed CH1 to CH2 Update flag reset completed (Latch count
(PWM output) (RX35, RX4D) . . . . . . . . . . . . . . . . 267 value/Sampling count value/Periodic pulse count value)
CH1 to CH2 ON width setting change request (RX28, RX40). . . . . . . . . . . . . . . . . . . . . . . . . . . 263
(PWM output) (RY35, RY4D) . . . . . . . . . . . . . . . . 273 CH1 to CH2 Update flag reset completed (Measured
CH1 to CH2 Operation mode (address: 0620H, 0640H) frequency value/Measured rotation speed value)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 (RX2C, RX44) . . . . . . . . . . . . . . . . . . . . . . . . . . 265
CH1 to CH2 Operation mode setting CH1 to CH2 Warning status (RX37, RX4F) . . . . . . 267 I
(address: 0120H, 0140H) . . . . . . . . . . . . . . . . . . . 291 Changing the network configuration . . . . . . . . . . . . 92
CH1 to CH2 Periodic pulse count value update check Changing the parameter without changing the network
(RWr16 to RWr17, RWr2E to RWr2F) . . . . . . . . . . 277 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
CH1 to CH2 Periodic pulse count, present value Channel assignment (Coincidence output 1 to 4) 4
(RWr14 to RWr15, RWr2C to RWr2D) . . . . . . . . . . 277 (address: 0600H) . . . . . . . . . . . . . . . . . . . . . . . . 296
CH1 to CH2 Phase Z setting Checking by CH1 to CH2 Latest error code
(address: 0125H, 0145H) . . . . . . . . . . . . . . . . . . . 293 (RWr22, RWr3A) . . . . . . . . . . . . . . . . . . . . . . . . 223
CH1 to CH2 Present value Checking by CH1 to CH2 Latest warning code 4
(RWr10 to RWr11, RWr28 to RWr29) . . . . . . . . . . 277 (RWr23, RWr3B) . . . . . . . . . . . . . . . . . . . . . . . . 224
CH1 to CH2 Preset value setting Checking by executing a command of the slave station
(RWw14 to RWw15, RWw2C to RWw2D) . . . . . . . 283 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
CH1 to CH2 Preset/replace command Checking for the error codes and the warning codes
(RY21, RY39) . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
CH1 to CH2 Preset/replace completion Checking the LEDs . . . . . . . . . . . . . . . . . . . . . . . 243
(RX21, RX39) . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 Coincidence output 1 to 4 (RX10 to RX13) . . . . . . 259
CH1 to CH2 Pulse input mode Coincidence output channel assignment setting
(address: 0122H, 0142H) . . . . . . . . . . . . . . . . . . . 292 (address: 0101H) . . . . . . . . . . . . . . . . . . . . . . . . 289
CH1 to CH2 Pulse measurement setting (Function input Coincidence output comparison condition setting
terminal) (address: 012AH, 014AH). . . . . . . . . . . . 296
CH1 to CH2 Pulse measurement setting (Latch counter
(address: 0102H) . . . . . . . . . . . . . . . . . . . . . . . . 289
Coincidence output enable command setting
7
input terminal) (address: 012BH, 014BH) . . . . . . . . 296 (address: 0106H) . . . . . . . . . . . . . . . . . . . . . . . . 291
CH1 to CH2 Pulse measurement start command Coincidence output function . . . . . . . . . . . . . . . . . 116
(Function input terminal) (RY30, RY48) . . . . . . . . . 272 Comparison output function . . . . . . . . . . . . . . . . . 114 8
CH1 to CH2 Pulse measurement start command (Latch Comparison output setting (address: 0100H) . . . . . 289
counter input terminal) (RY32, RY4A) . . . . . . . . . . 273 Connectable modules . . . . . . . . . . . . . . . . . . . . . . 55
CH1 to CH2 PWM output assignment setting Connecting extension modules . . . . . . . . . . . . . . . 60
(RWw1D, RWw35) . . . . . . . . . . . . . . . . . . . . . . . 286 Connecting the Ethernet cable . . . . . . . . . . . . . . . . 67
CH1 to CH2 Ring counter lower limit value Connector crimp tool . . . . . . . . . . . . . . . . . . . . . . . 72
(RWw10 to RWw11, RWw28 to RWw29) . . . . . . . . 283 Connectors for external devices . . . . . . . . . . . . 24,72
CH1 to CH2 Ring counter upper limit value Control cycle of the high-speed counter module . . . 305
(RWw12 to RWw13, RWw2A to RWw2B) . . . . . . . 283 Count disable function . . . . . . . . . . . . . . . . . . . . . 143
CH1 to CH2 Selected counter function Count disable/preset/replace function . . . . . . . . . . 154
(address: 0621H, 0641H) . . . . . . . . . . . . . . . . . . . 297 Counter function selection . . . . . . . . . . . . . . . . . . 141
CH1 to CH2 Selected counter function start command Counter value greater/smaller signal (RWr0) . . . . . 275
(RY25, RY3D) . . . . . . . . . . . . . . . . . . . . . . . . . . 271 CW/CCW . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
CH1 to CH2 Setting change completed (Sampling Cyclic data update watch function. . . . . . . . . . . . . 182
counter/Periodic pulse counter) (RX27, RX3F) . . . . 262 Cyclic data update watch time setting
CH1 to CH2 Setting change request (Sampling (address: 0003H) . . . . . . . . . . . . . . . . . . . . . . . . 288
counter/Periodic pulse counter) (RY27, RY3F) . . . . 271
CH1 to CH2 Status (RWr20, RWr38). . . . . . . . . . . 279
D
CH1 to CH2 Time unit setting (Frequency
measurement/Rotation speed measurement) D LINK LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
(RWw18, RWw30) . . . . . . . . . . . . . . . . . . . . . . . 285 Details of remote buffer memory addresses . . . . . . 287
CH1 to CH2 Time unit setting (Sampling counter/Periodic Details of remote I/O signals . . . . . . . . . . . . . . . . 256
pulse counter) (RWw16, RWw2E) . . . . . . . . . . . . . 284 Details of remote registers . . . . . . . . . . . . . . . . . . 275
CH1 to CH2 Update flag (Latch count value/Sampling DIN rail hook . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
count value/Periodic pulse count value) (RX29, RX41) DIN rail stopper . . . . . . . . . . . . . . . . . . . . . . . . . . 64
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 Disconnecting . . . . . . . . . . . . . . . . . . . . . . . . . . . 68
CH1 to CH2 Update flag (Measured frequency
value/Measured rotation speed value) (RX2D, RX45)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 E
CH1 to CH2 Update flag reset command (Latch count
Enable command (Coincidence output 1 to 4)
value/Sampling count value/Periodic pulse count value)
(RY18 to RY1B) . . . . . . . . . . . . . . . . . . . . . . . . . 269
(RY28, RY40) . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Encoders that can be connected . . . . . . . . . . . . . . 78
CH1 to CH2 Update flag reset command
EQU1 to EQU4 LED . . . . . . . . . . . . . . . . . . . . . . . 24
(Measured frequency value/Measured rotation speed
EQU1 to EQU4 terminal status (RWr1) . . . . . . . . . 275
value) (RY2C, RY44) . . . . . . . . . . . . . . . . . . . . . . 272
ERR. LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
321
Error code list . . . . . . . . . . . . . . . . . . . . . . . . . . 225 Mode switch setting (address: 0000H) . . . . . . . . . 287
Error history (address: 0A00H to 0AFFH) . . . . . . . 298 Module operation information initialization command
Error history clear command (address: 1000H) . . . 299 (address: 1004H) . . . . . . . . . . . . . . . . . . . . . . . . 301
Error history clear completed (address: 1001H) . . . 299 Module operation information initialization completed
Error notification function . . . . . . . . . . . . . . . . . . 183 (address: 1005H) . . . . . . . . . . . . . . . . . . . . . . . . 302
Error status flag (RXA) . . . . . . . . . . . . . . . . . . . . 259 Mounting the modules on a DIN rail . . . . . . . . . . . . 62
Ethernet cable . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Extended parameter area (address: 1500H to 1FFFH)
O
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
Extended parameter area (address: 1580H to 1CA1H) Operation mode list . . . . . . . . . . . . . . . . . . . . . . . 99
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 Output HOLD/CLEAR setting (address: 0002H) . . 288
Extension connector cover . . . . . . . . . . . . . . . . . . 25 Output HOLD/CLEAR setting function . . . . . . . . . 181
External dimensions . . . . . . . . . . . . . . . . . . . . . . 319
External power supply monitor request flag (RY1F)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270 P
External power supply monitor state flag (RX1F) . . 260
Packing list . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
External power supply monitoring function . . . . . . 187
Parameter area initialization command
(address: 1002H) . . . . . . . . . . . . . . . . . . . . . . . . 300
F Parameter area initialization completed
(address: 1003H) . . . . . . . . . . . . . . . . . . . . . . . . 301
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 Parameter setting . . . . . . . . . . . . . . . . . . . . . . . . 84
FNC/LAT LED . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Part names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Frequency measurement function . . . . . . . . . . . . 162 Performance specifications . . . . . . . . . . . . . . . . . . 29
Function at the extension module installation . . . . 186 Periodic pulse counter function . . . . . . . . . . . . . . 151
Phase difference . . . . . . . . . . . . . . . . . . . . . . . . . 33
G Phi A/phi B/phi Z LED . . . . . . . . . . . . . . . . . . . . . 24
Point setting (Coincidence output 1 to 4)/Lower limit
General specifications . . . . . . . . . . . . . . . . . . . . . 27 value setting (Coincidence output 1 to 4) (RWw0 to
RWw1, RWw4 to RWw5, RWw8 to RWw9, RWwC to
RWwD). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
I
Precautions for programming . . . . . . . . . . . . . . . 192
I/O interfaces with external devices . . . . . . . . . . . . 73 Preset/replace (at coincidence output) function . . . 126
Initial data processing completion flag (RY8) . . . . . 268 Preset/replace function . . . . . . . . . . . . . . . . . . . . 134
Initial data processing request flag (RX8) . . . . . . . 257 Preset/replace setting at coincidence output
Initial data setting completion flag (RX9) . . . . . . . . 258 (address: 0103H) . . . . . . . . . . . . . . . . . . . . . . . . 289
Initial data setting request flag (RY9) . . . . . . . . . . 268 Procedure for programming . . . . . . . . . . . . . . . . 194
Input response time setting (address: 0001H) . . . . 287 Program example . . . . . . . . . . . . . . . . . . . . . . . 195
Input response time setting function . . . . . . . . . . . 188 Program example of the frequency measurement mode
Installation and wiring . . . . . . . . . . . . . . . . . . . . . . 57 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
Installation direction . . . . . . . . . . . . . . . . . . . . . . . 59 Program example of the pulse measurement mode
Installation environment . . . . . . . . . . . . . . . . . . . . 58 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
Installation position. . . . . . . . . . . . . . . . . . . . . . . . 58 Program example of the PWM output mode . . . . . 218
Internal control cycle and response delay time . . . 305 Program example of the rotation speed
measurement mode . . . . . . . . . . . . . . . . . . . . . . 216
Program example under the normal mode (when the cam
L switch function is set with the comparison output
function) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213
Latch counter function (counter function selection)
Program example under the normal mode (when
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 the coincidence output is set with the comparison
Latch counter function by latch counter input terminal
output function) . . . . . . . . . . . . . . . . . . . . . . . . . 208
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139 Programming . . . . . . . . . . . . . . . . . . . . . . . . . . 192
Latch counter/preset/replace function . . . . . . . . . . 156 Pulse input mode . . . . . . . . . . . . . . . . . . . . . . . . 104
Laying Ethernet cables . . . . . . . . . . . . . . . . . . . . . 69 Pulse measurement function . . . . . . . . . . . . . . . . 170
Linear counter function . . . . . . . . . . . . . . . . . . . . 107 PW LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
List of remote buffer memory . . . . . . . . . . . . . . . . . 44 PWM output function . . . . . . . . . . . . . . . . . . . . . 174
List of remote I/O signals . . . . . . . . . . . . . . . . . . . 38
List of remote register . . . . . . . . . . . . . . . . . . . . . . 42
R
M Remote READY (RXB) . . . . . . . . . . . . . . . . . . . . 259
Reset command (Coincidence output 1 to 4)
Maintenance and inspection . . . . . . . . . . . . . . . . 219
(RY10 to RY13) . . . . . . . . . . . . . . . . . . . . . . . . . 269
Maximum station-to-station distance
Ring counter function . . . . . . . . . . . . . . . . . . . . . 109
(Maximum Ethernet cable length) . . . . . . . . . . . . . 69
Rotation speed measurement function . . . . . . . . . 166
MODE LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
RUN LED . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
322
S
Sampling counter function . . . . . . . . . . . . . . . . . . 148
Setting change completed (Coincidence output 1 to 4)
(RX14 to RX17) . . . . . . . . . . . . . . . . . . . . . . . . . 260
Setting change request (Coincidence output 1 to 4)
(RY14 to RY17) . . . . . . . . . . . . . . . . . . . . . . . . . 269 I
Software package . . . . . . . . . . . . . . . . . . . . . . . . . 55
Station number setting . . . . . . . . . . . . . . . . . . . . . . 57
Station number setting switch . . . . . . . . . . . . . . . . . 24
System configuration . . . . . . . . . . . . . . . . . . . . . . . 54 4
T
Term . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
4
Terminal block for module power supply and FG . . . 24
The procedure before operation . . . . . . . . . . . . . . . 52
To replace the module . . . . . . . . . . . . . . . . . . . . . . 52
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 221
Troubleshooting by Symptom . . . . . . . . . . . . . . . . 247
U
Unit test . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
Upper limit value setting (Coincidence output 1 to 4)
(RWw2 to RWw3, RWw6 to RWw7, RWwA to RWwB, 7
RWwE to RWwF) . . . . . . . . . . . . . . . . . . . . . . . . 282
W 8
Warning status flag (RX7) . . . . . . . . . . . . . . . . . . 256
Wiring of connectors for external devices . . . . . . . . . 70
Wiring of Ethernet cable. . . . . . . . . . . . . . . . . . . . . 67
Wiring with terminal block for module power supply
and FG . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
323
REVISIONS
*The manual number is given on the bottom left of the back cover.
Print date *Manual number Revision
March, 2013 SH(NA)-081129ENG-A First edition
December, 2013 SH(NA)-081129ENG-B Addition of CC-Link IE Field Network synchronous communication function
March, 2015 SH(NA)-081129ENG-C Addition of MELSEC iQ-R series synchronous communication function
Addition of the coincidence output enable command setting and the functions supporting
March, 2016 SH(NA)-081129ENG-D
iQSS
324
WARRANTY
Please confirm the following product warranty details before using this product.
1. Gratis Warranty Term and Gratis Warranty Range
If any faults or defects (hereinafter "Failure") found to be the responsibility of Mitsubishi occurs during use of the product
within the gratis warranty term, the product shall be repaired at no cost via the sales representative or Mitsubishi Service
Company.
However, if repairs are required onsite at domestic or overseas location, expenses to send an engineer will be solely at
the customer's discretion. Mitsubishi shall not be held responsible for any re-commissioning, maintenance, or testing
on-site that involves replacement of the failed module.
[Gratis Warranty Term]
The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place.
Note that after manufacture and shipment from Mitsubishi, the maximum distribution period shall be six (6) months, and
the longest gratis warranty term after manufacturing shall be eighteen (18) months. The gratis warranty term of repair
parts shall not exceed the gratis warranty term before repairs.
[Gratis Warranty Range]
(1) The range shall be limited to normal use within the usage state, usage methods and usage environment, etc., which
follow the conditions and precautions, etc., given in the instruction manual, user's manual and caution labels on the
product.
(2) Even within the gratis warranty term, repairs shall be charged for in the following cases.
1. Failure occurring from inappropriate storage or handling, carelessness or negligence by the user. Failure caused
by the user's hardware or software design.
2. Failure caused by unapproved modifications, etc., to the product by the user.
3. When the Mitsubishi product is assembled into a user's device, Failure that could have been avoided if functions
or structures, judged as necessary in the legal safety measures the user's device is subject to or as necessary by
industry standards, had been provided.
4. Failure that could have been avoided if consumable parts (battery, backlight, fuse, etc.) designated in the
instruction manual had been correctly serviced or replaced.
5. Failure caused by external irresistible forces such as fires or abnormal voltages, and Failure caused by force
majeure such as earthquakes, lightning, wind and water damage.
6. Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi.
7. Any other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user.
2. Onerous repair term after discontinuation of production
(1) Mitsubishi shall accept onerous product repairs for seven (7) years after production of the product is discontinued.
Discontinuation of production shall be notified with Mitsubishi Technical Bulletins, etc.
(2) Product supply (including repair parts) is not available after production is discontinued.
3. Overseas service
Overseas, repairs shall be accepted by Mitsubishi's local overseas FA Center. Note that the repair conditions at each FA
Center may differ.
4. Exclusion of loss in opportunity and secondary loss from warranty liability
Regardless of the gratis warranty term, Mitsubishi shall not be liable for compensation to:
(1) Damages caused by any cause found not to be the responsibility of Mitsubishi.
(2) Loss in opportunity, lost profits incurred to the user by Failures of Mitsubishi products.
(3) Special damages and secondary damages whether foreseeable or not, compensation for accidents, and
compensation for damages to products other than Mitsubishi products.
(4) Replacement by the user, maintenance of on-site equipment, start-up test run and other tasks.
5. Changes in product specifications
The specifications given in the catalogs, manuals or technical documents are subject to change without prior notice.
325
TRADEMARKS
Ethernet is a registered trademark of Fuji Xerox Corporation in Japan.
The company names, system names and product names mentioned in this manual are either registered trademarks or
trademarks of their respective companies.
In some cases, trademark symbols such as '' or '' are not specified in this manual.
326 SH(NA)-081129ENG-D
SH(NA)-081129ENG-D(1603)MEE
MODEL: CCIEF-CT-U-E
MODEL CODE: 13JZ83
HEAD OFFICE : TOKYO BUILDING, 2-7-3 MARUNOUCHI, CHIYODA-KU, TOKYO 100-8310, JAPAN
NAGOYA WORKS : 1-14 , YADA-MINAMI 5-CHOME , HIGASHI-KU, NAGOYA , JAPAN
When exported from Japan, this manual does not require application to the
Ministry of Economy, Trade and Industry for service transaction permission.