OMRON products are manufactured for use according to proper procedures by a qualified operator
and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed
the information provided with them. Failure to heed precautions can result in injury to people or damage to property.
DANGERIndicates an imminently hazardous situation which, if not avoided, will result in death or
!
serious injury. Additionally, there may be severe property damage.
WARNINGIndicates a potentially hazardous situation which, if not avoided, could result in death or
!
serious injury. Additionally, there may be severe property damage.
CautionIndicates a potentially hazardous situation which, if not avoided, may result in minor or
!
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers
to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means
“word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for anything else.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
OMRON, 1999
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any
form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is
constantly striving to improve its high-quality products, the information contained in this manual is subject to change
without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no
responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
Note Indicates information of particular interest for efficient and convenient operation
of the product.
1, 2, 3...1. Indicates lists of one sort or another, such as procedures, checklists, etc.
The CPM2A is a compact, high-speed Programmable Controller (PC) designed for control operations in
systems requiring from 10 to 120 I/O points per PC. There are two manuals describing the setup and
operation of the CPM2A: The CPM2A Operation Manual (this manual) and the CPM1/CPM1A/CPM2A/
CPM2C/SRM1(-V2) Programming Manual (W353). (The CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2)
Programming Manual is referred to as simply the Programming Manual in this manual.)
This manual describes the system configuration and installation of the CPM2A and provides a basic
explanation of operating procedures for the Programming Consoles. It also introduces the capabilities of
CX-Programmer, the SYSMAC Support Software (SSS) and SYSMAC-CPT Support Software. Read this
manual first to acquaint yourself with the CPM2A.
The Programming Manual (W353) provides detailed descriptions of the CPM2A’s programming functions
and application methods for Expansion Units. The SYSMAC Support Software Operation Manuals:Basics and C-series PCs (W247 and W248) provide descriptions of SSS operations for the CPM2A and
other SYSMAC C-series PCs. The WS02-CXPjj-E CX-Programmer Operation Manual (W414) provides details of operations for the WS02-CXPjj-E CX-Programmer. The SYSMAC-CPT Support Soft-ware Quick Start Guide (W332) and User Manual (W333) provide descriptions of ladder diagram operations in the Windows environment.
Please read this manual carefully and be sure you understand the information provided before attempting
to install and operate the CPM2A.
Section 1 gives a brief overview of the steps involved in developing of a CPM2A System, describes the
possible system configurations, and describes the CPM2A’s special features and functions.
Section 2 provides the technical specifications of the Units that go together to create a CPM2A PC and
describes the main components of the Units.
Section 3 describes how to install and wire a CPM2A PC.
Section 4 describes how to connect the Programming Console, and how to perform the various program-
ming operations.
Section 5 describes how to perform a test run and how to diagnose and correct the hardware and software errors that can occur during PC operation.
Section 6 describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and procedures to properly use the Unit.
Appendix A provides tables of CPM2A Units and related products.
Appendix B provides the dimensions of CPM2A Units.
!
WARNING Failure to read and understand the information provided in this manual may result in
personal injury or death, damage to the product, or product failure. Please read each
section in its entirety and be sure you understand the information provided in the section
and related sections before attempting any of the procedures or operations given.
ix
Read and Understand this Manual
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Please read and understand this manual before using the product. Please consult your OMRON
representative if you have any questions or comments.
Warranty and Limitations of Liability
WARRANTY
OMRON’s exclusive warranty is that the products are free from defects in materials and workmanship for
БББББББББББББББББББББББББББББББ
a period of one year (or other period if specified) from date of sale by OMRON.
БББББББББББББББББББББББББББББББ
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING
БББББББББББББББББББББББББББББББ
NON–INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE
БББББББББББББББББББББББББББББББ
PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS
БББББББББББББББББББББББББББББББ
DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR
INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
БББББББББББББББББББББББББББББББ
БББББББББББББББББББББББББББББББ
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL
DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE
БББББББББББББББББББББББББББББББ
PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR
БББББББББББББББББББББББББББББББ
STRICT LIABILITY.
БББББББББББББББББББББББББББББББ
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on
БББББББББББББББББББББББББББББББ
which liability is asserted.
БББББББББББББББББББББББББББББББ
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS
БББББББББББББББББББББББББББББББ
REGARDING THE PRODUCTS UNLESS OMRON’S ANALYSIS CONFIRMS THAT THE PRODUCTS
БББББББББББББББББББББББББББББББ
WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO
БББББББББББББББББББББББББББББББ
CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
xi
Application Considerations
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to
БББББББББББББББББББББББББББББББ
the combination of products in the customer’s application or use of the products.
БББББББББББББББББББББББББББББББ
At the customer’s request, OMRON will provide applicable third party certification documents identifying
БББББББББББББББББББББББББББББББ
ratings and limitations of use that apply to the products. This information by itself is not sufficient for a
БББББББББББББББББББББББББББББББ
complete determination of the suitability of the products in combination with the end product, machine,
БББББББББББББББББББББББББББББББ
system, or other application or use.
БББББББББББББББББББББББББББББББ
The following are some examples of applications for which particular attention must be given. This is not
БББББББББББББББББББББББББББББББ
intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the
БББББББББББББББББББББББББББББББ
uses listed may be suitable for the products:
БББББББББББББББББББББББББББББББ
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions
БББББББББББББББББББББББББББББББ
or uses not described in this manual.
БББББББББББББББББББББББББББББББ
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical
БББББББББББББББББББББББББББББББ
equipment, amusement machines, vehicles, safety equipment, and installations subject to separate
БББББББББББББББББББББББББББББББ
industry or government regulations.
БББББББББББББББББББББББББББББББ
• Systems, machines, and equipment that could present a risk to life or property.
БББББББББББББББББББББББББББББББ
Please know and observe all prohibitions of use applicable to the products.
БББББББББББББББББББББББББББББББ
БББББББББББББББББББББББББББББББ
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR
БББББББББББББББББББББББББББББББ
PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO
ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND
БББББББББББББББББББББББББББББББ
INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
БББББББББББББББББББББББББББББББ
БББББББББББББББББББББББББББББББ
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user’s programming of a programmable product, or any
БББББББББББББББББББББББББББББББ
consequence thereof.
xii
Disclaimers
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
Á
CHANGE IN SPECIFICATIONS
БББББББББББББББББББББББББББББББ
Product specifications and accessories may be changed at any time based on improvements and other
reasons.
БББББББББББББББББББББББББББББББ
БББББББББББББББББББББББББББББББ
It is our practice to change model numbers when published ratings or features are changed, or when
significant construction changes are made. However, some specifications of the products may be
БББББББББББББББББББББББББББББББ
changed without any notice. When in doubt, special model numbers may be assigned to fix or establish
БББББББББББББББББББББББББББББББ
key specifications for your application on your request. Please consult with your OMRON representative
БББББББББББББББББББББББББББББББ
at any time to confirm actual specifications of purchased products.
БББББББББББББББББББББББББББББББ
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when
tolerances are shown.
БББББББББББББББББББББББББББББББ
PERFORMANCE DATA
Performance data given in this manual is provided as a guide for the user in determining suitability and
БББББББББББББББББББББББББББББББ
does not constitute a warranty. It may represent the result of OMRON’s test conditions, and the users
БББББББББББББББББББББББББББББББ
must correlate it to actual application requirements. Actual performance is subject to the OMRON
БББББББББББББББББББББББББББББББ
Warranty and Limitations of Liability.
БББББББББББББББББББББББББББББББ
The information in this manual has been carefully checked and is believed to be accurate; however, no
responsibility is assumed for clerical, typographical, or proofreading errors, or omissions.
БББББББББББББББББББББББББББББББ
ERRORS AND OMISSIONS
xiii
xiv
PRECAUTIONS
This section provides general precautions for using the Programmable Controller (PC) and related devices.
The information contained in this section is important for the safe and reliable application of the Programmable Controller. You must read this section and understand the information contained before attempting to set up or operate a
PC system.
7 CPM2A 24-VDC CPU Unit Conformance to NK Standardsxxiii. . . . . . . . . . . . . . . . . . . . . . . . . . .
xv
1Intended Audience
This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
2General Precautions
The user must operate the product according to the performance specifications
described in the operation manuals.
Before using the product under conditions which are not described in the manual
or applying the product to nuclear control systems, railroad systems, aviation
systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that
may have a serious influence on lives and property if used improperly, consult
your OMRON representative.
Make sure that the ratings and performance characteristics of the product are
sufficient for the systems, machines, and equipment, and be sure to provide the
systems, machines, and equipment with double safety mechanisms.
This manual provides information for programming and operating the Unit. Be
sure to read this manual before attempting to use the Unit and keep this manual
close at hand for reference during operation.
5Safety Precautions
WARNING It is extremely important that a PC and all PC Units be used for the specified
!
purpose and under the specified conditions, especially in applications that can
directly or indirectly affect human life. You must consult with your OMRON
representative before applying a PC System to the above-mentioned
applications.
3Safety Precautions
WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing so
!
may result in electric shock.
WARNING Do not touch any of the terminals or terminal blocks while the power is being
!
supplied. Doing so may result in electric shock.
WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do so
!
may result in malfunction, fire, or electric shock.
WARNING Provide safety measures in external circuits (i.e., not in the Programmable
!
Controller), including the following items, in order to ensure safety in the system
if an abnormality occurs due to malfunction of the PC or another external factor
affecting the PC operation. Not doing so may result in serious accidents.
xvi
• Emergency stop circuits, interlock circuits, limit circuits, and similar safety
measures must be provided in external control circuits.
• The PC will turn OFF all outputs when its self-diagnosis function detects any
error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.
Operating Environment Precautions
• The PC outputs may remain ON or OFF due to deposition or burning of the
output relays or destruction of the output transistors. As a countermeasure for
such problems, external safety measures must be provided to ensure safety in
the system.
• When the 24-VDC output (service power supply to the PC) is overloaded or
short-circuited, the voltage may drop and result in the outputs being turned
OFF. As a countermeasure for such problems, external safety measures must
be provided to ensure safety in the system.
WARNING When transferring programs to other nodes, or when making changes to I/O
!
memory, confirm the safety of the destination node before transfer. Not doing so
may result in injury.
CautionExecute online edit only after confirming that no adverse effects will be caused
!
by extending the cycle time. Otherwise, the input signals may not be readable.
CautionTighten the screws on the terminal block of the AC Power Supply Unit to the
!
torque specified in the operation manual. The loose screws may result in burning
or malfunction.
4
CautionWhen connecting the PC to a personal computer or other peripheral device, ei-
!
ther ground the 0-V side of the PC or do not ground the PC at all. Although some
grounding methods short the 24-V side, as shown in the following diagram, never do so with the PC.
INCORRECT Grounding: Shorting the 24-V side of the Power Supply
Non-isolated DC
0 V
power supply
0 V0 V
PC
24 V
4Operating Environment Precautions
CautionDo not operate the control system in the following places:
!
• Locations subject to direct sunlight.
• Locations subject to temperatures or humidity outside the range specified in
the specifications.
• Locations subject to condensation as the result of severe changes in tempera-
ture.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salts.
• Locations subject to exposure to water, oil, or chemicals.
• Locations subject to shock or vibration.
Peripheral device
CautionTake appropriate and sufficient countermeasures when installing systems in the
!
following locations:
xvii
• Locations subject to static electricity or other forms of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radioactivity.
• Locations close to power supplies.
CautionThe operating environment of the PC System can have a large effect on the lon-
!
gevity and reliability of the system. Improper operating environments can lead to
malfunction, failure, and other unforeseeable problems with the PC System. Be
sure that the operating environment is within the specified conditions at installation and remains within the specified conditions during the life of the system.
5Application Precautions
Observe the following precautions when using the PC System.
WARNING Always heed these precautions. Failure to abide by the following precautions
!
could lead to serious or possibly fatal injury.
• Always connect to a ground such that the grounding resistance does not exceed 100 Ω when installing the Units. Not connecting to the correct ground
may result in electric shock.
• Always turn OFF the power supply to the PC before attempting any of the following. Not turning OFF the power supply may result in malfunction or electric
shock.
• Mounting or dismounting I/O Units, CPU Units, or any other Units.
• Assembling the Units.
• Setting DIP switches or rotary switches.
• Connecting or wiring the cables.
• Connecting or disconnecting the connectors.
5Application Precautions
CautionFailure to abide by the following precautions could lead to faulty operation of the
!
PC or the system, or could damage the PC or PC Units. Always heed these precautions.
• Fail-safe measures must be taken by the customer to ensure safety in the
event of incorrect, missing, or abnormal signals caused by broken signal lines,
momentary power interruptions, or other causes.
• Construct a control circuit so that power supply for the I/O circuits does not
come ON before power supply for the Unit. If power supply for the I/O circuits
comes ON before power supply for the Unit, normal operation may be temporarily interrupted.
• If the operating mode is changed from RUN or MONITOR mode to PROGRAM
mode, with the IOM Hold Bit ON, the output will hold the most recent status. In
such a case, ensure that the external load does not exceed specifications. (If
operation is stopped because of an operation error (including FALS instructions), the values in the internal memory of the CPU Unit will be saved, but the
outputs will all turn OFF.)
• Always use the power supply voltage specified in the operation manuals. An
incorrect voltage may result in malfunction or burning.
• Take appropriate measures to ensure that the specified power with the rated
voltage and frequency is supplied. Be particularly careful in places where the
power supply is unstable. An incorrect power supply may result in malfunction.
• Install external breakers and take other safety measures against short-circuiting in external wiring. Insufficient safety measures against short-circuiting may
result in burning.
xviii
Application Precautions
5
• Do not apply voltages to the input terminals in excess of the rated input voltage.
Excess voltages may result in burning.
• Do not apply voltages or connect loads to the output terminals in excess of the
maximum switching capacity. Excess voltage or loads may result in burning.
• Disconnect the functional ground terminal when performing withstand voltage
tests. Not disconnecting the functional ground terminal may result in burning.
• Install the Unit properly as specified in the operation manual. Improper installation of the Unit may result in malfunction.
• Be sure that all the mounting screws, terminal screws, and cable connector
screws are tightened to the torque specified in the relevant manuals. Incorrect
tightening torque may result in malfunction.
• Be sure to leave the labels attached at the time of shipment on the CPM1 or
CPM2A when wiring in order to prevent wiring cuttings from entering the Unit.
• Remove the label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction.
• Be sure to perform wiring in accordance with the relevant operation manual.
Incorrect wiring may result in burning.
• Use crimp terminals for wiring. Do not connect bare stranded wires directly to
terminals. Connection of bare stranded wires may result in burning.
• Double-check all the wiring before turning ON the power supply. Incorrect wiring may result in burning.
• Be sure that the terminal blocks, expansion cables, and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
• Be sure that terminal blocks and connectors are connected in the specified direction with the correct polarity. Not doing so may result in malfunction.
• Check the user program for proper execution before actually running it on the
Unit. Not checking the program may result in an unexpected operation.
• Confirm that no adverse effect will occur in the system before attempting any of
the following. Not doing so may result in an unexpected operation.
• Changing the operating mode of the PC.
• Force-setting/force-resetting any bit in memory.
• Changing the present value of any word or any set value in memory.
• Resume operation only after transferring to the new CPU Unit the contents of
the DM and HR Areas required for resuming operation. Not doing so may result
in an unexpected operation.
• Do not pull on the cables or bend the cables beyond their natural limit. Doing
either of these may break the cables.
• Do not place objects on top of the cables. Doing so may break the cables.
• Do not short the battery terminals or charge, disassemble, heat, or incinerate
the battery. Do not subject the battery to strong shocks. Doing any of these
may result in leakage, rupture, heat generation, or ignition of the battery. Dispose of any battery that has been dropped on the floor or otherwise subjected
to excessive shock. Batteries that have been subjected to shock may leak if
they are used.
• When replacing parts, be sure to confirm that the rating of a new part is correct.
Not doing so may result in malfunction or burning.
• Before touching the Unit, be sure to first touch a grounded metallic object in
order to discharge any static build-up. Not doing so may result in malfunction or
damage.
• Do not touch the expansion I/O connecting cable while the power is being supplied in order to prevent any malfunction due to static electricity.
xix
• When using a thermocouple-input type Temperature Sensor Unit, observe the
following precautions:
• Do not remove the cold junction compensator attached at the time of deliv-
ery. If the cold junction compensator is removed the Unit will not be able to
measure temperatures correctly.
• Each of the input circuits is calibrated with the cold junction compensator
attached to the Unit. If the Unit is used with the cold junction compensator
from other Units, the Unit will not be able to measure temperatures correctly.
• Do not touch the cold junction compensator. Doing so may result in incor-
rect temperature measurement.
6EC Directives
6-1Applicable Directives
• EMC Directives
• Low Voltage Directive
6-2Concepts
EMC Directives
OMRON devices that comply with EC Directives also conform to the related
EMC standards so that they can be more easily built into other devices or the
overall machine. The actual products have been checked for conformity to EMC
standards (see the following note). Whether the products conform to the standards in the system used by the customer, however, must be checked by the
customer.
EMC-related performance of the OMRON devices that comply with EC Directives will vary depending on the configuration, wiring, and other conditions of the
equipment or control panel on which the OMRON devices are installed. The customer must, therefore, perform the final check to confirm that devices and the
overall machine conform to EMC standards.
6EC Directives
Note Applicable EMC (Electromagnetic Compatibility) standards are as follows:
Always ensure that devices operating at voltages of 50 to 1,000 VAC and 75 to
1,500 VDC meet the required safety standards for the PC (EN61131-2).
6-3Conformance to EC Directives
The CPM2A PCs comply with EC Directives. To ensure that the machine or device in which the CPM2A PC is used complies with EC directives, the PC must be
installed as follows:
1, 2, 3...1. The CPM2A PC must be installed within a control panel.
2. Reinforced insulation or double insulation must be used for the DC power
supplies used for the communications and I/O power supplies.
3. CPM2A PCs complying with EC Directives also conform to the Common
Emission Standard (EN61000-6-4). Radiated emission characteristics
(10-m regulations) may vary depending on the configuration of the control
panel used, other devices connected to the control panel, wiring, and other
conditions. You must therefore confirm that the overall machine or equipment complies with EC Directives.
(Radiated emission: 10-m regulations)
xx
EC Directives
6-4Relay Output Noise Reduction Methods
The CPM2A PCs conform to the Common Emission Standards (EN61000-6-4)
of the EMC Directives. However, the noise generated when the PC is switched
ON or OFF using the relay output may not satisfy these standards. In such a
case, a noise filter must be connected to the load side or other appropriate countermeasures must be provided external to the PC.
Countermeasures taken to satisfy the standards vary depending on the devices
on the load side, wiring, configuration of machines, etc. Following are examples
of countermeasures for reducing the generated noise.
Countermeasures
(Refer to EN61000-6-4 for more details.)
Countermeasures are not required if the frequency of load switching for the
whole system with the PC included is less than 5 times per minute.
Countermeasures are required if the frequency of load switching for the whole
system with the PC included is 5 times or more per minute.
6
xxi
Countermeasure Examples
When switching an inductive load, connect a surge protector, diodes, etc., in parallel with the load or contact as shown below.
CircuitCurrentCharacteristicRequired element
ACDC
CR method
Power
supply
Diode method
Power
supply
Varistor method
Power
supply
YesYesIf the load is a relay or solenoid, there
Inductive
load
NoYesThe diode connected in parallel with
Inductive
load
YesYesThe varistor method prevents the
Inductive
load
is a time lag between the moment the
circuit is opened and the moment the
load is reset.
If the supply voltage is 24 to 48 V,
insert the surge protector in parallel
with the load. If the supply voltage is
100 to 200 V, insert the surge
protector between the contacts.
the load changes energy accumulated
by the coil into a current, which then
flows into the coil so that the current
will be converted into Joule heat by
the resistance of the inductive load.
This time lag, between the moment
the circuit is opened and the moment
the load is reset, caused by this
method is longer than that caused by
the CR method.
imposition of high voltage between the
contacts by using the constant voltage
characteristic of the varistor. There is
time lag between the moment the
circuit is opened and the moment the
load is reset.
If the supply voltage is 24 to 48 V,
insert the varistor in parallel with the
load. If the supply voltage is 100 to
200 V, insert the varistor between the
contacts.
6EC Directives
The capacitance of the capacitor must
be 1 to 0.5 µF per contact current of
1 A and resistance of the resistor must
be 0.5 to 1 Ω per contact voltage of
1 V. These values, however, vary with
the load and the characteristics of the
relay. Decide these values from
experiments, and take into
consideration that the capacitance
suppresses spark discharge when the
contacts are separated and the
resistance limits the current that flows
into the load when the circuit is closed
again.
The dielectric strength of the capacitor
must be 200 to 300 V. If the circuit is
an AC circuit, use a capacitor with no
polarity.
The reversed dielectric strength value
of the diode must be at least 10 times
as large as the circuit voltage value.
The forward current of the diode must
be the same as or larger than the load
current.
The reversed dielectric strength value
of the diode may be two to three times
larger than the supply voltage if the
surge protector is applied to electronic
circuits with low circuit voltages.
---
xxii
CPM2A 24
-VDC CPU Unit Conformance to NK Standards
6-5CPM1A-MAD01 Conformance to EMC Directives
Immunity testing conditions when using the current I/O of the CPM1A-MAD01
are as follows.
• Total accuracy: +10%/-1%
• Insert the following core in each line as shown below.
Recommended core: 2643-002402
Manufacturer: Fair Rite Products Corp.
7
7CPM2A 24-VDC CPU Unit Conformance to NK Standards
Surge immunity testing conditions when using a 24-VDC CPU Unit of the
CPM2A are as follows:
• Connect a Transit Voltage Suppressor (TVS) diode between the 24-V and 0-V
DC power supply wiring. The polarity of the TVS diode is bidirectional, i.e., it
has no set polarity.
Recommended TVS: 1.5KE33CA
Manufacturer: Vishay Semiconductors (formerly General Semiconductors)
ST Microelectronics K.K.
xxiii
SECTION 1
Introduction
This section describes the CPM2A’s special features and functions, shows the possible system configurations, and outlines the
steps required before operation. Read this section first when using the CPM2A for the first time.
Refer to the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual (W353) for details on programming opera-
tion.
The CPM2A PCs incorporate a variety of features in a compact Unit, including
synchronized pulse control, interrupt inputs, pulse outputs, analog settings, and
a clock function. Also, the CPM2A CPU Unit is a stand-alone Unit that can handle a broad range of machine control applications, so it is ideal for use as a builtin control unit in equipment.
The full complement of communications functions provide communications with
personal computers, other OMRON PCs, and OMRON Programmable Terminals. These communications capabilities allow the user to design a low-cost distributed production system.
1-1SectionCPM2A Features and Functions
The CPU Unit contains 20, 30, 40, or 60 I/O points and
Expansion I/O Units can be added to provide a total I/O
capacity of up to 120 I/O points. Analog I/O Units, Temperature Sensor Units, CompoBus/S I/O Link Units, and
DeviceNet I/O Link Units can also be connected.
Basic Functions
CPU Unit Variations
Expansion I/O Units
2
Peripheral Port
Programming Devices are compatible with
other models of OMRON PCs. This port
can also be used for Host Link or no-protocol communications.
The CPM2A PCs are one-piece PCs with 20, 30, 40, or 60 built-in I/O terminals.
There are 3 types of outputs available (relay outputs, sinking transistor outputs,
and sourcing transistor outputs) and 2 types of power supplies available
(100/240 VAC or 24 VDC).
Up to 3 Expansion I/O Units can be connected to the CPU Unit to increase the
PC’s I/O capacity to a maximum of 120 I/O points. There are 3 types of Expansion I/O Units available: a 20-point I/O Unit, an 8-point Input Unit, and an 8-point
Output Unit. The maximum I/O capacity of 120 I/O points is achieved by connecting three 20-point I/O Units to a CPU Unit with 60 built-in I/O terminals.
RS-232C Port
This port can be used for a Host Link,
no-protocol, 1:1 PC Link, or 1:1 NT Link
communications.
1-1SectionCPM2A Features and Functions
Analog I/O Units
Temperature Sensor
Units
Up to 3 Analog I/O Units can be connected to provide analog inputs and outputs.
Each Unit provides 2 analog inputs and 1 analog output, so a maximum of 6 analog inputs and 3 analog outputs can be achieved by connecting 3 Analog I/O
Units.
UnitAnalog inputsAnalog outputs
CPM1A-MAD01Signal range: 0 to 10 V, 1 to 5 V, or
4 to 20 mA, Resolution of 1/256
The open-circuit detection function
can be used with the 1 to 5 VDC
and 4 to 20 mA settings.
CPM1A-MAD11Signal range: 0 to V 5, 0 to 10 V, 1
to 5 V, –10 to 10 V, 0 to 20 mA, or 4
to 20 mA, Resolution of 1/6,000
The open-circuit detection function
can be used with the 1 to 5 VDC
and 4 to 20 mA settings.
Signal range: 0 to 10 V,
–10 to 10 V, or 4 to
20 mA,
Resolution of 1/256
Signal range: 0 to 10 V, 1
to 5 V, –10 to 10 V, 0 to
20 mA, or 4 to 20 mA,
Resolution of 1/6,000
A Temperature Sensor Unit can be connected to provide up to 6 inputs for temperature input from sensors, such as thermocouples or platinum resistance
thermometers.
Temperature Sensor Unit Functions
Thermocouple input (CPM1A-TS001/002; 2/4 input points):
K:–200° to 1,300°C (–300° to 2,300°F)
0.0° to 500.0°C (0.0° to 900.0°F)
J:–100° to 850°C (–100° to 1,500°F)
0.0° to 400.0°C (0.0° to 750.0°F)
Platinum resistance thermometer input (CPM1A-TS101/102; 2/4 input points):
Pt100: –200.0° to 650.0°C (–300.0° to 1,200.0°F)
JPt100: –200.0° to 650.0°C (–300.0° to 1,200.0°F)
CompoBus/S I/O Link
Units
CompoBus/S I/O Link Units can be connected to make the CPM2A a Slave Device in a CompoBus/S Network. The I/O Link Unit has 8 input bits (internal) and
8 output bits (internal).
The CompoBus/S Network provides distributed CPU control based on a “PC +
compact PC” configuration, which is an improvement on the earlier distributed
I/O control based on a “PC + remote I/O” configuration. The distributed CPU
control makes equipment modular, so designs can be standardized, special
needs can be addressed, and modules can be replaced easily in the event of a
breakdown.
CompoBus/S Master Unit
Master PC
(or SRM1 CompoBus/S Master Control Unit)
CPM2A (Slave) CompoBus/S I/O Link Unit
CompoBus/S
Distributed CPU control
DeviceNet I/O Link UnitsDeviceNet I/O Link Units can be connected to enable using the CPM2A as a De-
viceNet slave. Up to 32 internal input and 32 internal outputs points are supported for each Unit, and up to 3 Units can connected. DeviceNet application
allows networks to be constructed including devices from other manufacturers.
3
1-1SectionCPM2A Features and Functions
Share Programming
Devices
The same Programming Devices, such as Programming Consoles and Support
Software, can be used for the C200H, C200HS, C200HX/HG/HE, CQM1,
CPM1, CPM1A, CPM2C, and SRM1 (-V2) PCs, so existing ladder program resources can be used effectively.
Built-in Motor Control Capability
Synchronized Pulse
Control
(Transistor Outputs Only)
High-speed Counters and
Interrupts
Synchronized pulse control provides an easy way to synchronize the operation
of a peripheral piece of equipment with the main equipment. The output pulse
frequency can be controlled as some multiple of the input pulse frequency, allowing the speed of a peripheral piece of equipment (such as a supply conveyor)
to be synchronized with the speed of the main piece of equipment.
The CPM2A has a total of five high-speed counter inputs. The one high-speed
counter input has a response frequency of 20 kHz/5 kHz and the four interrupt
inputs (in counter mode) have a response frequency of 2 kHz.
The high-speed counter can be used in any one of the four input modes: differential phase mode (5 kHz), pulse plus direction input mode (20 kHz), up/down
pulse mode (20 kHz), or increment mode (20 kHz). Interrupts can be triggered
when the count matches a set value or falls within a specified range.
The interrupt inputs (counter mode) can be used for incrementing counters or
decrementing counters (2 kHz) and trigger an interrupt (executing the interrupt
program) when the count matches the target value.
Encoder
CPM2A
Motor driver Motor
Pulses are output as a fixed multiple of the input frequency.
Easy Position Control
with Pulse Outputs
(Transistor Outputs Only)
CPM2A PCs with transistor outputs have two outputs that can produce 10 Hz to
10 kHz pulses (single-phase outputs).
When used as single-phase pulse outputs, there can be two outputs with a frequency range of 10 Hz to 10 kHz with a fixed duty ratio or 0.1 to 999.9 Hz with a
variable duty ratio (0 to 100% duty ratio).
When used as pulse plus direction or up/down pulse outputs, there can be just
one output with a frequency range of 10 Hz to 10 kHz.
High-speed Input Capabilities for Machine Control
High-speed Interrupt
Input Function
Quick-response Input
Function
Stabilizing Input Filter
Function
There are four inputs used for interrupt inputs (shared with quick-response inputs and interrupt inputs in counter mode) with a minimum input signal width of
50 µs and response time of 0.3 ms. When an interrupt input goes ON, the main
program is stopped and the interrupt program is executed.
There are four inputs used for quick-response inputs (shared with interrupt inputs and interrupt inputs in counter mode) that can reliably read input signals
with a signal width as short as 50 µs.
The input time constant for all inputs can be set to 1 ms, 2 ms, 3 ms, 5 ms,
10 ms, 20 ms, 40 ms, or 80 ms. The effects of chattering and external noise can
be reduced by increasing the input time constant.
Other Functions
Interval Timer Interrupts
The interval timer can be set between 0.5 and 319,968 ms and can be set to generate just one interrupt (one-shot mode) or periodic interrupts (scheduled interrupt mode).
Analog Settings
4
There are two controls on the CPU Unit that can be turned to change the analog
settings (0 to 200 BCD) in IR 250 and IR 251. These controls can be used to eas-
1-1SectionCPM2A Features and Functions
ily change or fine-tune machine settings such as a conveyor belt’s pause time or
feed rate.
Calendar/Clock
The built-in clock (accuracy within 1 minute/month) can be read from the program to show the current year, month, day, day of the week, and time. The clock
can be set from a Programming Device (such as a Programming Console) or the
time can be adjusted by rounding up or down to the nearest minute.
Long-term Timer
TIML(––) is a long-term timer that accommodates set values up to 99,990 seconds (27 hours, 46 minutes, 30 seconds). When combined with the SECONDS
TO HOURS conversion instruction (HMS(––)), the long-term timer provides an
easy way to control equipment scheduling.
Analog PID Control
The PID(––) instruction can be used with an Analog I/O Unit to control analog
I/O.
Complete Communications Capabilities
Host Link
1:1 Host Link Communications
A Host Link connection can be made through the PC’s RS-232C port or Peripheral port. A personal computer or Programmable Terminal (only for 1:1 communications) connected in Host Link mode can be used for operations such as
reading/writing data in the PC’s I/O memory or reading/changing the PC’s operating mode.
1:N Host Link Communications
B500-AL004
Link Adapter
Responses
No-protocol
Communications
Inputting data from
a bar code reader
Bar code reader
Commands
CPM1-CIF01
CPM2A (Peripheral port connection*)
*An RS-232C Adapter is needed
to connect to the Peripheral port.
The TXD(48) and RXD(47) instructions can be used in no-protocol mode to exchange data with standard serial devices. For example, data can be received
from a bar code reader or transmitted to a serial printer. The serial devices can
be connected to the RS-232C port or Peripheral port.
NT-AL001
Responses
Outputting data to
a serial printer
Serial printer
Commands
CPM2A
(RS-232C port connection)
RS-232C/RS-422A Adapter
(Up to 32 PCs can be connected.)
(RS-232C port connection*)
*An RS-232C Adapter is needed to connect to the Peripheral port.
CPM2A
(RS-232C port connection*)
CPM2A
5
1-1SectionCPM2A Features and Functions
High-speed 1:1 NT Link
Communications
One-to-one PC Link
Expansion Memory Unit
In a 1:1 NT Link, an OMRON Programmable Terminal (PT) can be connected
directly to the CPM2A. The PT must be connected to the RS-232C port; it cannot
be connected to the Peripheral port.
OMRON PT
(RS-232C port connection)
CPM2A
A CPM2A can be linked directly to another CPM2A, CQM1, CPM1, CPM1A,
CPM2C, SRM1(-V2), or a C200HS or C200HX/HG/HE PC. The 1:1 PC Link allows automatic data link connections. The PC must be connected through the
RS-232C port; it cannot be connected through the Peripheral port.
(RS-232C port connection)
CPM2A
(RS-232C port connection)
CPM2A
The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for smallsize or micro PLCs. Using the CPM1-EMU01-V1, simple on-site transfer of user
programs and data memory is possible with PLCs.
EEPROM
Uploading
Downloading
SYSMAC
6
1-1-2Overview of CPM2A Functions
p
1 i
p,
Main functionVariations/Details
Interrupts
High-speed countersHigh-speed counter
Pulse outputs2 outputs:
Synchronized pulse control1 point, see notes 2 and 3.
Quick-response input4 inputs, see note 1.
Analog settings2 controls (setting ranges: 0 to 200 BCD)
Input time constantDetermines the input time constant for all inputs. (Settings: 1, 2, 3, 5, 10, 20, 40, or 80 ms)
Calendar/ClockShows the current year, month, day of the week, day of the month, hour, minute, and
Single-phase pulse output without acceleration/deceleration (See note 3.)
10 Hz to 10 kHz
2 outputs:
Variable duty ratio pulse output (See note 3.)
0.1 to 999.9 Hz, duty ratio 0 to 100%
1 output:
Pulse output with trapezoidal acceleration/deceleration (See note 3.)
Pulse plus direction output, up/down pulse output, 10 Hz to 10 kHz
Input frequency range: 10 to 500 Hz, 20 Hz to 1 kHz, or 300 Hz to 20 kHz
Output frequency range: 10 Hz to 10 kHz
Minimum input signal width: 50 µs
second.
Scheduled interrupts
One-shot interrupt
No interrupt
Count-check interrupt
(An interrupt can be generated when the
count equals the set value or the count
lies within a preset range.)
No interrupt
Count-up interrupt
1-1SectionCPM2A Features and Functions
7
Main functionVariations/Details
Expansion Unit functions
Analog I/O Unit functions (CPM1A-MAD01) (resolution: 1/256)
Two analog inputs: input range 0 to 10 V, 1 to 5 V, or 4 to 20 mA
One analog output: output range 0 to 10 V, –10 to 10 V, or 4 to 20 mA
Analog I/O Unit functions (CPM1A-MAD11) (resolution: 1/6000)
Two analog inputs: input range 0 to 5 V, 1 to 5 V, 0 to 10 V, –10 to 10 V, 0 to 20 mA, or
4 to 20 mA
One analog output: output range 1 to 5 V, 0 to 10 V, –10 to 10 V, 0 to 20 mA, or 4 to
20 mA
Temperature Sensor Unit functions
Thermocouple input (CPM1A-TS001/002; 2/4 input points):
K: –200° to 1,300°C (–300° to 2,300°F)
0.0° to 500.0°C (0.0° to 900.0°F)
J: –100° to 850°C (–100° to 1,500°F)
0.0° to 400.0°C (0.0° to 750.0°F)
Platinum resistance thermometer input (CPM1A-TS101/102; 2/4 input points):
Pt100: –200.0° to 650.0°C (–300.0° to 1,200.0°F)
JPt100: –200.0° to 650.0°C (–300.0° to 1,200.0°F)
CompoBus/S Slave functions (CPM1A-SRT21)
Exchanges 8 input bits and 8 output bits of data with the Master Unit.
DeviceNet Slave functions
Exchanges 32 input bits and 32 output bits of data with the DeviceNet Master Unit.
1-1SectionCPM2A Features and Functions
Note1. These four inputs are shared by interrupt inputs, interrupt inputs in counter
mode, and quick-response inputs, but each input can be used for only one
purpose.
2. This input is shared by the high-speed counter and synchronized pulse control functions.
3. This output is shared by the pulse output and synchronized pulse control
functions. These functions can be used with transistor outputs only.
8
1-2Basic System Configurations
p
p
p
p
1-2-1Stand-alone CPU Unit
CPU Unit with 20/30 I/O PointsCPU Unit with 40 I/O PointsCPU Unit with 60 I/O Points
Number of I/O pointsPower supplyInputsOutputsModel
20 I/O points
(12 inputs and 8 outputs)
30 I/O points
(18 inputs and 12 outputs)
40 I/O points
(24 inputs and 16 outputs)
60 I/O points
(36 inputs and 24 outputs)
100 to 240 VAC 24 VDCRelayCPM2A-20CDR-A
24 VDC
100 to 240 VAC 24 VDCRelayCPM2A-30CDR-A
24 VDC
100 to 240 VAC 24 VDCRelayCPM2A-40CDR-A
24 VDC
100 to 240 VAC 24 VDCRelayCPM2A-60CDR-A
24 VDC
24 VDCRelayCPM2A-20CDR-D
24 VDCSinking TransistorCPM2A-20CDT-D
24 VDCSourcing TransistorCPM2A-20CDT1-D
24 VDCRelayCPM2A-30CDR-D
24 VDCSinking TransistorCPM2A-30CDT-D
24 VDCSourcing TransistorCPM2A-30CDT1-D
24 VDCRelayCPM2A-40CDR-D
24 VDCSinking TransistorCPM2A-40CDT-D
24 VDCSourcing TransistorCPM2A-40CDT1-D
24 VDCRelayCPM2A-60CDR-D
24 VDCSinking TransistorCPM2A-60CDT-D
24 VDCSourcing TransistorCPM2A-60CDT1-D
1-2SectionBasic System Configurations
1-2-2CPU Unit, Expansion Units, and Expansion I/O Units
Up to 3 Expansion Units or Expansion I/O Units can be connected to the expansion connector with expansion I/O connecting cables. (Only one Expansion Unit
or Expansion I/O Unit can be connected if an NT-AL001 Adapter is connected to
the RS-232C port because the CPU Unit’s 5-VDC power supply is limited.)
There are four types of Units available: Expansion I/O Units, an Analog I/O Unit,
Temperature Sensor Units, a CompoBus/S I/O Link Unit, and a DeviceNet I/O
Link Unit.
Expansion connector
Expansion I/O Unit or Expansion Unit
(Analog I/O Unit, Temperature Sensor
Unit, CompoBus/S I/O Link Unit, or
DeviceNet I/O Link Unit)
Expansion I/O connecting cable
A PC with 120 I/O points (the maximum) can be assembled by connecting three
Expansion I/O Units to a CPU Unit with 60 I/O points.
CPM2A-60CDR-A
(36 inputs, 24 outputs)
× 1 Unit +× 3 Units = 72 inputs, 48 outputs
CPM1A-20EDR1
(12 inputs, 8 outputs)
9
1-2SectionBasic System Configurations
(S
)
12 inputs
p
A PC with 6 analog inputs and 3 analog outputs (the maximum) can be assembled by connecting three Analog I/O Units. (Only one Analog I/O Unit can be
connected if an NT-AL001 Adapter is connected to the CPU Unit’s RS-232C
port.)
A PC with up to 6 temperature inputs for input from thermocouples or platinum
resistance thermometers can be assembled by connecting Temperature Sensor
Units.
CompoBus/S I/O Link Units (Slave Units) can be connected to a CPU Unit. I/O
data (8 inputs and 8 outputs) is transferred between the CPU Unit and the area
allocated to the CompoBus/S Slave. (The I/O data exchanged with the Slave is
internal data; there are no external input or output terminals.)
DeviceNet I/O Link Units can be connected to a CPU Unit. I/O data (32 inputs
and 32 outputs) is transferred between the CPU Unit and the area allocated to
the DeviceNet I/O Link Unit. (The I/O data exchanged with the Slave is internal
data; there are no external input or output terminals.)
Note1. Different types of Expansion I/O Units or Expansion Units can be connected
at the same time. For example, an Expansion I/O Unit, an Analog I/O Unit, a
CompoBus/S I/O Link Unit, and DeviceNet I/O Link Unit can be connected to
the CPU Unit.
Expansion I/O Units
UnitMax. number
Expansion
I/O Unitspoints
20 I/O
8 outputs
8 inputs24 VDC---CPM1A-8ED
8 outputs
2. When an NT-AL001 Adapter is connected to the RS-232C port, only one Ex-
of Units
3 Units max.
ee note.
pansion Unit or Expansion I/O Unit can be connected to the CPU Unit because of power supply limitations.
8-point Input Unit8-point Output Unit20-point I/O Unit
InputsOutputsModel
24 VDCRelaysCPM1A-20EDR1
24 VDCSinking transistorsCPM1A-20EDT
24 VDCSourcing transistorsCPM1A-20EDT1
---RelaysCPM1A-8ER
---Sinking TransistorsCPM1A-8ET
---Sourcing TransistorsCPM1A-8ET1
Note Only one Expansion I/O Unit can be connected if an NT-AL001 Adapter is con-
nected to the CPU Unit’s RS-232C port.
10
Expansion Units
SesoU
pus
CPM1A-MAD01
Analog I/O Unit
CPM1A-MAD11
Analog I/O Unit
1-2SectionBasic System Configurations
Temperature Sensor Unit
CompoBus/S I/O
Link Unit
UnitMax. number
Analog I/O Unit
2 analog inputs (2 words)
1 analog output (1 word)
Temperature
Sensor Unit
CompoBus/S I/O Link Unit
8 inputs and 8 outputs
DeviceNet I/O Link Unit
32 inputs and 32 outputs
Thermocouple
inputs
Platinum
resistance
thermometer
inputs
DeviceNet I/O
Link Unit
InputsOutputsModel
of Units
3 Units max.
(See note.)
3 Units max.
(See note.)
1 Unit max.4 inputs (K, J)CPM1A-TS002
3 Units max.
(See note.)
1 Unit max.4 inputs (Pt100, JPt100)CPM1A-TS102
3 Units max.
(See note.)
3 Units max.
(See note.)
2 analog inputs1 analog outputCPM1A-MAD01
CPM1A-MAD11
2 inputs (K, J)
2 inputs (Pt100, JPt100)CPM1A-TS101
8 bits
(Inputs from the Master.)
32 bits
(Inputs from the Master.)
---
8 bits
(Outputs to the Master.)
32 bits
(Outputs to the Master.)
CPM1A-TS001
CPM1A-SRT21
CPM1A-DRT21
Note1. Only one CPM1A-TS002/TS102 Temperature Sensor Unit can be con-
nected to the CPU Unit. If a CPM1A-TS002/102 is connected to the CPU
Unit, only one additional Expansion Unit (other than a CPM1A-TS002/102)
or one Expansion I/O Unit can be connected to the CPU Unit.
2. Only one Expansion Unit can be connected if an NT-AL001 Adapter is connected to the CPU Unit’s RS-232C port.
11
1-3Structure and Operation
1-3-1CPU Unit Structure
The following diagram shows the internal structure of the CPU Unit.
I/O memory
1-3SectionStructure and Operation
I/O Memory
Program
External
input
devices
External
output
devices
Input circuits
Peripheral
port
Program
Settings
Communications
processing
Settings
Settings
Communications switch
PC Setup
Output circuits
RS-232C
port
The program reads and writes data in this memory area during execution. Part of
the I/O memory contains the bits that reflect the status of the PC’s inputs and
outputs. Parts of the I/O memory are cleared when the power is turned ON and
other parts are retained.
Note Refer to Section 3 Memory Areas in the Programming Manual (W353) for more
details on I/O memory.
This is the program written by the user. The CPM2A executes the program cyclically. (Refer to 1-3-5 Cyclic Operation and Interrupts for details.)
The program can be divided broadly into two parts: the “main program” that is
executed cyclically and the “interrupt programs” that are executed only when the
corresponding interrupt is generated.
PC Setup
Communications Switch
12
The PC Setup contains various startup and operating parameters. The PC Setup parameters can be changed from a Programming Device only; they cannot
be changed from the program.
Some parameters are accessed only when PC’s power supply is turned on and
others are accessed regularly while the power is on. It will be necessary to turn
the power off and then on again to enable a new setting if the parameter is accessed only when the power is turned on.
Note Refer to Section 1 PC Setup in the Programming Manual (W353) for more de-
tails.
The Communications Switch determines whether the peripheral port and
RS-232C port operate with the standard communications settings or the communications settings in the PC Setup.
1-3-2Operating Modes
gg
gg
CPM2A CPU Units have 3 operating modes: PROGRAM, MONITOR, and RUN.
1-3SectionStructure and Operation
PROGRAM Mode
MONITOR Mode
RUN Mode
The program cannot be executed in PROGRAM mode. This mode is used to
perform the following operations in preparation for program execution
• Changing initial/operating parameters such as those in the PC Setup
• Writing, transferring, or checking the program
• Checking wiring by force-setting and force-resetting I/O bits
The program is executed in MONITOR mode and the following operations can
be performed from a Programming Device. In general, MONITOR mode is used
to debug the program, test operation, and make adjustments.
• Online editing
• Monitoring I/O memory during operation
• Force-setting/force-resetting I/O bits, changing set values, and changing pres-
ent values during operation
The program is executed at normal speed in RUN mode. Operations such as
online editing, force-setting/force-resetting I/O bits, and changing set values/
present values cannot be performed in RUN mode, but the status of I/O bits can
be monitored.
Note When the PC is in RUN mode with a Programming Console connected to the
peripheral port, if a PT is connected to the RS-232C port via Host Link, the Programming Console will display a message prompting the user to enter a password. (For details, refer to page 85.) This is because, in order to write data to the
PC, the PT automatically switches the operating mode from RUN mode to MONITOR mode.
• This automatic mode change will not be performed if the PT is connected via
NT Link.
• When a Programming Device installed on a computer is connected to the
peripheral port, the display (at the computer) for the CPU Unit’s operating
mode will simply change from “RUN” to “MONITOR.”
1-3-3Operating Mode at Startup
The operating mode of the CPM2A when the power is turned on depends upon
the PC Setup settings and the Programming Console’s mode switch setting if a
Programming Console is connected.
PC Setup setting
WordBitsSetting
DM6600 08 to 15
00 to 07
Note The default setting is 00. With this default setting, the startup operating mode is
determined by the Programming Console’s mode switch setting if a Programming Console is connected to the Peripheral port. If a Programming Console is
not connected, the PC will automatically enter RUN mode.
Programming Console
connected
00Startup mode determined
by the mode switch
setting.
01Startup mode is the same as the operating mode
before power was interrupted.
02Startup mode is determined by bits 00 to 07.
00PROGRAM mode
01MONITOR mode
02RUN mode
Programming Console
not connected
Startup mode is RUN
mode. (See note.)
13
1-3-4PC Operation at Startup
1-3SectionStructure and Operation
Time Required for
Initialization
Power OFF Operation
The time required for startup initialization depends on several factors, such as
the operating conditions (including power supply voltage, system configuration,
and ambient temperature) and the program contents.
Minimum Power Supply Voltage
The PC will stop and all outputs will be turned OFF if the power supply voltage
falls below 85% of the rated value.
Momentary Power Interruption
A power interruption will not be detected and CPU Unit operation will continue if
the power interruption lasts less than 10 ms for an AC power supply or 2 ms for a
DC power supply.
A power interruption may or may not be detected for power interruptions somewhat longer than 10 ms for an AC power supply or 2 ms for a DC power supply.
When a power interruption is detected, the CPU Unit will stop operating and all
outputs will be turned OFF.
Automatic Reset
Operation will restart automatically when the power supply voltage is restored to
more than 85% of the rated voltage.
Timing Chart of Power OFF Operation
The power interruption detection time is the time required for a power interruption to be detected after the power supply voltage drops below 85% of the rated
value.
1, 2, 3...1. Minimum power interruption detection time
Power interruptions that are shorter than 10 ms (AC power supply) or 2 ms
(DC power supply) will not be detected.
2. Undetermined additional time
Power interruptions only slightly longer than the minimum power interruption time may not be detected.
85% of rated voltage
Detection of
power interruption
2. Additional
time
CPU Unit operation may
continue if voltage is
restored in this region.
Program execution
CPU reset signal
1. Minimum time
ExecutingStopped
CPU Unit operation will
continue if voltage is
restored in this region.
Note If the power supply voltage fluctuates around 85% of the PC’s rated voltage, PC
operation may stop and restart repeatedly. When repeated stopping and starting
will cause problems with the controlled system, set up a protective circuit such
as a circuit that shuts off the power supply to sensitive equipment until the power
supply voltage returns to the rated value.
14
1-3-5Cyclic Operation and Interrupts
1-3SectionStructure and Operation
Basic CPU Operation
Initialization processing is performed when the power is turned on. If there are no
initialization errors, the overseeing processes, program execution, I/O refreshing, and communications port servicing are performed repeatedly (cyclically).
S Check hardware.
Startup initialization
Overseeing
processes
Program execution
S Check memory.
S Read data from flash memory (program,
read-only DM data, and PC Setup settings).
S Check for battery error.
S Preset the watch (maximum) cycle time.
S Check program memory.
S Refresh bits for expansion functions.
S Execute the program.
(Refer to the Programming Manual (W353) for
details on cycle time and I/O response times.)
S Wait for minimum cycle time if a minimum
Cycle time
PC cycle time
calculation
I/O refreshing
RS-232C port
servicing
Peripheral port
servicing
cycle time has been set in the PC Setup
(DM 6619).
S Calculate cycle time.
S Read input data from input bits.
S Write output data to output bits.
S Perform RS-232C port communications
processing. (Can be changed in DM 6616.)
S Perform Peripheral port communications
processing. (Can be changed in DM 6617.)
The cycle time can be read from a Programming Device.
AR 14 contains the maximum cycle time and AR 15 contains the present cycle
time in multiples of 0.1 ms.
15
1-3SectionStructure and Operation
The cycle time will vary slightly depending on the processing being performed in
each cycle, so the calculated cycle time will not always match the actual cycle
time.
Program Execution in
Cyclic Operation
The following diagram shows the cyclic operation of the CPM2A when the program is being executed normally.
Normally, the results of program execution are transferred to I/O memory just
after program execution (during I/O refreshing), but IORF(97) can be used to refresh a specified range of I/O words during program execution. The specified
range of I/O words will be refreshed when IORF(97) is executed.
The cycle time is the sum of the time required for program execution, I/O refreshing, and communications port servicing.
A minimum cycle time (1 to 9,999 ms) can be set in the PC Setup (DM 6619).
When a minimum cycle time has been set, CPU operation is paused after program execution until the minimum cycle time is reached. CPU operation will not
be paused if the actual cycle time is longer than the minimum cycle time set in
DM 6619.
Note A fatal error will occur and PC operation will stop if a maximum cycle time has
been set in the PC Setup (DM 6618) and the actual cycle time exceeds that setting.
The default settings for RS-232C port servicing and Peripheral port servicing are
5% of the cycle time, but these settings can be changed (between 1% and 99%)
in the PC Setup. The RS-232C port’s setting is in DM 6616 and the Peripheral
port’s setting is in DM 6617.
Refer to Section 7 PC Operations and Processing Time in the ProgrammingManual (W353) for more details and precautions on the cycle time.
Cycle
time
Overseeing processes
Main program
I/O refreshing
RS-232C port servicing
Peripheral port servicing
If a minimum cycle time has been
set in DM 6619, CPU operation is
paused until the minimum cycle
time is reached.
The servicing time can be set
in DM 6616.
The servicing time can be set
in DM 6617.
16
1-3SectionStructure and Operation
Interrupt Program
Execution
When an interrupt is generated during execution of the main program, main program execution is interrupted immediately and the interrupt program is executed. The following diagram shows the cyclic operation of the CPM2A when an
interrupt program is executed.
Normally, the results of interrupt program execution are transferred to I/O
memory just after program execution (during I/O refreshing), but IORF(97) can
be used to refresh a specified range of I/O words during execution of the interrupt program. The specified range of I/O words will be refreshed when IORF(97)
is executed.
The normal cycle time is extended by the time required for execution of the interrupt program.
Refer to Section 7 PC Operations and Processing Time in the ProgrammingManual (W353) for more details and precautions on the cycle time.
Overseeing processes
Main program
Interrupt generated.
Interrupt program
Cycle
time
I/O refreshing
RS-232C port servicing
Peripheral port servicing
CautionAlthough IORF(97) can be used in interrupt subroutines, you must be careful of
!
the interval between IORF(97) executions. If IORF(97) is executed too frequently, a fatal system error may occur (FALS 9F), stopping operation. The interval
between executions of IORF(97) should be at least 1.3 ms + total execution time
of the interrupt subroutine.
Immediate Refreshing
IORF(97) can be executed in the program to refresh a specified range of I/O
words. The specified I/O words will be refreshed when IORF(97) is executed.
IORF(97) can be used to refresh I/O from the main program or the interrupt program.
17
1-4SectionFunctions Listed by Usage
(p,g
When IORF(97) is used, the cycle time is extended by the time required to refresh the specified I/O words.
Overseeing processes
Main program
IORF(97) executed.
Cycle
time
I/O refreshing
RS-232C port servicing
Peripheral port servicing
1-4Functions Listed by Usage
Immediate refreshing
I/O refreshing
Machine Control Functions
Receive high-speed
count inputs
(For example, calculating
length or position with an
encoder).
Generate a pulse output based on a multiple of an input pulse to
synchronize control of a peripheral process with the main process.
The multiple for the peripheral process (such as tool feed rate) can be
changed during operation by calculating the multiple from another input
value (such as an encoder) in the peripheral process.
This method can be used to change the process for different products
or models without stopping the equipment.
18
UsageFunctionRefer
Max. count frequency of 2 kHz
(single-phase)
Max. count frequency of 5 kHz (differential
phase) or 20 kHz (single-phase)
Use interrupt input (counter mode) to
read the present value without
interrupts.
Use high-speed counter to read the
present value without interrupts.
Pulse synchronization
to
W353
1-4SectionFunctions Listed by Usage
UsageRefer
Multiply the input pulse frequency from a high-speed counter by a fixed
multiple, convert that value to an analog value, and output as an
analog output.
(For example, synchronizing the speed of a supply conveyor with the
rotational position of the main piece of equipment (such as a label
inserter) measured by an analog input.)
Reliably receive input pulses with an ON-time shorter than the cycle
time (such as inputs from a photomicrosensor).
Interrupt functions
Perform simple positioning by outputting pulses to a motor driver that
accepts pulse-train inputs.
Use a variable duty-ratio output to perform time-allocated temperature
control.
Easily set and fine-tune settings such as the low-speed feed rate when
a conveyor is temporarily stopped.
Receive an analog input and output an analog output.Analog I/O Unit
Receive temperature sensor input directly at the PC.Temperature Sensor Unit
Reduce required wiring, space, and PC load by controlling equipment
with a few low-capacity PCs dispersed near the equipment rather than
a single, large, centralized PC.
(Create a remote I/O link with a CompoBus/S Master and CompoBus/S
Slaves.)
Execute a special process very quickly
when an input goes ON.
(For example, operating a cutter when an
interrupt input is received from a Proximity
Switch or Photoelectric Switch.)
Count input ON pulses and execute a
special process very quickly when the
count reaches the preset value.
(For example, stopping the supply feed
when a preset number of workpieces have
passed through the system.)
Execute a special process at a preset
count value.
(For example, cutting material very
precisely at a given length.)
Execute a special process when the count
is within a preset range.
(For example, sorting material very quickly
when it is within a given length range.)
Execute a special process when a timer
times out.
(For example, stopping a conveyor at very
precise time (independent of the cycle
time) after the workpiece is detected.)
Repeat a special process at regular
intervals.
(For example, the speed of a sheet feeder
can be monitored by measuring the input
signal from an encoder at regular intervals
and calculating the speed.)
Pulse synchronization and analog
output function
Quick-response input function
Interrupt input (interrupt input mode)
Interrupt input (counter mode)
High-speed counter interrupt
generated when the count matches
the set value.
High-speed counter interrupt
generated when the count is within the
set range.
Read/write I/O memory data and change the operating
mode from a host computer.
Connect to a serial device such as a bar code reader
or serial printer.
Make a high-speed connection with an OMRON
Programmable Terminal.
Make a PC-PC data link connection with another
CPM2A, or a CPM1, CPM1A, CPM2C, SRM1, CQM1,
C200HS, or C200HX/HG/HE PC.
Connect a Programming Console.Connect the Programming Console to the Peripheral
Connect a personal computer running
CX-Programmer, SYSMAC Support Software (SSS) or
SYSMAC-CPT Support Software.
Monitor equipment with a Programmable Terminal and
program the PC with a Programming Device.
Reduce both resources and space by using remote
I/O.
Creating a link with a DeviceNet Master.Use a DeviceNet Link Unit.W353
Host Link communications (Set the communications
mode to Host Link in the PC Setup.)
No-protocol communications (Set the communications
mode to no-protocol in the PC Setup.)
1:1 NT Link (Set the communications mode to 1:1 NT
Link in the PC Setup.)
1:1 PC Link (Set the communications mode to 1:1 PC
Link in the PC Setup.)
port. (The CPU Unit’s Communications Switch setting
has no effect on this connection.)
The computer can be connected to the Peripheral port
or RS-232C port.
(The Host Link settings in the PC Setup are used
when the switch is OFF; the standard Host Link
communications settings are used when the CPU
Unit’s Communications Switch is ON.)
The RS-232C port and Peripheral port can be used
simultaneously.
Use a CompoBus/S Link Unit.W353
W353
Page
93
W353
Page
81
W353
Page
93
Page
43
Page
44
20
1-5Comparison with the CPM1A
y
eoy)aea
(coueode)
ItemCPM2ACPM1A
Instruction set
Instruction
execution times
Program capacity4,096 words2,048 words
Maximum number
of I/O points
Expansion Units
and Expansion I/O
Units
I/O memory
Memory backup
Interrupt inputs (interrupt input mode)4Same as CPM2A.
Method used to reference the
target value match interrupt
table
Reading range-comparison
results
Reading statusCheck AR 1108 (comparison in
PC SetupPC Setup and INT(89)
(Unmask interrupt input.)
Differential-phase (up/down)
mode
Pulse plus direction mode
Up/down pulse mode
Increment mode
(up/down) mode
20 kHz in pulse plus direction
mode, up/down pulse mode,
and increment mode
differential-phase (up/down)
mode, pulse plus direction
mode, and up/down pulse
mode
0 to 16,777,215 in increment
mode
Same direction, same SV not
possible
Comparison of all values in the
table, regardless of order of
appearance in table
Check AR 1100 to AR 1107 or
execute PRV(62).
progress), check AR 1109
(high-speed counter PV
overflow/underflow), or
execute PRV(62).
mode
Increment mode
2.5 kHz in differential-phase
(up/down) mode,
5 kHz in increment mode
–32,768 to 32,767 in
differential-phase (up/down)
mode
0 to 65,535 in increment mode
Same direction, same SV
possible
Comparison in order of
appearance in table
Check AR 1100 to AR 1107.
---
1-5SectionComparison with the CPM1A
22
ItemCPM1ACPM2A
coo
y
Pulse output
control
Analog controls22
Clock function
Analog I/OAnalog I/O Units can be
Temperature monitoringThe CPU Unit can receive
CompoBus/S communicationsA CompoBus/S I/O Link Unit
DeviceNet communicationsA DeviceNet Link Unit can be
Communications switchThis switch determines
Battery
Communications
(in CPU Unit)
Input time constantCan be set to 1, 2, 3, 5, 10, 20,
Trapezoidal acceleration/
deceleration
PWM(––) outputSupported.Not supported.
Number of simultaneous pulse
outputs
Maximum frequency10 kHz max.2 kHz max.
Minimum frequency10 Hz20 Hz
Pulse output quantity–16,777,215 to 16,777,2150 to 16,777,215
Direction controlSupported.Not supported.
Positioning to absolute positions Supported.Not supported.
Bit status while pulses are being
output
Reading PVRead SR 228 through SR 231
Resetting PVSupported.Not supported.
Status outputsAccelerating/decelerating
Words containing time info.AR 17 to AR 21---
BatteryLithiumNone (capacitor backup only)
Battery replacementPossible--Life expectancy/backup time5-year lifetime at 25°C20-day backup at 25°C
Battery error detectionSupported.---
Peripheral portProgramming Console
RS-232C portHost Link
Supported with ACC(––). The
initial frequency can be set.
2 max.1 max.
No effectTurned ON/OFF by pulse
or execute PRV(62).
PV overflow/underflow
Pulse quantity set
Pulse output completed
Pulse output status
InternalNone
connected.
temperature sensor input from
either thermocouples or
platinum resistance
thermometers.
can be connected to provide
CompoBus/S Slave functions.
connected to provide
DeviceNet slave functions.
whether communications are
governed by the standard
settings or PC Setup settings.
(auto-detect)
Peripheral bus (auto-detect)
Host Link (with Slave-initiated
communications)
No-protocol
No-protocol
1:1 PC LInk
1:1 NT Link
40, or 80 ms. (Default: 10 ms)
1-5SectionComparison with the CPM1A
Not supported.
output
Not supported.
Pulse output status
Same as CPM2A.
Same as CPM2A.
Same as CPM2A.
Same as CPM2A.
None
Programming Console
(auto-detect)
Peripheral bus (auto-detect)
Host Link
1:1 PC LInk
1:1 NT Link
None
Can be set to 1, 2, 4, 8, 16, 32,
64, or 128 ms. (Default: 8 ms)
23
Differences in Instruction Sets
Instructions added to the CPM2A
MnemonicName
TXD(48)TRANSMIT
RXD(47)RECEIVE
SCL(66)SCALING
SCL2(––)SIGNED BINARY TO BCD SCALING
SCL3(––)BCD TO SIGNED BINARY SCALING
SRCH(––)DATA SEARCH
MAX(––)FIND MAXIMUM
MIN(––)FIND MINIMUM
SUM(––)SUM CALCULATION
FCS(––)FCS CALCULATE
HEX(––)ASCII-TO-HEXADECIMAL
AVG(––)AVERAGE VALUE
PWM(––)PULSE WITH VARIABLE DUTY RATIO
PID(––)PID CONTROL
ZCP(––)AREA RANGE COMPARE
ZCPL(––)DOUBLE AREA RANGE COMPARE
NEG(––)2’S COMPLEMENT
ACC(––)ACCELERATION CONTROL
STUP(––)CHANGE RS-232C SETUP
SYNC(––)SYNCHRONIZED PULSE CONTROL
BINL(58)DOUBLE BCD TO DOUBLE BINARY
BCDL(59)DOUBLE BINARY TO DOUBLE BCD
TMHH(––)VERY HIGH-SPEED TIMER
TIML(––)LONG TIMER
SEC(––)HOURS-TO-SECONDS
HMS(––)SECONDS-TO-HOURS
1-5SectionComparison with the CPM1A
Instructions with Changed Specifications
MnemonicNameCPM2ACPM1A
INI(61)MODE CONTROLSupports the interrupt input (counter mode) PV
change operation.
Supports the pulse output PV change operation.
Supports the pulse synchronization control stop
operation.
PRV(62)HIGH-SPEED
COUNTER PV READ
CTBL(63)COMPARISON TABLE
LOAD
PULS(65)SET PULSESSupports absolute pulse specification, but the
INT(89)INTERRUPT CONTROLSupports a count-up interrupt for incrementing
Supports the interrupt input (counter mode) PV read
operation.
Supports the pulse output PV read operation.
The count is compared with all of the target values
in the target value comparison table.
coordinate system must be set to absolute
coordinates.
counters.
Does not support these
operations.
Does not support these
operations.
The count is compared
with each target value in
the order that they
appear in the target
value comparison table.
Does not support
absolute pulse
specification.
Does not support this
interrupt function.
24
CautionBefore using a CPM1A program containing one or more of the instructions in the
(())
!
table above, check the program to be sure that it will operate properly and edit
the program if necessary. The CPM2A may not operate properly if a CPM1A program with these instructions is transferred and executed unchanged.
1-5SectionComparison with the CPM1A
Added Function Code
Allocations
Differences in I/O Memory
SR Area Differences
AR Area Differences
The following three instructions are allocated function codes that were not used
in the CPM1A.
InstructionCPM2ACPM1A
RXD(47)RECEIVE
TXD(48)TRANSMIT
SCL(66)SCALING
Not allocated. (NOP(00))
The following table shows differences in the SR area. (PV is the abbreviation for
present value.)
FunctionCPM2ACPM1A
Pulse output 0 PVSR 228 to SR 229
Pulse output 1 PVSR 230 to SR 231
Pulse output 0 PV Reset BitSR 25204
Pulse output 1 PV Reset BitSR 25205
RS-232C Port Reset BitSR 25209
Battery Error FlagSR 25308
Changing RS-232C Port Setup FlagSR 25312
Not
supported.
The following table shows differences in the AR area.
FunctionCPM2ACPM1A
Clock/calendar dataAR 17 to AR 21
RS-232C Communications Error CodeAR 0800 to AR 0803
RS-232C Error FlagAR 0804
RS-232C Transmission Enabled FlagAR 0805
RS-232C Reception Completed FlagAR 0806
RS-232C Reception Overflow FlagAR 0807
Peripheral Port Reception Completed FlagAR 0814
Peripheral Port Reception Overflow FlagAR 0815
RS-232C Reception CounterAR 09
High-speed Counter Comparison FlagAR 1108
High-speed Counter Overflow/Underflow FlagAR 1109
Pulse Output 0 ConditionAR 1111
Pulse Output 0 PV Overflow/Underflow FlagAR 1112
Pulse Output 0 Pulse Quantity Set FlagAR 1113
Pulse Output 0 Output Completed FlagAR 1114
Pulse Output 1 PV Overflow/Underflow FlagAR 1212
Pulse Output 1 Pulse Quantity Set FlagAR 1213
Pulse Output 1 Output Completed FlagAR 1214
Pulse Output 1 Output StatusAR 1215
Power OFF CounterAR 23 (See note.)AR 10
Not
supported.
Note CPM1A programs that use AR 10 (the Power OFF Counter) cannot be used in
the CPM2A without editing the program. In the CPM2A, the Power OFF Counter
is in AR 23.
25
1-6SectionPreparation for Operation
DM Area Differences
The following table shows differences in the DM area other than the PC Setup.
FunctionCPM2ACPM1A
Error Log AreaDM 2000 to DM 2021 DM 1000 to DM 1021
Note CPM1A programs that use the Error Log Area cannot be used in the CPM2A
without editing the program to change the location of the Error Log Area.
The following table shows differences in the PC Setup.
FunctionCPM2ACPM1A
RS-232C Port Servicing Time SettingDM 6616 bits 00 to 07
RS-232C Port Servicing Time EnableDM 6616 bits 08 to 15
Pulse Output 0 Coordinate SystemDM 6629 bits 00 to 03
Pulse Output 1 Coordinate SystemDM 6629 bits 04 to 07
RS-232C Communications Settings SelectorDM 6645 bits 00 to 03
RS-232C Port CTS Control SettingsDM 6645 bits 04 to 07
RS-232C Port Link Words for 1:1 PC LinkDM 6645 bits 08 to 11
RS-232C Port Communications ModeDM 6645 bits 12 to 15
RS-232C Port Baud RateDM 6646 bits 00 to 07
RS-232C Port Frame FormatDM 6646 bits 08 to 15
RS-232C Port Transmission DelayDM 6647
RS-232C Port Host Link Node NumberDM 6648 bits 00 to 07
RS-232C Port No-protocol Start Code EnableDM 6648 bits 08 to 11
RS-232C Port No-protocol End Code EnableDM 6648 bits 12 to 15
RS-232C Port No-protocol Start Code SettingDM 6649 bits 00 to 07
RS-232C Port No-protocol End Code Setting
or Number of Bytes Received
Peripheral Port No-protocol Start Code Enable DM 6653 bits 08 to 11
Peripheral Port No-protocol End Code EnableDM 6653 bits 12 to 15
Peripheral Port No-protocol Start Code Setting DM 6654 bits 00 to 07
Peripheral Port No-protocol End Code Setting
or Number of Bytes Received
Battery Error Detect SettingDM 6655 bits 12 to 15
DM 6649 bits 08 to 15
DM 6654 bits 08 to 15
Not
supported
1-6Preparation for Operation
Follow the steps listed below when setting up a CPM2A system.
1, 2, 3...1. System Design
• Select a CPM2A CPU Unit, Expansion Units and Expansion I/O Units with
the specifications required in the controlled system.
• Design external fail-safe circuits such as interlock circuits and limit circuits.
Refer to 2-1 Specifications and 3-1 Design Precautions for details.
2. Installation
• Install the CPU Unit. (Surface-mount or DIN-track installation)
• Install the Expansion Unit(s) and Expansion I/O Unit(s).
Refer to 3-3 Installing the CPM2A and 3-4 Wiring and Connections for details.
3. Wiring
• Wire the power supply and I/O devices.
• Connect communications devices if necessary.
• Connect the Programming Console.
Refer to 3-4 Wiring and Connections for details.
26
4. Initial Settings
• Turn OFF the CPU Unit’s Communications Switch, if necessary.
(When this switch is OFF, communications with devices other than the
Programming Console are governed by the settings in the PC Setup.)
• Connect the Programming Console, set the mode switch to PROGRAM
mode, and turn ON the PC.
• Check the CPU Unit’s LED indicators and the Programming Console’s dis-
play.
• Clear the PC’s memory. (All Clear)
• Make PC Setup settings.
Refer to 3-3 Installing the CPM2A for details.
5. Create Ladder Program
• Create a ladder program to control the system.
Refer to the Programming Manual for details.
6. Write Ladder Program in PC
• Write the ladder program in the PC with the Programming Console or
transfer the program to the PC from the Support Software.
Refer to Section 4 Using Programming Devices, to the SYSMAC SupportSoftware Operation Manuals and to the CPT User Manual for details.
7. Test Run
• Check I/O wiring in PROGRAM mode.
• Check and debug program execution in MONITOR mode.
Refer to Section 5 Test Runs and Error Processing for details.
1-6SectionPreparation for Operation
27
SECTION 2
Unit Specifications and Components
This section provides the technical specifications of the Units that go together to create a CPM2A PC and describes the main
components of the Units.
Insulation resistance 20 MΩ min. (at 500 VDC) between the external AC terminals and protective earth
Dielectric strength 2,300 VAC 50/60 Hz for 1 min between the external AC and protective earth
Noise immunityConforms to IEC6100-4-4; 2 kV (power lines)
Vibration resistance10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s2 in X, Y, and Z
Shock resistance147 m/s2 three times each in X, Y, and Z directions
Ambient temperatureOperating: 0° to 55°C
Humidity10% to 90% (with no condensation)
AtmosphereMust be free from corrosive gas
Terminal screw sizeM3
Power interrupt timeAC power supply: 10 ms min.
CPU Unit
weight
Expansion I/O Unit weightUnits with 20 I/O points:300 g max.
Expansion Unit weightAnalog I/O Units (MAD01):150 g max.
AC power100 to 240 VAC, 50/60 Hz
DC power24 VDC
AC power85 to 264 VAC
DC power20.4 to 26.4 VDC
AC power60 VA max.
DC power20 W max.
AC power60 A max.
DC power30 A max.
Supply voltage 24 VDC
Output
capacity
AC power650 g max.700 g max.800 g max.1,000 g max.
DC power550 g max.600 g max.700 g max.900 g max.
300 mA: Use for input devices only. Cannot be used to drive outputs.
(When the external power supply provides an overcurrent or is short circuited, the
external power supply voltage will drop and PC operation will stop.)
(If 3 CPM1A-MAD11 Units are connected to the CPM2A-60CDR-A, then only a
maximum of 200 mA can be used from the external power supply.)
terminals
terminals, leakage current: 10 mA max.
directions for 80 minutes each
(Time coefficient; 8 minutes × coefficient factor 10 = total time 80 minutes)
Storage: –20° to 75°C
DC power supply: 2 ms min.
(A power interruption occurs if power falls below 85% of the rated voltage for longer
than the power interrupt time.)
Units with 8 output points:250 g max.
Units with 8 input points:200 g max.
Analog I/O Units (MAD11):250 g max.
Temperature Sensor Units:250 g max.
CompoBus/S I/O Link Units: 200 g max.
DeviceNet I/O Link Units:200 g max.
CPU Units with
30 I/O points
CPU Units with
40 I/O points
CPU Units with
60 I/O points
30
SpecificationsSection 2-1
2-1-2Characteristics
ItemSpecification
Control methodStored program method
I/O control methodCyclic scan with direct output (Immediate refreshing can be performed with IORF(97).)
Read-only: 456 words (DM 6144 to DM 6599)
PC Setup: 56 words (DM 6600 to DM 6655)
*The Error Log is contained in DM 2000 to DM 2021.
(Shared by the external interrupt inputs (counter mode) and the quick-response inputs.)
Counter interrupt: 1 (set value comparison or set-value range comparison)
Four inputs (Shared by the external interrupt inputs (counter mode) and the
quick-response inputs.)
Counter interrupts: 4 (Shared by the external interrupt inputs and quick-response inputs.)
control.
One point with trapezoid acceleration/deceleration, 10 Hz to 10 kHz, and direction control.
Two points with variable duty-ratio outputs.
(Pulse outputs can be used with transistor outputs only, they cannot be used with relay
outputs.)
A pulse output can be created by combining the high-speed counter with pulse outputs
and multiplying the frequency of the input pulses from the high-speed counter by a fixed
factor.
(This output is possible with transistor outputs only, it cannot be used with relay outputs.)
31
SpecificationsSection 2-1
ItemSpecification
Input time constant
(ON response time =
OFF response time)
Clock functionShows the year, month, day of the week, day, hour, minute, and second.
Communications functionsBuilt-in peripheral port:
Functions provided by
Expansion Units
Memory protection
(See notes 1 and 2.)
Memory backup
(See notes 1 and 2.)
Self-diagnostic functionsCPU Unit failure (watchdog timer), I/O bus error, battery error, and memory failure
Program checksNo END instruction, programming errors (checked when operation is started)
Can be set for all input points.
(1 ms, 2 ms, 3 ms, 5 ms, 10 ms, 20 ms, 40 ms, or 80 ms)
(Backed up by the battery.)
Supports Host Link, peripheral bus, no-protocol, or Programming Console connections.
Built-in RS-232C port:
Supports Host Link, no-protocol, 1:1 Slave Unit Link, 1:1 Master Unit Link, or 1:1 NT Link
connections.
Analog I/O Unit: Provides 2 analog inputs and 1 analog output.
Temperature Sensor Unit: Provides up to 6 or 12 thermocouple or platinum resistance
thermometer inputs.
CompoBus/S I/O Link Unit: Provides 8 inputs and 8 outputs as a CompoBus/S Slave.
DeviceNet I/O Link Unit: Provides 32 inputs and 32 outputs as a DeviceNet Slave.
HR area, AR area, program contents, read/write DM area contents, and counter values
maintained during power interruptions.
Flash memory:
Program, read-only DM area, and PC Setup
Battery backup:
The read/write DM area, HR area, AR area, and counter values are backed up by a
battery. (Battery life is approximately 5 years at 25°C.)
Note1. The DM area, HR area, AR area, and counter values are backed up by the
CPU Unit’s built-in battery. If the battery is discharged, the contents of these
areas will be lost and the data values will revert to the defaults.
2. The contents of the program area, read-only DM area (DM 6144 to
DM 6599), and PC Setup (DM 6600 to DM 6655) are stored in flash
memory. The contents of these areas will be read from flash memory the
next time the power is turned ON, even if the backup battery is discharged.
When data has been changed in any of these areas, write the new values to
flash memory by switching the CPM2A to MONITOR or RUN mode, or by
turning the power OFF and then ON again.
32
pp
p
g
p
SpecificationsSection 2-1
2-1-3I/O Specifications
CPU Unit Input Specifications
ItemInputsSpecification
Input voltageAll24 VDC
Input impedance
IN00000 to IN00001 2.7 kΩ
IN00002 to IN00006 3.9 kΩ
IN00007 and up4.7 kΩ
Input current
IN00000 to IN00001 8 mA typical
IN00002 to IN00006 6 mA typical
IN00007 and up5 mA typical
ON voltage/current
IN00000 to IN00001 17 VDC min., 5 mA
IN00002 and up14.4 VDC min., 3 mA
OFF voltage/current All5.0 VDC max., 1 mA
ON delayAll1 to 80 ms max. Default: 10 ms (See note.)
OFF delayAll1 to 80 ms max. Default: 10 ms (See note.)
Circuit configuration
IN00000 to IN00001
+10%
/
–15%
COM
IN
2.7 kΩ
IN
0.01 µF
680 Ω
Input LED
Internal
circuits
IN00002 to IN00006
IN00007 and up
COM
COM
IN
3.9 kΩ
IN
750 Ω
IN
4.7 kΩ
IN
750 Ω
Input LED
Input LED
Internal
circuits
Internal
circuits
Note The input time constant can be set to 1, 2, 3, 5, 10, 20, 40, or 80 ms in the PC
Setup.
High-speed Counter Inputs
Inputs IN00000 through IN00002 can be used as high-speed counter inputs, as
shown in the following table. The maximum count frequency is 5 kHz in differential phase mode and 20 kHz in the other modes.
IN00002 Z-phase pulse input or hardware reset input
(IN00002 can be used as a normal input when it is not used as a high-speed counter input.)
Function
Up/down input modeIncrement mode
33
SpecificationsSection 2-1
The minimum pulse widths for inputs IN00000 (A-phase input) and IN00001 (Bphase input) are as follows:
Pulse plus direction input mode, Up/down input
mode, Increment mode
50 µs min.
12.5 µs
min.
12.5 µs
min.
The minimum pulse width for input IN00002 (Z-phase input) is as follows:
Interrupt Inputs
Inputs IN00003 through IN00006 can be used as interrupt inputs (interrupt input
mode or counter mode) and quick-response inputs. The minimum pulse width
for these inputs is 50 µs.
Phase A
Phase B
Phase Z
Differential phase mode
100 µs min.
T1T2T3T
T
T
T
1
2
50 µs min.
500 µs
min.
4
T
: 12.5 µs min.
3
4
Expansion I/O Unit Input Specifications
ItemSpecification
Input voltage24 VDC
Input impedance4.7 kΩ
Input current5 mA typical
ON voltage14.4 VDC min.
OFF voltage5.0 VDC max.
ON delay1 to 80 ms max. Default: 10 ms (See note.)
OFF delay1 to 80 ms max. Default: 10 ms (See note.)
Circuit configuration
Note The input time constant can be set to 1, 2, 3, 5, 10, 20, 40, or 80 ms in the PC
+10%
Setup.
/
–15%
COM
IN
4.7 kΩ
IN
750 Ω
Input LED
Internal
circuits
34
CautionDo not apply voltage in excess of the rated voltage to the input terminal. It may
!
result in damage to the product or fire.
SpecificationsSection 2-1
CPU Unit and Expansion I/O Unit Output Specifications
OUT01000 and OUT01001:4.5 to 30 VDC, 0.2 A/output (See note 1.)
OUT01002 and up:4.5 to 30 VDC, 0.3 A/output
0.8 A/common
1.6 A/Unit
(See note 2.)
0.1 mA max.
30CDT-D
30CDT1-D
0.8 A/common
2.4 A/Unit
(See note 2.)
40CDT-D
40CDT1-D
0.8 A/common
3.2 A/Unit
(See note 2.)
current
Residual
1.5 V max.
voltage
ON
delay
OFF
delay
OUT01000 and OUT01001:20 µs max.
OUT01002 and up:0.1 ms max.
OUT01000 and OUT01001:40 µs max. for 4.5 to 26.4 V, 10 to 100 mA
0.1 ms max. for 4.5 to 30 V, 10 to 200 mA
OUT01002 and up:1 ms max.
Fuse1 fuse/output (cannot be replaced by user)1 fuse/common
Circuit
configura
tion
Sinking Outputs
Output LED
Internal
circuits
OUT
OUT
24 VDC/4.5 to 30 VDC
COM (–)
Specification
60CDT-D
60CDT1-D
0.8 A/common
4.8 A/Unit
(See note 2.)
Sourcing Outputs
Output LED
Internal
circuits
8ET
8ET1
0.9 A/common
1.8 A/Unit
(See note 2.)
COM (+)
24 VDC/4.5 to 30 VDC
OUT
20EDT
20EDT1
24 VDC
+10%
/
–5%
0.3 A/output
0.9 A/common
1.8 A/Unit
0.1 ms max.
1 ms max.
(24 VDC
+10%
/
–5%
5 to 300 mA)
(cannot be
replaced by user)
,
,
OUT
Note1. When using OUT01000 or OUT01001 as a pulse output, connect a dummy
resistor as required to bring the load current between 0.01 and 0.1 A. If the
load current is below 0.1 A, the ON-to-OFF response time will be longer and
high-speed pulses (source-type transistor outputs) will not be output. If the
load current is above 0.1 A, the transistor will generate more heat and components may be damaged.
2. The total for OUT01000 to OUT 01003 must be 0.8 A maximum. If the ambient temperature is maintained below 50 °C, however, up to 0.9 A/common
can be used.
CautionDo not apply voltage in excess of the maximum switching capacity to an output
!
terminal. It may result in damage to the product or fire.
36
Unit Components
2-2Unit Components
2-2-1CPU Unit Components
CPU Units with 20 or 30 I/O Terminals
Section 2-2
2. Functional ground terminal
(AC power supplies only)
1. Power supply input terminals
10. Analog controls
11. Peripheral Port
7. PC Status Indicators
14. Battery compartment
4. External Power supply terminals
(AC power supplies only)
CPU Units with 40 I/O Terminals
3. Protective ground terminal
5. Input terminals
8. Input indicators
(0CH only for
20-point CPU Units)
12. RS-232C port
15. Expansion
connector cover
13. Communications
Switch
9. Output indicators
(10CH only for
20-point CPU Units)
6. Output terminals
CPU Units with 60 I/O Terminals
37
(yeo)
Unit Components
CPU Unit Component Descriptions
1, 2, 3...1. Power Supply Input Terminals
Connect the power supply (100 to 240 VAC or 24 VDC) to these terminals.
Section 2-2
2. Functional Ground Terminal (
)
Be sure to ground this terminal (AC-type PCs only) to enhance immunity to
noise and reduce the risk of electric shock.
3. Protective Ground Terminal (
)
Be sure to ground this terminal to reduce the risk of electric shock.
4. External Power Supply Terminals
CPM2A PCs are equipped with these 24-VDC power output terminals to
supply power to input devices. (AC-type PCs only.)
5. Input Terminals
Connects the CPU Unit to external input devices.
6. Output Terminals
Connects the CPU Unit to external output devices.
7. PC Status Indicators
These indicators show the operating status of the PC, as shown in the fol-
lowing table.
IndicatorStatusMeaning
PWR
(green)
RUN
(green)
COMM
(yellow)
ERR/ALARM
(red)
ONPower is being supplied to the PC.
OFFPower isn’t being supplied to the PC.
ONThe PC is operating in RUN or MONITOR mode.
OFFThe PC is in PROGRAM mode or a fatal error has
occurred.
Flashing Data is being transferred via the Peripheral port or
RS-232C port.
OFFData isn’t being transferred via the Peripheral port
or RS-232C port.
ONA fatal error has occurred. (PC operation stops.)
Flashing A non-fatal error has occurred. (PC operation
continues.)
OFFIndicates normal operation.
8. Input Indicators
The input indicators are lit when the corresponding input terminal is ON. The
indicators are lit during I/O refreshing.
When a fatal error occurs, the input indicators change as follows:
Fatal errorInput indicators
CPU Unit error, I/O bus error,
or too many I/O Units
Memory error or FALS (fatal
system) error
Turn OFF.
The indicators will change with the status of
the input signal, but input status will not be
updated in memory.
Note a) When interrupt inputs are used in interrupt input mode, the indica-
tor may not light even when the interrupt condition is met if the input is not ON long enough.
b) When high-speed counters are used, the input indicator may not
light if the input pulse is too fast.
9. Output Indicators
The output indicators are lit when the corresponding output terminal is ON.
The indicators are lit during I/O refreshing. When pulse outputs are being
used, the indicator will remain lit continuously while the pulses are being output.
38
pg
Unit Components
Section 2-2
10. Analog Controls
Turn these controls to change the analog settings (0 to 200) in IR 250 and
IR 251.
11. Peripheral Port
Connects the PC to a Programming Device (including Programming
Consoles), host computer, or standard external device.
12. RS-232C Port
Connects the PC to a Programming Device (excluding Programming
Consoles), host computer, Programmable Terminal, or standard external
device.
RS-232C Port Pin Allocation
FG
SD
RD
RTS
CTS
1
2
3
4
5
6
5 V
7
---
8
---
9
SG
Applicable Connector
(Factory-set to OFF)
NameModelSpecifications
PlugXM2A-0901
HoodXM2S-0911-EAnti-ESD
9-pin male
(electro
discharge) for the
-pin metric
9
screw
-static
Combine the plug
and hood.
13. Communications Switch
This switch selects whether the Peripheral port and RS-232C port will use
the communications settings in the PC Setup or the standard settings.
OFFThe Peripheral port and RS-232C port operate according to the
ONThe Peripheral port and RS-232C port operate according to the
communications settings in the PC Setup, except for a Programming
Console connected to the Peripheral port.
standard communications settings, except for Programming Consoles
connected to the Peripheral port.
Note This switch’s setting has no effect on communications with a Pro-
gramming Console connected to the Peripheral port. It affects the
RS-232C port.
14. Battery
This battery backs up memory in the CPU Unit and is connected when the
Unit is shipped.
15. Expansion Connector
Connects the PC’s CPU Unit to an Expansion I/O Unit or Expansion Unit
(Analog I/O Unit, Temperature Sensor Unit, or CompoBus/S I/O Link Unit).
Up to 3 Expansion Units or Expansion I/O Units can be connected to a CPU
Unit.
Note If an NT-AL001 is connected to the CPM2A’s RS-232C port, only one
Expansion Unit or Expansion I/O Unit can be connected to the CPU
Unit because the NT-AL001 draws its 5-VDC power from the CPU
Unit.
39
Unit Components
2-2-2Expansion I/O Unit Components
Expansion I/O Unit with 20 I/O Terminals
5. Expansion I/O connecting cable
Expansion I/O Unit with 8 Input Terminals
Section 2-2
1. Input terminals
3. Input indicators
6. Expansion connector
4. Output indicators
2. Output terminals
1. Input terminals
5. Expansion I/O connecting cable
Expansion I/O Unit with 8 Output Terminals
5. Expansion I/O connecting cable
1, 2, 3...1. Input Terminals
Connects the CPU Unit to external input devices.
2. Output Terminals
Connects the CPU Unit to external output devices.
3. Input Indicators
The input indicators are lit when the corresponding input terminal is ON.
4. Output Indicators
The output indicators are lit when the corresponding output terminal is ON.
5. Expansion I/O Connecting Cable
Connects the Expansion I/O Unit to the expansion connector on the PC’s
CPU Unit, an Expansion Unit, or another Expansion I/O Unit.
04 05 06 07
3. Input indicators
6. Expansion connector
1. Input terminals
2. Output terminals
4. Output indicators
04 05 06 07
6. Expansion connector
2. Output terminals
40
Unit Components
CautionDo not touch the expansion I/O connecting cable while the power is being sup-
!
plied in order to prevent any malfunction due to static electricity.
6. Expansion Connector
Connects to another Expansion I/O Unit or an Expansion Unit (Analog I/O
Unit, Temperature Sensor Unit, or CompoBus/S I/O Link Unit). Up to 3 Expansion Units or Expansion I/O Units can be connected to a CPU Unit.
2-2-3Analog I/O Unit Components
CPM1A-MAD01
Section 2-2
3. Expansion connector
2. Expansion I/O Unit Connecting Cable
CPM1A-MAD11
1. Analog I/O terminals
1, 2, 3...1. Analog I/O Terminals
Connects the Unit to analog input devices and analog output devices.
2. Expansion I/O Unit Connecting Cable
Connects the Analog I/O Unit to the Expansion Connector on the PC’s CPU
Unit or another Expansion Unit. The cable is connected to the Analog I/O
Unit and cannot be removed.
CautionDo not touch the Expansion I/O Unit Connecting Cable while the power is being
!
supplied in order to prevent any malfunction due to static electricity.
3. Expansion Connector
Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or
CompoBus/S I/O Link Unit). Up to 3 Expansion Units can be connected to a
CPU Unit.
4. DIP Switch
2. Expansion I/O Unit Connecting Cable
1, 2, 3...1. Analog I/O Terminals
Connects the Unit to analog input devices and analog output devices.
2. Expansion I/O Unit Connecting Cable
Connects the Analog I/O Unit to the Expansion Connector on the PC’s CPU
Unit or another Expansion Unit. The cable is connected to the Analog I/O
Unit and cannot be removed.
3. Expansion connector
1. Analog I/O terminals
41
Unit Components
CautionDo not touch the Expansion I/O Unit Connecting Cable while the power is being
!
supplied in order to prevent any malfunction due to static electricity.
3. Expansion Connector
Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or
CompoBus/S I/O Link Unit). Up to 3 Expansion Units can be connected to a
CPU Unit.
4. DIP Switch
Used to set averaging processing.
2-2-4Temperature Sensor Unit Components
Section 2-2
2. DIP switch
4. Expansion I/O connecting cable
1, 2, 3...1. Temperature Input Terminals
Connect to a thermocouple or a platinum resistance thermometer.
2. DIP Switch
Sets the temperature unit (°C or °F), and the number of decimal places
used.
3. Rotary switch
5. Expansion connector
1. Temperature input terminals
ON
12
Number of decimal places used
OFF: Normal (0 or 1); ON: 2
Temperature unit
OFF: °C; ON: °F
42
3. Rotary Switch
Sets the temperature range. Set the range in accordance with the specifications of the temperature sensor used.
CPM1A-TS001/002
Set valueThermocoupleRange (°C)Range (°F)
0
10.0 to 500.00.0 to 900.0
2
30.0 to 400.00.0 to 750.0
4 to F---Setting not possible
K
J
–200 to 1,300–300 to 2,300
–100 to 850–100 to 1,500
Unit Components
Section 2-2
CPM1A-TS101/102
Set valuePlatinum resistance
thermometer
0Pt100–200.0 to 650.0–300.0 to 1,200.0
1JPt100–200.0 to 650.0–300.0 to 1,200.0
2 to F---Setting not possible
4. Expansion I/O Connecting Cable
Connects the Temperature Sensor Unit to the expansion connector on the
PC’s CPU Unit, an Expansion I/O Unit, or another Expansion Unit. The cable
is connected to the Temperature Sensor Unit and cannot be removed.
CautionDo not touch the expansion I/O connecting cable while the power is being sup-
!
plied in order to prevent any malfunction due to static electricity.
5. Expansion Connector
Connects to an additional Expansion I/O Unit or another Expansion Unit.
2-2-5CompoBus/S I/O Link Unit Components
Range (°C)Range (°F)
2. DIP switch
3. LED indicators
NODE ADDRESS
124
ON
4. Expansion I/O connecting cable
1, 2, 3...1. CompoBus/S Terminals
Include the CompoBus/S communications data high/low terminal, communications power supply +/– terminals, and NC terminals. Power is supplied
to the Unit internally, so the power supply terminals can be used as relay
terminals.
2. DIP Switch
The DIP switch sets the Unit’s node address, sets the communications
mode, and determines whether or not the outputs will be cleared in the event
of a communications error.
Pin(s)Function
8
DR
HOLD
SW1
1 to 4
(labeled
1, 2, 4,
and 8)
DRON: Long-distance Communications Mode
HOLDON: Retain outputs when a communications error occurs.
5. Expansion connector
1. CompoBus/S terminals
These pins set the Unit’s node address using the DIP switch pins as
binary digits. (1 = ON)
OFFClear outputs when a communications error occurs.
ONRetain outputs when a communications error occurs.
4. LED Indicators
Indi-
ColorStatusDefinitionMeaning
cator
MSGreen
Red
---OFFNo PowerPower isn’t being supplied, waiting for
NSGreen
Red
---OFFNot
ONDevice
Operational
Flashing Device in
Standby
ONUnrecover-
able Fault
Flashing Minor FaultSwitch settings incorrect, etc.
ONOn-line,
Connected.
Flashing On-line, Not
Connected
ONFatal Com-
munications
Error
Flashing Non–fatal
communications error
Powered/
Not On-Line
Normal operating status.
Reading switch settings.
Unit hardware error: Watchdog timer error
initial processing, or Unit is being reset.
Network is operating normally
(communications established)
Network is operating normally, but
communications are not yet established.
A fatal communications error has
occurred. Network communications are
not possible. Check for a node address
duplication or Bus Off error.
Communications timeout or
communications error for some of the
slaves.
Checking for node address duplication on
the master, switch settings are incorrect,
or the power supply is OFF.
5. Expansion I/O Unit Connecting Cable
Connects the DeviceNet I/O Link Unit to the Expansion Connector on the
PC’s CPU Unit or another Expansion Unit. This cable cannot be removed.
CautionDo not touch the Expansion I/O Unit Connecting Cable while the power is being
!
supplied in order to prevent any malfunction due to static electricity.
6. Expansion Connector
Connects to another Expansion Unit or Expansion I/O Unit
45
SECTION 3
Installation and Wiring
This section provides information on installing and wiring a CPM2A PC. Be sure to follow the directions and precautions in
this section when installing the CPM2A in a panel or cabinet, wiring the power supply, or wiring I/O.
Observe the following precautions when designing a system incorporating a
CPM2A PC.
3-1-1Power Supply Wiring
Separate the power supply wiring from the control system, CPM2A system, and
DC I/O system wiring. Separate the control circuits that supply power to the main
Unit from the main circuits using dedicated circuit protectors and fuses.
3-1-2Power Supply Voltage
CautionUse the power supply voltages indicated in Section 2 Unit Specifications and
!
Components. Failure to adhere to the specifications may result in fire.
If the power supply voltage falls below 85% of the rated voltage, the CPM2A will
stop and all outputs will be turned OFF. If low voltage affects the equipment, etc.,
provide a protection circuit which shuts off the output until the supply voltage returns to the rated value.
In places where power supply conditions are poor, take steps to ensure that
power is supplied at the rated voltage. Be sure to adhere to safety precautions,
such as providing breakers to prevent short circuits in external wiring.
When conducting any of the following operations, turn OFF the power to the PC.
Electrocution, product damage and malfunction may result.
Section 3-2
• Connecting or disconnecting Expansion Units, Expansion I/O Units, and CPU
Units.
• Assembling Units
• Connecting cables and wiring.
3-1-3Interlock and Limit Circuits
WARNING Emergency stop circuits, interlock circuits, limit circuits, and similar safety
!
measures must be provided in external control circuits (i.e., not in the
Programmable Controller) to ensure safety in the system if an abnormality
occurs due to malfunction of the PC or another external factor affecting the PC
operation. Not providing proper safety measures may result in serious
accidents.
The following diagram shows an example of an interlock circuit.
CPM2A
01005
01006
Interlock Circuit
MC2
MC1
MC1
Motor forward
MC2
Motor reverse
In the interlock circuit above, MC1 and MC2 can’t be ON at the same time even if
CPM2A outputs 01005 and 01006 are both ON (an incorrect PC operation).
3-2Selecting an Installation Site
The CPM2A is resistant to harsh conditions and highly reliable, but installing the
PC in a favorable site will maximize its reliability and operating lifetime.
48
Selecting an Installation Site
CautionBe sure to install the CPM2A correctly, as outlined in this manual. Failure to do so
!
may result in Unit malfunction.
3-2-1Installation Site Conditions
Note Do not install the CPM2A under any of the following conditions.
• Locations subject to direct sunlight.
• Locations subject to a temperature below 0°C or over 55°C.
• Locations subject to a humidity below 10% or over 90%.
• Locations subject to condensation as the result of severe changes in tempera-
ture.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salts.
• Locations subject to shock or vibration.
• Locations subject to exposure to water, oil, or chemicals.
Be sure that the conditions at the installation site conform to the CPM2A’s general specifications. Refer to 2-1-1 General Specifications for details.
Note Provide proper shielding when installing in the following locations:
• Locations subject to static electricity or other sources of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radiation.
• Locations near to power supply lines.
Section 3-2
3-2-2Panel/Cabinet Installation
Consider PC operation, maintenance, and surrounding conditions when installing the CPM2A in a panel or cabinet.
OverheatingThe operating temperature range for the CPM2A is 0_C to 55_C. Be sure that
there is adequate ventilation for cooling.
• Allow enough space for air circulation.
• Do not install the CPM2A above equipment that generates a large amount of
heat, such as heaters, transformers, or large resistors.
• Install a cooling fan or system when the ambient temperature exceeds 55_C.
Control panel
Air vent
Electrical NoisePower lines and high-voltage equipment can cause electrical noise in the PC.
• Do not install the CPM2A in a panel or cabinet with high-voltage equipment.
• Allow at least 200 mm between the CPM2A and nearby power lines.
Fan
CPM2A
200 mm min.
CPM2A
200 mm min.
49
Installing the CPM2A
AccessibilityEnsure that the CPM2A can be accessed for normal operation and mainte-
nance.
• Provide a clear path to the CPM2A for operation and maintenance. High-volt-
age equipment or power lines could be dangerous if they are in the way during
routine operations.
• The PC will be easiest to access if the panel or cabinet is installed about 3 to 5
feet above the floor.
Section 3-3
3-3Installing the CPM2A
This section describes how to install the CPM2A and connect Expansion Units
and Expansion I/O Units. Refer to Appendix B for diagrams showing the dimensions of the Units.
3-3-1CPM2A Orientation
The CPM2A must be installed in the position shown below to ensure adequate
cooling.
Correct
Do not install the CPM2A in either of the following positions.
IncorrectIncorrect
3-3-2CPM2A Installation
The CPM2A can be installed on a horizontal surface or on a DIN track.
Surface InstallationUse the following pattern when installing a CPM2A CPU Unit, Expansion Unit, or
Expansion I/O Unit on a vertical surface. (Use M4 dia. x 15 screws.)
Four, M4 holes
100 mm
Unit
8 mmA
50
The width (A) between the mounting holes depends on the Unit.
UnitWidth (A)
(tolerance: ±0.2 mm)
CPU Unit with 20/30 I/O terminals120 mm
CPU Unit with 40 I/O terminals140 mm
g
Installing the CPM2A
Section 3-3
UnitWidth (A)
(tolerance: ±0.2 mm)
CPU Unit with 60 I/O terminals185 mm
Expansion I/O Unit with 20 I/O terminals76 mm
Expansion I/O Unit with 8 input terminals56 mm
Expansion I/O Unit with 8 output terminals56 mm
Analog I/O Unit
CompoBus/S I/O Link Unit56 mm
RS-232C Adapter21 mm
RS-422 Adapter21 mm
Temperature Sensor Unit76 mm
DeviceNet I/O Link Unit56 mm
Allow 10 to 15 mm between the Units when installing an Expansion Unit, Expansion I/O Unit, or Communications Adapter next to the CPU Unit.
MAD0156 mm
MAD1176 mm
21 mm
10 to
15 mm
CPU Unit
10 to
15 mm
81 mm
Communications
Adapter
DIN Track InstallationThe CPM2A can be installed on a 35-mm DIN Track.
End Plates
(PFP-M)
Installation
Lower the CPM2A so that the notch on the back of the PC catches the top of the
DIN Track. Push the PC forward until the lock snaps into place.
100 mm
Expansion Unit
or Expansion I/O
Unit
DIN Track
PFP-100N (1 m)
PFP-50N (50 cm)
PFP-100N2 (1 m)
51
Installing the CPM2A
Removal
Pry the lock down with a flat-blade screwdriver and pivot the PC upward to
remove it.
Screwdriver
3-3-3Connecting an Expansion Unit or Expansion I/O Unit
Up to 3 Expansion Units or Expansion I/O Units can be connected to aCPM2A
CPU Unit. Use the following procedure when connecting an Expansion Unit or
Expansion I/O Unit.
1, 2, 3...1. Remove the cover from the CPU Unit’s or the Expansion I/O Unit’s expan-
sion connector. Use a flat-blade screwdriver to remove the cover from the
Expansion I/O Connector.
Section 3-3
Expansion
connector
cover
2. Insert the Expansion I/O Unit’s connecting cable into the CPU Unit’s or the
Expansion I/O Unit’s expansion connector.
52
Wiring and Connections
3. Replace the cover on the CPU Unit’s or the Expansion I/O Unit’s expansion
connector.
3-4Wiring and Connections
This section provides basic information on wiring the Power Supply Unit, Expansion Units, and Expansion I/O Units, and on connecting Programming Devices.
3-4-1General Precautions for Wiring
Section 3-4
CautionLeave the protective label in place while wiring. The Unit may malfunction if
!
strands of wire get inside the Unit. After completing wiring be sure to remove the
label to avoid overheating.
Protective label
I/O Line NoiseDo not run CPM2A I/O lines in the same duct or conduit as power lines.
Hanging Ducts
Leave at least 300 mm between the power cables and the I/O or control wiring,
as shown in the following diagram.
CPM2A I/O lines
Control cables and
CPM2A power lines
Power cables
300 mm min.
300 mm min.
53
Wiring and Connections
Section 3-4
Floor Ducts
Leave at least 200 mm between the wiring and the top of the duct, as shown in
the following diagram.
CPM2A I/O lines
Conduits
Separate the CPM2A I/O lines, power and control lines, and power cables, as
shown in the following diagram.
CPM2A I/O lines
3-4-2Removing the Terminal Block
The terminal block on the CPM2A CPU Unit can be removed. Use the following
procedure.
The terminal blocks on the Expansion Units and Expansion I/O Units cannot be
removed.
Control cables and
CPM2A power lines
Control cables and
CPM2A power lines
Power cables
Power cables
Metal plate (iron)
200 mm min.
1, 2, 3...1. Loosen the black screws at the ends of the terminal block as shown in the
following diagram.
Black screws
Black screws
54
Wiring and Connections
Section 3-4
2. Lift the terminal block off the CPU Unit.
3-4-3Ground Wiring
GroundingBe sure to ground the earth terminal to less than 100 Ω in order to protect against
electric shock and incorrect operation from electrical noise. Be sure to use a wire
of at least 1.25 mm
WARNING During installation, be sure to ground to 100 Ω max.
!
2
for grounding.
Crimp Terminals
Ground to 100 Ω or less
AC power supply unit
Ground to 100 Ω or less
DC power supply unit
Note Always disconnect the functional earth terminal before conducting a withstand
voltage test.
CautionAlways use crimp terminals for the CPM2A’s ground lines or use solid wire
!
(instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Stray wire strands can short-circuit and cause a fire.
Use M3 crimp terminals and tighten the terminal screws to a torque of 0.5 N S m.
Fork terminalRing terminal
6.2 mm max.6.2 mm max.
The recommended wire size for solid wires is 0.4 to 1.2 mm (AWG26 to AWG18).
55
Wiring and Connections
3-4-4Power Supply Wiring
Section 3-4
100- to 240-VAC Power
Supply
Wire a separate circuit for the CPM2A’s power supply circuit so that there isn’t a
voltage drop from the inrush current that flows when other equipment is turned
on.
When several CPM2A PCs are being used, it is recommended to wire the PCs
on separate circuits to prevent a voltage drop from the inrush current or incorrect
operation of the circuit breaker.
Use twisted power supply wires to prevent noise from the power supply lines.
Adding a 1:1 isolating transformer reduces electrical noise even further.
Considering the possibility of voltage drops and the allowable current, be sure to
use thick power lines.
AC
power
supply
Twist the wires. The cross-sectional area
of each wire must be 1.25 mm
Isolating
transformer
Breaker
2
min.
Crimp Terminals
Note1. Before connecting the power supply, make sure that the CPU Unit requires
an AC power supply and not a DC power supply. The CPU Unit’s internal
circuitry will be damaged if AC power is mistakenly supplied to a CPU Unit
that requires a DC power supply.
2. The power supply input terminals are at the top of the CPU Unit; the terminals at the bottom of the CPU Unit output 24-VDC power for external devices. The CPU Unit’s internal circuitry will be damaged if AC power is mistakenly supplied to a CPU Unit’s power supply output terminals.
CautionTighten the terminal block screws of the AC Power Supply to the torque of
!
0.5 N S m. Loose screws may result in fire or malfunction.
CautionAlways use crimp terminals for the CPM2A’s power lines. Do not connect bare
!
stranded wires directly to terminals. Stray wire strands can short-circuit and
cause a fire.
Use M3 crimp terminals and tighten the terminal screws to a torque of 0.5 N S m.
Connect a ring terminal to each terminal screw.
Ring terminal
56
6.2 mm max.
Wiring and Connections
24-VDC Power SupplyUse a DC power supply with sufficient capacity and low ripple.
24 VDC
Note1. Do not perform a dielectric test on the DC power supply terminals on the
CPU Unit. The test might damage the PC’s internal components.
2. When equipment must conform to the EC Directives (Low-voltage Directives), use a power supply with double insulation or reinforced insulation.
Crimp Terminals
CautionAlways use crimp terminals for the CPM2A’s power lines or use solid wire
!
(instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Stray wire strands can short-circuit and cause a fire.
Section 3-4
Use M3 crimp terminals and tighten the terminal screws to a torque of 0.5 N S m.
Fork terminalRing terminal
6.2 mm max.6.2 mm max.
The recommended wire size for solid wires is 0.4 to 1.2 mm (AWG26 to AWG18).
57
Wiring and Connections
3-4-5Input Wiring
Wire the inputs to the CPM2A’s CPU Unit and Expansion I/O Units as shown in
the following diagrams. Use crimp terminals or solid wires (not stranded wire) to
connect to the PC. The power supply output terminals can be used with CPU
Units with AC power supplies.
Note When equipment must conform to the EC Directives (Low-voltage Directives),
use a power supply with double insulation or reinforced insulation.
Input ConfigurationThe following diagrams show the input configurations.
Note Refer to Section 3 Memory Areas in the Programming Manual (W353) for details
on the allocation of input bits in CPM2A PCs.
CPM2A-20CDR-j, CPM2A-20CDT-D, and CPM2A-20CDT1-D
Terminals 00 through 11 of “0CH” correspond to bits IR 00000 through IR 00011.
Section 3-4
24 VDC
24 VDC
Input
devices
CPM2A-30CDR-j, CPM2A-30CDT-D, and CPM2A-30CDT1-D
Terminals 00 through 11 of “0CH” correspond to bits IR 00000 through IR 00011,
terminals 00 through 05 of “1CH” correspond to bits IR 00100 through IR 00105.
Input
devices
58
Wiring and Connections
Section 3-4
CPM2A-40CDR-j, CPM2A-40CDT-D, and CPM2A-40CDT1-D
Terminals 00 through 11 of “0CH” correspond to bits IR 00000 through IR 00011,
terminals 00 through 11 of “1CH” correspond to bits IR 00100 through IR 00111.
24 VDC
Input
devices
59
Wiring and Connections
Section 3-4
CPM2A-60CDR-j, CPM2A-60CDT-D, and CPM2A-60CDT1-D
Terminals 00 through 11 of “0CH” correspond to bits IR 00000 through IR 00011,
terminals 00 through 11 of “1CH” correspond to bits IR 00100 through IR 00111,
terminals 00 through 11 of “2CH” correspond to bits IR 00200 through IR 00211.
Input
devices
60
24 VDC
Wiring and Connections
Section 3-4
CPM1A-20EDR1, CPM1A-20EDT, and CPM1A-20EDT1
Terminals 00 through 11 of “mCH” correspond to bits 00 through 11 of word IR m.
24 VDC
Input
devices
CPM1A-8ED
Terminals 00 through 07 of “mCH” correspond to bits 00 through 07 of word IR m.
24 VDC
Input
devices
040506
07
Note Although the commons are connected internally, they must all be wired.
61
Wiring and Connections
Section 3-4
Input Wiring ExampleA CPU Unit with an AC power supply is shown. CPU Units with DC power sup-
plies don’t have power supply outputs.
Input devices
External power supply output:
WARNING When the 24-VDC output (service power supply to the PC) is overloaded or
!
300 mA at 24 VDC for CPU Units with 20, 30, 40, or 60 I/O points
(CPU Units with a AC power supply input only.)
short-circuited, the voltage may drop and result in the outputs being turned OFF.
External safety measures must be provided to ensure safety in the system. Not
providing proper safety measures may result in serious accidents.
62
Wiring and Connections
Input DevicesThe following table shows how to connect various input devices.
DeviceCircuit diagram
Relay output
Section 3-4
NPN open collector
NPN current output
PNP current output
Constant
current
circuit
5 mA/12 mA
Output
5 mA/12 mA
0 V
Output
5 mA/12 mA
0 V
5 mA/12 mA
Output
0 V
Sensor
power supply
Sensor power
supply
IN
COM (+)
IN
COM (+)
Use the same power supply for
the input and sensor.
IN
+
COM (+)
IN
COM (–)
CPM2A
CPM2A
CPM2A
CPM2A
Voltage output
COM (+)
Output
0 V
Sensor power
supply
IN
Note Do not use the following wiring with voltage-output devices:
Output
0 V
Sensor power
supply
Incorrect Wiring
IN
COM(+)
CPM2A
CPM2A
63
i
Wiring and Connections
High-speed Counter Inputs
Differential Phase Mode
(Count frequency: 5 kHz)
Section 3-4
Using IR 00000 to IR 00002 as High-speed Counter Inputs
In these examples, Encoders with an external 24-VDC open-collector output are
connected.
Pulse Plus Direction Input Mode
(Count frequency: 20 kHz)
CPM2ACPM2A
Encoder
Up/Down Mode
(Count frequency: 20 kHz)
Sensor
Sensor
Sensor or switch
24 VDC
24 VDC
00000 A-phase input
00001 B-phase input
00002 Z-phase input
COM
CPM2A
00000 CW input*
00001 CCW input*
00002 Reset input
COM
Sensor or switch
Sensor or switch
Encoder
24 VDC
Increment Mode
(Count frequency: 20 kHz)
Encoder
24 VDC
Note *CW is clockwise and CCW is counter-clockwise.
00000 Pulse input
00001 Direction input
00002 Reset input
COM
CPM2A
00000 Pulse input
00001 Normal input
00002 Normal input
COM
PC Setup Settings
Using IR 00003 to IR 00006 as Interrupt Inputs (Counter Mode)
In these examples, an Encoder with an external 24-VDC open-collector output is
connected.
Increment or decrement
(Count frequency: 2 kHz)
Encoder
24 VDC
CPM2A
Input (00003 to 00006)
COM
The input bits shown in the following tables can operate as normal inputs or they
can be assigned special functions in the PC Setup.
Special functions for input bits IR 00000 through IR 00002 are set in DM 6642:
Bit
address
IR 00000
IR 00001
Used as normal
nputs.counter inputs.synchronized pulse
IR 00002Used as a normal input.
PC Setup setting (DM 6642 bits 08 to15)
000102, 03, or 04
Used as high-speed
Used as inputs for
control.
64
p
i
Wiring and Connections
Section 3-4
Special functions for input bits IR 00003 through IR 00006 are set in DM 6628:
Bit
Bits in
addressDM 6628
IR 0000300 to 03
IR 0000404 to 07
IR 0000508 to 11
Used as normal
inputs.
PC Setup setting (in DM 6628)
012
Used as interrupt
inputs (including
counter mode).
Used as
quick-response
nputs.
IR 0000612 to 15
High-speed Counter Input Connection Examples
Differential Phase Mode
(Count frequency: 5 kHz)
E6B2-CWZ6C
Encoder
(NPN open-collector output)
Black
White
Orange
Brown
Blue
24 VDC
CPM2ACPM2A
00000 A-phase input
00001 B-phase input
00002 Z-phase input
COM
Pulse Plus Direction Input mode
(Count frequency: 20 kHz)
E6A2-CS5C
Encoder
Sensor or
switch
Sensor or
switch
Sensor
power
24 VDC
00000 Pulse input
00001 Direction input
00002 Reset input
COM
Leakage CurrentA leakage current can cause false inputs when using 2-wire sensors (proximity
switches or photoelectric switches) or limit switches with LEDs. False inputs
won’t occur if the leakage current is less than 1.0 mA (2.5 mA for IN00000 to
IN00002). If the leakage current exceeds these values, insert a bleeder resistor
in the circuit to reduce the input impedance, as shown in the following diagram.
Input power
supply
Bleeder
resistor
2-wire sensor, etc.
I: Device’s leakage current (mA)
R: Bleeder resistance (kΩ)
W: Bleeder resistor’s power rating (W)
L
5.0
C
R +
The equations above were derived from the following equations:
R
I
R )
Input voltage (24)
W y
Refer to 2-1-3 I/O Specifications for details on the values L
The input impedance, input current, and OFF voltage may vary depending on the
input being used. (IN00000 through IN00002 have different values.)
–5.0
I L
C
Input voltage (24)
Input Current (I
Input voltage (24)
Input Current (I
R
R
kW max.W +
)
C
x OFF voltage (EC:5.0)
)
C
Input voltage (24) tolerance (4)
CPM2A
: CPM2A’s input impedance (kΩ)
L
C
: CPM2A’s input current (mA)
I
C
E
: CPM2A’s OFF voltage (V) = 5.0 V
C
2.3
Wmin.
R
, IC, and EC.
C
Sensor Surge CurrentIf a sensor power supply is turned ON when the PC is ON and ready to receive
inputs, surge current from the sensor may result in an incorrect input. To prevent
improper operation, use the following type of programming in the ladder pro-
65
Wiring and Connections
Section 3-4
gram to delay accepting inputs from a sensor from when the sensor is turned ON
until the sensor reaches stable operation.
00000
TIM0000
#0002
TIM00000001
01000
00000: Sensor power supply voltage detection
Time required for sensor to stabilize
(for OMRON Proximity Sensor): 100 ms
00001: Input from sensor
Note The SV of TIM 000 can be set to #0001 (0.1 s) to achieve a delay time of 100 ms,
but the timer accuracy is 0 to 0.1 s, meaning that the timer’s Completion Flag
may turn ON immediately after the timer input. The SV must thus be set to #0002
(0.2 s) or higher to allow for timer accuracy.
Inductive LoadsWhen connecting an inductive load to an input, connect a diode in parallel with
the load. The diode should satisfy the following requirements:
1, 2, 3...1. Peak reverse-breakdown voltage must be at least 3 times the load voltage.
2. Average rectified current must be 1 A.
IN
Diode
CPM2A
COM
Crimp Terminals
CautionAlways use crimp terminals for the CPM2A’s I/O lines or use solid wire (instead
!
3-4-6Output Wiring
Relay Output Wiring
Output capacity2 A (250 VAC or 24 VDC) 01000 and 01001: 200 mA (30 VDC)
Max. common capacity 4 A/common0.8 A/common
of a stranded wire). Do not connect bare stranded wires directly to terminals.
Stray wire strands can short-circuit and cause a fire.
Use M3 crimp terminals and tighten the terminal screws to a torque of 0.5 N S m.
Fork terminalRing terminal
6.2 mm max.6.2 mm max.
The recommended wire size for solid wires is 0.4 to 1.2 mm (AWG26 to AWG18).
Wire the outputs to the CPM2A’s CPU Unit and Expansion I/O Units as shown in
the following diagrams. Use crimp terminals or solid wires (not stranded wire) to
connect to the PC. The power supply output terminals can be used with a CPU
Unit with an AC power supply.
• Always use single wire or attach crimp terminals if a stranded wire is used.
• Don’t exceed the output capacity or the maximum common current. Refer to
2-1-3 I/O Specifications for details.
ItemRelay outputsTransistor outputs, sinking or sourcing
01002 and higher: 300 mA (30 VDC)
66
Wiring and Connections
WARNING The PC outputs may remain ON or OFF due to deposition or burning of the
!
Output Configurations
Section 3-4
Note Refer to Section 3 Memory Areas in the Programming Manual (W353) for details
on the allocation of output bits in CPM2A PCs.
output relays or destruction of the output transistors. External safety measures
must be provided to ensure safety in the system. Not providing proper safety
measures may result in serious accidents.
CPM2A-20CDR-j
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Load
Load
Load
Load
Load
Load
Load
Load
250 VAC/
250 VAC/
24 VDC
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
CPM2A-30CDR-j
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 03 of “11CH” correspond to IR 01100 through IR 01103.
Load
Load
Load
Load
Load
Load
Load
250 VAC/
24 VDC
Load
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
Load
Load
Load
Load
67
Wiring and Connections
Section 3-4
CPM2A-40CDR-j
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107.
Load
Load
Load
Load
Load
Load
Load
Load
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
Load
Load
250 VAC/
24 VDC
Load
Load
Load
250 VAC/
24 VDC
Load
Load
Load
Load
68
Wiring and Connections
Section 3-4
CPM2A-60CDR-j
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107.
Terminals 00 through 07 of “12CH” correspond to IR 01200 through IR 01207.
Load
Load
Load
250 VAC/
Load
Load
Load
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
69
Wiring and Connections
Section 3-4
CPM1A-20EDR1
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
Load
Load
Load
Load
Load
Load
Load
Load
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
250 VAC/
24 VDC
CPM1A-8ER
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
250 VAC/
24 VDC
Load
Load
Load
Load
70
250 VAC/
24 VDC
040506
Load
Load
Load
07
Load
Wiring and Connections
Transistor Output Wiring (Sinking)
Wire the outputs to the CPM2A’s CPU Unit and Expansion I/O Units as shown in
the following diagrams.
• Always use single wire or attach crimp terminals if a stranded wire is used.
• Don’t exceed the output capacity or the maximum common current. Refer to
2-1-3 I/O Specifications for details.
Output capacityOUT01000 and OUT01001: 200 mA (30 VDC)
Max. common capacity0.8 A/common
Note Refer to Section 3 Memory Areas in the Programming Manual (W353) for details
on the allocation of output bits in CPM2A PCs.
CautionDouble-check the polarity of the power supply for the load before turning it ON. If
!
the polarity is reversed, the load may malfunction or internal components may
be damaged.
Output Configurations
CPM2A-20CDT-D
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Section 3-4
ItemSpecification
OUT01002 and up: 300 mA (30 VDC)
Load
Load
Load
Load
Load
Load
Load
Load
4.5 to
30 VDC
4.5 to
30 VDC
4.5 to
30 VDC
4.5 to 30 VDC
CPM2A-30CDT-D
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 03 of “11CH” correspond to IR 01100 through IR 01103.
Load
Load
Load
Load
Load
Load
Load
4.5 to
30 VDC
Load
4.5 to
30 VDC
4.5 to
30 VDC
4.5 to 30 VDC4.5 to 30 VDC
Load
Load
Load
Load
71
Wiring and Connections
Section 3-4
CPM2A-40CDT-D
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107.
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
4.5 to
30 VDC
4.5 to
30 VDC
4.5 to
30 VDC
4.5 to 30 VDC4.5 to 30 VDC4.5 to 30 VDC
72
Wiring and Connections
Section 3-4
CPM2A-60CDT-D
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107.
Terminals 00 through 07 of “12CH” correspond to IR 01200 through IR 01207.
Load
Load
4.5 to 30 VDC
Load
Load
Load
Load
Load
4.5 to 30 VDC
Load
Load
Load
4.5 to 30 VDC
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
4.5 to 30 VDC
4.5 to 30 VDC
4.5 to 30 VDC
4.5 to 30 VDC
4.5 to 30 VDC
73
Wiring and Connections
Section 3-4
CPM1A-20EDT
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
24 VDC +10%/–15%
Load
Load
Load
Load
Load
Load
Load
Load
CPM1A-8ET
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
4.5 to 30 VDC
Load
Load
Load
Load
74
4.5 to 30 VDC
040506
Load
Load
Load
07
Load
Wiring and Connections
Transistor Output Wiring (Sourcing)
Wire the outputs to the CPM2A’s CPU Unit and Expansion I/O Units as shown in
the following diagrams.
• Always use single wire or attach crimp terminals if a stranded wire is used.
• Don’t exceed the output capacity or the maximum common current. Refer to
2-1-3 I/O Specifications for details.
ItemSpecification
Output capacityOUT01000 and OUT01001: 200 mA (30 VDC)
Max. common capacity0.8 A/common
Note Refer to Section 3 Memory Areas in the Programming Manual (W353) for details
on the allocation of output bits in CPM2A PCs.
CautionDouble-check the polarity of the power supply for the load before turning it ON. If
!
the polarity is reversed, the load may malfunction or internal components may
be damaged.
Output Configurations
CPM2A-20CDT1-D
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Section 3-4
OUT01002 and up: 300 mA (30 VDC)
Load
4.5 to
30 VDC
4.5 to 30 VDC
4.5 to
30 VDC
Load
Load
4.5 to
30 VDC
Load
Load
Load
Load
Load
CPM2A-30CDT1-D
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 03 of “11CH” correspond to IR 01100 through IR 01103.
Load
Load
Load
Load
Load
Load
Load
4.5 to
30 VDC
Load
4.5 to
30 VDC
4.5 to
30 VDC
4.5 to 30 VDC4.5 to 30 VDC
Load
Load
Load
Load
75
Wiring and Connections
Section 3-4
CPM2A-40CDT1-D
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107.
Load
Load
Load
Load
Load
Load
Load
4.5 to
30 VDC
4.5 to
30 VDC
4.5 to
30 VDC
4.5 to 30 VDC4.5 to 30 VDC4.5 to 30 VDC
Load
Load
Load
Load
Load
Load
Load
Load
Load
76
Wiring and Connections
Section 3-4
CPM2A-60CDT1-D
Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007.
Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107.
Terminals 00 through 07 of “12CH” correspond to IR 01200 through IR 01207.
Load
Load
4.5 to 30 VDC
Load
Load
Load
Load
Load
4.5 to 30 VDC
Load
Load
Load
Load
4.5 to 30 VDC
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
4.5 to 30 VDC
4.5 to 30 VDC
4.5 to 30 VDC
4.5 to 30 VDC
4.5 to 30 VDC
77
Wiring and Connections
Section 3-4
CPM1A-20EDT1
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
24 VDC +10%/–15%
Load
Load
Load
Load
Load
Load
Load
Load
CPM1A-8ET1
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
4.5 to 30 VDC
Load
Load
Load
Load
78
4.5 to 30 VDC
040506
Load
Load
Load
07
Load
Wiring and Connections
Section 3-4
Using Pulse Outputs
Single-phase pulse output
(Fixed duty ratio)
CPM2A
Pulse output 0: 01000
Pulse output 1: 01001
Pulse plus direction output
CPM2A
Pulse output 0: 01000
COM
COM
The following diagrams show example applications of sink-type transistor outputs using output bits IR 01000 and IR 01001. Use the PULS(65), SPED(––),
ACC(––), PWM(––), and SYNC(––) instructions to produce pulse outputs (rather than normal outputs) from output bits IR 01000 and IR 01001.
Single-phase pulse output
(Variable duty ratio)
Motor driver
Pulse output 0: 01000
Motor driver
Pulse output 1: 01001
Motor driver
CW* pulse output: 01000
CPM2A
COM
COM
Increment pulse output
CPM2A
Relay
Relay
Motor driver
CW input
COM
Direction
input
Direction output: 01001
CCW* pulse output: 01001
COM
COM
CCW input
COM
Note *CW is clockwise and CCW is counter-clockwise.
Output Wiring PrecautionsObserve the following precautions to protect the PC’s internal components.
Output Short Protection
The output or internal circuitry might be damaged when the load connected to an
output is short-circuited, so it is recommended to install a protective fuse in each
output circuit.
79
Wiring and Connections
Section 3-4
Inductive Loads
When connecting an inductive load to an input, connect a surge protector or
diode in parallel with the load.
The surge protector’s components should have the following ratings:
Relay Output
CPM2A
Relay Output
Transistor Output
(Sinking)
Relay Output
Transistor Output
(Sourcing)
CPM2A
CPM2A
OUT
COM
OUT
COM
OUT
COM
Surge protector
Diode
Diode
The diode should satisfy the following requirements:
Peak reverse-breakdown voltage must be at least 3 times the load voltage.
Average rectified current must be 1 A.
Inrush Current Considerations
When switching a load with a high inrush current in the CPM2A relay output or
transistor output model, such as an incandescent lamp, suppress the inrush current as shown below.
Crimp Terminals
Countermeasure 1
OUT
R
COM
Providing a dark current of
approx. one-third of the rated
value through an incandescent
lamp
Countermeasure 2
OUT
COM
R
Providing a limiting resistor
Fuse Insertion
The CPM2A with transistor output may burn if the load is short-circuited, therefore, insert a protective fuse in series to the load.
CautionAlways use crimp terminals for the CPM2A’s I/O lines or use solid wire (instead
!
of a stranded wire). Do not connect bare stranded wires directly to terminals.
Stray wire strands can short-circuit and cause a fire.
Use M3 crimp terminals and tighten the terminal screws to a torque of 0.5 N S m.
Fork terminalRing terminal
6.2 mm max.6.2 mm max.
80
The recommended wire size for solid wires is 0.4 to 1.2 mm (AWG26 to AWG18).
Wiring and Connections
3-4-7Programming Device Connections
The CPM2A CPU Unit can be connected to a Programming Console or a host
computer running CX-Programmer, SYSMAC Support Software (SSS), or SYSMAC-CPT Support Software.
Section 3-4
Programming Console
CQM1-PRO01-E Connection
CQM1-PRO01-E
The CPM2A CPU Unit can be connected to a C200H-PRO27-E Programming
Console with a standard C200H-CN222 (2 m) or C200H-CN422 (4 m) Connecting Cable. The CPM2A CPU Unit can be also connected to a CQM1-PRO01-E.
A 2-m Connecting Cable is attached to the CQM1-PRO01-E.
C200H-PRO27-E Connection
CPM2A CPU Unit
Peripheral port
C200H-PRO27-E
CPM2A CPU Unit
Peripheral port
Connecting Cable
C200H-CN222 (2 m)
C200H-CN422 (4 m)
Connect the Programming Console to the CPU Unit’s Peripheral port; a Programming Console cannot be connected to the RS-232C port. The PC will automatically communicate with the Programming Console in Programming Console mode, regardless of the communications method selected on the CPU
Unit’s Communications Switch.
Support Software
An IBM-compatible personal computer running the SSS or CX-Programmer and
SYSMAC-CPT Support Software can be connected to the CPU Unit’s Peripheral port or RS-232C port. The Peripheral port can operate in Peripheral bus mode
or Host Link mode. The RS-232C port operates in Host Link mode only.
The setting on the CPU Unit’s Communications Switch determines whether the
RS-232C port will operate with the communications settings in the PC Setup or
the standard settings, as shown in the following table.
Switch
setting
ONStandard settings (The standard settings and PC Setup default settings
are Host Link communications at 9,600 bps with 1 start bit, 7-bit data, 2
stop bits, and even parity.)
OFFPC Setup settings in DM 6650 and
DM 6651
Peripheral portRS-232C port
Communications settings
PC Setup settings in DM 6645 and
DM 6646
Connect to the Peripheral port when connecting to the PC’s Peripheral bus. The
communications mode will be Host Link communications, but the CPM2A will
automatically switch to Peripheral bus communications if Peripheral bus has
been selected in the Support Software.
81
Loading...
+ 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.