Omron CPM2C-S100C, CPM2C-S110C, CPM2C-S100C-DRT, CPM2C-S110C-DRT Operation Manual

Cat. No. W377-E1-04
SYSMAC
CPM2C-S
CPM2C-S100C/S110C/S100C-DRT/S110C-DRT
Programmable Controller
OPERATION MANUAL
Operation Manual
Revised September 2009
iv

Notice:

r f
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or dam­age to property.
!DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury.
!WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury.
!Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for anything else.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information.
OMRON, 2000
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, o by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission o OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con­stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
Note Indicates information of particular interest for efficient and convenient opera-
tion of the product.
1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
v
vi
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
1 Intended Audience. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
2 General Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
5 Application Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
6 EC Directives. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
7 3-tier Communications with CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
SECTION 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1-1 CPM2C-S Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 System Configurations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1-3 CPM2C-S Structure and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1-4 Functions Listed by Usage. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1-5 Comparison with the CPM2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1-6 Preparation for Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
SECTION 2
Unit Components and Specifications. . . . . . . . . . . . . . . . 33
2-1 Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
2-2 Unit Components. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
SECTION 3
Installation and Wiring. . . . . . . . . . . . . . . . . . . . . . . . . . . 53
3-1 Design Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
3-2 Selecting an Installation Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
3-3 Installing the CPM2C-S. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
3-4 Wiring and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
SECTION 4
Memory Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
4-1 Allocation of Word and Bit Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
4-2 I/O Allocation for CPM2C-S PCs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
4-3 I/O Allocation to CompoBus/S Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
4-4 SR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
4-5 AR Area. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
4-6 PC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
4-7 Basic PC Operation and I/O Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
4-8 Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
SECTION 5
Exchanging Data with CompoBus/S Slaves . . . . . . . . . . 111
5-1 Initial Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
5-2 Remote I/O Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
5-3 Communications Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
vii
TABLE OF CONTENTS
SECTION 6
Exchanging Data with a DeviceNet Master . . . . . . . . . . 117
6-1 Initial Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6-2 Remote I/O Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 118
6-3 Explicit Message Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
6-4 Status Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135
SECTION 7
Cycle Time and I/O Response Time . . . . . . . . . . . . . . . . 139
7-1 Cycle Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
7-2 I/O Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153
7-3 Interrupt Processing Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
7-4 One-to-one PC Link I/O Response Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
SECTION 8
Using Programming Devices . . . . . . . . . . . . . . . . . . . . . . 159
8-1 Using a Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
8-2 Programming Console Operations. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
8-3 Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
SECTION 9
Test Runs and Error Processing . . . . . . . . . . . . . . . . . . . 201
9-1 Initial System Checks and Test Run Procedure. . . . . . . . . . . . . . . . . . . . . . . . . . . 202
9-2 Self-diagnostic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
9-3 Programming Console Operation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 206
9-4 Programming Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
9-5 Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208
9-6 Maintenance Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
9-7 Battery Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
SECTION 10
Expansion Memory Unit. . . . . . . . . . . . . . . . . . . . . . . . . . 219
10-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
10-2 Specifications and Nomenclature . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 221
10-3 Handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
Appendices
A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
B Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
C Support Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 237
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
viii

About this Manual:

The CPM2C-S is a compact, high-speed Programmable Controller (PC) designed for control opera­tions in systems requiring from 10 to 106 I/O points per PC. There are two manuals describing the setup and operation of the CPM2C-S: The CPM2C-S 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 CPM2C-S and provides a basic explanation of operating procedures for the Programming Consoles. It also introduces the capabilities of the SYSMAC Support Software (SSS) and SYSMAC-CPT Support Software. Read this manual first to acquaint yourself with the CPM2C-S. Refer to the CPM2C Programmable Controller Operation Manual (W356) for descriptions of the speci- fications and installation of Expansion I/O Units and refer to the CPM1/CPM1A/CPM2A/CPM2C/ SRM1(-V2) Programmable Controllers Programming Manual (W353) for descriptions of the specifica­tions and installation of Expansion Units. The SYSMAC Support Software Operation Manuals: Basics and C-series PCs (W247 and W248) pro- vide descriptions of SSS operations for the CPM2C-S and other SYSMAC C-series PCs. The SYS- MAC-CPT Support Software Quick Start Guide (W332) and User Manual (W333) provide descriptions of ladder diagram operations in the Windows environment. The CX-Programmer User Manual (W361) and the CX-Server User Manual (W362) provide details of operations for the WS02-CXPC1-E CX-Pro­grammer. Please read this manual carefully and be sure you understand the information provided before attempting to install and operate the CPM2C-S.
Section 1 describes the special features and functions of the CPM2C-S, shows the possible system configurations, and outlines the steps required before operation. Read this section first when using the CPM2C-S for the first time.
Section 2 provides the technical specifications of the CPM2C-S CPU Unit, Adapter Units, and AC Power Supply Unit and describes the main components of these Units.
Section 3 provides information on installing and wiring a CPM2C-S PC. Be sure to follow the direc­tions and precautions in this section when installing the CPM2C-S in a panel or cabinet, wiring the power supply, or wiring I/O.
Section 4 describes the structure of the CPM2C-S’ memory areas and explains how to use them. Section 5 explains how to exchange data with CompoBus/S Slaves when using the CPM2C-S as a
CompoBus/S Master. Section 6 explains how to exchange data with a CPM2C-S100C-DRT or CPM2C-S110C-DRT DeviceNet Master. Section 7 explains the cycle time and I/O response time in CPM2C-S PCs. Refer to this section when
writing the user program to improve operation and reduce response delays.
Section 8 outlines the operations possible with the Programming Consoles. Section 9 describes procedures for test runs of CPM2C-S operation, self-diagnosis functions, and
error processing to identify and correct the hardware and software errors that can occur during PC operation.
Section 10 describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and procedures to properly use the Unit.
Appendix A provides tables of CPM2C-S Units and related products. Appendix B provides the dimensions of CPM2C-S CPU Units. Appendix C provides the support software limitations and precautions.
!WARNING Failure to read and understand the information provided in this manual may result in per-
sonal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
ix

Read and Understand this Manual

Please read and understand this manual before using the product. Please consult your OMRON representative if you have any questions or comments.
Warranty and Limitations of Liability
WARRANTY
OMRON's exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year (or other period if specified) from date of sale by OMRON.
OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, REGARDING NON­INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS. ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. OMRON DISCLAIMS ALL OTHER WARRANTIES, EXPRESS OR IMPLIED.
LIMITATIONS OF LIABILITY
OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL, INDIRECT, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY.
In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted.
IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON'S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED, STORED, INSTALLED, AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION, ABUSE, MISUSE, OR INAPPROPRIATE MODIFICATION OR REPAIR.
xi
Application Considerations
SUITABILITY FOR USE
OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products.
At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products. This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product, machine, system, or other application or use.
The following are some examples of applications for which particular attention must be given. This is not intended to be an exhaustive list of all possible uses of the products, nor is it intended to imply that the uses listed may be suitable for the products:
• Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this manual.
• Nuclear energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations.
• Systems, machines, and equipment that could present a risk to life or property.
Please know and observe all prohibitions of use applicable to the products.
NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS, AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM.
PROGRAMMABLE PRODUCTS
OMRON shall not be responsible for the user's programming of a programmable product, or any consequence thereof.
xii
Disclaimers
CHANGE IN SPECIFICATIONS
Product specifications and accessories may be changed at any time based on improvements and other reasons.
It is our practice to change model numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the products may be changed without any notice. When in doubt, special model numbers may be assigned to fix or establish key specifications for your application on your request. Please consult with your OMRON representative at any time to confirm actual specifications of purchased products.
DIMENSIONS AND WEIGHTS
Dimensions and weights are nominal and are not to be used for manufacturing purposes, even when tolerances are shown.
PERFORMANCE DATA
Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
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
xiv

PRECAUTIONS

This section provides general precautions for using the Programmable Controller (PC) and related devices.
The information contained in this section is important for the safe and reliable application of the Programmable Controller. You must read this section and understand the information contained before attempting to set up or operate a PC system.
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
4 Operating Environment Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xviii
6 EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xx
7 3-tier Communications with CX-Programmer . . . . . . . . . . . . . . . . . . . . . . . . xxi
xv
Intended Audience 1

1 Intended Audience

This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.

2 General Precautions

The user must operate the product according to the performance specifica­tions 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, amuse­ment machines, safety equipment, and other systems, machines, and equip­ment 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 man­ual 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 applica­tions.

3 Safety Precautions

!WARNING Connect the ground terminal of the Power Supply Unit (CPM2C-PA201) to a
ground or 100 or less. Not doing so may result in electric shock.
!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 sys­tem 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 acci­dents.
xvi
Safety Precautions 3
• Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits.
• The PC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.
• The PC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors. As a counter­measure for such problems, external safety measures must be provided to ensure safety in the system.
• If the 24-VDC output (service power supply) of the Power Supply Unit (CPM2C-PA201) is overloaded or shorted, the voltage may drop causing outputs to turn OFF. External safety measures must be provided to ensure safety in the system in such an event.
!WARNING When handling the Memory Backup Battery, never drop, disassemble, distort,
short-circuit, recharge, heat to a temperature exceeding 100°C, or throw into fire. Otherwise the Battery may explode, catch fire, or leak fluid.
!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 Power Supply Unit (CPM2C-
PA201) to a torque of 0.74 to 0.9 N•m. Loose screws may result in burning or malfunction.
!Caution Do not connect the 24-VDC output (service power supply) or the Power Sup-
ply Unit (CPM2C-PA201) to an AC power supply. Connecting it to an AC power supply will damage the internal circuit.
!Caution When connecting a personal computer or other peripheral device to the
CPM2C-S, either ground the 0 V side of the CPM2C-S or do not ground at all. Depending on the method of grounding, the 24-V power supply may short-cir­cuit; do not ground the 24-V side as shown in the following diagram.
Example: Connections where 24-V Power Supply Will Short-circuit
Non-isolated DC
24 V
FG FG
power supply
0 V 0 V
0 V
CPM2C-S Peripheral device
xvii
Operating Environment Precautions 4

4 Operating Environment Precautions

!Caution Do not operate the control system in the following places:
• Locations subject to direct sunlight.
• Locations subject to temperatures or humidity outside the range specified in the specifications.
• Locations subject to condensation as the result of severe changes in tem­perature.
• Locations subject to corrosive or flammable gases.
• Locations subject to dust (especially iron dust) or salts.
• Locations subject to exposure to water, oil, or chemicals.
• Locations subject to shock or vibration.
!Caution Take appropriate and sufficient countermeasures when installing systems in
the following locations:
• Locations subject to static electricity or other forms of noise.
• Locations subject to strong electromagnetic fields.
• Locations subject to possible exposure to radioactivity.
• Locations close to power supplies.
!Caution The operating environment of the PC System can have a large effect on the
longevity 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 condi­tions at installation 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 exceed 100 when installing the Units. Not connecting to the correct ground may result in electric shock.
• Always turn OFF the power supply to the PC before attempting any of the following. Not turning OFF the power supply may result in malfunction or electric shock.
• Assembling the Units.
• Connecting or disconnecting the Expansion I/O Units or Expansion Units.
• Connecting or wiring the cables.
• Connecting or disconnecting the connectors.
• Setting DIP switches.
• Replacing the battery
xviii
Application Precautions 5
!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 precautions.
• Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes.
• Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits.
• Construct a control circuit so that power supply for the I/O circuits does not come ON before power supply for the Unit. If power supply for the I/O circuits comes ON before power supply for the Unit, normal operation may be temporarily interrupted.
• If the operating mode is changed from RUN or MONITOR mode to PRO­GRAM mode, with the IOM Hold Bit ON, the output will hold the most recent status. In such a case, ensure that the external load does not exceed specifications. (If operation is stopped because of an operation error (including FALS instructions), the values in the internal memory of the CPU Unit will be saved, but the outputs will all turn OFF.)
• Install the CPM2C-S and Expansion I/O Units properly so that they will not fall off.
• Be sure that the terminal blocks and other items with locking devices are properly locked into place. Improper locking may result in malfunction.
• Be sure that terminal blocks and connectors are connected in the speci­fied direction with the correct polarity. Not doing so may result in malfunc­tion.
• Use the Unit with the battery housing cover in place to prevent dust or for­eign matter from entering inside the Unit. Not doing so may result in mal­function.
• Install the expansion I/O connector cover to the last Unit (Expansion Unit or Expansion I/O Unit) to prevent dust or foreign matter from entering inside the Unit. Not doing so may result in malfunction.
• Be sure to attach the labels supplied with the CPM2C-S or provide other protective covers when wiring in order to prevent dust or wiring cuttings from entering the Unit.
• Remove the label after the completion of wiring to ensure proper heat dis­sipation. Leaving the label attached may result in malfunction.
• Use round crimp terminals for wiring the Power Supply Unit (CPM2C­PA201). Do not connect bare stranded wires directly to terminals. Con­nection of bare stranded wires may result in burning.
• Be sure to perform wiring in accordance with the CPM2C-S Operation Manual. Incorrect wiring may result in burning.
• 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.
• Install external breakers and take other safety measures against short-cir­cuiting in external wiring. Insufficient safety measures against short-cir­cuiting may result in burning.
• Always use the power supply voltage specified in the operation manuals. An incorrect voltage may result in malfunction or burning.
xix
EC Directives 6
• In areas with an unreliable power supply, install devices that will ensure a reliable power supply within the rated voltage and frequency ranges.
• Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected opera­tion.
• Double-check all wiring and switch settings before turning ON the power supply. Incorrect wiring or switch settings may result in burning.
• 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.
• Before touching the Unit, be sure to first touch a grounded metallic object in order to discharge any static built-up. Not doing so may result in mal­function or damage.
• Do not pull on the cables or bend the cables beyond their natural limit. Doing either of these may break the cables.
• Do not apply forces exceeding 50 N to connector sections.
• Do not place objects on top of the cables. Doing so may break the cables.
• Resume operation only after transferring to the new CPU Unit the con­tents of the DM and HR Areas required for resuming operation. Not doing so may result in an unexpected operation.
• When handling the battery, never short-circuit, recharge, disassemble, heat excessively, incinerate, or subject the battery to excessive force. Subjecting the battery to excessive forces such as dropping the battery on the floor can cause the battery to leak.
• Install the Unit properly as specified in the operation manual. Improper installation of the Unit may result in malfunction.
• When transporting the Units, use special packing boxes. Be careful not to apply excessive vibration or shock during transportation and not to drop the product.
• Store the Units within the following temperature and humidity ranges: Storage temperature: –20 to 75°C, storage humidity: 10% to 90% (with no icing or condensation)

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 standards in the system used by the customer, however, must be checked by the customer.
EMC-related performance of the OMRON devices that comply with EC 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.
xx
3-tier Communications with CX-Programmer 7
The customer 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).

6-3 Conformance to EC Directives

The CPM2C-S PCs comply with EC Directives. To ensure that the machine or device in which the CPM2C-S PC is used complies with EC Directives, the PC must be installed as follows:
1,2,3... 1. The CPM2C-S PC must be installed within a control panel.
2. Reinforced insulation or double insulation must be used for the DC power supplies used for the communications and I/O power supplies.
3. CPM2C-S PCs complying with EC Directives also conform to the Common Emission Standard (EN61000-6-4). Radiated emission characteristics (10­m regulations) may vary depending on the configuration of the control pan­el used, other devices connected to the control panel, wiring, and other conditions. You must therefore confirm that the overall machine or equip­ment complies with EC Directives.

7 3-tier Communications with CX-Programmer

Communication between CX-Programmer and the CPM2C-S is possible over a maximum of three network tiers, with the following limitation.
xxi
3-tier Communications with CX-Programmer 7
CPM2C-S CPU Unit Limitation
For CPM2C-S CPU Units, the above feature is supported for all CPU Units manufactured on 11 September 2001 or later. The manufacturing number for these CPU Units is 1191O or later. Confirm the manufacturing number before attempting to use this feature.
Reading Manufacturing Numbers
@@@@@
Factory code (A to Z or blank) Year (For example 2000 = 0, 2001 = 1, and 2002 = 2) Month (January to September = 1 to 9, October to December = X, Y, and Z) Day of month (01 to 31)
Supported Communications
DeviceNet systems (A CS/CJ-series DeviceNet Unit must be mounted on CS/ CJ-series CPU Racks connected to the CPM2C-S.)
FA networks (Controller Link, SYSMAC LINK)
Office networks, Ethernet
Reference
FINS commands, such as CMND, SEND, and RECV, cannot be sent to or received from the CPM2C-S.
xxii
SECTION 1
Introduction
This section describes the special features and functions of the CPM2C-S, shows the possible system configurations, and outlines the steps required before operation. Read this section first when using the CPM2C-S for the first time.
Refer to the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual (W353) for details on programming operations.
1-1 CPM2C-S Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-1 CPM2C-S Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-1-2 Overview of CPM2C-S Functions . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1-2 System Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
1-2-1 CPU Units and AC Power Supply Units . . . . . . . . . . . . . . . . . . . . . 10
1-2-2 CompoBus/S Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
1-2-3 CPU Unit, Expansion Units, and Expansion I/O Units . . . . . . . . . . 12
1-2-4 DeviceNet Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
1-2-5 Adapter Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
1-3 CPM2C-S Structure and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1-3-1 CPM2C-S Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
1-3-2 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1-3-3 Operating Mode at Startup. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
1-3-4 PC Operation at Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
1-3-5 Cyclic Operation and Interrupts. . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
1-4 Functions Listed by Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
1-5 Comparison with the CPM2C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
1-6 Preparation for Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
1
CPM2C-S Features and Functions Section 1-1

1-1 CPM2C-S Features and Functions

1-1-1 CPM2C-S Features

The CPM2C-S PCs are compact CPM2C PCs that have been equipped with the functions of a CompoBus/S Master. The CPM2C-S incorporates a variety of special features just like the CPM2C, including synchronized pulse control, interrupt inputs, pulse outputs, and a clock function.
• The standard CompoBus/S interface increases the PC’s I/O capacity, reduces wiring, and saves space.
CompoBus/S Slaves
• The CPM2C-S is a compact Unit, so it can be incorporated into almost any machine. Furthermore, the CPM2C-S CPU Unit can be mounted in any direction.
• The CPM2C-S100C-DRT and CPM2C-S110C-DRT are also equipped with DeviceNet Slave functions to provide distributed control through a DeviceNet connection with a host PC.
• The CPM2C-S itself can handle a wide range of machine control applica­tions. In addition, the CPM2C-S is capable of communications with devices such as personal computers and OMRON Programmable Termi­nals so it is ideal to use to expand or upgrade existing systems.
CPM2C-S100C CPM2C-S110C
CPM2C-S100C-DRT CPM2C-S110C-DRT
Communications port
CompoBus/S interface
I/O connector
DeviceNet interface
• The CPM2C-S CPU Unit has a total of 10 I/O points: 6 inputs and 4 tran­sistor outputs. Up to 3 CPM2C-series Expansion I/O Units can be con­nected for a maximum I/O capacity of 106 I/O points with three 32-point Expansion I/O Units. It is possible to connect up to 362 I/O points by add­ing Slaves through the CompoBus/S system.
• The communications port can be used simultaneously as two ports: Peripheral and RS-232C. The peripheral port supports Programming Devices, Host Link, and no-protocol communications. The RS-232C port
2
CPM2C-S Features and Functions Section 1-1
supports Host Link, no-protocol (serial), 1:1 Link, and 1:1 NT Link com­munications.
• Connect up to 3 Expansion Units such as CPM2C-series Analog I/O Units, Temperature Sensor Units, or CompoBus/S I/O Link Units for Com­poBus/S Slave functions.
CompoBus/S Master Functions
Example System Configuration
DeviceNet Slave
Up to 32 CompoBus/S Slaves can be connected to create a Remote I/O Link with up to 256 I/O points. It is easy to build an efficient, long-range distributed system with less wiring by connecting CompoBus/S I/O Terminals, Analog Terminals, Sensor Terminals, and Bit Chain Terminals.
CS1, C200HX/HE/HG, CVM1, or CV-series PC
DeviceNet Unit (Master)
As a DeviceNet Slave, the CPM2C-S supports remote I/O communications with up to 32 input words and 32 output words as well as explicit message communications.
CPM2C-S
DeviceNet transmission line
Expansion (I/O) Unit (3 max.)
DeviceNet Slave
I/O control, interrupt in­puts, high-speed count­ers, pulse outputs, syn­chronized pulse control, and analog I/O
As a CompoBus/S Master, the CPM2C-S can control remote I/O (up to 256 points) on Slaves.
DeviceNet Slave Functions (-DRT Models Only)
CompoBus/S transmission line
I/O control and analog I/O
CompoBus/S Slaves
When the CPM2C-S is used as a DeviceNet Slave, an I/O Link of up to 1,024 points (512 inputs and 512 outputs) can be created with the Master. The input and output areas used in the I/O Link can be allocated independently and the data areas, starting addresses, and size of these Read/Write areas can be specified freely. (The Read/Write areas can be set in the PC Setup or using the DeviceNet Configurator.)
Explicit message communications can be initiated from the Master to read or write data in any data area in the CPM2C-S.
3
CPM2C-S Features and Functions Section 1-1
Basic Functions
CPU Unit Variations The CPM2C-S PCs are one-piece PCs with 10 I/O points (6 inputs and 4 out-
puts) in a built-in connector. There are 2 types of outputs available (sinking transistor outputs, and sourcing transistor outputs). All CPM2C-S PCs require a 24-VDC power supply.
Expansion I/O Units and CompoBus/S Slaves
CompoBus/S Slaves and 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 362 I/O points. There are 23 different Expansion I/O Units available, including Units with 32 I/O points, 24 I/O points, 20 I/O points, 10 I/O points, 8 input points, 8 output points, 16 inputs points, and 16 output points. The maximum I/O capacity of 106 I/O points is achieved by connecting three 32-point Expansion I/O Units to the CPU Unit.
The CompoBus/S Master functions allow I/O Slaves to be connected provid­ing an additional capacity of up to 256 I/O points (128 inputs and 128 out­puts.)
Share Programming Devices
Either a Programming Console or the CX-Programmer (version 2.1 or later) can be used to program and monitor the CPM2C-S. Programs created on the SYSMAC-CPT or SYSMAC Support Software can also be used.
Built-in Motor Control Capability
Synchronized Pulse Control
Synchronized pulse control provides an easy way to synchronize the opera­tion of a peripheral piece of equipment with the main equipment. The output pulse frequency can be controlled as some multiple of the input pulse fre­quency, allowing the speed of a peripheral piece of equipment (such as a sup­ply conveyor) to be synchronized with the speed of the main piece of equipment.
CPM2C-S
High-speed Counters and Interrupts
Encoder
Pulses are output as a fixed multiple of the input frequency.
Motor driver
Motor
The CPM2C-S has a two kinds of high-speed counter inputs. The high-speed counter input has a response frequency of 20 kHz/5 kHz and the interrupt inputs (in counter mode) have a response frequency of 2 kHz.
• The single high-speed counter can be used in any one of the four input modes: differential phase mode (5 kHz), pulse plus direction input mode (20 kHz), up/down pulse mode (20 kHz), or increment mode (20 kHz). Interrupts can be triggered when the count matches a set value or falls within a specified range. One high-speed counter can be used.
• The interrupt inputs (counter mode) can be used for incrementing counters or decrementing counters (2 kHz) and trigger an interrupt (exe­cuting the interrupt program) when the count matches the target value. Two interrupt inputs can be used.
4
CPM2C-S Features and Functions Section 1-1
Easy Position Control with Pulse Outputs
CPM2C-S PCs have two outputs that can produce 10 Hz to 10 kHz pulses (single-phase outputs).
• When used as single-phase pulse outputs, there can be two outputs with a frequency range of 10 Hz to 10 kHz with a fixed duty ratio or 0.1 to
999.9 Hz with a variable duty ratio (0 to 100% duty ratio).
• When used as pulse plus direction or up/down pulse outputs, there can be just one output with a frequency range of 10 Hz to 10 kHz.
High-speed Input Capabilities for Machine Control
High-speed Interrupt Input Function
Quick-response Input Function
Stabilizing Input Filter Function
The CPU Units have 2 inputs that can be used as interrupt inputs. These inputs are shared with quick-response inputs and interrupt inputs in counter mode and have a minimum input signal width of 50 µs and response time of
0.3 ms. When an interrupt input goes ON, the main program is stopped and the interrupt program is executed.
The CPU Units have 2 inputs that can be used as quick-response inputs to reliably read inputs with a signal width as short as 50 µs regardless of the cycle time. These inputs are shared with interrupt inputs and interrupt inputs in counter mode.
The input time constant for all inputs can be set to 1 ms, 2 ms, 3 ms, 5 ms, 10 ms, 20 ms, 40 ms, or 80 ms. The effects of chattering and external noise can be reduced by increasing the input time constant.
Analog I/O Supported by Expansion Units and CompoBus/S Master Functions
Analog I/O Units Up to 3 optional Analog I/O Units can be connected to the CPM2C-S. For
each Analog I/O Unit mounted to the Unit, 2 analog input points and 1 analog output point are available. By mounting 3 Analog I/O Units, a maximum of 6 analog input points and 3 analog output points can be made available. (By using a combination of the PID(––) instruction and PWM(––) instruction, time proportional control is possible.)
• The ranges supported for analog input signals are 0 to 5 V, 0 to 10 V, –10 to 10 V, 0 to 20 mA, and 4 to 20 mA, and the resolution is 1/6000 (full scale). The averaging function and power interruption detection function can be used.
• The ranges supported for analog output signals are 1 to 5 V, 0 to 10 V, –10 to 10 V, 0 to 20 mA, and 4 to 20 mA, and the resolution is 1/6000 (full scale).
Analog I/O Terminals Up to 8 analog inputs and 8 analog outputs can be connected through a Com-
poBus/S Analog I/O Terminal.
Temperature Sensor Units Up to 3 optional Temperature Sensor Units can be mounted to the CPM2C-S.
There are 2 models of Temperature Sensor Unit: One for input from a thermo­couple sensor and one for input from a platinum resistance thermometer sen­sor. There are 2 input points on each Temperature Sensor Unit.
• Thermocouple inputs (and measurement ranges): K (–200 to 1,300°C), K (0.0 to 500.0°C), J (-100 to 850°C), and J (0.0 to 400.0°C).
• Platinum resistance thermometer inputs (and measurement ranges): Pt100 (–200.0 to 650.0°C), JPt100 (–200.0 to 650.0°C).
5
CPM2C-S Features and Functions Section 1-1
Other Functions
Interval Timer Interrupts The interval timer can be set between 0.5 and 319,968 ms and can be set to
generate just one interrupt (one-shot mode) or periodic interrupts (scheduled interrupt mode).
Calendar/Clock The clock (accuracy within 1 minute/month) can be read from the program to
show the current year, month, day, day of the week, and time. The clock can be set from a Programming Device (such as a Programming Console) or the time can be adjusted by rounding up or down to the nearest minute.
Long-term Timer TIML(––) is a long-term timer that accommodates set values up to 99,990
seconds (27 hours, 46 minutes, 30 seconds). When combined with the SEC­ONDS TO HOURS conversion instruction (HMS(––)), the long-term timer pro­vides an easy way to control equipment scheduling.
Expansion Memory Unit 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 (DM 6144 to DM 6655) is possible with PCs.
CPM2C-S
Expansion Memory Unit
EEPROM
Indicator
UPLOAD+DM Button UPLOAD Button
CPM2C-CN111
CS1W-CN114
CPM2C-S
CPM2C-CIF01-V1
6
CPM2C-S Features and Functions Section 1-1
Complete Communications Capabilities
Host Link A Host Link connection can be made through the PC’s communications port
used as a RS-232C or peripheral port. A personal computer or Programmable Terminal connected in Host Link mode can be used for operations such as reading/writing data in the PC’s I/O memory or reading/changing the PC’s operating mode.
1:1 Host Link Communications 1:N Host Link Communications
No-protocol Communications
Responses
Commands
Responses
(Up to 32 PCs can be connected.)
Commands
The TXD(48) and RXD(47) instructions can be used in no-protocol mode to exchange data with standard serial devices. For example, data can be received from a bar code reader or transmitted to a serial printer. The serial devices can be connected to the communications port as a RS-232C or peripheral port.
Inputting data from a bar code reader
Bar code reader
Outputting data to a serial printer
Serial printer
High-speed 1:1 NT Link Communications
OMRON PT
In a 1:1 NT Link, an OMRON Programmable Terminal (PT) can be connected directly to the CPM2C-S. The PT must be connected to the communications port as an RS-232C port (not as a peripheral port).
7
CPM2C-S Features and Functions Section 1-1
One-to-one PC Link A CPM2C-S can be linked directly to another CPM2C-S, CQM1, CPM1,
CPM1A, CPM2A, CPM2C, SRM1(-V2), C200HS, or C200HX/HG/HE PC. The 1:1 PC Link allows automatic data link connections. The PC must be con­nected to the communications port as an RS-232C port (not as a peripheral port).

1-1-2 Overview of CPM2C-S Functions

Main function Variations/Details
CompoBus/S Master functions
DeviceNet Slave functions
Interrupts Interrupt inputs
High-speed counters High-speed counter
Remote I/O devices can be allocated up to 256 I/O points (128 inputs and 128 outputs) in
input area IR 020 to IR 027 and output area IR 030 to IR 037.
The node numbers can be set to 0 to 7 (128-point mode) or 0 to 15 (256-point mode).
The communications mode can be set to high-speed mode (max. length 100 m) or long-dis-
tance mode (max. length 500 m).
Up to 64 words (32 input words and 32 output words) can be allocated to the DeviceNet
Master’s I/O. The Master’s I/O can be allocated to the following data areas.
IR 000 to IR 049 IR 200 to IR 227 DM 0000 to DM 2047 LR 00 to LR 15 HR 00 to HR 19 AR 00 to AR 23 (CPM2C Master; read-only) TC 000 to TC 255
Explicit message communications are supported. Any CPM2C-S data area can be
accessed from the DeviceNet Master.
The communications speed can be set to 500 kbps (total network length 100 m max.),
250 kbps (total network length 250 m max.), or 125 kbps (total network length 500 m max.).
2 inputs
Response time: 50 µs
Interval timer interrupts 1 input
Set value: 0.5 to 319,968 ms Precision: 0.1 ms
1 input, see note 1.
Differential phase mode (5 kHz) Pulse plus direction input mode (20 kHz) Up/down input mode (20 kHz) Increment mode (20 kHz)
Interrupt inputs (counter mode) 2 inputs
Incrementing counter (2 kHz) Decrementing counter (2 kHz)
Scheduled interrupts
One-shot interrupt
No interrupt
Count-check interrupt (An interrupt can be generated when the
count equals the set value or the count lies within a preset range.)
No interrupt
Count-up interrupt
8
Loading...
+ 239 hidden pages