Indicates that incorrect handling may cause hazardous conditions,
resulting in death or severe injury.
Indicates that incorrect handling may cause hazardous conditions,
resulting in minor or moderate injury or property damage.
(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 an output circuit, when a load current exceeding the rated current or an overcurrent caused by a
load short-circuit flows for a long time, it may cause smoke and fire. To prevent this, configure an
external safety circuit, such as a fuse.
● Do not write any data to the "system area" of the buffer memory in the intelligent function module.
Also, do not use any "use prohibited" signals as an input signal from the CPU module to the intelligent
function module.
Doing so may cause malfunction of the programmable controller system.
● Outputs may remain on or off due to a failure of a transistor for external output. Configure an external
circuit for monitoring output signals that could cause a serious accident.
[Design Precautions]
CAUTION
● Do not install the control lines or communication cables 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.
1
[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 programmable controller in an environment that meets the general specifications in the Safety
Guidelines provided with the CPU module or head module. Failure to do so may result in electric
shock, fire, malfunction, or damage to or deterioration of the product.
● To interconnect modules, engage the respective connectors and securely lock the module joint levers
until they click. Incorrect interconnection may cause malfunction, failure, or drop of the module.
● Do not directly touch any conductive parts and electronic components of the module. Doing so can
cause malfunction or failure of the module.
[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.
2
[Wiring Precautions]
CAUTION
● Individually ground the FG and LG terminals 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.
● Connectors for external devices must be crimped with the tool specified by the manufacturer or must
be correctly soldered.
Incomplete connections may cause short circuit, fire, 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.
● Tighten the connector screws within the specified torque range.
Undertightening can cause drop of the screw, short circuit, fire, or malfunction.
Overtightening can damage the screw and/or module, resulting in drop, short circuit, fire, or
malfunction.
● 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.
Pulling the cable connected to the module may result in malfunction or damage to the module or
cable.
● Prevent foreign matter such as dust or wire chips from entering the module. Such foreign matter can
cause a fire, failure, or malfunction.
● A protective film is attached to the top of the module to prevent foreign matter, such as wire chips,
from entering the module during wiring. Do not remove the film during wiring. Remove it for heat
dissipation before system operation.
● Ground the shield cable on the encoder side (relay box). Always ground the FG and LG terminals to
the protective ground conductor. Failure to do so may cause malfunction.
● Mitsubishi programmable controllers must be installed in control panels. Connect the main power
supply to the power supply module in the control panel through a relay terminal block. Wiring and
replacement of a power supply module must be performed by qualified maintenance personnel with
knowledge of protection against electric shock. For wiring methods, refer to the MELSEC-L CPU
Module User's Manual (Hardware Design, Maintenance and Inspection).
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 connector screws. Failure to do so may result in electric shock.
[Startup and Maintenance Precautions]
CAUTION
● Do not disassemble or modify the module. Doing so may cause failure, malfunction, injury, or a fire.
● Shut off the external power supply (all phases) used in the system before mounting or removing a
module. Failure to do so may cause the module to fail or malfunction.
● After the first use of the product (module and display unit), do not connect/disconnect the product
more than 50 times (in accordance with IEC 61131-2). Exceeding the limit may cause malfunction.
● Tighten the connector screws within the specified torque range. Undertightening can cause drop of
the component or wire, short circuit, or malfunction. Overtightening can damage the screw and/or
module, resulting in drop, short circuit, or malfunction.
● Before handling the module, touch a conducting object such as a grounded metal to discharge the
static electricity from the human body. 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
Remark
Thank you for purchasing the Mitsubishi MELSEC-L series programmable controllers.
This manual describes the functions and programming of a 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 MELSEC-L series programmable controller 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.
Relevant modules: LD62, LD62D
Unless otherwise specified, this manual describes the program examples in which the I/O numbers of X/Y00 to X/Y0F are
assigned for a high-speed counter module.
For I/O number assignment, refer to the following.
MELSEC-L CPU Module User's Manual (Function Explanation, Program Fundamentals)
Operating procedures are explained using GX Works2. When using GX Developer or GX Configurator-CT, refer to the
following.
• When using GX Developer or GX Configurator-CT ( Page 120, Appendix 5)
6
COMPLIANCE WITH EMC AND LOW VOLTAGE
DIRECTIVES
(1) Method of ensuring compliance
To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated
into other machinery or equipment, certain measures may be necessary. Please refer to one of the following
manuals.
• MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
• MELSEC-L CC-Link IE Field Network Head Module User's Manual
• Safety Guidelines (This manual is included with the CPU module or head module.)
The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage
Directives.
(2) Additional measures
To ensure that this product maintains EMC and Low Voltage Directives, please refer to Page 37, Section 6.2.1
(4).
7
RELEVANT MANUALS
(1) CPU module user's manual
Manual name
<manual number (model code)>
MELSEC-L CPU Module User's Manual (Hardware Design,
Maintenance and Inspection)
<SH-080890ENG, 13JZ36>
MELSEC-L CPU Module User's Manual (Function Explanation,
Program Fundamentals)
<SH-080889ENG, 13JZ35>
(2) Head module user's manual
Manual name
<manual number (model code)>
MELSEC-L CC-Link IE Field Network Head Module User's Manual
<SH-080919ENG, 13JZ48>
(3) Operating manual
Manual name
<manual number (model code)>
GX Works2 Version 1 Operating Manual (Common)
<SH-080779ENG, 13JU63>
GX Developer Version 8 Operating Manual
<SH-080373E, 13JU41>
Description
Specifications of the CPU modules, power supply modules, display
unit, branch module, extension module, SD memory cards, and
batteries, information on how to establish a system, maintenance
and inspection, and troubleshooting
Functions and devices of the CPU module, and programming
Description
Specifications, procedures before operation, system configuration,
installation, wiring, settings, and troubleshooting of the head module
Description
System configuration, parameter settings, and online operations of
GX Works2, which are common to Simple projects and Structured
projects
Operating methods of GX Developer, such as programming,
*1The value can be configured in intelligent function module switch setting.
tt
*2The counting speed is affected by the pulse rise/fall time.
The number of pulses that can be counted depending on the counting speed is as follows. Note that the count may be
incorrect when pulses with long rise/fall time are counted.
Counting speed switch
setting
200k100k10k
Rise/fall timeBoth 1- and 2-phase inputs
t = 1.25s or less200kPPS100kPPS10kPPS
t = 2.5s or less100kPPS100kPPS10kPPS
t = 25s or less10kPPS10kPPS
t = 500s500PPS
(2) LD62D (differential input sink output type)
ItemSpecifications
Counting speed switch setting
*1
500k (200k to
500kPPS)
Number of occupied I/O points16 points (I/O assignment: Intelligent, 16 points)
(AM26LS31 (manufactured by Texas Instruments Incorporated) or equivalent)
500kPPS200kPPS100kPPS10kPPS
Count input signal
Phase
Signal level
(A, B)
Counting speed
(maximum)
*2
Counting range32-bit signed binary (-2147483648 to 2147483647)
TypeUP/DOWN preset counter + Ring counter functions
200k (100k to
200kPPS)
CW/CCW input
EIA Standard RS-422-A
Differential line driver level
100k (10k to
100kPPS)
10k (10kPPS or less)
Counter
2
5
Minimum count pulse
width
(duty ratio 50%)
11
(Unit : s)
(Minimum phase
difference in 2-phase
input 0.5s)
2.5 2.5
(Unit : s)
(Minimum phase
difference in 2-phase
input 1.25s)
Comparison range32-bit signed binary
Coincidence
output
Comparison result
Setting value < Count value
Setting value = Count value
Setting value > Count value
External input
Preset
Function start
External outputCoincidence output
(EIA Standard RS-422-A differential line driver can be connected.)
Transistor (sink type) output, 2 points/channel
5/12/24VDC 2 to 5mA
12/24VDC 0.5A/point, 2A/common
Internal current consumption (5VDC)0.36A
Weight0.13kg
22
10
55
(Unit : s)
(Minimum phase
difference in 2-phase
input 2.5s)
100
50 50
(Unit : s)
(Minimum phase
difference in 2-phase
input 25s)
CHAPTER 3 SPECIFICATIONS
*1The value can be configured in intelligent function module switch setting.
*2The counting speed is affected by the pulse rise/fall time.
The number of pulses that can be counted depending on the counting speed is as follows. Note that the count may be
incorrect when pulses with long rise/fall time are counted.
Counting speed switch
setting
Rise/fall timeBoth 1- and 2-phase inputs
t = 0.5s or less500kPPS200kPPS100kPPS10kPPS
t = 1.25s or less200kPPS200kPPS100kPPS10kPPS
t = 2.5s or less100kPPS100kPPS10kPPS
t = 25s or less10kPPS10kPPS
t = 500s500PPS
500k200k100k10k
tt
3
3.2.1Number of parameters that can be set
Configure the parameters of the initial setting and the auto refresh of the high-speed counter module within the number
of parameters that can be set to the CPU module or head module, including the number of parameters set for other
intelligent function modules. For the number of parameters that can be set to the CPU module and head module, refer
to the following.
MELSEC-L CPU Module User's Manual (Hardware Design, Maintenance and Inspection)
MELSEC-L CC-Link IE Field Network Head Module User's Manual
(1) Number of high-speed counter module parameters
The following number of parameters can be set for one high-speed counter module.
ModelInitial settingAuto refresh
LD62814 (maximum number of parameters)
LD62D814 (maximum number of parameters)
3.2 Performance Specifications
3.2.1 Number of parameters that can be set
23
(2) Checking the number of parameters
The number of parameters set for the intelligent function module and the maximum number of parameters can be
checked by the following operation.
Project window [Intelligent Function Module] Right-click [Intelligent Function Module
Parameter List]
1)2)3)4)
No.Description
1)The total number of parameters that have been selected under "Initialization (Count)"
2)The maximum number of parameters for initial setting
3)The total number of parameters that have been selected under "Auto Refresh (Count)"
4)The maximum number of parameters for auto refresh setting
24
3.3Function List
The following table lists the functions of the high-speed counter module.
ItemDescriptionReference
Linear counter function
Ring counter function
Coincidence
output function
Preset function
Counter function
selection
Coincidence
detection
interrupt
function
Count disable
function
Latch counter
function
Sampling
counter function
Periodic pulse
counter function
This function counts pulses between -2147483648 and 2147483647 and detects an
overflow if the count value is outside the range.
This function repeatedly counts pulses between the ring counter upper limit value
and the ring counter lower limit value.
This function compares the present counter value with the preset coincidence output
point setting value and outputs on or off signal when they match.
This function outputs an interrupt signal to the CPU module and starts an interrupt
program when the present counter value matches with the preset coincidence output
point setting value.
This function overwrites the present counter value with the preset value.
This function is performed by a program or an external control signal (preset input).
This function stops counting pulses while CH Count enable command (Y4, YC) is
on.
This function stores the present counter value to the buffer memory when the
counter function selection start command signal is input.
This function is performed by a program or an external control signal (function input).
This function counts pulses input during the specified sampling period after the
counter function selection start command is input and stores the counter value to the
buffer memory.
This function is performed by a program or an external control signal (function input).
This function stores the present and previous counter values to the corresponding
buffer memory areas at the preset cycle while the counter function selection start
command signal is input.
CHAPTER 3 SPECIFICATIONS
Page 64,
Section 8.2.1
Page 65,
Section 8.2.2
Page 68,
Section 8.3
Page 73,
Section 8.4
Page 78,
Section 8.6
Page 79,
Section 8.7
Page 80,
Section 8.8
Page 81,
Section 8.9
3
3.3 Function List
● These functions can be used together.
However, select either the linear counter function or the ring counter function and any one of the counter functions from
counter function selection.
● The preset function and the function selected from counter function selection can also be performed by the following
external inputs.
• To use the preset function, apply a voltage to the preset input terminal.
• To use any function of the counter function selection, apply a voltage to the function start input terminal.
25
3.4List of I/O Signals
The following table lists the I/O signals of the high-speed counter module.
For details on the I/O signals, refer to the following.
• Details of I/O signals ( Page 112, Appendix 1)
Input signalOutput signal
Device No.Signal nameDevice No.Signal name
X0Module READYY0
X1CH1 Counter value large (point No.1)Y1CH1 Preset command
X2CH1 Counter value coincidence (point No.1)Y2CH1 Coincidence signal enable command
X3CH1 Counter value small (point No.1)Y3CH1 Down count command
X9CH2 Counter value coincidence (point No.1)Y9CH2 Preset command
XACH2 Counter value small (point No.1)YACH2 Coincidence signal enable command
XBCH2 External preset request detectionYBCH2 Down count command
XCCH2 Counter value large (point No.2)YCCH2 Count enable command
XDCH2 Counter value coincidence (point No.2)YD
XECH2 Counter value small (point No.2)YE
XFUse prohibitedYF
CH1 Coincidence signal No.1 reset
command
CH1 External preset detection reset
command
CH1 Counter function selection start
command
CH1 Coincidence signal No.2 reset
command
CH2 Coincidence signal No.1 reset
command
CH2 External preset detection reset
command
CH2 Counter function selection start
command
CH2 Coincidence signal No.2 reset
command
26
● The I/O numbers (X/Y) above apply when the start I/O number of the high-speed counter module is set to "0".
● The use prohibited signal above is used by the system and is not available for users. If used (turned on) by a user, the
performance of the high-speed counter module is not guaranteed.
3.5List of Buffer Memory Areas
The following table lists the buffer memory areas of the high-speed counter module.
For details on the buffer memory areas, refer to the following.
• Details of Buffer Memory Areas ( Page 116, Appendix 2)
Address
(decimal)
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
31
32
33
34
35
36
37
38
39
Address
(hexadecimal)
0
H
1
H
2
H
3
H
4
H
5
H
6
H
7
H
8
H
9
H
A
H
B
H
C
H
D
H
E
H
F
H
10
H
11
H
12
H
13
H
14
H
15
H
16
H
17
H
18
H
1F
H
20
H
21
H
22
H
23
H
24
H
25
H
26
H
27
H
Name
CH1 Preset value (L)
CH1 Preset value (H)
CH1 Present value (L)
CH1 Present value (H)
CH1 Coincidence output point No.1 (L)
CH1 Coincidence output point No.1 (H)
CH1 Coincidence output point No.2 (L)
CH1 Coincidence output point No.2 (H)
CH1 Overflow detection0R
CH1 Counter function selection0R/W
CH1 Sampling/periodic time setting0R/W
CH1 Sampling/periodic counter flag0R
CH1 Latch count value (L)
CH1 Latch count value (H)
CH1 Sampling count value (L)
CH1 Sampling count value (H)
CH1 Periodic pulse count previous value (L)
CH1 Periodic pulse count previous value (H)
CH1 Periodic pulse count present value (L)
CH1 Periodic pulse count present value (H)
CH1 Ring counter lower limit (L)
CH1 Ring counter lower limit (H)
CH1 Ring counter upper limit (L)
CH1 Ring counter upper limit (H)
System areatoto
CH2 Preset value (L)
CH2 Preset value (H)
CH2 Present value (L)
CH2 Present value (H)
CH2 Coincidence output point No.1 (L)
CH2 Coincidence output point No.1 (H)
CH2 Coincidence output point No.2 (L)
CH2 Coincidence output point No.2 (H)
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
CHAPTER 3 SPECIFICATIONS
Initial value
*1
Read/write
*2
3
0R/W
0R/W
0R
0R
*3
*3
*3
*3
0R/W
0R/W
0R/W
0R/W
0R
0R
0R
3.5 List of Buffer Memory Areas
0R
*3
*3
*3
*3
0R
0R
0R
0R
0R/W
0R/W
0R/W
0R/W
0R/W
0R/W
0R
0R
*3
*3
*3
*3
0R/W
0R/W
0R/W
0R/W
27
Address
(decimal)
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
63
*1This value is set when the high-speed counter module is powered on or the CPU module is reset.
*2Whether a value can be read from/written to a program or not is indicated.
*3Read or write values in 32-bit signed binary. (Be sure to use two words at a time.)
Address
(hexadecimal)
28
29
2A
2B
2C
2D
2E
2F
30
31
32
33
34
35
36
37
38
3F
R: Readable
W: Writable
Name
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
H
CH2 Overflow detection0R
CH2 Counter function selection0R/W
CH2 Sampling/periodic time setting0R/W
CH2 Sampling/periodic counter flag0R
CH2 Latch count value (L)
CH2 Latch count value (H)
CH2 Sampling count value (L)
CH2 Sampling count value (H)
CH2 Periodic pulse count previous value (L)
CH2 Periodic pulse count previous value (H)
CH2 Periodic pulse count present value (L)
CH2 Periodic pulse count present value (H)
CH2 Ring counter lower limit (L)
CH2 Ring counter lower limit (H)
CH2 Ring counter upper limit (L)
CH2 Ring counter upper limit (H)
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
*3
Initial value
*1
Read/write
0R
0R
0R
0R
0R
0R
0R
0R
0R/W
0R/W
0R/W
0R/W
*2
System areatoto
H
● The system areas listed above and the areas not listed above are used by the system and are not available for users. If
data are written by a user, the performance of the high-speed counter module is not guaranteed.
● Buffer memory data in the high-speed counter module are initialized when the high-speed counter module is powered on
or the CPU module is reset. To save the necessary data, read/write the data by executing the FROM/DFRO/TO/DTO
instructions in the program or performing auto refresh to the device data.
28
Loading...
+ 106 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.