Cpm2a 112005
Cpm2a 112005
Cpm2a 112005
W352-E1-07
SYSMAC
CPM2A
Programmable Controllers
OPERATION MANUAL
! DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury. Additionally, there may be severe property damage.
! WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury. Additionally, there may be severe property damage.
! Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
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.
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 permis-
sion 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 informa-
tion contained in this publication.
v
Downloaded from www.Manualslib.com manuals search engine
vi
Downloaded from www.Manualslib.com manuals search engine
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
6 EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
7 CPM2A 24-VDC CPU Unit Conformance to NK Standards . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
SECTION 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1-1 CPM2A Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 Basic System Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
1-3 Structure and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
1-4 Functions Listed by Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1-5 Comparison with the CPM1A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1-6 Preparation for Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
SECTION 2
Unit Specifications and Components . . . . . . . . . . . . . . . . 29
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2-2 Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
SECTION 3
Installation and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
3-1 Design Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3-2 Selecting an Installation Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
3-3 Installing the CPM2A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
3-4 Wiring and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
SECTION 4
Using a Programming Console . . . . . . . . . . . . . . . . . . . . . 89
4-1 Compatible Programming Consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
4-2 Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4-3 Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
SECTION 5
Test Runs and Error Processing . . . . . . . . . . . . . . . . . . . . 127
5-1 Initial System Checks and Test Run Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128
5-2 Self-diagnostic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
5-3 Programming Console Operation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
5-4 Programming Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132
5-5 Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133
5-6 Maintenance Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
5-7 Battery Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
SECTION 6
Expansion Memory Unit . . . . . . . . . . . . . . . . . . . . . . . . . . 145
6-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
6-2 Specifications and Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
6-3 Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148
vii
Downloaded from www.Manualslib.com manuals search engine
TABLE OF CONTENTS
Appendices
A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
B Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
viii
Downloaded from www.Manualslib.com manuals search engine
About this Manual:
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) pro-
vides 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 opera-
tions 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 soft-
ware errors that can occur during PC operation.
Section 6 describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling pre-
cautions 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
Downloaded from www.Manualslib.com manuals search engine
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.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
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
Downloaded from www.Manualslib.com manuals search engine
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
Downloaded from www.Manualslib.com manuals search engine
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.
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ERRORS AND OMISSIONS
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
ÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁÁ
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.
xiii
Downloaded from www.Manualslib.com manuals search engine
xiv
Downloaded from www.Manualslib.com manuals search engine
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 Con-
troller. You must read this section and understand the information contained before attempting to set up or operate a
PC system.
xv
Downloaded from www.Manualslib.com manuals search engine
Safety Precautions 5
1 Intended Audience
This manual is intended for the following personnel, who must also have knowl-
edge 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.
2 General 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 ma-
chines, 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.
! 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.
3 Safety 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.
• 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 coun-
termeasure for such errors, external safety measures must be provided to en-
sure safety in the system.
xvi
Downloaded from www.Manualslib.com manuals search engine
Operating Environment Precautions 4
! 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.
! Caution Execute 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.
! Caution Tighten 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.
! Caution When 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, nev-
er do so with the PC.
Non-isolated DC
24 V power supply
0V 0V 0V
PC
Peripheral device
! Caution Take appropriate and sufficient countermeasures when installing systems in the
following locations:
xvii
Downloaded from www.Manualslib.com manuals search engine
Application Precautions 5
! Caution The 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 installa-
tion and remains within the specified conditions during the life of the system.
5 Application 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 ex-
ceed 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 fol-
lowing. 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.
! Caution Failure 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 pre-
cautions.
xviii
Downloaded from www.Manualslib.com manuals search engine
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 installa-
tion 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 dissipa-
tion. 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 wir-
ing may result in burning.
• Be sure that the terminal blocks, expansion cables, and other items with lock-
ing devices are properly locked into place. Improper locking may result in mal-
function.
• Be sure that terminal blocks and connectors are connected in the specified di-
rection 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. Dis-
pose 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 sup-
plied in order to prevent any malfunction due to static electricity.
xix
Downloaded from www.Manualslib.com manuals search engine
EC Directives 6
6 EC Directives
6-1 Applicable Directives
• EMC Directives
• Low Voltage Directive
6-2 Concepts
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 stan-
dards 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 Direc-
tives will vary depending on the configuration, wiring, and other conditions of the
equipment or control panel on which the OMRON devices are installed. The cus-
tomer must, therefore, perform the final check to confirm that devices and the
overall machine conform to EMC standards.
Note Applicable EMC (Electromagnetic Compatibility) standards are as follows:
EMS (Electromagnetic Susceptibility): EN61131-2
EMI (Electromagnetic Interference): EN61000-6-4
(Radiated emission: 10-m regulations)
Low Voltage Directive
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).
xx
Downloaded from www.Manualslib.com manuals search engine
EC Directives 6
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.
xxi
Downloaded from www.Manualslib.com manuals search engine
EC Directives 6
Countermeasure Examples
When switching an inductive load, connect a surge protector, diodes, etc., in par-
allel with the load or contact as shown below.
Circuit Current Characteristic Required element
AC DC
CR method Yes Yes If the load is a relay or solenoid, there The capacitance of the capacitor must
is a time lag between the moment the be 1 to 0.5 µF per contact current of
circuit is opened and the moment the 1 A and resistance of the resistor must
load is reset. be 0.5 to 1 Ω per contact voltage of
Inductive
Power insert the surge protector in parallel the load and the characteristics of the
supply
with the load. If the supply voltage is relay. Decide these values from
100 to 200 V, insert the surge experiments, and take into
protector between the contacts. 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.
Diode method No Yes The diode connected in parallel with The reversed dielectric strength value
the load changes energy accumulated of the diode must be at least 10 times
by the coil into a current, which then as large as the circuit voltage value.
Inductive
flows into the coil so that the current The forward current of the diode must
will be converted into Joule heat by be the same as or larger than the load
load
xxii
Downloaded from www.Manualslib.com manuals search engine
CPM2A 24-VDC CPU Unit Conformance to NK Standards 7
xxiii
Downloaded from www.Manualslib.com manuals search engine
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.
1
Downloaded from www.Manualslib.com manuals search engine
CPM2A Features and Functions Section 1-1
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, Tem-
perature Sensor Units, CompoBus/S I/O Link Units, and
DeviceNet I/O Link Units can also be connected.
Basic Functions
CPU Unit Variations 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).
Expansion I/O Units 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 Expan-
sion 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 con-
necting three 20-point I/O Units to a CPU Unit with 60 built-in I/O terminals.
2
Downloaded from www.Manualslib.com manuals search engine
CPM2A Features and Functions Section 1-1
Analog I/O 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 ana-
log inputs and 3 analog outputs can be achieved by connecting 3 Analog I/O
Units.
Unit Analog inputs Analog outputs
CPM1A-MAD01 Signal range: 0 to 10 V, 1 to 5 V, or Signal range: 0 to 10 V,
4 to 20 mA, Resolution of 1/256 –10 to 10 V, or 4 to
The open-circuit detection function 20 mA,
can be used with the 1 to 5 VDC Resolution of 1/256
and 4 to 20 mA settings.
CPM1A-MAD11 Signal range: 0 to V 5, 0 to 10 V, 1 Signal range: 0 to 10 V, 1
to 5 V, –10 to 10 V, 0 to 20 mA, or 4 to 5 V, –10 to 10 V, 0 to
to 20 mA, Resolution of 1/6,000 20 mA, or 4 to 20 mA,
The open-circuit detection function Resolution of 1/6,000
can be used with the 1 to 5 VDC
and 4 to 20 mA settings.
Temperature Sensor A Temperature Sensor Unit can be connected to provide up to 6 inputs for tem-
Units perature input from sensors, such as thermocouples or platinum resistance
thermometers.
CompoBus/S I/O Link CompoBus/S I/O Link Units can be connected to make the CPM2A a Slave De-
Units vice 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
Distributed CPU control
DeviceNet I/O Link Units DeviceNet 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 sup-
ported for each Unit, and up to 3 Units can connected. DeviceNet application
allows networks to be constructed including devices from other manufacturers.
3
Downloaded from www.Manualslib.com manuals search engine
CPM2A Features and Functions Section 1-1
Share Programming The same Programming Devices, such as Programming Consoles and Support
Devices Software, can be used for the C200H, C200HS, C200HX/HG/HE, CQM1,
CPM1, CPM1A, CPM2C, and SRM1 (-V2) PCs, so existing ladder program re-
sources can be used effectively.
High-speed Counters and The CPM2A has a total of five high-speed counter inputs. The one high-speed
Interrupts 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: differen-
tial 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.
Easy Position Control CPM2A PCs with transistor outputs have two outputs that can produce 10 Hz to
with Pulse Outputs 10 kHz pulses (single-phase outputs).
(Transistor Outputs Only)
When used as single-phase pulse outputs, there can be two outputs with a fre-
quency 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.
Other Functions
Interval Timer Interrupts The interval timer can be set between 0.5 and 319,968 ms and can be set to gen-
erate just one interrupt (one-shot mode) or periodic interrupts (scheduled inter-
rupt mode).
Analog Settings 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-
4
Downloaded from www.Manualslib.com manuals search engine
CPM2A Features and Functions Section 1-1
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 pro-
gram 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 sec-
onds (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.
B500-AL004
Link Adapter
Commands
Commands
CPM1-CIF01
Responses
CPM2A
(RS-232C port connection)
NT-AL001
Responses
No-protocol The TXD(48) and RXD(47) instructions can be used in no-protocol mode to ex-
Communications change 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.
Inputting data from Outputting data to
a bar code reader a serial printer
CPM2A CPM2A
(RS-232C port connection*) (RS-232C port connection*)
5
Downloaded from www.Manualslib.com manuals search engine
CPM2A Features and Functions Section 1-1
High-speed 1:1 NT Link In a 1:1 NT Link, an OMRON Programmable Terminal (PT) can be connected
Communications directly to the CPM2A. The PT must be connected to the RS-232C port; it cannot
be connected to the Peripheral port.
OMRON PT
CPM2A
(RS-232C port connection)
One-to-one PC Link 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 al-
lows automatic data link connections. The PC must be connected through the
RS-232C port; it cannot be connected through the Peripheral port.
CPM2A CPM2A
(RS-232C port connection) (RS-232C port connection)
Expansion Memory Unit The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small-
size or micro PLCs. Using the CPM1-EMU01-V1, simple on-site transfer of user
programs and data memory is possible with PLCs.
Uploading
Downloading
SYSMAC
EEPROM
6
Downloaded from www.Manualslib.com manuals search engine
CPM2A Features and Functions Section 1-1
7
Downloaded from www.Manualslib.com manuals search engine
CPM2A Features and Functions Section 1-1
Note 1. 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 con-
trol 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
Downloaded from www.Manualslib.com manuals search engine
Basic System Configurations Section 1-2
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 CPM1A-20EDR1
× 1 Unit + × 3 Units = 72 inputs, 48 outputs
(36 inputs, 24 outputs) (12 inputs, 8 outputs)
9
Downloaded from www.Manualslib.com manuals search engine
Basic System Configurations Section 1-2
A PC with 6 analog inputs and 3 analog outputs (the maximum) can be as-
sembled 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.)
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.)
Note 1. 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.
2. When an NT-AL001 Adapter is connected to the RS-232C port, only one Ex-
pansion Unit or Expansion I/O Unit can be connected to the CPU Unit be-
cause of power supply limitations.
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
Downloaded from www.Manualslib.com manuals search engine
Basic System Configurations Section 1-2
Expansion Units
CPM1A-MAD01 CPM1A-MAD11 Temperature Sensor Unit
Analog I/O Unit Analog I/O Unit
11
Downloaded from www.Manualslib.com manuals search engine
Structure and Operation Section 1-3
I/O memory
Output circuits
Input circuits
Settings
Settings
Peripheral RS-232C
port port
Communications Settings
processing
Communica-
tions switch
I/O Memory 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.
Program This is the program written by the user. The CPM2A executes the program cycli-
cally. (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 The PC Setup contains various startup and operating parameters. The PC Set-
up 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 ac-
cessed only when the power is turned on.
Note Refer to Section 1 PC Setup in the Programming Manual (W353) for more de-
tails.
Communications Switch The Communications Switch determines whether the peripheral port and
RS-232C port operate with the standard communications settings or the com-
munications settings in the PC Setup.
12
Downloaded from www.Manualslib.com manuals search engine
Structure and Operation Section 1-3
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 Program-
ming Console is connected to the Peripheral port. If a Programming Console is
not connected, the PC will automatically enter RUN mode.
13
Downloaded from www.Manualslib.com manuals search engine
Structure and Operation Section 1-3
Detection of
power interruption
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
Downloaded from www.Manualslib.com manuals search engine
Structure and Operation Section 1-3
S Check hardware.
Startup initialization S Check memory.
S Read data from flash memory (program,
read-only DM data, and PC Setup settings).
15
Downloaded from www.Manualslib.com manuals search engine
Structure and Operation Section 1-3
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 The following diagram shows the cyclic operation of the CPM2A when the pro-
Cyclic Operation gram 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 re-
fresh 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 refresh-
ing, 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 pro-
gram 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 set-
ting.
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 Programming
Manual (W353) for more details and precautions on the cycle time.
Overseeing processes
Main program
Cycle
time
I/O refreshing
The servicing time can be set
RS-232C port servicing in DM 6616.
The servicing time can be set
Peripheral port servicing in DM 6617.
16
Downloaded from www.Manualslib.com manuals search engine
Structure and Operation Section 1-3
Interrupt Program When an interrupt is generated during execution of the main program, main pro-
Execution gram execution is interrupted immediately and the interrupt program is execut-
ed. 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 inter-
rupt 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 inter-
rupt program.
Refer to Section 7 PC Operations and Processing Time in the Programming
Manual (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
! Caution Although 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 frequent-
ly, 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 pro-
gram.
17
Downloaded from www.Manualslib.com manuals search engine
Functions Listed by Usage Section 1-4
When IORF(97) is used, the cycle time is extended by the time required to re-
fresh the specified I/O words.
Overseeing processes
Main program
IORF(97) executed.
I/O refreshing
RS-232C port servicing
Peripheral port servicing
18
Downloaded from www.Manualslib.com manuals search engine
Functions Listed by Usage Section 1-4
19
Downloaded from www.Manualslib.com manuals search engine
Functions Listed by Usage Section 1-4
Basic Functions
Usage Function Refer
to
Set the cycle time to a fixed interval. Set a minimum (fixed) cycle time in the PC Setup. W353
Stop PC operation when the cycle time exceeds a Set a maximum (watch) cycle time in the PC Setup.
maximum setting.
Keep all outputs ON when PC operation stops. Turn ON the IOM Hold Bit (SR 25212).
Retain the contents of I/O memory when starting Turn ON the IOM Hold Bit (SR 25212).
operation.
Retain the contents of I/O memory when the PC is Turn ON the IOM Hold Bit (SR 25212) and set the PC
turned on. Setup (DM 6601) so that the status of the IOM Hold Bit
is maintained at startup.
Eliminate effects from chattering and external noise. Set a longer input time constant in the PC Setup.
Maintenance Functions
Usage Function Refer
to
Record data with time-stamp. Clock/calendar function W353
Establish user-defined errors for desired input FAL(06) defines non-fatal errors. (PC operation
conditions. (Fatal and non-fatal errors can be defined.) continues.)
FALS(07) defines fatal errors. (PC operation stops.)
Read the number of power interruptions. The number of power interruptions is stored in AR 23.
Set the startup operating mode. Set the startup operating mode in the PC Setup
(DM 6600).
Communications Functions
Usage Function Refer
to
Read/write I/O memory data and change the operating Host Link communications (Set the communications W353
mode from a host computer. mode to Host Link in the PC Setup.)
Connect to a serial device such as a bar code reader No-protocol communications (Set the communications
or serial printer. mode to no-protocol in the PC Setup.)
Make a high-speed connection with an OMRON 1:1 NT Link (Set the communications mode to 1:1 NT
Programmable Terminal. Link in the PC Setup.)
Make a PC-PC data link connection with another 1:1 PC Link (Set the communications mode to 1:1 PC
CPM2A, or a CPM1, CPM1A, CPM2C, SRM1, CQM1, Link in the PC Setup.)
C200HS, or C200HX/HG/HE PC.
Connect a Programming Console. Connect the Programming Console to the Peripheral Page
port. (The CPU Unit’s Communications Switch setting 93
has no effect on this connection.)
Connect a personal computer running The computer can be connected to the Peripheral port W353
CX-Programmer, SYSMAC Support Software (SSS) or or RS-232C port. Page
SYSMAC-CPT Support Software. (The Host Link settings in the PC Setup are used 81
when the switch is OFF; the standard Host Link
communications settings are used when the CPU
Unit’s Communications Switch is ON.)
Monitor equipment with a Programmable Terminal and The RS-232C port and Peripheral port can be used W353
program the PC with a Programming Device. simultaneously. Page
93
Reduce both resources and space by using remote Use a CompoBus/S Link Unit. W353
I/O. Page
43
Creating a link with a DeviceNet Master. Use a DeviceNet Link Unit. W353
Page
44
20
Downloaded from www.Manualslib.com manuals search engine
Comparison with the CPM1A Section 1-5
21
Downloaded from www.Manualslib.com manuals search engine
Comparison with the CPM1A Section 1-5
22
Downloaded from www.Manualslib.com manuals search engine
Comparison with the CPM1A Section 1-5
23
Downloaded from www.Manualslib.com manuals search engine
Comparison with the CPM1A Section 1-5
24
Downloaded from www.Manualslib.com manuals search engine
Comparison with the CPM1A Section 1-5
! Caution Before 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 pro-
gram with these instructions is transferred and executed unchanged.
Added Function Code The following three instructions are allocated function codes that were not used
Allocations in the CPM1A.
Instruction CPM2A CPM1A
RXD(47) RECEIVE Not allocated. (NOP(00))
( ( ))
TXD(48) TRANSMIT
SCL(66) SCALING
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
Downloaded from www.Manualslib.com manuals search engine
Preparation for Operation Section 1-6
DM Area Differences The following table shows differences in the DM area other than the PC Setup.
Function CPM2A CPM1A
Error Log Area DM 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.
Function CPM2A CPM1A
RS-232C Port Servicing Time Setting DM 6616 bits 00 to 07 Not
RS-232C Port Servicing Time Enable DM 6616 bits 08 to 15 supported
d
Pulse Output 0 Coordinate System DM 6629 bits 00 to 03
Pulse Output 1 Coordinate System DM 6629 bits 04 to 07
RS-232C Communications Settings Selector DM 6645 bits 00 to 03
RS-232C Port CTS Control Settings DM 6645 bits 04 to 07
RS-232C Port Link Words for 1:1 PC Link DM 6645 bits 08 to 11
RS-232C Port Communications Mode DM 6645 bits 12 to 15
RS-232C Port Baud Rate DM 6646 bits 00 to 07
RS-232C Port Frame Format DM 6646 bits 08 to 15
RS-232C Port Transmission Delay DM 6647
RS-232C Port Host Link Node Number DM 6648 bits 00 to 07
RS-232C Port No-protocol Start Code Enable DM 6648 bits 08 to 11
RS-232C Port No-protocol End Code Enable DM 6648 bits 12 to 15
RS-232C Port No-protocol Start Code Setting DM 6649 bits 00 to 07
RS-232C Port No-protocol End Code Setting DM 6649 bits 08 to 15
or Number of Bytes Received
Peripheral Port No-protocol Start Code Enable DM 6653 bits 08 to 11
Peripheral Port No-protocol End Code Enable DM 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 DM 6654 bits 08 to 15
or Number of Bytes Received
Battery Error Detect Setting DM 6655 bits 12 to 15
26
Downloaded from www.Manualslib.com manuals search engine
Preparation for Operation Section 1-6
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 Support
Software 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.
27
Downloaded from www.Manualslib.com manuals search engine
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.
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2-1-1 General Specifications of CPU Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
2-1-2 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
2-1-3 I/O Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
2-2 Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2-2-1 CPU Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
2-2-2 Expansion I/O Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
2-2-3 Analog I/O Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
2-2-4 Temperature Sensor Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
2-2-5 CompoBus/S I/O Link Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2-2-6 DeviceNet I/O Link Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
29
Downloaded from www.Manualslib.com manuals search engine
Specifications Section 2-1
2-1 Specifications
2-1-1 General Specifications of CPU Units
Item CPU Units with CPU Units with CPU Units with CPU Units with
20 I/O points 30 I/O points 40 I/O points 60 I/O points
Supply
pp y voltage
g AC power 100 to 240 VAC, 50/60 Hz
DC power 24 VDC
Operating
p g AC power 85 to 264 VAC
voltage
l range DC power 20.4 to 26.4 VDC
Power AC power 60 VA max.
consumption
i DC power 20 W max.
Inrush current AC power 60 A max.
DC power 30 A max.
External p
power Supply voltage 24 VDC
supply
l Output 300 mA: Use for input devices only. Cannot be used to drive outputs.
(AC power capacity
supplies only) (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.)
Insulation resistance 20 MΩ min. (at 500 VDC) between the external AC terminals and protective earth
terminals
Dielectric strength 2,300 VAC 50/60 Hz for 1 min between the external AC and protective earth
terminals, leakage current: 10 mA max.
Noise immunity Conforms to IEC6100-4-4; 2 kV (power lines)
Vibration resistance 10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s2 in X, Y, and Z
directions for 80 minutes each
(Time coefficient; 8 minutes × coefficient factor 10 = total time 80 minutes)
Shock resistance 147 m/s2 three times each in X, Y, and Z directions
Ambient temperature Operating: 0° to 55°C
Storage: –20° to 75°C
Humidity 10% to 90% (with no condensation)
Atmosphere Must be free from corrosive gas
Terminal screw size M3
Power interrupt time AC power supply: 10 ms min.
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.)
CPU Unit AC power 650 g max. 700 g max. 800 g max. 1,000 g max.
i h
weight DC power 550 g max. 600 g max. 700 g max. 900 g max.
Expansion I/O Unit weight Units with 20 I/O points: 300 g max.
Units with 8 output points: 250 g max.
Units with 8 input points: 200 g max.
Expansion Unit weight Analog I/O Units (MAD01): 150 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.
30
Downloaded from www.Manualslib.com manuals search engine
Specifications Section 2-1
2-1-2 Characteristics
Item Specification
Control method Stored program method
I/O control method Cyclic scan with direct output (Immediate refreshing can be performed with IORF(97).)
Programming language Ladder diagram
Instruction length 1 step per instruction, 1 to 5 words per instruction
Instructions Basic instructions: 14
Special instructions: 105 instructions, 185 variations
Execution time Basic instructions: 0.64 µs (LD instruction)
Special instructions: 7.8 µs (MOV instruction)
Program capacity 4,096 words
Max. I/O CPU Unit only 20 points 30 points 40 points 60 points
capacity
i With Expansion 80 points max. 90 points max. 100 points max. 120 points max.
I/O Units
Input bits IR 00000 to IR 00915 (Words not used for input bits can be used for work bits.)
Output bits IR 01000 to IR 01915 (Words not used for output bits can be used for work bits.)
Work bits 928 bits: IR 02000 to IR 04915 and IR 20000 to IR 22715
Special bits (SR area) 448 bits: SR 22800 to SR 25515
Temporary bits (TR area) 8 bits (TR0 to TR7)
Holding bits (HR area) 320 bits: HR 0000 to HR 1915 (Words HR 00 to HR 19)
Auxiliary bits (AR area) 384 bits: AR 0000 to AR 2315 (Words AR 00 to AR 23)
Link bits (LR area) 256 bits: LR 0000 to LR 1515 (Words LR 00 to LR 15)
Timers/Counters 256 timers/counters (TIM/CNT 000 to TIM/CNT 255)
1-ms timers: TMHH(––)
10-ms timers: TIMH(15)
100-ms timers: TIM
1-s/10-s timers: TIML(––)
Decrementing counters: CNT
Reversible counters: CNTR(12)
Data memory Read/Write: 2,048 words (DM 0000 to DM 2047)*
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.
Interrupt processing External interrupts: 4
(Shared by the external interrupt inputs (counter mode) and the quick-response inputs.)
Interval timer interrupts 1 (Scheduled Interrupt Mode or Single Interrupt Mode)
High-speed counter One high-speed counter: 20 kHz single-phase or 5 kHz two-phase (linear count method)
Counter interrupt: 1 (set value comparison or set-value range comparison)
Interrupt Inputs Four inputs (Shared by the external interrupt inputs (counter mode) and the
(Counter mode) quick-response inputs.)
Counter interrupts: 4 (Shared by the external interrupt inputs and quick-response inputs.)
Pulse output Two points with no acceleration/deceleration, 10 Hz to 10 kHz each, and no direction
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.)
Synchronized pulse control One point:
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.)
Quick-response inputs Four points (Min. input pulse width: 50 µs max.)
Analog controls 2 controls, setting range: 0 to 200
31
Downloaded from www.Manualslib.com manuals search engine
Specifications Section 2-1
Item Specification
Input time constant Can be set for all input points.
(ON response time = (1 ms, 2 ms, 3 ms, 5 ms, 10 ms, 20 ms, 40 ms, or 80 ms)
OFF response time)
Clock function Shows the year, month, day of the week, day, hour, minute, and second.
(Backed up by the battery.)
Communications functions Built-in peripheral port:
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.
Functions provided by Analog I/O Unit: Provides 2 analog inputs and 1 analog output.
Expansion Units 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.
Memory protection HR area, AR area, program contents, read/write DM area contents, and counter values
(See notes 1 and 2.) maintained during power interruptions.
Memory backup Flash memory:
(See notes 1 and 2.) 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.)
Self-diagnostic functions CPU Unit failure (watchdog timer), I/O bus error, battery error, and memory failure
Program checks No END instruction, programming errors (checked when operation is started)
Note 1. 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
Downloaded from www.Manualslib.com manuals search engine
Specifications Section 2-1
2.7 kΩ 0.01 µF
IN Internal
circuits
COM 680 Ω
IN00002 to IN00006 IN
Input LED
3.9 kΩ
IN Internal
750 Ω circuits
COM
IN00007 and up IN
Input LED
4.7 kΩ
IN Internal
750 Ω circuits
COM
Note The input time constant can be set to 1, 2, 3, 5, 10, 20, 40, or 80 ms in the PC
Setup.
33
Downloaded from www.Manualslib.com manuals search engine
Specifications Section 2-1
The minimum pulse widths for inputs IN00000 (A-phase input) and IN00001 (B-
phase input) are as follows:
Pulse plus direction input mode, Up/down input Differential phase mode
mode, Increment mode
50 µs min. 100 µs min.
Phase A
Phase B
12.5 µs 12.5 µs T1 T2 T3 T4
min. min.
T1 T2 T3 T4 : 12.5 µs min.
The minimum pulse width for input IN00002 (Z-phase input) is as follows:
50 µs min.
Phase Z
500 µs
min.
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.
IN Internal
750 Ω circuits
COM
Note The input time constant can be set to 1, 2, 3, 5, 10, 20, 40, or 80 ms in the PC
Setup.
! Caution Do not apply voltage in excess of the rated voltage to the input terminal. It may
result in damage to the product or fire.
34
Downloaded from www.Manualslib.com manuals search engine
Specifications Section 2-1
Internal
circuits
Maximum
250 VAC: 2 A
24 VDC: 2 A
Note The service life of relay output contacts shown in the table assumes the worst
conditions. The following graph shows the results of OMRON’s service life tests
at a switching rate of 1,800 times/hour.
35
Downloaded from www.Manualslib.com manuals search engine
Specifications Section 2-1
OUT
! Caution Do 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
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
15. Expansion
11. Peripheral Port connector cover
13. Communications
Switch
7. PC Status Indicators
9. Output indicators
14. Battery compartment (10CH only for
20-point CPU Units)
37
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
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 in-
put 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 out-
put.
38
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
FG 1
6 5V
SD 2
7 ---
RD 3
8 ---
RTS 4
9 SG
CTS 5
Applicable Connector
Name Model Specifications
Plug XM2A-0901 9-pin male Combine the plug
p g
andd hood.
h d
Hood XM2S-0911-E Anti-ESD
(electro-static
discharge) for the
9-pin metric
screw
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.
OFF The 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.
(Factory-set to OFF)
ON The Peripheral port and RS-232C port operate according to the
standard communications settings, except for Programming Consoles
connected to the Peripheral port.
39
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
1. Input terminals
3. Input indicators
6. Expansion connector
4. Output indicators
5. Expansion I/O connecting cable
2. Output terminals
1. Input terminals
3. Input indicators
04 05 06 07
6. Expansion connector
2. Output terminals
4. Output indicators
04 05 06 07
6. Expansion connector
2. Output terminals
40
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
! Caution Do 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 Ex-
pansion Units or Expansion I/O Units can be connected to a CPU Unit.
3. Expansion connector
! Caution Do 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.
CPM1A-MAD11
4. DIP Switch
3. Expansion connector
41
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
! Caution Do 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.
5. Expansion connector
ON
1 2
3. Rotary Switch
Sets the temperature range. Set the range in accordance with the specifica-
tions of the temperature sensor used.
CPM1A-TS001/002
Set value Thermocouple Range (°C) Range (°F)
0 K –200 to 1,300 –300 to 2,300
1 0.0 to 500.0 0.0 to 900.0
2 J –100 to 850 –100 to 1,500
3 0.0 to 400.0 0.0 to 750.0
4 to F --- Setting not possible
42
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
CPM1A-TS101/102
Set value Platinum resistance Range (°C) Range (°F)
thermometer
0 Pt100 –200.0 to 650.0 –300.0 to 1,200.0
1 JPt100 –200.0 to 650.0 –300.0 to 1,200.0
2 to F --- Setting not possible
! Caution Do 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. DIP switch
3. LED indicators
5. Expansion connector
NODE ADDRESS
Pin(s) Function
HOLD
1 to 4 These pins set the Unit’s node address using the DIP switch pins as
DR
1
2
4
8
43
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
3. LED Indicators
These indicators show the status of CompoBus/S communications.
Indicator Status Meaning
COMM ON Communications in progress.
( ll )
(yellow) OFF Communications error or stopped.
ERR ON A communications error has occurred.
( d)
(red) OFF Indicates normal or no communications.
4. Expansion I/O Connecting Cable
Connects the CompoBus/S I/O Link Unit to the expansion connector on the
PC’s CPU Unit, an Expansion I/O Unit, or another Expansion Unit.
! Caution Do 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 Expansion I/O Unit or another Expansion Unit (Analog I/O
Unit, Temperature Sensor Unit, or CompoBus/S I/O Link Unit). Up to 3 Ex-
pansion Units or Expansion I/O Units can be connected to a CPU Unit.
3. DIP switches
4. LED indicators
6. Expansion connector
44
Downloaded from www.Manualslib.com manuals search engine
Unit Components Section 2-2
4. LED Indicators
! Caution Do 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
Downloaded from www.Manualslib.com manuals search engine
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.
47
Downloaded from www.Manualslib.com manuals search engine
Selecting an Installation Site Section 3-2
01005 MC1
CPM2A MC2
Motor forward
01006
MC2
MC1
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).
48
Downloaded from www.Manualslib.com manuals search engine
Selecting an Installation Site Section 3-2
! Caution Be sure to install the CPM2A correctly, as outlined in this manual. Failure to do so
may result in Unit malfunction.
Control panel
Fan
CPM2A
Air vent
Electrical Noise Power 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.
200 mm min.
CPM2A
200 mm min.
49
Downloaded from www.Manualslib.com manuals search engine
Installing the CPM2A Section 3-3
Accessibility Ensure 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.
100 mm Unit
A 8 mm
The width (A) between the mounting holes depends on the Unit.
Unit Width (A)
(tolerance: ±0.2 mm)
CPU Unit with 20/30 I/O terminals 120 mm
CPU Unit with 40 I/O terminals 140 mm
50
Downloaded from www.Manualslib.com manuals search engine
Installing the CPM2A Section 3-3
21 mm
DIN Track Installation The CPM2A can be installed on a 35-mm DIN Track.
DIN Track
PFP-100N (1 m)
PFP-50N (50 cm)
PFP-100N2 (1 m)
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.
51
Downloaded from www.Manualslib.com manuals search engine
Installing the CPM2A Section 3-3
Removal
Pry the lock down with a flat-blade screwdriver and pivot the PC upward to
remove it.
Screwdriver
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
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
3. Replace the cover on the CPU Unit’s or the Expansion I/O Unit’s expansion
connector.
! Caution Leave 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 Noise Do 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.
Power cables
53
Downloaded from www.Manualslib.com manuals search engine
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.
200 mm min.
Conduits
Separate the CPM2A I/O lines, power and control lines, and power cables, as
shown in the following diagram.
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
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Note Always disconnect the functional earth terminal before conducting a withstand
voltage test.
Crimp Terminals
! Caution Always 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 ter-
minals. 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 terminal Ring terminal
The recommended wire size for solid wires is 0.4 to 1.2 mm (AWG26 to AWG18).
55
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
AC Breaker
power
supply
Note 1. 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 termi-
nals at the bottom of the CPU Unit output 24-VDC power for external de-
vices. The CPU Unit’s internal circuitry will be damaged if AC power is mis-
takenly supplied to a CPU Unit’s power supply output terminals.
! Caution Tighten 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.
Crimp Terminals
! Caution Always 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
6.2 mm max.
56
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
24-VDC Power Supply Use a DC power supply with sufficient capacity and low ripple.
24 VDC
Note 1. 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 Direc-
tives), use a power supply with double insulation or reinforced insulation.
Crimp Terminals
! Caution Always 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 ter-
minals. 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 terminal Ring terminal
The recommended wire size for solid wires is 0.4 to 1.2 mm (AWG26 to AWG18).
57
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Note Refer to Section 3 Memory Areas in the Programming Manual (W353) for details
on the allocation of input bits in CPM2A PCs.
Input
24 VDC devices
Input
24 VDC devices
58
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Input
24 VDC devices
59
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Input
devices
24 VDC
60
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Input
24 VDC devices
CPM1A-8ED
Terminals 00 through 07 of “mCH” correspond to bits 00 through 07 of word IR m.
Input
24 VDC devices
04 06
05 07
Note Although the commons are connected internally, they must all be wired.
61
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Input Wiring Example A CPU Unit with an AC power supply is shown. CPU Units with DC power sup-
plies don’t have power supply outputs.
Input devices
! WARNING 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.
External safety measures must be provided to ensure safety in the system. Not
providing proper safety measures may result in serious accidents.
62
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Input Devices The following table shows how to connect various input devices.
Relay output
IN
CPM2A
5 mA/12 mA
COM (+)
Output
IN CPM2A
5 mA/12 mA
COM (+)
0V
Constant
current Output
circuit IN CPM2A
5 mA/12 mA +
COM (+)
0V
Voltage output
COM (+)
Output
IN CPM2A
0V
Sensor power
supply
Sensor power
supply
Incorrect Wiring
Output
IN CPM2A
0V
COM(+)
63
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
COM COM
24 VDC 24 VDC
COM COM
24 VDC 24 VDC
COM
24 VDC
PC Setup Settings 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 PC Setup setting (DM 6642 bits 08 to15)
address
dd 00 01 02, 03, or 04
IR 00000 Used as normal Used as high-speed Used as inputs for
inputs
inputs. counter inputs
inputs. synchronized pulse
IR 00001 control.
IR 00002 Used as a normal input.
64
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Special functions for input bits IR 00003 through IR 00006 are set in DM 6628:
Bit Bits in PC Setup setting (in DM 6628)
address
dd DM 6628 0 1 2
IR 00003 00 to 03 Used as normal Used as interruptp Used as
IR 00004 04 to 07 i
inputs. i
inputs (i
(including
l di quick-response
i k
counter mode)
mode). inputs
inputs.
IR 00005 08 to 11
IR 00006 12 to 15
Blue
COM COM
Sensor or 24 VDC
24 VDC switch
Leakage Current A 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 R CPM2A
resistor
LC 5.0
R+ kW max. W + 2.3 W min.
I L C–5.0 R
Sensor Surge Current If 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
Downloaded from www.Manualslib.com manuals search engine
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
TIM 0000
00000: Sensor power supply voltage detection
#0002 Time required for sensor to stabilize
(for OMRON Proximity Sensor): 100 ms
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 Loads When 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
! Caution Always 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 terminal Ring terminal
The recommended wire size for solid wires is 0.4 to 1.2 mm (AWG26 to AWG18).
66
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections 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.
! WARNING The PC outputs may remain ON or OFF due to deposition or burning of the
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.
Output Configurations
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/ 250 VAC/ 250 VAC/
24 VDC 24 VDC 24 VDC 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
Load
Load
Load
Load
Load
250 VAC/ 250 VAC/ 250 VAC/ 250 VAC/ 250 VAC/
24 VDC 24 VDC 24 VDC 24 VDC 24 VDC
67
Downloaded from www.Manualslib.com manuals search engine
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
Load
Load
Load
Load
Load
Load
Load
Load
Load
250 VAC/ 250 VAC/ 250 VAC/ 250 VAC/ 250 VAC/ 250 VAC/
24 VDC 24 VDC 24 VDC 24 VDC 24 VDC 24 VDC
68
Downloaded from www.Manualslib.com manuals search engine
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/
24 VDC
Load
Load
Load
Load
Load
250 VAC/
24 VDC
Load
Load
Load
250 VAC/
24 VDC
Load
Load
Load
Load
Load
250 VAC/
24 VDC
Load
Load
Load
250 VAC/
24 VDC
Load
Load
Load
250 VAC/
24 VDC
Load
250 VAC/
24 VDC
Load
250 VAC/
24 VDC
69
Downloaded from www.Manualslib.com manuals search engine
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/ 250 VAC/ 250 VAC/ 250 VAC/
24 VDC 24 VDC 24 VDC 24 VDC
CPM1A-8ER
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
Load
Load
Load
Load
250 VAC/
24 VDC
04 06
05 07
Load
Load
Load
Load
250 VAC/
24 VDC
70
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections 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.
! Caution Double-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.
Load
Load
Load
Load
Load
Load
Load
Load
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
Load
Load
Load
Load
Load
71
Downloaded from www.Manualslib.com manuals search engine
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 4.5 to 4.5 to 4.5 to 30 VDC 4.5 to 30 VDC 4.5 to 30 VDC
30 VDC 30 VDC 30 VDC
72
Downloaded from www.Manualslib.com manuals search engine
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
4.5 to 30 VDC
Load
Load
Load
4.5 to 30 VDC
Load
Load
Load
4.5 to 30 VDC
Load
Load
4.5 to 30 VDC
Load
4.5 to 30 VDC
73
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
CPM1A-20EDT
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
Load
Load
Load
Load
Load
Load
Load
Load
24 VDC +10%/–15%
CPM1A-8ET
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
Load
Load
Load
Load
4.5 to 30 VDC
04 06
05 07
Load
Load
Load
Load
4.5 to 30 VDC
74
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections 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.
! Caution Double-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.
Load
Load
Load
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
Load
Load
Load
Load
Load
75
Downloaded from www.Manualslib.com manuals search engine
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
Load
Load
Load
Load
Load
Load
Load
Load
Load
4.5 to 4.5 to 4.5 to 4.5 to 30 VDC 4.5 to 30 VDC 4.5 to 30 VDC
30 VDC 30 VDC 30 VDC
76
Downloaded from www.Manualslib.com manuals search engine
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
4.5 to 30 VDC
Load
Load
Load
Load
4.5 to 30 VDC
Load
Load
Load
4.5 to 30 VDC
Load
4.5 to 30 VDC
77
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
CPM1A-20EDT1
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
Load
Load
Load
Load
Load
Load
Load
Load
24 VDC +10%/–15%
CPM1A-8ET1
Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word
IR 1n.
Load
Load
Load
Load
4.5 to 30 VDC
04 06
05 07
Load
Load
Load
Load
4.5 to 30 VDC
78
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Using Pulse Outputs The following diagrams show example applications of sink-type transistor out-
puts using output bits IR 01000 and IR 01001. Use the PULS(65), SPED(––),
ACC(––), PWM(––), and SYNC(––) instructions to produce pulse outputs (rath-
er than normal outputs) from output bits IR 01000 and IR 01001.
Single-phase pulse output Single-phase pulse output
(Fixed duty ratio) (Variable duty ratio)
CPM2A CPM2A
Motor driver Relay
COM COM
COM COM
COM COM
Direction
input
Direction output: 01001
CCW* pulse output: 01001 CCW input
COM COM
Output Wiring Precautions Observe 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
Downloaded from www.Manualslib.com manuals search engine
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
OUT
Relay Output
Transistor Output
(Sinking) OUT
CPM2A
Diode
COM
Relay Output
Transistor Output
(Sourcing)
OUT
CPM2A
Diode
COM
Fuse Insertion
The CPM2A with transistor output may burn if the load is short-circuited, there-
fore, insert a protective fuse in series to the load.
Crimp Terminals
! Caution Always 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 terminal Ring terminal
The recommended wire size for solid wires is 0.4 to 1.2 mm (AWG26 to AWG18).
80
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Programming Console 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) Connect-
ing 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.
Connect the Programming Console to the CPU Unit’s Peripheral port; a Pro-
gramming Console cannot be connected to the RS-232C port. The PC will auto-
matically communicate with the Programming Console in Programming Con-
sole 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 Peripher-
al 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.
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
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
XW2Z-j00S XW2Z-j00S-V
IBM PC/AT or
RS-232C port IBM PC/AT or
compatible RS-232C port
compatible
computer
computer
Note The XW2Z-j00S cables have a D-Sub 25-pin connector and the
XW2Z-j00S-V cables have a D-Sub 9-pin connector.
Support Software
Name Model number Comments
CX-Programmer WS02-CXPC1-E For Window 95 or 98
(Ver. 1.2 or later) (CD-ROM)
SYSMAC-CPT WS01-CPTB1-E For IBM PC/AT or compatible computers
Support Software (1.44 MB 3.5-inch floppy disks or CD-ROM)
SYSMAC Support C500-ZL3AT1-E For IBM PC/AT or compatible computers
Software (1.44 MB 3.5-inch floppy disks)
Cables and Adapters
CPM2A port Cable length Model number Comments
Peripheral
p 3.3 m CQM1-CIF01 For a 25-pin
p computer
p serial port
p
3.3 m + CPM1-CIF01 +
0.15 m XW2Z-S001
RS-232C 2m XW2Z-200S For a 25-pin
p computer
p serial port
p
5m XW2Z-500S
2m XW2Z-200S-V For a 9-pin
p computer
p serial port
p
5m XW2Z-500S-V
82
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
XW2Z-j00S XW2Z-j00S-V
IBM PC/AT or
IBM PC/AT compatible
or compatible RS-232C port RS-232C port
computer
computer
Note The XW2Z-j00S cables have a D-Sub 25-pin connector and the
XW2Z-j00S-V cables have a D-Sub 9-pin connector.
Communications Settings
Set the CPU Unit’s Communications Switch to ON when using the standard
communications settings1. Set the switch to OFF to use the settings in the PC
Setup.
Note The standard settings are: Host Link, 9,600 bps, 7-bit data, 1 start bit, 2 stop bits,
and even parity. Refer to Section 1 PC Setup in the Programming Manual
(W353) for details on settings.
83
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
One-to-N Host Link Up to 32 OMRON PCs, including CPM2A PCs, can be controlled from a host
Connection computer. The following diagrams show separate RS-232C port and Peripheral
port configurations, but both ports can be used simultaneously.
RS-232C Port Connection
Up to 32 PCs
Up to 32 PCs
84
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
RS-232C devices
S Bar code reader
S Serial printer
S Other serial device
RS-232C port
Peripheral port
Note Set the CPU Unit’s Communications Switch to OFF to use the settings in the PC
Setup and set the communications mode to no-protocol mode for the port being
used. Refer to Section 1 PC Setup in the Programming Manual (W353) for de-
tails on settings.
RS-232C Cable
(such as the OMRON
XW2Z-200T (2 m) or
XW2Z-500T (5 m)) RS-232C port
Note 1. Set the CPU Unit’s Communications Switch to OFF to use the settings in the
PC Setup and set the communications mode to a 1:1 NT Link for the
RS-232C port. Refer to Section 1 PC Setup in the Programming Manual
(W353) for details on settings.
2. When in RUN mode, if a PT is connected to the RS-232C port via Host Link,
the PT will change the PC’s operating mode from RUN mode to MONITOR
mode. For details, refer to page 85.
Automatic Mode Change When the PC is in RUN mode with a Programming Console connected to the
peripheral port of the CPU Unit, if a PT is connected to the RS-232C port via Host
85
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
Link, the following message will be displayed at the Programming Console indi-
cating that a password is required to continue operation (using the Programming
Console).
<MONITOR>
PASSWORD!
This is because, in order to write data to the CPU Unit, the PT changed the oper-
ating mode from RUN mode to MONITOR mode. To continue operation using
the Programming Console, it is necessary to input the password again.
Inputting the Password
<MONITOR>
PASSWORD!
<MONITOR> BZ
CLR MONTR
00000
CLR
1:1 PC 1:1 PC
Link Link
Master Slave
RS-232C Cable
(such as the OMRON
XW2Z-200T (2 m) or
XW2Z-500T (5 m))
OMRON PC (CQM1, CPM1, OMRON PC (CQM1, CPM1,
CPM1A, CPM2C, SRM1(-V2), CPM1A, CPM2C, SRM1(-V2),
C200HS, or C200HX/HE/HG) C200HS, or C200HX/HE/HG)
Note Set the CPU Unit’s Communications Switch to OFF to use the settings in the PC
Setup and set the RS-232C port communications mode to 1:1 PC Link Master in
one PC and 1:1 PC Link Slave in the other PC. Refer to Section 1 PC Setup in the
Programming Manual (W353) for details on settings.
86
Downloaded from www.Manualslib.com manuals search engine
Wiring and Connections Section 3-4
C200HX/HG/HE PC
Cables
Use special flat cable or VCTF cable to connect the nodes in the CompoBus/S
I/O Link. (Special flat cables and VCTF cables cannot be combined in the same
system.)
Name Specifications
Flat cable 4-core flat cable, 0.75 mm2
VCTF cable 2-core x 0.75 mm2
87
Downloaded from www.Manualslib.com manuals search engine
SECTION 4
Using a Programming Console
This section provides information on connecting and using a Programming Console. Refer to 5-3 Programming Console
Operation Errors for details on errors that might occur during Programming Console operations.
4-1 Compatible Programming Consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90
4-1-1 Changing the CPM2A’s Mode with the Mode Switch . . . . . . . . . . . . . . . . . . . . . . 92
4-1-2 Connecting the Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
4-1-3 Preparation for Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
4-1-4 Entering the Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
4-2 Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4-2-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
4-2-2 Clearing Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97
4-2-3 Clearing Memory Completely . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4-2-4 Reading UM Allocation Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4-2-5 Reading/Clearing Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
4-2-6 Buzzer Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
4-2-7 Assigning Expansion Instruction Function Codes . . . . . . . . . . . . . . . . . . . . . . . . . 100
4-2-8 Setting and Reading a Program Memory Address and Monitoring I/O Bit Status 100
4-2-9 Entering or Editing Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
4-2-10 Instruction Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
4-2-11 Bit Operand Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
4-2-12 Inserting and Deleting Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
4-2-13 Checking the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4-2-14 Bit, Digit, Word Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4-2-15 Differentiation Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
4-2-16 Binary Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4-2-17 Three-Word Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
4-2-18 Signed Decimal Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
4-2-19 Unsigned Decimal Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4-2-20 Three-Word Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
4-2-21 Changing Timer, Counter SV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
4-2-22 Hexadecimal, BCD Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114
4-2-23 Binary Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
4-2-24 Signed Decimal Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
4-2-25 Unsigned Decimal Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 116
4-2-26 Force Set, Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117
4-2-27 Clear Force Set/Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
4-2-28 Hex-ASCII Display Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
4-2-29 Displaying the Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
4-2-30 Reading and Setting the Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
4-3 Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
4-3-1 Preparatory Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120
4-3-2 Example Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
4-3-3 Programming Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
4-3-4 Checking the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
4-3-5 Test Run in MONITOR Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
89
Downloaded from www.Manualslib.com manuals search engine
Compatible Programming Consoles Section 4-1
CQM1-PRO01-E
LCD display
Attached Connecting
Cable (2 m)
Mode switch
Operation keys
C200H-PRO27-E
LCD display
Mode switch
Operation keys
Connecting Cables
C200H-CN222 (2 m)
C200H-CN422 (4 m)
90
Downloaded from www.Manualslib.com manuals search engine
Compatible Programming Consoles Section 4-1
Different Keys The following keys are labeled differently on the CQM1-PRO01-E and the
C200H-PRO27-E, but the operation of the keys in each pair is identical.
PLAY
SET
SET
REC
RESET
RESET
Note To specify the AR area, use SHIFT and HR Keys for the C200H-PRO27-E and
use SHIFT and AR/HR Keys for the CQM1-PRO01-E.
A shift symbol will be displayed in the upper-right corner of the screen when the
Shift Key is pressed. The shift input can be cleared by pressing the Shift Key
again.
^ Shift input
SHIFT symbol
Mode Switch The mode switch controls the CPM2A’s operating mode. The key can be re-
moved when the switch is set to RUN or MONITOR but it cannot be removed
when the switch is set to PROGRAM.
Contrast Control The display contrast can be adjusted with the control on the right side of the Pro-
gramming Console.
Contrast control
Buzzer Volume The C200H-PRO27-E’s buzzer volume can be adjusted with the lever on the
right side of the Programming Console. The CQM1-PRO01-E’s buzzer volume
cannot be adjusted.
Low volume
High volume
C200H-PRO27-E
Note The buzzer volume can be turned on and off with a key operation. See 4-2-6
Buzzer Operation for details.
91
Downloaded from www.Manualslib.com manuals search engine
Compatible Programming Consoles Section 4-1
Mode display
Initial display
00000
Operating Modes
PROGRAM Mode
The CPM2A program isn’t executed in PROGRAM mode. Use PROGRAM
mode to create and edit the program, clear memory, or check the program for
errors.
MONITOR Mode
The CPM2A program is executed in MONITOR mode and I/O is processed just
as it is in RUN mode. Use MONITOR mode to test system operations, such as
monitoring CPM2A operating status, force-setting and resetting I/O bits, chang-
ing the SV/PV of timers and counters, changing word data, and online editing.
RUN Mode
This is the CPM2A’s normal operating mode. The CPM2A’s operating status can
be monitored from a Programming Device, but bits can’t be force-set/force-reset
and the SV/PV of timers and counters can’t be changed.
! Caution Check the system thoroughly before changing the operating mode of the PC to
prevent any accidents that might occur when the program is first started.
! Caution Never change the mode while pressing any of the keys.
92
Downloaded from www.Manualslib.com manuals search engine
Compatible Programming Consoles Section 4-1
Startup Operating Mode The operating mode of the CPM2A when the power is turned ON depends upon
the PC Setup setting in DM 6600 and the Programming Console’s mode switch
setting if the Programming Console is connected.
Note The default setting is 0000. If a Programming Console is not connected, the PC
will automatically enter RUN mode. Be sure that it is safe for the PC to operate
before turning on the PC without a Programming Console connected.
Panel Installation The C200H-PRO27-E Programming Console can be installed in a control panel
as shown in the following diagram. (The C200H-ATT01 Mounting Bracket is sold
separately.)
Two screws
+1.1
186 –0
93
Downloaded from www.Manualslib.com manuals search engine
Compatible Programming Consoles Section 4-1
Allow at least 80 mm for the cable connector above the Programming Console.
37
15
At least 80 mm is required.
About 70 mm is required.
! Caution Always confirm that the Programming Console is in PROGRAM mode when
turning ON the PC with a Programming Console connected unless another
mode is desired for a specific purpose. If the Programming Console is in RUN
mode when PC power is turned ON, any program in Program Memory will be
executed, possibly causing a PC-controlled system to begin operation.
94
Downloaded from www.Manualslib.com manuals search engine
Compatible Programming Consoles Section 4-1
<PROGRAM>
PASSWORD!
<PROGRAM> BZ
95
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
96
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
! Caution The PC Setup (DM 6600 through DM 6655) will be cleared when this operation is
performed.
Partial Clear It is possible to retain the data in specified areas or part of the Program Memory.
To retain the data in the HR, TC, or DM Areas, press the appropriate key after
pressing SET, NOT, and RESET. Any data area that still appears on the display
will be cleared when the MONTR Key is pressed.
The HR Key is used to specify both the AR and HR Areas, the CNT Key is used to
specify the entire timer/counter area, and the DM Key is used to specify the DM
Area.
It is also possible to retain a portion of the Program Memory from the first
memory address to a specified address. After designating the data areas to
be retained, specify the first Program Memory address to be cleared. For
example, input 030 to leave addresses 000 to 029 untouched, but to clear
addresses from 030 to the end of Program Memory.
As an example, follow the procedure below to retain the timer/counter area and
Program Memory addresses 000 through 122:
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Press the SET, NOT, and then the RESET Key to begin the operation.
3. Press the CNT Key to remove the timer/counter area from the data areas
shown on the display. (Counter PVs will not be cleared.)
00000MEMORY CLR?
CNT
HR DM
97
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
This operation must be used when it is necessary to clear the program and I/O
comment area. There are no other Programming Console operation that can be
used to clear the I/O comment area.
Refer to the CX-Programmer User Manual (version 2.0 or later) for informa-
tion on changing the size of the I/O comment area.
Key Sequence Press the CLR, FUN and then the VER Key to display the I/O comment area and
ladder program area capacities.
CLR FUN VER CA LAD
01 02.1
Ladder program area:
2.1 k word
I/O comment area:
(rounding up 2,048)
1 K word (rounding
down 1,012)
98
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
Key Sequence Follow the procedure below to display and clear messages.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Press the FUN and then the MONTR Key to begin the operation. If there are
no messages, the following display will appear:
ERR/MSG CHK OK
FUN MONTR
If there are messages, the most serious message will be displayed when the
MONTR Key is pressed. Pressing MONTR again will clear the present mes-
sage and display the next most serious error message. Continue pressing
MONTR until all messages have been cleared. These are some examples
of error messages:
A memory error:
MEMORY ERR
MONTR
A system error:
SYS FAIL FAL01
MONTR
Key Sequence Follow the procedure below to turn the key-input buzzer on and off.
1, 2, 3... 1. Press the CLR, SHIFT, and then the CLR Key to bring up the mode display.
In this case the PC is in PROGRAM mode and the buzzer is ON.
<MONITOR> BZ
CLR SHIFT CLR
2. Press the SHIFT and then the 1 Key to turn off the buzzer.
99
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
SHIFT
B
1 <MONITOR>
100
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
When inputting a program for the first time, it is generally written to Program
Memory starting from address 000. Because this address appears when the
display is cleared, it is not necessary to specify it.
When inputting a program starting from other than 000 or to read or modify a
program that already exists in memory, the desired address must be desig-
nated.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Input the desired address. It is not necessary to input leading zeroes.
C A A 00200
2 0 0
The same procedure is used to either input a program for the first time or to
change a program that already exists. In either case, the current contents of
Program Memory is overwritten.
The program shown in the following diagram will be entered to demonstrate
this operation.
00002
TIM 000 Address Instruction Operands
#0123 12.3 s 00200 LD IR 00002
00201 TIM 000
MOV(021) #0123
#0100 00202 MOV(021)
LR 10
#0100
LR 10
00203 ADB(050)
ADB(050) #0100
#0100 #FFF6
#FFF6 DM 0000
DM 0000
101
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
102
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
103
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
Note If an erroneous input is made, press the CLR Key to restore the status
prior to the input. Then enter the correct input.
00204READ
WRITE
NOP (000)
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or
MONITOR mode.
B A A 00100READ
1 0 0 ↓ TIM 001
3. Input the instruction to be found and press the SRCH Key. In this case, the
search is for OUT 01000.
In this case, the next OUT 01000 instruction is at address 200, as shown
below.
B A A A 00200SRCH
OUT 1 0 0 0 SRCH
OUT 01000
4. Press the Down Arrow Key to display the instruction’s operands or press the
SRCH Key to search for the next occurrence of the instruction.
104
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
5. The search will continue until an END instruction or the end of Program
Memory is reached. In this case, an END instruction was reached at
address 397.
Indicates the address
of END instruction.
00397SRCH
SRCH
END (001)00.4KW
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or
MONITOR mode.
00397CONT SRCH
SRCH
END (001)00.4KW
105
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
Original Program
Insertion Follow the procedure below to insert the IR 00105 NO condition at address
00206.
C A 00206READ
2 0 6 ↓ AND NOT 00104
3. Input the new instruction and press the INS Key.
AND B A F 00206INSERT?
1 0 5 INS
AND 00105
4. Press the Down Arrow Key to insert the new instruction.
00207INSERT END
↓ AND NOT 00104
Note For instructions that require more operands (such as set values),
input the operands and then press the WRITE Key.
Deletion Follow the procedure below to delete the IR 00103 NO condition at address
00205.
C A F 00205READ
2 0 5 ↓ AND 00103
3. Press the DEL Key.
00205DELETE?
DEL
AND 00103
4. Press the Up Arrow Key to delete the specified instruction.
If the instruction has more operands, the operands will be deleted automati-
cally with the instruction.
00205 DELETE END
↑
AND 00105
After completing the insertion and deletion procedures, use the Up and Down
Arrow Keys to scroll through the program and verify that it has been changed
correctly, as shown in the following diagram.
106
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
Corrected Program
00201 00102
107
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
Program Read then Monitor When a program address is being displayed, the status of the bit or word in that
address can be monitored by pressing the MONTR Key.
Bit Monitor Follow the procedure below to monitor the status of a particular bit.
CONT B 00001
SHIFT 1 MONTR
# ^ ON
The Up or Down Arrow Key can be pressed to display the status of the pre-
vious or next bit.
The displayed bit’s status can be changed using the Force Set/Reset opera-
tion. Refer to 4-2-26 Force Set, Reset for details.
3. Press the CLR Key to end monitoring.
00000
CLR
CONT 00001
Word Monitor Follow the procedure below to monitor the status of a particular word.
CH *EM B 00000
SHIFT 1
*DM LR CHANNEL LR 01
3. Press the MONTR Key to begin monitoring.
cL01
MONTR
FFFF
The Up or Down Arrow Key can be pressed to display the status of the pre-
vious or next word.
The displayed word’s status can be changed using the Hexadecimal/BCD
Data Modification operation. Refer to 4-2-22 Hexadecimal, BCD Data Modi-
fication, 4-2-23 Binary Data Modification, 4-2-24 Singed Decimal Data Mod-
ification, and 4-2-25 Unsigned Decimal Data Modification for details.
108
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
EM D000000001 T000
MONTR
DM 0000^ OFF 0100
If 4 or more bits and words are being monitored, the bits and words that do
not appear on the display can be displayed by pressing the MONTR Key. If
the MONTR Key is pressed alone, the display will shift to the right.
If more than six bits and words are input, monitoring of the bit or word input
first will be canceled.
4. Press the CLR Key to stop monitoring the leftmost bit or word and clear it
from the display.
00001 T000
CLR
^ OFF 0100
5. Press the SHIFT and CLR Keys to end monitoring altogether.
00000
SHIFT CLR
CONT 00001
Note Press the SHIFT Key, CLR Key, and then CLR Key again to return to the initial
Programming Console display with the multiple address monitoring state
unchanged. Press the SHIFT Key and then the MONTR Key from the initial dis-
play to return to the multiple address monitoring state. The monitoring states can
be retained for 6 bits and words.
The operating mode can be changed without altering the current monitor display
by holding down the SHIFT Key and then changing the operating mode.
1, 2, 3... 1. Monitor the status of the desired bit according to the procedure described in
4-2-14 Bit, Digit, Word Monitor. If 2 or more bits are being monitored, the de-
sired bit should be leftmost on the display.
In this case the differentiation status of LR 00 will be monitored.
L000000001H0000
^ OFF^ OFF^ OFF
109
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
1, 2, 3... 1. Monitor the status of the desired word according to the procedure described
in 4-2-14 Bit, Digit, Word Monitor. The desired word should be leftmost on
the display if 2 or more words are being monitored.
c010
(Word monitor) 0000
2. Press the SHIFT and then the MONTR Key to begin binary monitoring. The
ON/OFF status of the selected word’s 16 bits will be shown along the bottom
of the display. A 1 indicates a bit is on, and a 0 indicates it is off.
c010 MONTR
0000000000000000
SHIFT MONTR
Bit 15 Bit 00
The status of force-set bits is indicated by “S,” and the status of a force-reset
bits is indicated by “R,” as shown below.
c010 MONTR
000S0000000R0000
Note a) The status of displayed bits can be changed at this point. Refer to
4-2-23 Binary Data Modification for details.
b) The Up or Down Arrow Key can be pressed to display the status of
the previous or next word’s bits.
110
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
3. Press the CLR Key to end binary monitoring and return to the normal moni-
toring display.
c010
CLR
0000
1, 2, 3... 1. Monitor the status of the first of the three words according to the procedure
described in 4-2-14 Bit, Digit, Word Monitor.
If 2 or more words are being monitored, the desired first word should be left-
most on the display.
c200
(Word monitor) 89AB
2. Press the EXT Key to begin 3-word monitoring. The status of the selected
word and the next two words will be displayed, as shown below. In this case,
DM 0000 was selected.
c202 c201 c200
EXT
0123 4567 89AB
The Up and Down Arrow Keys can be used to shift one address up or down.
The status of the displayed words can be changed at this point. Refer to
4-2-20 Three-word Data Modification.
The display can be changed to display ASCII text, which is useful when
three consecutive words containing an ASCII message are displayed. Refer
to 4-2-28 Hex-ASCII Display Change.
3. Press the CLR Key to end 3-word monitoring and return to the normal moni-
toring display. The rightmost word on the 3-word monitor display will be
monitored.
c200
CLR
89AB
Note The operating mode can be changed without altering the current monitor display
by holding down the SHIFT Key and then changing the operating mode.
1, 2, 3... 1. Monitor the word that is to be used for decimal monitor with sign. During mul-
tiple address monitoring, the leftmost word will be converted.
c200 cL0020000
(Multiple address monitor) FFF0 0000^ OFF
2. Press the SHIFT+TR Keys to display the leftmost word as signed decimal.
c200
SHIFT TR
Ć00016
111
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
At this point, the contents of the displayed word can be changed with a
signed-decimal input. Refer to 4-2-24 Signed Decimal Data Modification.
3. Press the CLR Key or the SHIFT+TR Keys to end the unsigned decimal dis-
play and return to normal monitoring.
c200 cL0020000
CLR
FFF0 0000^ OFF
1, 2, 3... 1. Monitor the word that is to be used for decimal monitor without sign. During
multiple address monitoring, the leftmost word will be converted.
c200 cL0020000
Multiple address monitoring FFF0 0000^ OFF
! Caution Before changing the contents of I/O memory, be sure that the changes will not
cause equipment to operate unexpectedly or dangerously. In particular, take
care when changing the status of output bits. The PC continues to refresh I/O
bits even if the PC is in PROGRAM mode, so devices connected to output points
on the CPU Unit, Expansion Units, or Expansion I/O Units may operate unex-
pectedly.
1, 2, 3... 1. Monitor the status of the desired words according to the procedure de-
scribed 4-2-17 Three-Word Monitor.
D0002D0001D0000
(Three-word monitor) 0123 4567 89AB
112
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
2. Press the CHG Key to begin 3-word data modification. The cursor will ap-
pear next to the contents of the leftmost word.
D0002 3CH CHG?
CHG
0123 4567 89AB
3. Input the new value for the leftmost word on the display and press the CHG
Key if more changes will be made.
(Input the new value and press the WRITE Key to write the changes in
memory if no more changes will be made.)
B D0002 3CH CHG?
1 CHG
0001 4567 89AB
4. Input the new value for the middle word on the display and press the CHG
Key if the rightmost word will be changed. Input the new value and press the
WRITE Key to write the changes in memory if the rightmost word will not be
changed. (In this case, it will not.)
C D E D0002D0001D0000
2 3 4 WRITE
0001 0234 89AB
Note If the CLR Key is pressed before the WRITE Key, the operation will be cancelled
and the 3-word monitor display will return without any changes in data memory.
113
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
Incrementing and This operation can be used to increment and decrement an SV constant. It is
Decrementing a Constant possible only when the SV has been entered as a constant.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Display the desired timer or counter.
00201SRCH
TIM SRCH
TIM 000
3. Press the Down Arrow, CHG, and then the EXT Key.
00201DATA ? U/D
↓ CHG EXT
T000 #0123 #0123
The constant on the left is the old SV and the constant on the right will be-
come the new SV constant in step 5.
4. Press the Up and Down Arrow Keys to increment and decrement the con-
stant on the right. (In this case the SV is incremented once.)
00201DATA ? U/D
↓ T000 #0123 #0124
5. Press the CLR Key twice to change the timer’s SV to the new value.
00201 TIM DATA
CLR CLR
#0124
! Caution Before changing the contents of I/O memory, be sure that the changes will not
cause equipment to operate unexpectedly or dangerously. In particular, take
care when changing the status of output bits. The PC continues to refresh I/O
bits even if the PC is in PROGRAM mode, so devices connected to output points
on the CPU Unit, Expansion Units, or Expansion I/O Units may operate unex-
pectedly.
1, 2, 3... 1. Monitor the status of the desired word according to the procedure described
in 4-2-14 Bit, Digit, Word Monitor. If two or more words are being monitored,
the desired word should be leftmost on the display.
D0000
(Word monitor) 0119
2. Press the CHG Key to begin hexadecimal, BCD data modification.
PRES VAL?
CHG
D0000 0119 ????
3. Input the new PV and press the WRITE Key to change the PV.
The operation will end and the normal monitoring display will return when
the WRITE Key is pressed.
C A A D0000
2 0 0 WRITE
0200
114
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
! Caution Before changing the contents of I/O memory, be sure that the changes will not
cause equipment to operate unexpectedly or dangerously. In particular, take
care when changing the status of output bits. The PC continues to refresh I/O
bits even if the PC is in PROGRAM mode, so devices connected to output points
on the CPU Unit, Expansion Units, or Expansion I/O Units may operate unex-
pectedly.
1, 2, 3... 1. Monitor the status of the desired word according to the procedure described
4-2-16 Binary Monitor.
c010 MONTR
(Binary monitor) 1000010101010101
Bit 15 Bit 00
2. Press the CHG Key to begin binary data modification.
c010 CHG?
CHG
000010101010101
A flashing cursor will appear over bit 15. The cursor indicates which bit can
be changed.
3. Three sets of keys are used to move the cursor and change bit status:
a) Use the Up and Down Arrow Keys to move the cursor to the left and right.
c010 CHG?
↓ ↓ 10 0010101010101
b) Use the 1 and 0 Keys to change a bit’s status to on or off. The cursor will
move one bit to the right after one of these keys is pressed.
B c010 CHG?
1
101 010101010101
c) Use the SHIFT+SET and SHIFT+RESET Keys to force-set or force-re-
set a bit’s status. The cursor will move one bit to the right after one of
these keys is pressed. The NOT Key will clear force-set or force-reset
status.
Note Bits in the DM Area cannot be force-set or force-reset.
4. Press the WRITE Key to write the changes in memory and return to the
binary monitor.
c010 MONTR
WRITE
1010010101010101
115
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
! Caution Before changing the contents of I/O memory, be sure that the changes will not
cause equipment to operate unexpectedly or dangerously. In particular, take
care when changing the status of output bits. The PC continues to refresh I/O
bits even if the PC is in PROGRAM mode, so devices connected to output points
on the CPU Unit, Expansion Units, or Expansion I/O Units may operate unex-
pectedly.
1, 2, 3... 1. Monitor (signed decimal) the status of the word for which the present value
is to be changed.
D0200
(Signed decimal monitor) Ć00016
2. Press the CHG Key to begin decimal data modification.
PRES VAL?
CHG
D0200Ć00016
3. Input the new PV and press the WRITE Key to change the PV. The operation
will end and the signed-decimal monitoring display will return when the
WRITE Key is pressed.
The PV can be set within a range of –32,768 and 32,767. Use the SET Key to
input a positive number, and use the RESET Key to input a negative number.
D C D0200
3 2 7 6 8 WRITE
Ć32768
RESET
If an erroneous input has been made, press the CLR Key to restore the sta-
tus prior to the input. Then enter the correct input.
The buzzer will sound if a value outside the specified range is input, allowing
no writing.
! Caution Before changing the contents of I/O memory, be sure that the changes will not
cause equipment to operate unexpectedly or dangerously. In particular, take
care when changing the status of output bits. The PC continues to refresh I/O
bits even if the PC is in PROGRAM mode, so devices connected to output points
on the CPU Unit, Expansion Units, or Expansion I/O Units may operate unex-
pectedly.
1, 2, 3... 1. Monitor (unsigned decimal) the status of the word for which the present val-
ue is to be changed.
c200
(Unsigned decimal monitor) 65520
2. Press the CHG Key to begin decimal data modification.
116
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
PRES VAL?
CHG
c200 65520
3. Input the new PV and press the WRITE Key to change the PV. The operation
will end and the decimal-without-sign monitoring display will return when the
WRITE Key is pressed.
The PV can be set within a range of 0 to 65,535.
D C c200
3 2 7 6 8 WRITE
32768
If an erroneous input has been made, press the CLR Key to restore the sta-
tus prior to the input. Then enter the correct input.
The buzzer will sound if a value outside the specified range is input, allowing
no writing.
! Caution Before changing the contents of I/O memory, be sure that the changes will not
cause equipment to operate unexpectedly or dangerously. In particular, take
care when changing the status of output bits. The PC continues to refresh I/O
bits even if the PC is in PROGRAM mode, so devices connected to output points
on the CPU Unit, Expansion Units, or Expansion I/O Units may operate unex-
pectedly.
1, 2, 3... 1. Monitor the status of the desired bit according to the procedure described in
4-2-14 Bit, Digit, Word Monitor. If two or more words are being monitored,
the desired bit should be leftmost on the display.
0000020000
(Multiple address monitor) ^ OFF^ ON
2. Press the SET Key to force the bit ON or press the RESET Key to force the
bit OFF.
0000020000
SET
ON^ ON
The cursor in the lower left corner of the display indicates that the force set/
reset is in progress. Bit status will remain ON or OFF only as long as the key
is held down; the original status will return one cycle after the key is re-
leased.
3. Press the SHIFT and SET Keys or SHIFT and RESET Keys to maintain the
status of the bit after the key is released. In this case, the force-set status is
indicated by an “S” and the force-reset status is indicated by an “R.”
To return the bit to its original status, press the NOT Key or perform the Clear
Force Set/Reset operation. Refer to 4-2-27 Clear Force Set/Reset for de-
tails.
Forced status will also be cleared in the following cases:
a) When the PC’s operating mode is changed (although the forced status
will not be cleared when the mode is changed from PROGRAM to MON-
ITOR if SR 25211 is ON)
b) When the PC stops because a fatal error occurred
117
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
! Caution Before changing the contents of I/O memory, be sure that the changes will not
cause equipment to operate unexpectedly or dangerously. In particular, take
care when changing the status of output bits. The PC continues to refresh I/O
bits even if the PC is in PROGRAM mode, so devices connected to output points
on the CPU Unit, Expansion Units, or Expansion I/O Units may operate unex-
pectedly.
Note If you mistakenly press the wrong key, press CLR and start again
from the beginning.
3. Press the NOT Key to clear the force-set/reset status of bits in all data areas.
00000FORCE RELE
NOT
END
1, 2, 3... 1. Monitor the status of the desired word(s) according to the procedure de-
scribed in 4-2-14 Bit, Digit, Word Monitor. While the multiple addresses are
being monitored, the leftmost word is subject to change.
D0000D0001
(Multiple address monitor) 4142 3031
2. Press the TR Key to switch to ASCII display. The display will toggle between
hexadecimal and ASCII displays each time the TR Key is pressed.
D0000D0001
TR
"AB" 3031
D0000D0001
TR
4142 3031
Note 1. A message contained in three words can be displayed by using ASCII dis-
play in combination with the Three-word monitor operation.
2. The Hexadecimal, BCD Data Modification Operation can be used while dis-
playing ASCII data. Input values in 4-digit hexadecimal.
118
Downloaded from www.Manualslib.com manuals search engine
Programming Console Operations Section 4-2
00000SCAN TIME
MONTR
012.1MS
119
Downloaded from www.Manualslib.com manuals search engine
Programming Example Section 4-3
1, 2, 3... 1. Set the Programming Console’s mode switch to PROGRAM mode and turn
on the CPM2A’s power supply. The password input display will appear on
the Programming Console.
MONITOR
RUN PROGRAM
<PROGRAM>
PASSWORD!
2. Enter the password by pressing the CLR and then the MONTR Key.
<PROGRAM> BZ
CLR MONTR
3. Clear the CPM2A’s memory by pressing the CLR, SET, NOT, RESET, and
then the MONTR Key. Press the CLR Key several times if memory errors are
displayed.
00000
CLR
00000MEMORY CLR?
SET NOT RESET
HR CNT DM
00000MEMORY CLR
MONTR
END HR CNT DM
4. Display and clear error messages by pressing the CLR, FUN, and then the
MONTR Key. Continue pressing the MONTR Key until all error messages
have been cleared.
00000
CLR
00000
FUN
FUN (0??)
ERR/MSG CHK OK
MONTR
5. Press the CLR Key to bring up the initial programming display (program ad-
dress 00000). The new program can be written at this point.
00000
CLR
! Caution Check the system thoroughly before starting or stopping the CPM2A to prevent
any accidents that might occur when the program is first started.
120
Downloaded from www.Manualslib.com manuals search engine
Programming Example Section 4-3
20000 T002
00004 TIM 001
#0010 1-second timer
20000 T002
00007 TIM 002
2-second timer
#0020
20000 T001
Count input CP
00010 CNT 000
20000 10-count counter
R #0010
Reset input
1S
00017 END(01)
The mnemonic list for the example program is shown in the following table. The
steps required to enter this program from a Programming Console are described
in 4-3-3 Programming Procedures.
Address Instruction Data Programming example
procedures in 4-3-3
Programming Procedures
00000 LD 00000 ((1)) Self-holding
g bit
00001 OR 20000
00002 AND NOT C 000
00003 OUT 20000
00004 LD 20000 ((2)) 1-second timer
00005 AND NOT T 002
00006 TIM 001
# 0010
00007 LD 20000 ((3)) 2-second timer
00008 AND NOT T 002
00009 TIM 002
# 0020
00010 LD 20000 ((4)) 10-count counter
00011 AND T 001
00012 LD NOT 20000
00013 CNT 000
# 0010
00014 LD 20000 ((5)) Flicker output
p ((10 counts))
00015 AND NOT T 001
00016 OUT 01000
00017 END (01) --- (6) END(01) instruction
121
Downloaded from www.Manualslib.com manuals search engine
Programming Example Section 4-3
LD 00000
LD 00000
00001READ
WRITE
NOP (000)
2. Input the OR condition IR 20000.
OR C A A A A 00001
2 0 0 0 0
OR 20000
00002READ
WRITE
NOP (000)
3. Input the normally closed AND condition C000.
(It isn’t necessary to input leading zeroes.)
AND 00002
NOT CNT
AND NOT CNT 000
00003READ
WRITE
NOP (000)
4. Input the OUT instruction IR 20000.
C A A A A 00003
OUT 2 0 0 0 0
OUT 20000
00004READ
WRITE
NOP (000)
LD C A A A A 00004
2 0 0 0 0
LD 20000
00005READ
WRITE
NOP (000)
2. Input the normally closed AND condition T002.
(It isn’t necessary to input leading zeroes.)
AND C 00005
NOT TIM 2
AND NOT TIM 002
00006READ
WRITE
NOP (000)
122
Downloaded from www.Manualslib.com manuals search engine
Programming Example Section 4-3
123
Downloaded from www.Manualslib.com manuals search engine
Programming Example Section 4-3
LD C A A A A 00012
NOT 2 0 0 0 0
LD NOT 20000
00013READ
WRITE
NOP (000)
4. Input the counter 000.
A 00013
CNT 0
CNT 000
00014READ
WRITE
NOP (000)
LD C A A A A 000014
2 0 0 0 0
LD 20000
00015READ
WRITE
NOP (000)
2. Input the normally closed AND condition T001.
(It isn’t necessary to input leading zeroes.)
AND B 00015
NOT TIM 1
AND NOT TIM 001
00016READ
WRITE
NOP (000)
3. Input the OUT instruction IR 01000.
(It isn’t necessary to input leading zeroes.)
B A A A 00016
OUT 1 0 0 0
OUT 01000
00017READ
WRITE
NOP (000)
(6) Inputting the END(001) Input END(01). (The display shows three digits in the function code, but only the
Instruction last two digits are input for CPM2A PCs.)
00017
FUN
FUN (0??)
A B 00017
0 1
END (001)
00018READ
WRITE
NOP (000)
124
Downloaded from www.Manualslib.com manuals search engine
Programming Example Section 4-3
2. Press the SRCH Key. An input prompt will appear requesting the desired
check level.
00000PROG CHK
SRCH
CHK LBL (0Ć2)?
3. Input the desired check level (0, 1, or 2). The program check will begin when
the check level is input, and the first error found will be displayed. If no errors
are found, the following display will appear.
A 00017PROG CHK
0
END (001)00.1KW
Note Refer to 5-4 Programming Errors for details on check levels and the
programming errors that may be displayed during a program check.
4. Press the SRCH Key to continue the search. The next error will be dis-
played. Continue pressing the SRCH Key to continue the search.
The search will continue until an END(01) instruction or the end of Program
Memory is reached.
If errors are displayed, edit the program to correct the errors and check the pro-
gram again. Continue checking the program until all errors have been corrected.
<MONITOR> BZ
3. Force-set the start input bit (IR 00000) from the Programming Console to
start the program.
LD 00000
LD 00000
00000
MONTR
^ OFF
00000
SET
ON
The cursor in the lower left corner of the display indicates that the force set is
in progress. The bit will remain ON as long as the Set Key is held down.
4. The output indicator for output IR 01000 will flash ten times if the program is
operating correctly. The indicator should go OFF after ten one-second
flashes.
There is a mistake in the program if the output indicator doesn’t flash. In this
case, check the program and force set/reset bits to check operation.
125
Downloaded from www.Manualslib.com manuals search engine
SECTION 5
Test Runs and Error Processing
This section describes procedures for test runs of CPM2A operation, self-diagnosis functions, and error processing to identify
and correct the hardware and software errors that can occur during PC operation.
127
Downloaded from www.Manualslib.com manuals search engine
Initial System Checks and Test Run Procedure Section 5-1
Note 1. Always clear memory before beginning to program the CPM2A. Although
memory is cleared before the CPU Unit is shipped, the contents of the DM,
HR, AR, and counter areas may change in transit. See 4-2-2 Clearing
Memory for details on the All Clear operation.
2. See 1-3-3 Operating Mode at Startup to determine what mode the CPM2A
will enter when the power is turned on.
128
Downloaded from www.Manualslib.com manuals search engine
Self-diagnostic Functions Section 5-2
! WARNING 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. External
safety measures must be provided to ensure safety in the system. Not providing
proper safety measures may result in serious accidents.
129
Downloaded from www.Manualslib.com manuals search engine
Self-diagnostic Functions Section 5-2
FAILURE ALARM – FAL(06) FAL(06) is an instruction that causes a non-fatal error. The following will occur
when an FAL(06) instruction is executed:
1, 2, 3... 1. The ERR/ALM indicator on the CPU Unit will flash. PC operation will con-
tinue.
2. The instruction’s 2-digit BCD FAL number (01 to 99) will be written to
SR 25300 to SR 25307.
The FAL numbers can be set arbitrarily to indicate particular conditions, but the
same number should not be used as both an FAL number and an FALS number.
To clear an FAL error, correct the cause of the error and then execute FAL 00 or
use a Programming Device to clear the error.
SEVERE FAILURE ALARM – FALS(07) is an instruction that causes a fatal error. The following will occur when
FALS(07) an FALS(07) instruction is executed:
1, 2, 3... 1. Program execution will be stopped and all outputs will be turned OFF.
2. The ERR/ALM indicator on the CPU Unit will be lit.
3. The instruction’s 2-digit BCD FALS number (01 to 99) will be written to
SR 25300 to SR 25307.
The FALS numbers can be set arbitrarily to indicate particular conditions, but the
same number should not be used as both an FAL number and an FALS number.
To clear an FALS error, use a Programming Device to switch the PC to PRO-
GRAM Mode, correct the cause of the error, and then clear the error.
130
Downloaded from www.Manualslib.com manuals search engine
Self-diagnostic Functions Section 5-2
131
Downloaded from www.Manualslib.com manuals search engine
Programming Errors Section 5-4
Note Refer to the relevant Support Software Operation Manual for details on errors
that may appear when operating the SSS or SYSMAC-CPT Support Software.
132
Downloaded from www.Manualslib.com manuals search engine
Troubleshooting Flowcharts Section 5-5
Error
Yes
Yes
Not lit
Is I/O sequence No
normal? Check I/O. (See page 137.)
Yes
Operating No
environment normal? Check operating environment. (See page 139.)
Yes
133
Downloaded from www.Manualslib.com manuals search engine
Troubleshooting Flowcharts Section 5-5
Yes
No Yes
Is PWR indicator lit?
Yes
No
No Yes
Is PWR indicator lit?
134
Downloaded from www.Manualslib.com manuals search engine
Troubleshooting Flowcharts Section 5-5
No
Is the ERR/ALM
indicator lit?
Yes
Yes
Determine the cause No
Is PC mode displayed
of the error with a on Programming
Programming Device. Device?
Is PC mode displayed on No
Turn the power
Programming Device?
supply OFF, and
then ON again.
Yes
Switch to RUN or
MONITOR mode.
Is the RUN No
indicator lit?
Yes
135
Downloaded from www.Manualslib.com manuals search engine
Troubleshooting Flowcharts Section 5-5
No
Not lit
End
Replace the CPU
Unit.
136
Downloaded from www.Manualslib.com manuals search engine
Troubleshooting Flowcharts Section 5-5
I/O Check The I/O check flowchart is based on the following ladder diagram section.
(LS1) (LS2)
00002 00003
01003 SOL1
01003
SOL1 malfunction.
Malfunction of SOL1
Is the No
IR 01003 output indicator
operating normally?
Yes
Check the voltage at the Wire correctly. Correct the short circuit Monitor the ON/OFF
IR 01003 terminals. or limit the connected status of IR 01003
load to the specified with a Programming
range. Device.
No
No No
Operation OK? Is output wiring Operation OK?
correct? A
To
next
Yes Yes Yes page
No
137
Downloaded from www.Manualslib.com manuals search engine
Troubleshooting Flowcharts Section 5-5
No
Are the IR 00002
and IR 00003 input indi-
cators operating
A normally?
From
previous Yes
page
Operation OK?
No Yes
Operation OK?
No
Are the terminal
Yes screws loose?
Yes Yes
No Is input wiring No
correct?
Yes
138
Downloaded from www.Manualslib.com manuals search engine
Troubleshooting Flowcharts Section 5-5
Consider
Is the installation No constructing an
environment okay? instrument panel
or cabinet.
Yes
End.
139
Downloaded from www.Manualslib.com manuals search engine
Troubleshooting Flowcharts Section 5-5
No
No
No
No
End
140
Downloaded from www.Manualslib.com manuals search engine
Maintenance Inspections Section 5-6
141
Downloaded from www.Manualslib.com manuals search engine
Battery Replacement Section 5-7
142
Downloaded from www.Manualslib.com manuals search engine
Battery Replacement Section 5-7
5. Check the alignment of the connector tab and fully insert the connector.
6. Insert the battery into the compartment, making sure that the cord on the
battery is facing the connector on the right side inside the compartment.
143
Downloaded from www.Manualslib.com manuals search engine
SECTION 6
Expansion Memory Unit
This section describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and pro-
cedures to properly use the Unit.
145
Downloaded from www.Manualslib.com manuals search engine
Overview Section 6-1
6-1 Overview
The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small-
size or micro PCs. Using the CPM1-EMU01-V1, simple on-site transfer of user
programs and data memory between PCs is possible.
Uploading
Downloading
SYSMAC
CPM1, CPM1A, CPM2A, CPM2C,
EEPROM CQM1, CQM1H, SRM1(-V2)
Note The “PLC” in the “DOWNLOAD TO PLC” Button indicates PCs (Programmable
Controllers).
Note For details on program size, DM area, and the availability of expansion instruc-
tions, refer to the relevant PC manual.
6-1-2 Precautions
• Do not attempt to use the CPM1-EMU01-V1 for any applications other than
those described here. Doing so may result in malfunction.
• Do not attempt to upload or download data between different types of PC. Do-
ing so may result in malfunction.
• Do not download when the PC is in RUN or MONITOR mode. If downloading is
performed when the PC is running, it will automatically switch to PROGRAM
mode and operation will stop.
• Do not attempt to disassemble, repair, or modify the CPM1-EMU01-V1. Any
attempt to do so may result in malfunction, fire, or electric shock.
• After downloading has been completed, be sure to confirm the user program,
data, and expansion instruction information. Not doing so may result in faulty
operation.
146
Downloaded from www.Manualslib.com manuals search engine
Specifications and Nomenclature Section 6-2
6-2-2 Nomenclature
Peripheral Port
Connector
Lock Lever
EEPROM Socket
Lock Lever
For mounting and removing EEPROM.
DOWNLOAD TO PLC Button
Writes all EEPROM data (ladder programs,
data memory etc.) to the PC.
UPLOAD + DM Button
Reads PC user program and contents of
DM 6144 to DM 6655 to EEPROM.
Indicator DOWNLOAD to PLC Button
UPLOAD Button
UPLOAD + DM Button UPLOAD Button Reads only PC user program to EEPROM.
Note The “PLC” in the “DOWNLOAD TO PLC” Button indicates PCs (Programmable
Controllers).
147
Downloaded from www.Manualslib.com manuals search engine
Handling Section 6-3
6-3 Handling
6-3-1 Mounting/Removing EEPROM
! Caution Do not mount or remove the EEPROM with the CPM1-EMU01-V1 connected to
the PC. Doing so may damage the EEPROM.
Mounting EEPROM
1, 2, 3... 1. Lift up the lock lever.
2. Straighten the pins on the EEPROM, line up with the socket and lower into
the socket, as shown in the following diagram. If the EEPROM is loose,
place it in the center of the socket.
3. Gently hold down the EEPROM and pull down the lock lever.
148
Downloaded from www.Manualslib.com manuals search engine
Handling Section 6-3
Removing EEPROM Lift up the lock lever and detach the EEPROM.
6-3-2 PC Connections
! Caution Do not disconnect the CPM1-EMU01-V1 from the PC when the indicator is blink-
ing green.
CPM1, CPM1A, CPM2A, When connecting to the CPM1, CPM1A, CPM2A, CQM1 or SRM1 (-V2),insert
CQM1, and SRM1 (-V2) the connector into the peripheral port making sure that the connector is oriented
PCs correctly.
• Insert the connector until it securely locks into place.
• Connections are not possible to the RS-232C port or any other port.
Connection to CPM2A
CPM2C and CQM1H PCs When connecting to the CPM2C or CQM1H, connect to the peripheral port via
the CPM2C-CN111 or CS1W-CN114 Connecting Cable. Also, set the pins on
the CPU Unit’s DIP switch as follows:
Note If pin 1 on the CPM2C or pin 5 on the CQM1H is OFF, connection is still possible if
the peripheral port is set to the defaults.
Peripheral Port The peripheral port must be set to the default communications settings shown
Communications below.
Settings
Start bit: 1
Data bits: 7
Stop bits: 2
Parity: Even
Baud rate: 9,600 bps
149
Downloaded from www.Manualslib.com manuals search engine
Handling Section 6-3
Disconnecting Press the levers on the top and bottom of the connector inwards to unlock the
connector and pull out as shown in the following diagram.
SYSMAC PC
Indicator
Note Use a Phillips screwdriver or other tool with a diameter of 3.0 mm max. and a
blade length of 10 mm min. to press the upload button.
10 mm min.
150
Downloaded from www.Manualslib.com manuals search engine
Handling Section 6-3
Operation Procedure
Start
End
151
Downloaded from www.Manualslib.com manuals search engine
Handling Section 6-3
! Caution If the PC is in RUN or MONITOR mode when downloading is started, it will auto-
matically switch to PROGRAM mode and operation will stop. Confirm that no
adverse effects will occur to the system before downloading. Not doing so may
result in unexpected operation.
152
Downloaded from www.Manualslib.com manuals search engine
Handling Section 6-3
Operation Procedure
Start
End
153
Downloaded from www.Manualslib.com manuals search engine
Appendix A
Standard Models
CPU Units
Description
p Input
p Output
p Power Model number
points
i points
i supply
l Relay
y outputs
p Transistor outputs
Sinking Sourcing
CPU Units with 20 I/O points 12 points 8 points AC CPM2A- --- ---
20CDR-A
DC CPM2A- CPM2A- CPM2A-
20CDR-D 20CDT-D 20CDT1-D
CPU Units with 30 I/O points 18 points 12 points AC CPM2A- --- ---
30CDR-A
DC CPM2A- CPM2A- CPM2A-
30CDR-D 30CDT-D 30CDT1-D
CPU Units with 40 I/O points 24 points 16 points AC CPM2A- --- ---
40CDR-A
CPU Units with 60 I/O points 36 points 24 points AC CPM2A- --- ---
60CDR-A
DC CPM2A- CPM2A- CPM2A-
60CDR-D 60CDT-D 60CDT1-D
Expansion I/O Unit with 8 input points 8 points --- CPM1A-8ED (no outputs)
Expansion I/O Unit with 8 output points --- 8 points CPM1A-8ER CPM1A-8ET CPM1A-8ET1
155
Downloaded from www.Manualslib.com manuals search engine
Standard Models Appendix A
Expansion Units
Analog I/O Units
Description Specifications Model number
Analog I/O Unit 2 analog inputs and 1 analog output CPM1A-MAD01
Input signal ranges: 0 to 10 V, 1 to 5 V, or
4 to 20 mA
Output signal ranges: 0 to 10 V, –10 to 10 V, or
4 to 20 mA,
Resolution of 1/256
Input signal ranges: 0 to V 5, 0 to 10 V, 1 to 5 V, CPM1A-MAD11
–10 to 10 V, 0 to 20 mA, or 4 to 20 mA
Output signal ranges: 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
156
Downloaded from www.Manualslib.com manuals search engine
Standard Models Appendix A
RS-422 Adapter CPM1-CIF11 Use for CPM2A peripheral port to RS-422A conversion.
RS-232C Cables XW2Z-070T-1 Use for CPM2A RS-232C port to NT-AL001 connection.
(For use with the (70-cm cable)
NT-AL001.) XW2Z-070T-1 Use for CPM2A RS-232C port to NT-AL001 connection.
(2-m cable)
157
Downloaded from www.Manualslib.com manuals search engine
Standard Models Appendix A
Peripheral Devices
Name Appearance Model Number Specifications
Programming Console CQM1-PRO01-E 2-m Connecting Cable attached
SYSMAC Support Software C500-ZL3AT1-E 3.5”, 2HD for IBM PC/AT compatible
Expansion Memory Unit CPM1-EMU01-V1 Uploads the ladder program and DM 6144
to DM 6655 from the PC to the EEPROM
and downloads the ladder program and
DM 6144 to DM 6655 from the EEPROM
to the PC.
Maintenance Accessories
Name Appearance Model Number Specifications
Backup Battery CPM2A-BAT01 ---
158
Downloaded from www.Manualslib.com manuals search engine
Appendix B
Dimensions
NC NC NC
NC NC NC
NC NC
NC NC NC
159
Downloaded from www.Manualslib.com manuals search engine
Dimensions Appendix B
160
Downloaded from www.Manualslib.com manuals search engine
Dimensions Appendix B
161
Downloaded from www.Manualslib.com manuals search engine
Dimensions Appendix B
100± 0.2
90
5 8
76±0.2
86 50
Two, 4.5 dia.
76±0.2
Two, 4.5 dia.
162
Downloaded from www.Manualslib.com manuals search engine
Dimensions Appendix B
100± 0.2
90
56±0.2 5 8
66 50
Two, 4.5 dia.
163
Downloaded from www.Manualslib.com manuals search engine
Dimensions Appendix B
164
Downloaded from www.Manualslib.com manuals search engine
Dimensions Appendix B
Approx. 120
165
Downloaded from www.Manualslib.com manuals search engine
Index
components
Numbers Analog I/O Unit, 41
CompoBus/S I/O Link Unit, 43
1:1 communications, 82 CPU Unit, 37
1:N communications, 84 DeviceNet I/O Unit, 44
Expansion I/O Unit, 40
Temperature Sensor Unit, 42
A computer, connecting, 82
conduit installation, 54
Adapters, 157 counters
Analog I/O Units, 3 changing SV, Programming Console, 113
standard model, 156 example of inputting, 123
analog volume controls, location, 39 CPM1A, function comparison, 21
arc killer, examples, xxii CPU Units
available models, 9, 155
ASCII, converting displays, Programming Console, 118 cyclic operation, 15
atmosphere, 30 internal structure, 12
standard models, 155
crimp terminals, 66
B cycle time, displaying, Programming Console, 119
cyclic operation, 15
battery, replacing, 142
binary data, modifying, Programming Console, 115
bit status, force-set/reset, Programming Console, 117 D
bits, searching, Programming Console, 105 data, modifying, Programming Console, 112–113, 114, 115,
buzzer operation, Programming Console, 99 116
data link, 6, 86
date. See clock
C decimal data with sign. See signed decimal data
167
Downloaded from www.Manualslib.com manuals search engine
Index
F L–M
FAL numbers, 130
leakage current, 65
FAL(06), 130
limit switches, preventing false inputs, 65
FALS numbers, 131
machine control functions, list, 18
FALS(07), 130
maintenance, 141
false inputs, 65
memory
fatal errors, troubleshooting, 135 backup, 32
features, 2 clearing, 98
Expansion Memory Unit, 145
flash memory, precautions, 128 protection, 32
flicker output, example, 124 memory areas
force-set/reset clearing, Programming Console, 97
clearing, Programming Console, 118 partial clear, 97
Programming Console, 117 uploading/downloading, 146
168
Downloaded from www.Manualslib.com manuals search engine
Index
169
Downloaded from www.Manualslib.com manuals search engine
Index
170
Downloaded from www.Manualslib.com manuals search engine
Revision History
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
Revision code
The following table outlines the changes made to the manual during each revision. Page numbers refer to the
previous version.
Revision code Date Revised content
1 April 1999 Original production
2 September 1999 Information relating to 20-point CPU Units added throughout the manual.
Information relating to the CPM1-EMU01-V1 Expansion Memory Unit added throughout the
manual.
3 December 1999 Information relating to Temperature Sensor Units added throughout the manual.
4 July 2000 Changes were made on the following pages.
Page xiv: Information on Memory Cassettes removed.
Page xv: Information on battery terminals changed.
Pages 4, 162: Minor changes to layout.
Pages 11, 80, 82: Information on automatic mode change added.
Pages 31, 32, 37, 122: Minor changes to graphics, style, etc.
05 November 2002 Changes were made on the following pages.
Pages xi and 84 to 91: SYSMAC CPU Support Software and related informa-
tion removed.
Pages 2, 3, 7 to 10, 20, 22, 28, 30, 42, 47, 75, 160, and 166: DeviceNet I/O
Link Unit and related information added.
Pages 2, 3, 7, 39, 47, 160, and 165: Analog I/O Unit information revised to
add new model.
Pages 2, 3, and 30: Temperature Sensor Unit information revised to add new
models.
Pages 19, 76, and 77: CX-Programmer and related information added.
Page 28: Information added to description of external power supply.
Page 34: Circuit configuration diagram callouts corrected.
Page 61: Information added on sensor surge current.
Page 80: Automatic mode change information moved from page 82.
Pages 101 and 103: Memory clear and UM allocation information operations
added.
Page 146: Battery model number added.
Pages 165 and 166: Callouts for number of mounting holes corrected.
06 June 2003 Changes were made on the following pages.
Page xiii: Safety precaution regarding grounding added.
Page xviii: Information regarding conditions for conformance to NK standards
added.
Page 30: Inrush current for DC power changed from “20 A” to “30 A” in table.
Page 39: Information on applicable connector added.
Page 84: Note on connecting an NT-AL001 to the RS-232C port changed.
Page 141: Note on backup time after a battery error added.
07 November 2005 Page v: Information on general precautions notation added.
Page xi: Information on liability and warranty added.
Pages xvi and xvii: EN50081-2 changed to EN61000-6-4.
171
Downloaded from www.Manualslib.com manuals search engine
OMRON Corporation
Control Devices Division H.Q.
Shiokoji Horikawa, Shimogyo-ku,
Kyoto, 600-8530 Japan
Tel: (81)75-344-7109/Fax: (81)75-344-7149
Regional Headquarters
OMRON EUROPE B.V.
Wegalaan 67-69, NL-2132 JD Hoofddorp
The Netherlands
Tel: (31)2356-81-300/Fax: (31)2356-81-388
OMRON ELECTRONICS LLC
1 East Commerce Drive, Schaumburg, IL 60173
U.S.A.
Tel: (1)847-843-7900/Fax: (1)847-843-8568
OMRON ASIA PACIFIC PTE. LTD.
83 Clemenceau Avenue,
#11-01, UE Square,
Singapore 239920
Tel: (65)6835-3011/Fax: (65)6835-2711
OMRON (CHINA) CO., LTD.
Room 2211, Bank of China Tower,
200 Yin Cheng Zhong Road,
PuDong New Area, Shanghai, 200120 China
Tel: (86)21-5037-2222/Fax: (86)21-5037-2200
Cat. No. W352-E1-07 Note: Specifications subject to change without notice. Printed in Japan