-
Contents
-
Table of Contents
-
Troubleshooting
-
Bookmarks
Related Manuals for Omron CPM1A
Summary of Contents for Omron CPM1A
-
Page 1
Cat. No. W317-E1-11 SYSMAC CPM1A Programmable Controllers OPERATION MANUAL… -
Page 2
CPM1A Programmable Controllers Operation Manual Revised October 2007… -
Page 4
1. Indicates lists of one sort or another, such as procedures, checklists, etc. OMRON, 1997 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. -
Page 6: Table Of Contents
….Initial System Checks and Test Run Procedure ……. . .
-
Page 7
TABLE OF CONTENTS Appendices A Standard Models ………… -
Page 8
Section 4 describes SSS capabilities, how to connect the Programming Console, and how to perform the various Programming Console 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. -
Page 9
TABLE OF CONTENTS… -
Page 10
Warranty and Limitations of Liability Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á WARRANTY Á… -
Page 11
Application Considerations Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á SUITABILITY FOR USE Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á… -
Page 12
Disclaimers Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á CHANGE IN SPECIFICATIONS Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á… -
Page 14
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. -
Page 15: Intended Audience
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.
-
Page 16: Operating Environment Precautions
When connecting a personal computer or other peripheral device to the CPM1A, either ground the 0 V side of the CPM1A or do not ground at all. Depending on the method of grounding, the 24-V power supply may short-circuit; do not ground the 24-V side as shown in the following diagram.
-
Page 17: Application Precautions
Always heed these precautions. Failure to abide by the following precautions could lead to serious or possibly fatal injury. • Always connect to a ground of 100 Ω or less when installing the Units. Not con- necting to a ground of 100 Ω or less may result in electric shock.
-
Page 18
• Do not place objects on top of the cables. Doing so may break the cables. • 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. -
Page 19
(The PC Setup setting in DM 6601 can be used to back up this data. Refer to details on the PC Setup later in this manual for details.) 2. -
Page 20: Ec Directives
AR 1314 goes ON. • The data stored in flash memory will not be lost even if power remains off for a period exceeding the data backup period, because the data stored in flash memory will be read to the CPU Unit when the CPM1A is turned on.
-
Page 21
EC Directives All Expansion I/O Units except for the CPM1A-20EDR conform to EC Directives. To ensure that the machine or device in which the CPM1A PC is used complies with EC Directives, the PC must be installed as follows: 1, 2, 3… -
Page 22: Revised Specifications
Revised Specifications Manufacturer: Fair Rite Products Corp. Revised Specifications The following table shows the changes that have been made in product specifi- cations beginning with lots produced in January 1998 (December 1997 for some models). Item Previous specifications New specifications…
-
Page 23
CX-Programmer Operation occurred). Manual (W425). The following table shows the changes that have been made in product specifi- cations beginning with the introduction of version-1 Units in May 2001 (April 2001 for some models). Item New specifications (V1 models) EC Directives All products with model numbers ending in “-V1”… -
Page 24
Revised Specifications In this manual, version-1 CPU Units are referred to as V1 CPU Units and the previous CPU Units are referred to as pre-V1 CPU Units. Unless otherwise specified, “CPM1A” refers to both V1 and pre-V1 CPU Units. -
Page 25: Introduction
SECTION 1 Introduction This section describes the CPM1A’s special features and functions and shows the possible system configurations. Refer to the Programming Manual (W353) for details on programming actual operation. CPM1A Features and Functions ……….
-
Page 26: Cpm1A Features And Functions
The CPM1A is equipped with a filter function to prevent incorrect operation caused by chatter or noise in the input signal. The user can select an input time constant of 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms. Low-maintenance Design Flash memory provides memory backup without a battery.
-
Page 27
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. -
Page 28: Cpm1A Functions
I/O control based on a “PC + remote I/O” configuration. The distributed CPU control makes equipment modular, so designs can be standardized, special needs can be addressed, and modules can be replaced easily in the event of a breakdown. CompoBus/S Master Unit…
-
Page 29: I/O Terminal And Ir Bit Allocation
CPM1A Features and Functions Section 1-1 1-1-2 I/O Terminal and IR Bit Allocation The following table shows which IR bits are allocated to the I/O terminals on the CPM1A’s CPU Units and Expansion I/O Unit. CPU Units No. of I/O termi-…
-
Page 30
IR 251 Input Filter Function The input time constant for the CPM1A’s external inputs can be set to 1, 2, 4, 8, 16, 32, 64, or 128 ms. Increasing the input time constant can reduce the effects of chatter or noise in the input signal. -
Page 31
30CDR-j(-V1)/30CDT-D(-V1)/ 30CDT1-D(-V1)/40CDR-j(-V1)/ 40CDT-D(-V1)/40CDT1-D(-V1) Note When not using as interrupt input terminals, the input bits IR 00003 to IR 00006 can be used as normal input terminals. Caution Although IORF(97) can be used in interrupt subroutines, you must be careful of the interval between IORF(97) executions. -
Page 32
CPM1A PCs are equipped with an interval timer which can be set from 0.5 ms to (Scheduled Interrupts) 319,968 ms in units of 0.1 ms. The timer can be set to trigger a single interrupt (one-shot mode) or to trigger scheduled interrupts (scheduled interrupt mode). -
Page 33
CPM1A Features and Functions Section 1-1 The pulse output can be set to either the continuous mode, under which the out- put can be stopped by an instruction, or the single mode, under which the output can be stopped by the preset pulse rate (1 to 16,777,215). -
Page 34: System Configuration
00002: Reset input 65535 subroutine numbers can be registered. Note In incremental mode, this input (00001) can be used as an regular input. System Configuration 1-2-1 CPU Unit and Expansion I/O Unit Configuration CPM1A CPU Units 10 I/O points…
-
Page 35
System Configuration Section 1-2 V1 CPM1A CPU Units 10 I/O points 20 I/O points 30 I/O points 40 I/O points Model number Number Inputs Outputs Power of I/O f I/O supply Relay outputs Transistor outputs terminals terminals Sinking outputs Sourcing outputs… -
Page 36: Cpu Unit And Expansion Unit
Section 1-2 1-2-2 CPU Unit and Expansion Unit Up to 3 Expansion I/O Units or Expansion Units can be connected to a CPU Unit with 30 or 40 I/O points. There are three types of Expansion Units available: Analog I/O Units, Tempera- ture Sensor Units, the CompoBus/S I/O Link Unit, and the DeviceNet I/O Link Unit.
-
Page 37
(Outputs to the Master.) Note Only one CPM1A-TS002/TS102 Temperature Sensor Unit can be connected to the CPU Unit. If a CPM1A-TS002/102 is connected to the CPU Unit, only one additional Expansion Unit (other than a CPM1A-TS002/102) or one Expansion I/O Unit can be connected to the CPU Unit. -
Page 38: Host Link Communications
System Configuration Section 1-2 1-2-3 Host Link Communications Host Link communications which allows up to 32 OMRON PCs to be controlled from a host computer. The computer-PC connections can be made connectors such as RS-232C and RS-422 Adapters. One-to-one Communications The following diagram shows the possible methods for a 1:1 connection between a CPM1A and an IBM PC/AT or compatible computer.
-
Page 39: One-To-One Pc Link Communications
System Configuration Section 1-2 One-to-N Communications The following diagram shows how to connect up to 32 CPM1A PCs to an IBM PC/AT or compatible computer. IBM PC/AT or compatible RS-422 CPM1A CPU Units RS-232C Cable Adapters RS-422 Cable 3G2A9-AL004-E Link Adapter OMRON CPM1A PCs (32 PCs max.)
-
Page 40: One-To-One Nt Link Communications
Section 1-2 1-2-4 One-to-one PC Link Communications A data link can be created with a data area in another CPM1A, CQM1, CPM1, CPM2A, CPM2C, SRM1(-V2) or C200HS PC or a C200HX/HG/HE PC. An RS-232C Adapter must be used to make the 1:1 connection.
-
Page 41: Compobus/S I/O Link Connections
1-2-6 CompoBus/S I/O Link Connections A CompoBus/S I/O Link can be used to create an I/O link (remote I/O) of 8 input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection is made through a CompoBus/S I/O Link Unit.
-
Page 42
Section 1-2 1-2-7 DeviceNet I/O Link Connections A DeviceNet I/O Link Unit can be used to create an I/O link (remote I/O) of 32 input points and 32 output points with a DeviceNet master, i.e., the CPM1A oper- ates as a DeviceNet slave. From the standpoint of the CPM1A CPU Unit, the area allocated to the DeviceNet I/O Link Unit can be treated just like the area allocated to an Expansion I/O Unit. -
Page 43
An IBM PC/AT or compatible personal computer running SSS or the SYSMAC- and SYSMAC-CPT Support CPT Support Software can be connected to the CPM1A as shown in the follow- Software ing diagram. Refer to 3-4-7 Host Link Connections for a diagram showing the standard wiring for the RS-232C cable. -
Page 44: Unit Specifications And Components
SECTION 2 Unit Specifications and Components This section provides the technical specifications of the Units that go together to create a CPM1A PC and describes the main components of the Units. Specifications …………
-
Page 45: Specifications
Grounding Power interrupt time AC type: 10 ms min. DC type: 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 type 400 g max.
-
Page 46: Characteristics
The program, read-only DM area, and PC Setup area are backed up without a battery. Capacitor backup: The read/write DM area, error log area, HR area, and counter values are backed up by a capacitor for 20 days at 25_C. The capacitor backup time depends on the ambient temperature.
-
Page 47
Can preset the pulse rate (1 to 16,777,215). Input time constant Can be set to 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms. Analog controls 2 controls, setting range: 0 to 200 BCD Note 1. -
Page 48: I/O Specifications
(510 Ω) Note Figures in parentheses are for IN00000 to IN00002. Note Using the PC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected. When IN00000 through IN00002 are used as high-speed counter inputs, the delays are as shown in the following table.
-
Page 49
Internal 820 Ω Circuits Note Using the PC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected. 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. -
Page 50
24 VDC: 2 A Note 1. The service life of relay output contacts shown in the table assumes the worst conditions. The following graph shows the results of OMRON’s ser- vice life tests at a switching rate of 1,800 times/hour. -
Page 51
Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse will not be output. -
Page 52
Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse will not be output. -
Page 53: Communications Adapter Specifications
200 g max. RS-422 Adapter Specifications Item Specification Function Converts between the CMOS format (PC CPU Unit side) and the RS-422 format (peripheral device side). Insulation The RS-422 (peripheral device side) is isolated by a DC/DC convertor and photocoupler. Power supply Power is supplied from the PC CPU Unit.
-
Page 54: Unit Components
Unit Components Section 2-2 Unit Components 2-2-1 CPU Unit Components CPU Units with 10 I/O Terminals CPM1A-10CDR-j-V1/10CDT-j-V1/10CDT1-j-V1 3. Protective earth terminal 1. Power supply input terminals 5. Input terminals 8. Input indicators 10. Analog controls 9. Output indicators 11. Peripheral Port 7.
-
Page 55
CPU Unit Component Descriptions 1, 2, 3… 1. Power Supply Input Terminals Connect the power supply (100 to 240 VAC or 24 VDC) to these terminals. 2. Functional Earth Terminal ( ) (Pre-V1 CPU Units only) Be sure to ground this terminal (AC-type PCs only) to enhance immunity to noise and reduce the risk of electric shock. -
Page 56: Expansion I/O Unit Components
These indicators are lit when the corresponding output terminal is ON. 10. Analog Controls Setting these controls sets the contents of IR 250 and IR 251 from 0 to 200. 11. Peripheral Port Connects the PC to a Peripheral Device, RS-232C Adapter, or RS-422 Adapter.
-
Page 57
Connects the Expansion I/O Unit to the Expansion Connector on the PC’s CPU Unit or another Expansion Unit. 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 (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit). -
Page 58: Analog I/O Unit Components
Unit or another Expansion Unit. The cable is connected to the Analog I/O Unit and cannot be removed. 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).
-
Page 59: Temperature Sensor Unit Components
1. Temperature Input Terminals Connect to a thermocouple or a platinum resistance thermometer. 2. DIP Switch Sets the temperature unit (°C or °F), and the number of decimal places used. Number of decimal places used OFF: Normal (0 or 1); ON: 2 Temperature unit OFF: °C;…
-
Page 60: Compobus/S I/O Link Unit Components
Temperature Sensor Unit and cannot be removed. 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.
-
Page 61: Devicenet I/O Link Unit Components
Connects the CompoBus/S I/O Link Unit to the Expansion Connector on the PC’s CPU Unit or another Expansion Unit. 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. 5. Expansion Connector Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit).
-
Page 62
PC’s CPU Unit or another Expansion Unit. This cable cannot be removed. 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… -
Page 63: Communications Adapter Components
1, 2, 3… 1. Mode Setting Switch Set this switch to “HOST” when using a Host Link system to connect to a personal computer. Set this switch to “NT” when connecting to a Program- mable Terminal or PC for 1:1 PC Link.
-
Page 64: Installation And Wiring
Installation and Wiring This section provides information on installing and wiring a CPM1A PC. Be sure to follow the directions and precautions in this section when installing the CPM1A in a panel or cabinet, wiring the power supply, or wiring I/O.
-
Page 65: Design Precautions
Motor forward CPM1A 01006 Motor reverse In the interlock circuit above, MC1 and MC2 can’t be ON at the same time even if CPM1A outputs 01005 and 01006 are both ON (an incorrect PC operation). 3-1-3 Power Supply Voltage Caution Use the power supply voltages indicated in Section 2 Unit Specifications and Components.
-
Page 66: Selecting An Installation Site
Momentary Power Failure Detection A momentary power failure lasting less than 10 ms with an AC power supply and 2 ms with a DC power supply is not detected and the CPU Unit continues to oper- ate. A momentary power failure lasting longer than 10 ms with an AC power supply and 2 ms with a DC power supply may or may not be detected in an uncertain area.
-
Page 67: Panel/Cabinet Installation
• The PC will be easiest to access if the panel or cabinet is installed about 3 to 5 feet off of the floor.
-
Page 68: Installing The Cpm1A
Do not install the CPM1A in either of the following positions. Incorrect Incorrect 3-3-2 CPM1A Installation The CPM1A can be installed on a horizontal surface or on a DIN track. Surface Installation Use the following pattern when installing a CPM1A on a horizontal surface. CPM1A-10CDR-j(-V1)/10CDT-j(-V1)/10CDT1-j(-V1) and…
-
Page 69
RS-422 Adapter 21 mm Temperature Sensor Unit 76 mm Allow 10 to 15 mm between the Units when installing an Expansion Unit, Expan- sion I/O Unit, or Communications Adapter next to the CPU Unit, as shown below. 21 mm 81 mm… -
Page 70: Connecting An Expansion I/O Unit
Installing the CPM1A Section 3-3 Installation Lower the CPM1A 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. Removal Pry the lock down with a standard screwdriver and pivot the PC upward to remove it.
-
Page 71
Expansion I/O Unit Connector. 3. Attach the cover to the CPU Unit’s Expansion I/O Unit Connector by insert- ing the two pins on the inside of the cover into the holes on the case and pressing downward lightly and evenly. -
Page 72
Section 3-3 Pre-V1 Units 1, 2, 3… 1. Remove the cover from the CPU Unit’s or the Expansion I/O Unit’s Expan- sion I/O Unit Connector. Use a flat-blade screwdriver to remove the cover from the Expansion I/O Connector. Expansion I/O Unit connector cover 2. -
Page 73: Wiring And Connections
With pre-V1 Units, attach the dustproof label provided before wiring. With V1 Units, leave the dustproof label in place while wiring. If scraps of wire get inside the Unit, malfunction will result. After completing wiring be sure to remove the label to avoid overheating.
-
Page 74: Ground Wiring
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. Control cables and Metal plate (iron) CPM1A I/O lines CPM1A power lines Power cables 200 mm min.
-
Page 75: Power Supply Wiring
Always use crimp connectors for the CPM1A’s power lines and I/O lines or else use a solid wire (instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Bare stranded wires connected directly to the terminal can cause a fire.
-
Page 76
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. -
Page 77
Wiring and Connections Section 3-4 Caution Do not perform a withstand voltage test on a CPU Unit with a DC power supply. The test might damage the PC’s internal components. Note 1. Do not conduct a withstand voltage test for the power supply section of the CPU Unit with a DC power supply. -
Page 78: Input Wiring
Section 3-4 3-4-4 Input Wiring Wire the inputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect to the PC. Do not apply voltages exceeding the rated input voltage to the input terminals.
-
Page 79
Wiring and Connections Section 3-4 CPM1A-8ED Input 24 VDC devices Input devices Note Although the COM terminals are internally connected, be sure to wire them ex- ternally as well. CPM1A-20EDR/20EDR1/EDT/EDT1 Input devices 24 VDC j CH… -
Page 80
Wiring and Connections Section 3-4 Input Wiring Example An AC-type CPU Unit is shown. DC-type CPU Units don’t have power supply outputs. Input devices 0 CH 1 CH 10 CH 11 CH 24 VDC at – 0.2 A output External power supply:… -
Page 81
Wiring and Connections Section 3-4 Input Devices The following table shows how to connect various input devices. Device Circuit diagram Relay output Relay 5 mA/12 mA CPM1A COM (+) NPN open collector Sensor Sensor power supply Output CPM1A 5 mA/12 mA… -
Page 82
00001 01000 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. -
Page 83
Always use crimp connectors for the CPM1A’s power lines and I/O lines or else use a solid wire (instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Bare stranded wires connected directly to the terminal can cause a fire. -
Page 84: Output Wiring
3-4-5 Output Wiring Relay Output Wiring Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect to the PC. The power supply output terminals can be used with AC-type CPU Units.
-
Page 85
Wiring and Connections Section 3-4 Output Configurations 10 CH CPM1A-10CDR-j(-V1) Common 10 CH CPM1A-20CDR-j(-V1)/CPM1A-20EDR/20EDR1 Common Common CPM1A-30CDR-j(-V1) 10 CH 11 CH Common Common Common CPM1A-40CDR-j(-V1) 10 CH 11 CH Common Common Common Common… -
Page 86
Wiring and Connections Section 3-4 CPM1A-8ER 250 VAC/ 24 VDC 250 VAC/ 24 VDC… -
Page 87
Section 3-4 Transistor Output Wiring (Sinking Outputs) Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. -
Page 88
Wiring and Connections Section 3-4 CPM1A-8ET +10% 24 VDC –15% +10% 24 VDC –15% Caution Double-check the polarity of the power supply for the load before turning it on. -
Page 89
Section 3-4 Transistor Output Wiring (Sourcing Outputs) Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. -
Page 90
+10% 24 VDC –15% Caution Double-check the polarity of the power supply for the load before turning it on. 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 (0.5 to… -
Page 91
Average rectified current must be 1 A. Inrush Current Considerations When switching a load with a high inrush current in the CPM1A relay output or transistor output model, such as an incandescent lamp, suppress the inrush cur- rent as shown below. -
Page 92: Peripheral Device Connection
The CPM1A 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 CPM1A CPU Unit can be also connected to a CQM1-PRO01-E. The CQM1-PRO01-E is provided with a 2-m Connecting Cable.
-
Page 93
– – – The type of connector used will vary depending on the PT. Check the PT manual to ensure the correct connector is used. Note When the CPM1A is connected to a host computer or OMRON PT, set the RS-232C Adapter’s mode setting switch to “HOST.”… -
Page 94
2. Set the termination resistance switch to “ON” (upper side) for Adapters on both ends of the Host Link system. Always use crimp connectors when wiring the RS-422 Adapters. Use M3 termi- nal screws and tighten the screws securely to the torque of 0.5 N S m. Fork terminal Ring terminal 6.2 mm max. -
Page 95: One-To-One Pc Link Connections
A CPM1A can be linked to a CPM1A, CQM1, CPM1, CPM2A, CPM2C, SRM1(-V2), C200HS or C200HX/HG/HE PC through an RS-232C Adapter. One PC acts as the Master and the other as the Slave to link up to 256 bits in the LR area (LR 0000 to LR 1515).
-
Page 96: One-To-One Nt Link Connections
CPM1A CPU Unit RS-232C Cable RS-232C Adapter Note The 1:1 NT Link can only be used when the RS-232C Adapter (CPM1-CIF01) is connected. Set the DIP switch of the RS-232C Adapter (CPM1-CIF01) to the NT (bottom) side. The following diagram shows the wiring in the RS-232C cable used to connect a CPM1A to a Programmable Terminal.
-
Page 97: Compobus/S I/O Link Unit Connections
Section 3-4 3-4-10 CompoBus/S I/O Link Unit Connections A CompoBus/S I/O Link Unit can be used to create an I/O link (remote I/O) of 8 input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection is made through a CompoBus/S I/O Link Unit.
-
Page 98: Devicenet I/O Link Unit Connections
Section 3-4 3-4-11 DeviceNet I/O Link Unit Connections A DeviceNet I/O Link Unit can be used to create an I/O link (remote I/O) of 32 input points and 32 output points with a DeviceNet master, i.e., the CPM1A oper- ates as a DeviceNet slave.
-
Page 99
Wiring and Connections Section 3-4 Network Connection Connect the DeviceNet I/O Link Unit to the DeviceNet transmission path as shown in the following diagram. DeviceNet I/O Link Unit (CPM1A-DRT21) Multidrop Connector Connector included with CPM1A-DRT21 (XW4B-05C4-TF-D) (XW4B-05C1-H1-D) Black (V–) Blue (CAN low) -
Page 100: Using Peripheral Devices
This section outlines the operations possible with the SYSMAC Support Software (SSS) and the Programming Consoles. Actual SSS operating procedures are provided in the SSS Operation Manuals: Basics and C-series PCs. Programming Con- sole connection and operating procedures are provided in this section.
-
Page 101: Support Software Capabilities
CPM1A. Programming Check Since the data area of the CQM1 is larger than that of the CPM1A, some parts of the area cannot be checked as the CPM1A PC. Pay careful attention to the usable data area when programming.
-
Page 102: Offline Operations
Connect line Draws a line between two ladder diagram objects. Save program Writes all or part of the user program developed in the system work area to the data disk. Retrieve program Retrieves all or part of the user program stored on a data disk to the system work area.
-
Page 103
Copies the contents of the DM area of the system work area (data memory information). Fill Writes the same data to more than one data word in the system work area data memory area. Print Prints a specified range of DM words. -
Page 104
CVM1: Converts C2000H-family programs to CVM1 programs Create Library Creates a library on a floppy disk or hard disk for use as an LSS data disk. File Time Chart Accesses the time chart monitor data produced online. (C-series PCs only) -
Page 105: Online Operations
Monitor Used to monitor DM area contents in the PC. (C-series PCs only) Go To Page Reads a specified page from the DM list of the DM area in the system work area or PC. (C-series PCs only) I/O Table Transfer I/O Table Transfers and compares the I/O table data between the computer and PC.
-
Page 106: Offline And Online Operations
Group Name Description System Setup PC model Specifies the model of PC that is being programmed or that is connected to the (see note) computer. PC Interface C-series PCs: Specifies whether communications with the PC are performed through a SYSMAC NET Link Unit, peripheral interface, or a Host Link (RS-232C) interface and the computer port (COM1 or COM2) to use.
-
Page 107: Using A Programming Console
CQM1-PRO01-E and the C200H-PRO27-E. The key functions for these Pro- gramming Consoles are identical. Press and release the Shift Key to input a letter shown in the upper-left corner of the key or the upper function of a key that has two functions. For example, the CQM1-PRO01-E’s AR/HR Key can specify either the AR or HR Area;…
-
Page 108
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… -
Page 109: Changing The Cpm1A’s Mode With The Mode Switch
Programming Console screen. Press CLR to clear the display so that key operations can be performed. • If the SHIFT Key is pressed while the mode switch is turned, the original dis- play will remain on the Programming Console’s screen and the mode display won’t appear.
-
Page 110: Connecting The Programming Console
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.
-
Page 111: Preparation For Operation
The password prevents unauthorized access to the program. The PC prompts you for a password when PC power is turned on or, if PC power is already on, after the Programming Console has been connected to the PC. To gain access to the system when the “Password!”…
-
Page 112
If the Programming Console is connected to the PC when PC power is already on, the first display below will indicate the mode the PC was in before the Pro- gramming Console was connected. Ensure that the PC is in PROGRAM mode before you enter the password. -
Page 113: Programming Console Operations
Checks for programming errors and displays the program address and error when errors are found. Bit, digit, word monitor Monitors the status of up to 16 bits and words, although only 3 can be shown on the display at one time. Multiple address monitor Monitors the status of up to 6 bits and words simultaneously.
-
Page 114: Clearing Memory
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.
-
Page 115: Clearing Memory Completely
5. Press the MONTR Key to clear the specified regions of memory. MONTR 4-3-3 Clearing Memory Completely This operation is used to clear all of memory, including the user program, PC Setup, all data areas, and the I/O comment area (set with version 2.0 or later of CX-Programmer). MONITOR PROGRAM The I/O comment function was supported for the CPM1A starting from version 2.0 of CX-Programmer.
-
Page 116: Buzzer Operation
Before inputting a new program, any error messages recorded in memory should be cleared. It is assumed here that the causes of any of the errors for which error messages appear have already been taken care of. If the buzzer sounds when an attempt is made to clear an error message, eliminate the cause of the error, and then clear the error message.
-
Page 117: Setting And Reading A Program Memory Address And Monitoring I/O Bit Status
4-3-7 Setting and Reading a Program Memory Address and Monitoring I/O Bit Status This operation is used to display the specified program memory address and is possible in any mode. In the RUN or MONITOR mode, the I/O bit status of bits in the program will be displayed. MONITOR…
-
Page 118: Entering Or Editing Programs
MONITOR PROGRAM 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.
-
Page 119
8. Input the third instruction (MOVE) and its operands. First input the instruc- tion by pressing the FUN Key and then the function code (21 in this case). To input the differentiated version of an instruction, press the NOT Key after the function code (FUN 2 1 NOT). -
Page 120
SHIFT Input the value of the operand from 0 to 65535. Note If an erroneous input is made, press the CLR Key to restore the status prior to the input. Then enter the correct input. 14. Restore the hexadecimal display. -
Page 121: Instruction Search
MONITOR PROGRAM The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode. 1, 2, 3… 1. Press the CLR Key to bring up the initial display.
-
Page 122: Inserting And Deleting Instructions
Indicates the amount used by the user program in units of 0.1 Kwords. 4-3-11 Inserting and Deleting Instructions This operation is used to insert or delete instructions from the program. It is pos- sible in PROGRAM mode only. MONITOR PROGRAM…
-
Page 123: Checking The Program
SRCH 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. Note Refer to 5-5 Programming Errors for details on check levels and the errors that may be detected when the program is checked.
-
Page 124: Bit, Digit, Word Monitor
MONITOR PROGRAM 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. 1, 2, 3… 1. Press the CLR Key to bring up the initial display.
-
Page 125
5. Press the SHIFT and CLR Keys to end monitoring altogether. SHIFT 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. -
Page 126: Differentiation Monitor
Down Arrow Key. The symbols “D@” will appear. ↓ SHIFT 3. The buzzer will sound when the specified bit goes from off to on (for up-dif- ferentiation) or from on to off (for down-differentiation). Note The buzzer will not sound if it has been turned off.
-
Page 127: Three-Word Monitor
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. SHIFT MONTR…
-
Page 128: Signed Decimal Monitor
MONITOR PROGRAM 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. (Multiple address monitor) 2. Press the SHIFT and TR Keys to display the leftmost word as signed deci- mal.
-
Page 129: Three-Word Data Modification
Programming Console Operations Section 4-3 3. Press the CLR Key or the SHIFT and TR Keys to end the unsigned decimal display and return to normal monitoring. 4-3-19 Three-word Data Modification This operation is used to change the contents of one or more of the 3 con- secutive words displayed in the Three-word Monitor operation.
-
Page 130: Hexadecimal, Bcd Data Modification
Programming Console Operations Section 4-3 Inputting a New SV This operation can be used to input a new SV constant, as well as to change an Constant SV from a constant to a word address designation and vice versa. The following examples show how to input a new SV constant and how to change the SV from a constant to an address.
-
Page 131: Binary Data Modification
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. ↓ ↓…
-
Page 132: Signed Decimal Data Modification
Programming Console Operations Section 4-3 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. c) Use the SHIFT and SET and SHIFT and RESET Keys to force-set or force-reset a bit’s status.
-
Page 133: Unsigned Decimal Data Modification
(Unsigned decimal monitor) 2. Press the CHG Key to begin decimal data modification. 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.
-
Page 134: Clear Force Set/Reset
Programming Console Operations Section 4-3 2. Press the SET Key to force the bit ON or press the RESET Key to force the bit OFF. The cursor in the lower left corner of the display indicates that the force set/ reset is in progress.
-
Page 135: Programming Example
(Multiple address monitor) 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. Note 1.
-
Page 136
Programming Example Section 4-4 3. Clear the CPM1A’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. RESET MONTR 4. Display and clear error messages by pressing the CLR, FUN, and then the MONTR Key. -
Page 137: Example Program
Section 4-4 4-4-2 Example Program The following ladder program will be used to demonstrate how to write a pro- gram with the Programming Console. This program makes output IR 01000 flicker ON/OFF (one second ON, one second OFF) ten times after input IR 00000 is turned ON.
-
Page 138: Programming Procedures
4-4-2 Example Program. The procedure is performed beginning with the initial display. (Clear the memory before entering a new program.) Note If an error occurs while inputting the program, refer to 5-4 Programming Console Operation Errors for details on correcting the error. Refer to the relevant Support Software Operation Manual for details on errors that appear when operating the SSS or SYSMAC-CPT Support Software.
-
Page 139
WRITE 4. Input the SV for T001 (#0010 = 1.0 s). WRITE (3) Inputting the The following key operations are used to input the 2-second timer. Two-second Timer 1, 2, 3… 1. Input the normally open condition IR 20000. WRITE 2. -
Page 140
3. Input the OUT instruction IR 01000. (It isn’t necessary to input leading zeroes.) WRITE (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 CPM1A PCs.) WRITE… -
Page 141: Checking The Program
SRCH 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.
-
Page 142: Test Runs And Error Processing
SECTION 5 Test Runs and Error Processing This section describes procedures for test runs of CPM1A operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. Initial System Checks and Test Run Procedure .
-
Page 143: Initial System Checks And Test Run Procedure
Section 5-1 Initial System Checks and Test Run Procedure 5-1-1 Initial System Checks Note Check the following items after setting up and wiring the CPM1A. Be sure to check the wiring and connections before performing a test run. Item Points to check…
-
Page 144: Flash Memory Precautions
1, 2, 3… 1. If the power is turned off without changing the mode after having made chan- ges in the read-only DM area (DM 6144 through DM 6599), or PC Setup (DM 6600 through DM 6655), the contents of changes will not be written to flash memory.
-
Page 145: The Cpm1A Cycle
Section 5-2 The CPM1A Cycle The overall flow of CPM1A operation is as shown in the following flowchart. The CPM1A is initialized internally when the power is turned on. If no errors are detected, the overseeing processes, program execution, I/O refreshing, and Peripheral Device servicing are executed consecutively (cyclically).
-
Page 146: Self-Diagnosis Functions
An error has been detected in the PC Setup. Check flags AR 1300 to AR 1302, and correct as directed. AR 1300 ON: An incorrect setting was detected in the PC Setup (DM 6600 to DM 6614) when power was turned on.
-
Page 147: Identifying Errors
AR 1310 ON: A checksum error has occurred in read-only DM (DM 6144 to DM 6599). Check and correct the settings in the read-only DM area. AR 1311 ON: A checksum error has occurred in the PC Setup. Initialize all of the PC Setup and reinput.
-
Page 148: Programming Console Operation Errors
3. The instruction’s 2-digit BCD FALS number (01 to 99) will be written to SR 25300 to SR 25307. 4. The FALS number and time of occurrence will be recorded in the PC’s error log area if a Memory Cassette with a clock (RTC) is used.
-
Page 149
Check level 0 checks for type A, B, and C errors; check level 1, for type A and B errors; and check level 2, for type A errors only. -
Page 150: Troubleshooting Flowcharts
Troubleshooting Flowcharts Section 5-6 Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Error PWR indicator lit? Check power supply. (See page 128.) Operation stopped. Check for fatal errors. RUN indicator lit? (See page 129.) ERR/ALM indicator Check for non-fatal errors.
-
Page 151
Is PWR indicator lit? Replace the CPU Unit. Note The PWR indicator will go out when there is a short circuit in the external power supply or an overload, only in the CPM1A-10CDR-j and CPM1A-20CDR-j CPU Units. In CPM1A-30CDR-j and CPM1A-40CDR-j… -
Page 152
Fatal Error Check RUN indicator not lit. Is the ERR/ALM indicator lit? Determine the cause Is PC mode displayed of the error with a on Peripheral Device? Peripheral Device. Is PC mode displayed Turn the power on Peripheral Device? supply OFF, and then ON again. -
Page 153
Troubleshooting Flowcharts Section 5-6 Non-fatal Error Check ERR/ALM indicator flashing. Determine the cause of the error with a Peripheral Device. Identify the error, eliminate its Is a non-fatal error indicated? cause, and clear the error. Flashing Is the ERR/ALM indi-… -
Page 154
Troubleshooting Flowcharts Section 5-6 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 IR 01003 out- put indicator operat- ing normally? Check the voltage at the Wire correctly. -
Page 155
00003 terminals. screws loose? Operation O.K.? Operation O.K.? Is input wiring correct? Check operation by using a dummy input signal to turn the input ON and OFF. Wire correctly. Tighten the terminal screws Operation O.K.? Replace the CPU Replace the CPU Return to “start.”… -
Page 156
Consider using a temperature fan or cooler. below 55°C? Is the ambient Consider using a temperature above heater. 0°C? Is the ambient humidity Consider using an between 10% and air conditioner. 90%? Install surge pro- tectors or other Is noise being noise-reducing… -
Page 157
AR 1308 ON? errors, and clear the error. Check the error indicated by AR 1310 to Turned ON during the flag that is ON, correct set- AR 1312 ON? startup? tings as required, and write data to the flash memory. -
Page 158: Maintenance Inspections
The standard period for maintenance checks is 6 months to 1 year, but depend- ing on the environment checks may need to be more regular. If the criteria are not met, adjust to within the specified ranges.
-
Page 159: Handling Precautions
Note Before restarting operation, transfer the contents of the DM and HR areas to the CPU Unit that was changed and then start operation. • If a Unit is found to be faulty and is replaced, check the Unit again to ensure there is no error.
-
Page 160
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. Overview …………. . . -
Page 161: Expansion Memory Unit
• 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.
-
Page 162: Specifications And Nomenclature
DM 6144 to DM 6655 to EEPROM. Indicator DOWNLOAD to PLC Button UPLOAD Button Reads only PC user program to EEPROM. UPLOAD + DM Button UPLOAD Button Note The “PLC” in the “DOWNLOAD TO PLC” Button indicates PCs (Programmable Controllers).
-
Page 163: Handling
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.
-
Page 164: Pc Connections
CQM1H Pin 5: ON (see note) Pin 7: ON 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.
-
Page 165: Uploading Programs
EEPROM. DM6144 to 6655 Not affected. 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. 3.0 dia. max. 10 mm min.
-
Page 166: Downloading Programs
See the note above. Remove the Expansion Memory Unit from the PC. 6-3-4 Downloading Programs Ladder programs and the contents of data memory can be downloaded from the EEPROM to the PC using the procedure given below. When downloading, note the following points.
-
Page 167
Section 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. -
Page 168
PC’s peripheral port. before connecting the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is Note If the indicator is not lit at all, lit red or lit green. blinks red, downloading will not be See the note on possible. -
Page 169: A Standard Models
CPU Units V1 Units Model number Description Input Output Power points points supply Relay Transistor outputs outputs Sinking Sourcing CPU Units with 6 points 4 points CPM1A- CPM1A- CPM1A- 10 I/O points 10CDR-A-V1 10CDT-A-V1 10CDT1-A-V1 CPM1A- CPM1A- CPM1A- 10CDR-D-V1 10CDT-D-V1…
-
Page 170
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… -
Page 171
RS-232C devices. RS-422 Adapter Converts data communications between CPM1-CIF11 the peripheral port and RS-422 devices. The CPM1-CIF01/CIF11 are used with the CPM1A, CPM1 and SRM1 only. Do not use them with a C200HS PC or other PC. -
Page 172
(3.5” disks (2HD) and CDROM) 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. -
Page 173: B Dimensions
Appendix B Dimensions All dimensions are in millimeters. CPM1A-10CDR-j-V1/10CDT-j-V1/10CDT1-j-V1 CPU Unit CPU Unit with DC Power CPU Unit with AC Power Two, 4.5 dia. CPM1A-10CDR-j/10CDT-j/10CDT1-j CPU Unit CPU Unit with DC Power CPU Unit with AC Power 56±0.2 CPM1A-20CDR-j-V1/20CDT-j-V1/20CDT1-j-V1 CPU Unit…
-
Page 174
Dimensions Appendix B CPM1A-20CDR-j/20CDT-j/20CDT1-j CPU Unit CPU Unit with DC Power CPU Unit with AC Power 76±0.2 CPM1A-30CDR-j-V1/30CDT-j-V1/30CDT1-j-V1 CPU Unit CPU Unit with DC Power CPU Unit with AC Power Four, 4.5 dia. CPM1A-30CDR-j/30CDT-j/30CDT1-j CPU Unit CPU Unit with DC Power CPU Unit with AC Power 120±0.2… -
Page 175
Dimensions Appendix B CPM1A-40CDR-j-V1/40CDT-j-V1/40CDT1-j-V1 CPU Unit CPU Unit with DC Power CPU Unit with AC Power Four, 4.5 dia. CPM1A-40CDR-j/40CDT-j/40CDT1-j CPU Unit CPU Unit with DC Power CPU Unit with AC Power 140±0.2 CPM1A-20EDj Expansion I/O Unit Two, 4.5 dia. -
Page 176
Dimensions Appendix B CPM1A-8jjj Expansion I/O Unit Two, 4.5 dia. Analog I/O Unit CPM1A-MAD01 CPM1A-MAD11 76±0.2 Two, 4.5 dia. Two, 4.5 dia. CPM1A-TSjjj Temperature Sensor Unit 76±0.2 Two, 4.5 dia. -
Page 177
Dimensions Appendix B CPM1A-SRT21 CompoBus/S I/O Link Unit Two, 4.5 dia. CPM1A-DRT21DeviceNet I/O Link Unit 56±0.2 Two, 4.5 dia. -
Page 178
Dimensions Appendix B CPM1-CIF01 RS-232C Adapter 90 81 CPM1-CIF11 RS-422 Adapter 90 81… -
Page 179
Dimensions Appendix B Dimensions with Peripheral Devices Attached CPU Unit with DC Power Supply CPU Unit with AC Power Supply Approx. 90 Approx. 125 *110 mm for V1 Units. -
Page 180
AUTOEXEC.BAT An MS-DOS file containing commands automatically executed at startup. back-up A copy made of existing data to ensure that the data will not be lost even if the original data is corrupted or erased. basic instruction A fundamental instruction used in a ladder diagram. See advanced instruction. -
Page 181
Glossary bit designator An operand that is used to designate the bit or bits of a word to be used by an instruction. bit number A number that indicates the location of a bit within a word. Bit 00 is the rightmost (least-significant) bit;… -
Page 182
Glossary Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out or the counter has reached its set value. condition A symbol placed on an instruction line to indicate an instruction that controls the execution condition for the terminal instruction. -
Page 183: Glossary
A unit of storage in memory that consists of four bits. digit designator An operand that is used to designate the digit or digits of a word to be used by an instruction. DIN track A rail designed to fit into grooves on various devices to allow the devices to be quickly and easily mounted to it.
-
Page 184
Processing that is performed in response to an event, e.g., an interrupt signal. exclusive NOR A logic operation whereby the result is true if both of the premises are true or both of the premises are false. In ladder-diagram programming, the premises are usually the ON/OFF states of bits, or the logical combination of such states, called execution conditions. -
Page 185
Each group of four binary bits is numerically equivalent to one hexadecimal digit. host computer A computer that is used to transfer data to or receive data from a PC in a Host Link system. The host computer is used for data management and overall sys- tem control. -
Page 186
I/O Units include Input Units and Output Units, each of which is available in a range of specifications. I/O word A word in the IR area that is allocated to a Unit in the PC System and is used to hold I/O status for that Unit. IBM PC/AT or compatible A computer that has similar architecture to, that is logically compatible with, and that can run software designed for an IBM PC/AT computer. -
Page 187
A type of programming where execution moves directly from one point in a pro- gram to another, without sequentially executing any instructions in between. jump number A definer used with a jump that defines the points from and to which a jump is to be made. ladder diagram (program) A form of program arising out of relay-based control systems that uses circuit- type diagrams to represent the logic flow of programming instructions. -
Page 188
The processes of copying data either from an external device or from a storage area to an active portion of the system such as a display buffer. Also, an output device connected to the PC is called a load. -
Page 189
NOT indicates an AND operation with the opposite of the actual status of the operand bit. The status of an input or output when a signal is said not to be present. The OFF state is generally represented by a low voltage or by non-conductivity, but can be defined as the opposite of either. -
Page 190
Glossary output bit A bit in the IR area that is allocated to hold the status to be sent to an output device. output device An external device that receives signals from the PC System. output point The point at which an output leaves the PC System. Output points correspond physically to terminals or connector pins. -
Page 191
The portable form of Programming Device for a PC. Programming Device A Peripheral Device used to input a program into a PC or to alter or monitor a program already held in the PC. There are dedicated programming devices, such as Programming Consoles, and there are non-dedicated devices, such as a host computer. -
Page 192
However, the program or data can be read as many times as desired. rotate register A shift register in which the data moved out from one end is placed back into the shift register at the other end. RS-232C interface An industry standard for serial communications. -
Page 193
One or more words in which data is shifted a specified number of units to the right or left in bit, digit, or word units. In a rotate register, data shifted out one end is shifted back into the other end. In other shift registers, new data (either specified data, zero(s) or one(s)) is shifted into one end and the data shifted out at the other end is lost. -
Page 194
The process of moving data from one location to another within the PC, or between the PC and external devices. When data is transferred, generally a copy of the data is sent to the destination, i.e., the content of the source of the transfer is not changed. -
Page 195
A switch used to write-protect the contents of a storage device, e.g., a floppy disk. If the hole on the upper left of a floppy disk is open, the information on this floppy disk cannot be altered. -
Page 196
22 displaying, Programming Console, 112 processing, 122 binary data, modifying, Programming Console, 108 data, modifying, Programming Console, 106, 107, 108, 109, bit status, force-set/reset, Programming Console, 110 bits, searching, Programming Console, 98 data link, 16, 72 buzzer operation, Programming Console, 93 decimal data with sign. -
Page 197
Index ERR/ALM indicator I/O terminals, IR bit allocation, 5 flashing, 123 incremental mode, 9 lit, 123 indicators errors CompoBus/S LED indicators, 38 communications, 123 flashing ERR/ALM indicator, 123 error processing, 119 lit ERR/ALM indicator, 123 fatal, 123 PC status indicators, 33… -
Page 198
NPN current output, connecting, 58 program, programming example, 112 NPN open collector, connecting, 58 program capacity, 23 NT Link, 3 program memory, setting address and reading content, Pro- gramming Console, 94 PROGRAM mode, description, 86 Programmable Terminal, 4 one-shot mode, 8… -
Page 199: Index
58 status, monitoring, Programming Console, 101 weight SV, modifying, Programming Console, 106 CPU Unit, 22 syntax, checking the program, Programming Console, 100 Expansion I/O Unit, 22 Expansion Unit, 22 SYSMAC Support Software, 19 See also SSS wiring, 50…
-
Page 200: Revision History
Page 61: Minor changes to first paragraph. Page 66: Information added to introduction. Pages 73, 80, 81, 83, 86, 87, 88, 89, 90, 93, 95, 97, 98, 104: Minor changes to screen messages. Page 98: Note added to middle graphic.
-
Page 201
Revised content May 2001 Pages xiv, xvii, xviii, 2, 4, 6, 7, 10, 20, 21, 25, 26, 28, 29, 39 to 41, 43, 44, 47, 53, 55, 57, 125, 137, 141, 142, and 145: Changed made for V1 Units. Pages 3, 12, 31, 40, 137, and 143: Information on new Analog I/O Unit added (MAD11).
Ïðîãðàììèóåìûå êîíòðîëëåðû SYSMACÑQM1/CPM1/CPM1A/SRM1Ðóêîâîäñòâî ïî ïðîãðàììèðîâàíèþCat No. W228-E1-4 R1.20Ïðîãðàììèðóåìûå êîíòðîëëåðûCQM1/CPM1/CPM1A/SRM1Èíñòðóêöèÿ ïî ïðîãðàììèðîâàíèþÏåðåñìîòðåíà â èþíå 1997 ãîäàCat. No. W228-E1-4 (R1.20)-1—2-Ïåðåä òåì, êàê ÷èòàòü èíñòðóêöèþ:Ïðîäóêöèÿ ôèðìû OMRON ñîçäàíà äëÿ èñïîëüçîâàíèÿ ñîãëàñíî ðàçðåøåííûìïðîöåäóðàìa êâàëèôèöèðîâàííûì îïåðàòîðîì è òîëüêî äëÿ öåëåé, îïèñàííûõ â äàííîéèíñòðóêöèè. äàííîé èíñòðóêöèè ïðèíÿòû ñëåäóþùèå îáîçíà÷åíèÿ äëÿ èíäèêàöèè è êëàññèôèêàöèèïðåäóïðåæäàþùèõ ñîîáùåíèé. Îáÿçàòåëüíî ó÷èòûâàéòå ýòó èíôîðìàöèþ. Åñëèïðåíåáðå÷ü ïðåäóïðåæäåíèÿìè, ýòî ìîæåò ïîâëå÷ü íåñ÷àñòíûå ñëó÷àè ñ ëþäüìè èëèïîâðåæäåíèå îáîðóäîâàíèÿ.Îïàñíîñòü!Ïðåäóïðåæäåíèå!Âíèìàíèå!Óêàçûâàåò íà èíôîðìàöèþ, ïðåíåáðåæåíèå êîòîðîé ñ áîëüøîé äîëåéâåðîÿòíîñòè ïîâëå÷åò ñìåðòü èëè òÿæåëûå óâå÷üÿ.Óêàçûâàåò íà èíôîðìàöèþ, ïðåíåáðåæåíèå êîòîðîé ìîæåò ïîâëå÷ü ñìåðòüèëè òÿæåëûå óâå÷üÿ (ñ ìåíüøåé ñòåïåíüþ âåðîÿòíîñòè).Óêàçûâàåò íà èíôîðìàöèþ, ïðåíåáðåæåíèå êîòîðîé ìîæåò ïîâëå÷üîòíîñèòåëüíî ñåðüåçíûå èëè íåáîëüøèå òðàâìû, ïîâðåæäåíèåîáîðóäîâàíèÿ èëè íåïðàâèëüíóþ ðàáîòó.Ñïðàâî÷íàÿ èíôîðìàöèÿ îá èçäåëèÿõ OMRONÂñå èçäåëèÿ OMRON ïèøóòñÿ â äàííîé èíñòðóêöèè ñ ïðîïèñíîé áóêâû.
Ñëîâî “Áëîê”òàêæå ïèøåòñÿ ñ áîëüøîé áóêâû, êîãäà îíî îòíîñèòñÿ ê ïðîäóêöèè OMRON, íåçàâèñèìîîò òîãî, ïîÿâëÿåòñÿ îíî èëè íåò â ñîáñòâåííîì èìåíè èçäåëèÿ.Ñîêðàùåíèå “Ch”, êîòîðîå ïîÿâëÿåòñÿ â íåêîòîðûõ ðåæèìàõ èíäèêàöèè è íåêîòîðûõïðîäóêòàõ OMRON, ÷àñòî îáîçíà÷àåò “ñëîâî” (word) è â äîêóìåíòàöèè èìååòñîêðàùåííîå îáîçíà÷åíèå “Wd”.Ñîêðàùåíèå “ÏÊ” (PC) îçíà÷àþò Ïðîãðàììèðóåìûé Êîíòðîëëåð (ProgrammableController) è â äðóãèõ ñìûñëàõ íå èñïîëüçóåòñÿ.Ñðåäñòâà âûäåëåíèÿ èíôîðìàöèè ëåâîé êîëîíêå äàííîé èíñòðóêöèè ïîÿâëÿþòñÿ ñëåäóþùèå çàãîëîâêè äëÿ îáëåã÷åíèÿîïðåäåëåíèÿ òèïà èíôîðìàöèè.Çàìå÷àíèå Óêàçûâàåò èíôîðìàöèþ, çàñëóæèâàþùåãî îñîáîãî èíòåðåñà äëÿýôôåêòèâíîé è óäîáíîé ðàáîòû èçäåëèé OMRON.1, 2, 3,…
Óêàçûâàåò íà ïåðå÷èñëåíèÿ òîãî èëè èíîãî ðîäà, òàêèå, êàê ïðîöåäóðû,ñïèñêè è ò.ä.OMRON,1993Âñå ïðàâà ñîõðàíåíû. Íèêàêóþ ÷àñòü äàííîãî äîêóìåíòà íåëüçÿ ðàçìíîæàòü, çàãðóæàòü âèíôîðìàöèîííî-ïîèñêîâûå ñèñòåìû èëè ïåðåäàâàòü â ëþáîé ôîðìå, ìåõàíè÷åñêîé, ýëåêòðè÷åñêîé,ôîòîêîïèðîâàíèåì, ìàãíèòîçàïèñüþ èëè êàêîé-ëèáî äðóãîé, áåç ïèñüìåííîãî ðàçðåøåíèÿ OMRON.Ïàòåíòíîé îòâåòñòâåííîñòè çà èñïîëüçîâàíèå èíôîðìàöèè â äàííîì äîêóìåíòå íå íåñåòñÿ. Áîëåå òîãî,ïîñêîëüêó OMRON ïîñòîÿííî ñòàðàåòñÿ óëó÷øàòü ñâîþ ïðîäóêöèþ, èíôîðìàöèÿ â äàííîé èíñòðóêöèè ìîæåòèçìåíèòüñÿ áåç óâåäîìëåíèÿ. Ïðè ïîäãîòîâêå äàííîé èíñòðóêöèè áûëè ïðèíÿòû âñå ìåðû ïðåäîñòîðîæíîñòè.Îäíàêî OMRON íå ïðèíèìàåò íà ñåáÿ îòâåòñòâåííîñòè çà îøèáêè èëè ïðîïóñêè. Íå ïðèíèìàåòñÿ òàêæåíèêàêàÿ îòâåòñòâåííîñòü çà óùåðá, íàíåñåííûé âñëåäñòâèå ïðèìåíåíèÿ èíôîðìàöèè, ñîäåðæàùåéñÿ âäàííîì äîêóìåíòå.-3-Î äàííîé èíñòðóêöèè: äàííîé èíñòðóêöèè îïèñàíî ïðîãðàììèðîâàíèå ïðîãðàììèðóåìûõ êîíòðîëëåðîâCQM1/CÐÌ1/CPM1A/SRM1, âêëþ÷àÿ ñòðóêòóðó ïàìÿòè, ñîäåðæèìîå ïàìÿòè, êîìàíäûðåëåéíî-êîíòàêòíûõ ñõåì è ò.
ä.Èíôîðìàöèþ îá àïïàðàòíîé ÷àñòè è î ðàáîòå ñ ïðîãðàììàòîðîì ñìîòðèòå Èíñòðóêöèþïî ðàáîòå CQM1 èëè Èíñòðóêöèþ ïî ðàáîòå CÐM1;äëÿ ðàáîòû ñ SSS ñì. Èíñòðóêöèþ ïî ðàáîòå ñ SSS: ÏÊ ñåðèè Ñ.Âíèìàòåëüíî ïðî÷òèòå äàííóþ èíñòðóêöèþ äî ïîëíîãî ïîíèìàíèÿ èçëîæåííûõ ñâåäåíèé,ïðåæäå ÷åì ïûòàòüñÿ ïðîãðàììèðîâàòü è ðàáîòàòü ñ CQM1 è ÑÐÌ1.Ãëàâà 1 îïèñûâàåò Óñòàíîâî÷íûå ïàðàìåòðû ÏÊ è ñâÿçàííûå ñ íèìè ôóíêöèè ÏÊ,âêëþ÷àÿ îáðàáîòêó ïðåðûâàíèé è ñâÿçü.
Óñòàíîâî÷íûå ïàðàìåòðû ñëóæàò äëÿóïðàâëåíèÿ ðàáî÷èìè ïàðàìåòðàìè ÏÊ. Ãëàâå 2 äàíî îïèñàíèå íîâûõ âîçìîæíîñòåé CQM1 è CÐM1, âêëþ÷àÿ íîâûåäîïîëíèòåëüíûå êîìàíäû è íîâûé ðåæèì èíäèêàöèè, íàçûâàåìûé ïðîñìîòðîì ôðîíòîâ, Ãëàâå 3 îïèñàíà ñòðóêòóðà îáëàñòåé ïàìÿòè ÏÊ è èõ èñïîëüçîâàíèå. Òàêæå îïèñàíûîïåðàöèè ñ êàññåòîé ïàìÿòè äëÿ îáìåíà äàííûõ ìåæäó CQM1 è êàññåòîé ïàìÿòè. Ãëàâå 4 îïèñàíû îñíîâíûå äåéñòâèÿ è ïîíÿòèÿ, èñïîëüçóåìûå äëÿ íàïèñàíèÿïðîãðàììû â âèäå ðåëåéíî-êîíòàêòíîé ñõåìû. Îíà çíàêîìèò ñ êîìàíäàìè,èñïîëüçóåìûìè äëÿ ïîñòðîåíèÿ áàçîâîé ñòðóêòóðû ðåëåéíî-êîíòàêòíîé ñõåìû è äëÿóïðàâëåíèÿ åå âûïîëíåíèåì. Ãëàâå 5 îáúÿñíÿåòñÿ èíäèâèäóàëüíî êàæäàÿ êîìàíäà ïðîãðàììèðîâàíèÿ â âèäåðåëåéíî-êîíòàêòíîé ñõåìû, êîòîðûå èñïîëüçóþòñÿ â ÏÊ. Ãëàâå 6 îïèñàíû ìåòîäû è ïðîöåäóðû èñïîëüçîâàíèÿ êîìàíä ñâÿçè ñ âåðõíèìóðîâíåì (HOST LINK), êîòîðûå ñëóæàò äëÿ ñâÿçè HOST LINK ÷åðåç ïîðòû ÏÊ. Ãëàâå 7 îïèñàíû âíóòðåííÿÿ ðàáîòà ÏÊ è âðåìÿ, òðåáóåìîå äëÿ îáðàáîòêè èèñïîëíåíèÿ.
×èòàéòå äàííóþ ãëàâó äëÿ ïîíèìàíèÿ ñèíõðîíèçàöèè îïåðàöèé ÏÊ. Ãëàâå 8 îïèñàíî, êàê äèàãíîñòèðîâàòü è èñïðàâëÿòü îøèáêè àïïàðàòóðû è ïðîãðàììû,êîòîðûå ìîãóò ïðîèçîéòè âî âðåìÿ ðàáîòû ÏÊ.Ïðåäóïðåæäåíèå!Åñëè ïðèñòóïèòü ê ðàáîòå ñ ÏÊ, íå ïðî÷èòàâ è íå ïîíÿâ èíôîðìàöèþ âäàííîé èíñòðóêöèè, ýòî ìîæåò ïðèâåñòè ê íåñ÷àñòíûì ñëó÷àÿì èëè ñìåðòèïåðñîíàëà, ïîâðåæäåíèþ èëè ïîëîìêå èçäåëèÿ.
Ïåðåä òåì, êàê ïûòàòüñÿïðîäåëàòü ëþáóþ ïðîöåäóðó èëè îïåðàöèþ, ïîëíîñòüþ ïðî÷òèòå êàæäóþãëàâó äî ïîëíîãî ïîíèìàíèÿ.-4-Ñîäåðæàí è å1. Óñòàíîâî÷íûå ïàðàìåòðû ÏÊ è ñâÿçàííûå ñ íèìè õàðàêòåðèñòèêè . . . . . . . 131.1 Óñòàíîâî÷íûå ïàðàìåòðû ÏÊ. .
. . . . . . . . . . . . . . . . . . . . . . 141.1.1 Èçìåíåíèå óñòàíîâî÷íûõ ïàðàìåòðîâ ÏÊ . . . . . . . . . . . . . .1.1.2 Óñòàíîâî÷íûå ïàðàìåòðû ïðîãðàììèðóåìîãî êîíòðîëëåðà CQM1.1.1.3 Óñòàíîâî÷íûå ïàðàìåòðû CÐM1/CPM1A . . . . . . . . . . . . . . .1.1.4 Óñòàíîâî÷íûå ïàðàìåòðû SRM1 . . . . . . . . . . . . . . .
. . . ……………………………141420231.2 Áàçîâûå îïåðàöèè ÏÊ è ïðîöåññû âõîäîâ/âûõîäîâ. . . . . . . . . . . . 261.2.1 Ðåæèì ïóñêà . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261.2.2 Ñîñòîÿíèå áèòà óäåðæàíèÿ . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . 261.2.3 Çàùèòà îò çàïèñè ïàìÿòè ïðîãðàìì (òîëüêî äëÿ CPM1/CPM1A) . . . . . . . . . . 271.2.4 Âðåìÿ îáñëóæèâàíèÿ ïîðòà RS-232C (òîëüêî CQM1/SRM1) . . . . . . . . . . . . 271.2.5 Âðåìÿ îáñëóæèâàíèÿ ïåðèôåðèéíîãî ïîðòà . . . . . . . . . . . . . . . . . .
. . . 281.2.6 Âðåìÿ öèêëà . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281.2.7 Êîíñòàíòû âðåìåíè âõîäà . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281.2.8 Âûñîêîñêîðîñòíûå òàéìåðû (Òîëüêî CQM1) . . . . . . . .
. . . . . . . . . . . . . 301.2.9 Êîëè÷åñòâî ââîäèìûõ öèôð äëÿ DSW(87) è Ìåòîä îáíîâëåíèÿ âûõîäîâ (Òîëüêî CQM1)311.2.10 Ïàðàìåòðû ïðîòîêîëà îøèáîê . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311.3 Ôóíêöèè âûäà÷è èìïóëüñîâ (òîëüêî CQM1) . . . . . . . . . . . . . . . . 331.3.1 Òèïû âûäà÷è èìïóëüñîâ . . . . . . . . . . .
. . . . . . . . . . . .1.3.2 Âûäà÷à ñòàíäàðòíûõ èìïóëüñîâ ñ ïðîñòîãî âûõîäà. . . . . . . .1.3.3 Âûäà÷à ñòàíäàðòíûõ èìïóëüñîâ ñ ïîðòîâ 1 è 2 . . . . . . . . . .1.3.4 Âûäà÷à èìïóëüñîâ ñ ïåðåìåííûì êîýôôèöèåíòîì çàïîëíåíèÿ ñïîðòîâ 1 è 2. . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .1.3.5 Îïðåäåëåíèå ñîñòîÿíèÿ ïîðòîâ 1 è 2 . . . . . . . . . . . . . . .. . . . . . . . . 33. . . . . . . . . 33. . . . . . . . . 35. . . . . . . . . 43. . . . . . . . . 451.4 Ôóíêöèè ïðåðûâàíèé CQM1 . . .
. . . . . . . . . . . . . . . . . . . . . 471.4.1 Òèïû ïðåðûâàíèé . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.4.2 Âõîäíûå ïðåðûâàíèÿ . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.4.3 Ìàñêèðîâàíèå âñåõ ïðåðûâàíèé . . . . . . . . . . . . . . . . . . . . . . .1.4.4 Ïðåðûâàíèÿ èíòåðâàëüíîãî òàéìåðà . .
. . . . . . . . . . . . . . . . . . .1.4.5 Ïðåðûâàíèÿ âûñîêîñêîðîñòíîãî ñ÷åò÷èêà (ÂÑ÷) 0 . . . . . . . . . . . . . .1.4.6 Ïåðåïîëíåíèå “+”/ Ïåðåïîëíåíèå “- “ âûñîêîñêîðîñòíîãî ñ÷åò÷èêà 0 . . .1.4.7 Ïðåðûâàíèÿ âûñîêîñêîðîñòíûõ ñ÷åò÷èêîâ (ÂÑ÷) 1 è 2 (CQM1-CPU43-Å) .1.4.8 Ïðåðûâàíèÿ àáñîëþòíîãî âûñîêîñêîðîñòíîãî ñ÷åò÷èêà (CQM1-CPU44-Å)……………………………47495454576364711.5 Ôóíêöèè ïðåðûâàíèé CPM1/CPM1A . . . .
. . . . . . . . . . . . . . . . 791.5.1 Òèïû ïðåðûâàíèé . . . . . . . . . . . . .1.5.2 Âõîäíûå ïðåðûâàíèÿ . . . . . . . . . . .1.5.3 Ìàñêèðîâàíèå âñåõ ïðåðûâàíèé . . . . .1.5.4 Ïðåðûâàíèÿ èíòåðâàëüíûõ òàéìåðîâ . .1.5.5 Ïðåðûâàíèÿ âûñîêîñêîðîñòíîãî ñ÷åò÷èêà………………………………………………………………………………………………..79808586881.6 Ôóíêöèè ïðåðûâàíèé SRM1 .
. . . . . . . . . . . . . . . . . . . . . . . 961.6.1 Òèïû ïðåðûâàíèé . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 961.6.2 Ïðåðûâàíèÿ ïî èíòåðâàëüíîìó òàéìåðó . . . . . . . . . . . . . . . . . . . . . . .
961.7 Ôóíêöèè ðàñïðåäåëåííûõ âõîäîâ/âûõîäîâ CompoBus/S (Òîëüêî SRM1) 981.8 Ôóíêöèè ñâÿçè . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1001.8.1 Óñòàíîâî÷íûå ïàðàìåòðû CQM1 . . . . .1.8.2 Ïîäêëþ÷åíèå ïîðòîâ. . . . . . . . . . . .1.6.3 Ñâÿçü Host Link CQM1 . . . . .
. . . . . .1.8.4 Ñâÿçü Host Link CPM1/CPM1A. . . . . . .1.8.5 Ñâÿçü Host Link SRM1 . . . . . . . . . . .1.8.6 Ñâÿçü ïî RS-232C (òîëüêî CQM1/SRM1) .1.8.7 Ñâÿçü CQM1 1:1 . . . . . . . . . . . . . .1.8.8 Ñâÿçü 1:1 CÐM1/CPM1A . . . . . . . . . .-5-…………………………………………………………………………………………………………………………………………………………..1001031031051071101121141.8.9 Ñâÿçü CÐM1/CPM1A NT LINK . .
. . . . .1.8.10 Ñâÿçü 1:1 SRM1 . . . . . . . . . . . . . .1.8.11 Ñâÿçü NT LINK â SRM1 . . . . . . . . .1.8.12 Ñâîáîäíûé ïðîòîêîë â SRM1 . . . . . .1.8.13 Êîíôèãóðàöèÿ ïåðåäàâàåìûõ äàííûõ. .1.8.14 Ôëàãè ïåðåäà÷è . . . . . . . . . . . . . .1.8.15 Ïðèìåð ïðîãðàììû ñâÿçè áåç ïðîòîêîëà……………………………………………………………………………………………………………………………………….1151161181191211211211.9 Âû÷èñëåíèÿ ñ äâîè÷íûìè äàííûìè ñî çíàêîì . . . .
. . . . . . . . . . 1231.9.1 Çàäàíèå äâîè÷íûõ äàííûõ ñî çíàêîì. . . . . . . . . . . . . . . . . . . . . . .1.9.2 Àðèôìåòè÷åñêèå ôëàãè . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1.9.3 Ââîä äâîè÷íûõ ÷èñåë ñî çíàêîì ñ èñïîëüçîâàíèåì äåñÿòè÷íûõ çíà÷åíèé . .1.9.4 Èñïîëüçîâàíèå äîïîëíèòåëüíûõ êîìàíä äâîè÷íûõ ñî çíàêîì (òîëüêî CQM1)1.9.5 Ïðèìåð ïðèìåíåíèÿ äâîè÷íûõ ÷èñåë ñî çíàêîì . .
-
Contents
-
Table of Contents
-
Bookmarks
Quick Links
OMRON Corporation
Regional Headquarters
FA Systems Division H.Q.
OMRON EUROPE B.V.
66 Matsumoto
Wegalaan 67-69, NL-2132 JD Hoofddorp
Mishima-city, Shizuoka 411-8511
The Netherlands
Japan
Tel:(31)2356-81-300/Fax:(31)2356-81-388
Tel:(81)55-977-9181
OMRON ELECTRONICS LLC
Fax:(81)55-977-9045
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
Authorized Distributor:
Note: Specifications subject to change without notice.
Cat. No. P039-E1-11
Printed in Japan
0404-1M
SYSMAC C1000H/C2000H
Smallest PLC in the SYSMAC C Series
Programmable Controllers
SYSMAC C20H
/C28H
/C40H
+
— — —
SYSMAC C20P/C28P/C40P
SYSMAC C60H
SYSMAC C200H
/C200HS
V1-type CPU Units
V1-type CPU Units
Now Available
Now Available
COM
01
03
05
NC
00
02
04
0CH
00
01
02
03
04
05
SYSMAC CPM1A
PWR
ERR
ALM
RUN
COMM
10CH 00
01
02
03
NC
00
01
02
COM
COM
COM
03
NC
SYSMAC CPM1A
Summary of Contents for Omron CPM1A
- Инструкции и руководства
- Бренды
- Omron
- CPM1A
- Справочник Пользователя
Cat.No. W317–E1–5
Programmable Controllers
SYSMAC
CPM1A
OPERATION MANUAL
-
Page 1: Omron CPM1A
Cat.No. W317–E1–5 Programmable Controllers SYSMAC CPM1A OPERA TION MANUAL[…]
-
Page 2: Omron CPM1A
CPM1A Programmable Controllers Operation Manual Revised February 2000[…]
-
Page 3: Omron CPM1A
! ! ! v Notice: 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[…]
-
Page 4: Omron CPM1A
T ABLE OF CONTENTS vii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . […]
-
Page 5: Omron CPM1A
T ABLE OF CONTENTS viii Appendices A Standard Models 137 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B Dimensions 141 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Glossary 147 . . . . . . . . .[…]
-
Page 6: Omron CPM1A
ix About this Manual: The CPM1A is a compact, high-speed Programmable Controller (PC) designed for control operations in systems requiring from 10 to 100 I/O points per PC. There are two manuals describing the setup and operation of the CPM1A: the CPM1A Operation Manual (this manual) and the CPM1/CPM1A/CPM2A/ CPM2C/SRM1(-V2) Programming Manual (W35[…]
-
Page 7: Omron CPM1A
xi PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and related devices. Th e information contained in this section is important for the safe and reliable application of the Pr ogrammable Con- troller . Y ou must read this section and understand the information contained before attempting to set up or[…]
-
Page 8: Omron CPM1A
! ! ! ! ! 5 Application Precautions xii 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 F A systems. • Personnel in charge of designing F A systems. • Personnel in charge of managing F A[…]
-
Page 9: Omron CPM1A
! ! ! ! ! ! ! 5 Application Precautions xiii • The PC outputs may remain ON or OFF due to deposition or burning of the output relays or destruction of the output transistors. As a countermeasure fo r such problems, external safety measures must be provided to ensure safety in the system. • When the 24-VDC output (service power supply to the PC)[…]
-
Page 10: Omron CPM1A
! 5 Application Precautions xiv • Always connect to a class-3 ground (to 100 Ω or less) when installing the Units. Not connecting to a class-3 ground may result in electric shock. • Always turn off the power supply to the PC before attempting any of the follow- ing. Not turning of f the power supply may result in malfunction or electric shock[…]
-
Page 11: Omron CPM1A
! ! ! 5 Application Precautions xv • Be sure that the terminal blocks, expansion cables, and other items with lock- in g devices are properly locked into place. Improper locking may result in mal- function. • Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected […]
-
Page 12: Omron CPM1A
5 Application Precautions xvi • The user program and memory area data in the CPM1A are backed up either by an internal capacitor or in flash memory as shown in the following table. Backup method Data Internal capacitor Read/write DM area (DM 0000 to DM 0999, DM 1022, and DM 1023) Error log area (DM 1000 to DM 1021) HR area (HR 00 to HR 19) Counte[…]
-
Page 13: Omron CPM1A
5 Application Precautions xvii 6 EC Directives 6-1 Applicable Directives • EMC Directives • Low V oltage 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 check[…]
-
Page 14: Omron CPM1A
5 Application Precautions xviii Recommended core: 2643-002402 Manufacturer: Fair Rite Products Corp.[…]
-
Page 15: Omron CPM1A
1 SECTION 1 Intr oduction This section describes the CPM1A ’ s special features and functions and shows the possible system configurations. Refer to the Pr ogramming Manual (W353) for details on programming actual operation. 1-1 CPM1A Features and Functions 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . […]
-
Page 16: Omron CPM1A
2 1-1 CPM1A Features and Functions 1-1-1 CPM1A Features One-piece Construction Th e CPM1A CPU Units feature a one-piece construction including 10, 20, 30, or 40 built-in I/O terminals. The following three model groups are available: relay output models, sink-type transistor output models, and source-type transistor output models. CPM1A-10CDR- /[…]
-
Page 17: Omron CPM1A
3 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. T h e analog input range can be set to 0 t o 1 0 VDC, 1 to 5 VDC, or 4 to 20 mA with a resolution of 1/256.[…]
-
Page 18: Omron CPM1A
4 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 Download- ing SYSMAC EEPROM 1-1-2 I/O T erminal and IR Bit Allocation The following table shows which IR bits are allocated to the I/O termina[…]
-
Page 19: Omron CPM1A
5 1-1-3 CPM1A Functions Analog Setting Function CPM1A PCs have 2 variable-resistor adjustment knobs used to control analog timer and counter settings manually . When one of the adjustments is turned, the content of the corresponding IR word is set automatically between 0 and 200 (BCD). Turn the adjustment knob with a Phillips screwdriver . Analog a[…]
-
Page 20: Omron CPM1A
! 6 Input Interrupts The CPM1A-10CDR- /10CDT -D/10CDT1-D PCs have 2 interrupt input termi- nals and the CPM1A-20CDR- /20CDT -D/20CDT1-D, CPM1A-30CDR- / 30CDT -D/30CDT1-D, and CPM1A-40CDR- /40CDT -D/40CDT1-D PCs have 4 interrupt input terminals. There are two modes for input interrupts: input inter- rupt mode and counter mode. 1, 2, […]
-
Page 21: Omron CPM1A
7 Quick-response Inputs The CPM1A-10CDR- /10CDT -D/10CDT1-D PCs have 2 quick-response input terminals and the CPM1A-20CDR- /20CDT -D/20CDT1-D, CPM1A- 30CDR- /30CDT -D/30CDT1-D and CPM1A-40CDR- /40CDT -D/40CDT1-D PCs have 4 quick-response input terminals. (The same terminals are used for quick-response inputs and interrupt inputs.) Q[…]
-
Page 22: Omron CPM1A
8 Th e pulse output can be set to either the continuous mode, under which the out- pu t can be stopped by an instruction, or the single mode, under which the output can be stopped by the preset pulse rate (1 to 16,777,215). Stepping motor Control input Motor controller CW/CCW control output Pulse output (single-phase output) Stepping motor High-spe[…]
-
Page 23: Omron CPM1A
9 Mode Input functions Input method Count frequency Count range Control methods Up/Down 00000: A-phase input 00001: B-phase input 00002: Z-phase input Phase-difference, 4 × inputs 2.5 kHz – 32767 to 32767 T arget value control: Up to 16 target values and interrupt subroutine numbers can be registered. Incremental 00000: Count input 00001: See no[…]
-
Page 24: Omron CPM1A
10 1-2 System Configuration 1-2-1 CPU Unit and Expansion I/O Unit Configuration Expansion I/O Units/Expansion Units CPM1A CPU Units 10 I/O points CPM1A-10CDR- CPM1A-10CDT -D CPM1A-10CDT1-D 30 I/O points CPM1A-30CDR- CPM1A-30CDT -D CPM1A-30CDT1-D 40 I/O points CPM1A-40CDR- CPM1A-40CDT -D CPM1A-40CDT1-D 20 I/O points CPM1A-20CDR- CPM1[…]
-
Page 25: Omron CPM1A
11 There are three models of Expansion Units available: the Analog I/O Unit, Com- poBus/S I/O Link Unit, and T emperature Sensor Units. Expansion Connector Expansion I/O Unit, Analog I/O Unit, CompoBus/S I/O Link Unit, or T em — perature Sensor Unit) Expansion I/O Connecting Cable A PC with 100 I/O points (the maximum) can be assembled by connectin[…]
-
Page 26: Omron CPM1A
12 Expansion Units T emperature Sensor Unit CompoBus/S I/O Link Unit Analog I/O Unit Unit Max. number of Units Inputs Outputs Model Analog I/O Unit 2 analog inputs (2 words) 1 analog output (1 word) 3 Units max. 2 analog inputs 1 analog output CPM1A-MAD01 T emperature Sensor Unit Thermocouple inputs 3 Units max. 2 inputs (K, J) — CPM1A-TS001 1 Un[…]
-
Page 27: Omron CPM1A
13 The following diagram shows the possible methods for a connection between a CPM1A PC and an OMRON Programmable T erminal (a operator interface device). OMRON Programmable T erminal RS-232C Cable CPM1A CPU Unit RS-232C Adapter One-to-N Communications The following diagram shows how to connect up to 32 CPM1A PCs to an IBM PC/A T or compatible comp[…]
-
Page 28: Omron CPM1A
14 Adapters and Cables Th e following table lists some of the Adapters and Cables used in Host Link com- munications. Name Usage Model number RS-232C Adapter Converts to peripheral port-level CPM1-CIF01 RS-422 Adapter communications. CPM1-CIF1 1 Connecting Cables Used to connect IBM PC/A T or compatible computers. (Cable length: 3.3 m) CQM1-CIF02 L[…]
-
Page 29: Omron CPM1A
15 1-2-5 One-to-one NT Link Communications Using the NT Link, the CPM1A PC can connected to the Programmable T ermi- nal (NT Link Interface) through an RS-232C Adapter . OMRON Programmable T erminal RS-232C Cable CPM1A CPU Unit RS-232C Adapter WX2Z-200T (2 m) WX2Z-500T (5 m) Name Usage Model number RS-232C Adapter Converts to peripheral port-level […]
-
Page 30: Omron CPM1A
16 Programming Consoles A CQM1-PRO01-E or C200H-PRO27-E Programming Console can be con- nected to the CPM1A as shown in the following diagram. CQM1-PRO01-E C200H-PRO27-E C200H-CN222/422 CPM1A CPU Unit Name Model number CQM1 Programming Console (The Connecting Cable is included.) CQM1-PRO01-E C200H/HS and C200HX/HE/HG Programming Console C200H-PRO27[…]
-
Page 31: Omron CPM1A
17 1-3 Revised Specifications The following table shows the changes that have been made in product specifi- cations beginning with lots produced in January 1998 (December 1997 for some models). Item Previous specifications New specifications Relevant pages Input indicator operation when an error occurs The input indicators will maintain the current[…]
-
Page 32: Omron CPM1A
19 SECTION 2 Unit Specifications and Components This section provides the technical specifications of the Units that go together to create a CPM1A PC and describes the main components of the Units. 2-1 Specifications 20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 Genera[…]
-
Page 33: Omron CPM1A
20 2-1 Specifications 2-1-1 General Specifications Item CPM1A-10CDR- CPM1A-10CDT -D CPM1A-10CDT1-D CPM1A-20CDR- CPM1A-20CDT -D CPM1A-20CDT1-D CPM1A-30CDR- CPM1A-30CDT -D CPM1A-30CDT1-D CPM1A-40CDR- CPM1A-40CDT -D CPM1A-40CDT1-D Supply voltage AC type 100 to 240 V AC, 50/60 Hz DC type 24 VDC Operating AC type 85 to 264 V AC voltage r[…]
-
Page 34: Omron CPM1A
21 2-1-2 Characteristics Item CPM1A-10CDR- CPM1A-10CDT -D CPM1A-10CDT1-D CPM1A-20CDR- CPM1A-20CDT -D CPM1A-20CDT1-D CPM1A-30CDR- CPM1A-30CDT -D CPM1A-30CDT1-D CPM1A-40CDR- CPM1A-40CDT -D CPM1A-40CDT1-D Control method Stored program method I/O control method Cyclic scan with direct output; immediate refresh processing Programming lan[…]
-
Page 35: Omron CPM1A
22 Note 1. Use TIM 000 to TIM 003 when creating a timer using the high-speed timer instruction to perform interrupt processing. 2. The input interrupt response time is 0.3 ms max. Memory Backup T h e user program and memory area data in the CPM1A are backed up either by an internal capacitor or in flash memory as shown in the following table. Backu[…]
-
Page 36: Omron CPM1A
23 Either switch the CPM1A to RUN or MONITOR mode, or turn of f and on power to the CPM1A after changing from a Programming Device any data that is backed up in flash memory . This data includes the user program, read-only DM area (DM 6144 to DM 6599), and the PC Setup (DM 6600 to DM 6655). 2-1-3 I/O Specifications CPU Unit Input Specifications Ite[…]
-
Page 37: Omron CPM1A
! 24 Differential Phase Mode (2.5 kHz Max.) IN00000 (A phase), IN00001 (B phase) ON OFF 400 µ s min. T 1 T 2 T 3 T 4 T 1 T 2 T 3 T 4 : 90 µ s min. ON OFF Phase A Phase B IN00002 (Z phase) ON OFF 100 µ s min. 500 µ s min. Phase Z When IN00003 through IN00006 are used as interrupt inputs, t h e d el a y i s 0 .3 ms max. The delay is measured from[…]
-
Page 38: Omron CPM1A
25 CPU Unit and Expansion I/O Unit Output Specifications Relay Output Item Specification Max. switching capacity 2 A, 250 V AC (cos φ = 1) 2 A, 24 VDC (4 A/common) Min. switching capacity 10 mA, 5 VDC Service life of relay Electrical: 150,000 operations (resistive load, 24 VDC) 100,000 operations (inductive load, 220 V AC, cos φ =0.4) Mechanical:[…]
-
Page 39: Omron CPM1A
26 T ransistor Output (Sink T ype) Item Specification CPM1A-10CDT -D CPM1A-20CDT-D /-20EDT /-8ET CPM1A-30CDT -D CPM1A-40CDT-D Max. switching capacity 24 VDC +10% / – 15% , 0.3 A/point (see note) 0.9 A/Unit 0.9 A/common 1.8 A/Unit 0.9 A/common 2.7 A/Unit 0.9 A/common 3.6 A/Unit Leakage current 0.1 mA max. Residual voltage 1.5 V max. ON delay 0.1 m[…]
-
Page 40: Omron CPM1A
! 27 Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse w ill not be output. On the other hand, if the load current is above 0.2 A, the transistor may generate […]
-
Page 41: Omron CPM1A
28 2-2 Unit Components 2-2-1 CPU Unit Components CPM1A-10CDR- /10CDT -D/10CDT1-D: 10 I/O T erminals 1. Power supply input terminals 2. Functional earth terminal (AC power supplies only) 3. Protective earth terminal 5. Input terminals 10. Analog controls 1 1. Peripheral Port 7. PC status indicators 8. Input indicators 9. Output indicators 4. Pow[…]
-
Page 42: Omron CPM1A
29 CPU Unit Component Descriptions 1, 2, 3… 1. Power Supply Input T erminals Connect the power supply (100 to 240 V AC or 24 VDC) to these terminals. 2. Functional Earth T erminal ( ) Be sure to ground this terminal (AC-type PCs only) to enhance immunity to noise and reduce the risk of electric shock. 3. Protective Earth T erminal ( ) Be sure to […]
-
Page 43: Omron CPM1A
30 2-2-2 Expansion I/O Unit Components Expansion I/O Unit with 20 I/O T erminals 1. Input terminals 5. Expansion I/O Unit Connecting Cable 3. Input indicators 6. Expansion connector 4. Output indicators 2. Output terminals Expansion I/O Unit with 8 Input T erminals 1. Input terminals 5. Expansion I/O Unit Connecting Cable 3. Input indicators 6. Exp[…]
-
Page 44: Omron CPM1A
! ! 31 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 t o 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. 2[…]
-
Page 45: Omron CPM1A
! 32 2. DIP Switch Sets the temperature unit ( ° C or ° F), and the number of decimal places used. Number of decimal places used OFF: Normal (0 or 1); ON: 2 T emperature unit OFF: ° C; ON: ° F ON 12 3. Rotary Switch Sets the temperature range. Set the range in accordance with the specifica- tions of the temperature sensor used. CPM1A-TS001/002 […]
-
Page 46: Omron CPM1A
! 33 2-2-5 CompoBus/S I/O Link Unit Components 1. CompoBus/S terminals 4. Expansion I/O Unit Connecting Cable 2. DIP switch 5. Expansion connector 3. LED indicators 1, 2, 3… 1. CompoBus/S T erminals Include the CompoBus/S communications data high/low terminal, commu- nications power supply +/ – terminals, and NC terminals. Power is supplied to […]
-
Page 47: Omron CPM1A
34 2-2-6 Communications Adapter Components RS-232C Adapter 1. Mode Setting Switch 2. Connector 3. RS-232C port RS-232C Port Pin Allocation 1 2 3 4 5 6 7 8 9 FG SD RD RTS CTS DCD DSR DTR SG 1, 2, 3… 1. Mode Setting Switch Set this switch to “ HOST ” when using a Host Link system to connect to a personal computer . Set this switch to “ NT ”[…]
-
Page 48: Omron CPM1A
35 SECTION 3 Installation and W iring This section provides information on installing and wiring a CPM1A PC. Be sure to follow the directions and precautions in this section when installing the CPM1A in a panel or cabinet, wiring the power supply , or wiring I/O. 3-1 Design Precautions 36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . […]
-
Page 49: Omron CPM1A
! ! 36 3-1 Design Precautions Observe the following precautions when designing a system incorporating a CPM1A PC. 3-1-1 Power Supply Wiring Separate the power supply wiring from the control system, CPM1A system, and DC I/O system wiring. Separate the control circuits that supply power to the main Unit from the main circuits using dedicated circuit […]
-
Page 50: Omron CPM1A
! 37 Momentary Power Failure Detection A momentary power failure lasting less than 10 ms with an AC power supply and 2 ms with a DC power supply is not detected and the CPU Unit continues to oper- ate. A momentary power failure lasting longer than 10 ms with an AC power supply and 2 ms with a DC power supply may or may not be detected in an uncerta[…]
-
Page 51: Omron CPM1A
38 Note Provide proper shielding when installing in the following locations: • Locations subject to static electricity or other sources of noise. • Locations subject to strong electromagnetic fields. • Locations subject to possible exposure to radiation. • Locations near to power supply lines. 3-2-2 Panel/Cabinet Installation Consider PC op[…]
-
Page 52: Omron CPM1A
39 3-3 Installing the CPM1A 3-3-1 CPM1A Orientation The CPM1A must be installed in the position shown below to ensure adequate cooling. Correct Do not install the CPM1A in either of the following positions. Incorrect Incorrect 3-3-2 CPM1A Installation The CPM1A can be installed on a horizontal surface or on a DIN track. Surface Installation Use the[…]
-
Page 53: Omron CPM1A
40 CPM1A-30CDR- /30CDT -D/30CDT1-D and CPM1A-40CDR- /40CDT -D/40CDT1-D CPU Unit Four , M4 holes 100 mm 8 mm A Use M4 dia. x 15 screws. The width (A) between the mounting holes depends on the CPM1A model. Model number Width (A) CPM1A-30CDR- /30CDT -D/30CDT1-D CPU Unit 120 mm CPM1A-40CDR- /40CDT -D/40CDT1-D CPU Unit 140 mm Expansion I[…]
-
Page 54: Omron CPM1A
41 Installation Lower the CPM1A so that the notch on the back of the PC catches the top of the DIN T rack. Push the PC forward until the lock snaps into place. Removal Pry the lock down with a standard screwdriver and pivot the PC upward to remove it. Screwdriver 3-3-3 Connecting an Expansion I/O Unit Up to 3 Expansion I/O Units can be connected to[…]
-
Page 55: Omron CPM1A
42 2. Insert the Expansion I/O Unit ’ s Connecting Cable into the CPU Unit ’ s or the Expansion I/O Unit ’ s Expansion I/O Unit Connector . 3. Replace the cover on the CPU Unit ’ s or the Expansion I/O Unit ’ s Expansion I/O Unit Connector . Installing the CPM1A Section 3-3[…]
-
Page 56: Omron CPM1A
! 43 3-4 Wiring and Connections This section provides basic information on wiring the Power Supply Unit and Expansion I/O Units, and on connecting Peripheral Devices. 3-4-1 General Precautions for Wiring Caution Attach the dustproof label provided before wiring. If scraps of wire get inside the Unit, malfunction will result. After completing wiring[…]
-
Page 57: Omron CPM1A
! 44 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. Metal plate (iron) CPM1A I/O lines Control cables and CPM1A power lines Power cables Conduits Separate the CPM1A I/O lines, power and control lines, and power cables, as shown in the following diagram. CPM1A I/O lines Co[…]
-
Page 58: Omron CPM1A
! ! ! 45 Caution Disconnect the functional earth terminal when performing withstand voltage tests. Not disconnecting the functional earth terminal may result in burning. Crimp Connectors Caution Always use crimp connectors for the CPM1A ’ s power lines and I/O lines or else us e a solid wire (instead of a stranded wire). Do not connect bare stran[…]
-
Page 59: Omron CPM1A
! ! ! 46 Use M3 terminal screws. Connect a crimp connector with a ring terminal to each terminal screw . 6.2 mm max. Ring terminal Caution T ighten the terminal block screws of the AC Power Supply to the torque of 0.5 N m. Loose screws may result in burning or malfunction. 24-VDC Power Supply Use a DC power supply with sufficient capacity and l[…]
-
Page 60: Omron CPM1A
47 3-4-4 Input Wiring Wire the inputs to the CPM1A ’ s CPU Unit and Expansion I/O Unit as shown in the following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect t o the PC. Do not apply voltages exceeding the rated input voltage to the input terminals. The power supply output terminals can be used with AC-type CPU Unit[…]
-
Page 61: Omron CPM1A
48 CPM1A-8ED 24 VDC Input devices Input devices COM COM 04 05 06 07 01 02 03 00 Note Although the COM terminals are internally connected, be sure to wire them ex- ternally as well. CPM1A-20EDR/20EDR1/EDT/EDT1 24 VDC Input devices COM 00 02 01 CH 04 03 05 08 07 09 06 10 11 NC W iring and Connections Section 3-4[…]
-
Page 62: Omron CPM1A
! 49 Input Wiring Example An AC-type CPU Unit is shown. DC-type CPU Units don ’ t have power supply outputs. Input devices COM External power supply: 24 VDC at 200 mA/10-point and 20-point I/O type CPU Units 24 VDC at 300 mA/30-point and 40-point I/O type CPU Units (Applicable to CPU Units with a power supply of 100 to 240 V AC.) COM 00 02 01 0 C[…]
-
Page 63: Omron CPM1A
50 Input Devices The following table shows how to connect various input devices. Device Circuit diagram Relay output IN COM (+) Relay 5 mA/12 mA CPM1A NPN open collector 0 V + IN COM (+) Sensor Sensor power supply Output 5 mA/12 mA CPM1A NPN current output 0 V + IN COM (+) Constant current circuit Output Us e the same power supply for the input and[…]
-
Page 64: Omron CPM1A
! 51 Leakage Current (24 VDC) 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), but if the leakage current exceeds these values, insert a bleeder resist[…]
-
Page 65: Omron CPM1A
! 52 3-4-5 Output Wiring Relay Output Wiring Wire the outputs to the CPM1A ’ s CPU Unit and Expansion I/O Unit as shown in th e following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect to the PC. The power supply output terminals can be used with AC-type CPU Units. • Always use solid wire or attach crimp connectors […]
-
Page 66: Omron CPM1A
53 Common CPM1A-10CDR- CPM1A-20CDR- /CPM1A-20EDR/20EDR1 CPM1A-30CDR- CPM1A-40CDR- Output Configurations Common Common Common Common Common Common Common Common Common 00 01 02 COM COM COM 03 10 CH 00 01 02 COM COM COM 03 10 CH 04 05 07 COM 06 00 01 02 COM COM COM 03 10 CH 04 05 07 COM 06 00 11 C H 02 01 03 COM 00 01 02 COM COM COM 0[…]
-
Page 67: Omron CPM1A
54 CPM1A-8ER Load Load Load Load COM 01 02 00 03 COM 05 06 04 07 250 V AC/ 24 VDC Load Load Load Load 250 V AC/ 24 VDC W iring and Connections Section 3-4[…]
-
Page 68: Omron CPM1A
55 T ransistor Output Wiring (Sink T ype) Wire the outputs to the CPM1A ’ s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. • Don ’ t exceed the output capacity or the maximum common current. Refer to 2-1-3 I/O Specifications for details. Item[…]
-
Page 69: Omron CPM1A
! 56 CPM1A-8ET Load Load Load Load COM 01 02 00 03 COM 05 06 04 07 Load Load Load Load 24 VDC +10% / – 15% 24 VDC +10% / – 15% Caution Double-check the polarity of the power supply for the load before turning it on. W iring and Connections Section 3-4[…]
-
Page 70: Omron CPM1A
57 T ransistor Output Wiring (Source T ype) Wire the outputs to the CPM1A ’ s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. • Don ’ t exceed the output capacity or the maximum common current. Refer to 2-1-3 I/O Specifications for details. It[…]
-
Page 71: Omron CPM1A
! 58 CPM1A-8ET1 Load Load Load Load COM 01 02 00 03 COM 05 06 04 07 Load Load Load Load 24 VDC +10% / – 15% 24 VDC +10% / – 15% Caution Double-check the polarity of the power supply for the load before turning it on. Output Wiring Precautions Observe the following precautions to protect the PC ’ s internal components. Output Short Protection […]
-
Page 72: Omron CPM1A
! 59 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: OUT COM CPM1A Surge protector Relay Output OUT COM CPM1A Diode Relay Output T ransistor Output (Sink T ype) OUT COM CPM1A Diode Relay Output T ransi[…]
-
Page 73: Omron CPM1A
60 3-4-6 Peripheral Device Connection The CPM1A 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 CPM1A CPU Unit can be also connected to a CQM1-PRO01-E. The CQM1-PRO01-E is provided with a 2-m Connecting Cable. 3-4-7 Host Link Connections Host Link is a c[…]
-
Page 74: Omron CPM1A
61 Th e following diagram shows the wiring in the RS-232C cable used to connect a CPM1A to a host computer or Programmable T erminal. IBM PC/A T compatible computer or Programmable T erminal (9-pin) RS-232C Adapter 1 2 3 4 5 6 CD RD SD ER SG DR RS CS CI 7 8 9 1/Cover 2 3 4 5 6 7 8 9 FG SD RD RS CS – – SG 9 Pin No. Signal – Pin No. Signal The […]
-
Page 75: Omron CPM1A
62 The following diagram shows the wiring in the RS-422 cables used to connect CPM1A PCs to a 3G2A9-AL004-E Link Adapter . In both the Link Adapter/ RS-422 Adapter connections and the RS-422 Adapter/RS-422 Adapter connec- tions, connect the SG, RDA, RDB, SDA, and SDB terminals to the same termi- nals in the other Adapter . 25-pin D-sub Connector Us[…]
-
Page 76: Omron CPM1A
63 3-4-8 One-to-one PC Link Connections A CPM1A can be linked to a CPM1A, CQM1, CPM1, CPM2A, CPM2C, SRM1(-V2), C200HS or C200HX/HG/HE PC through an RS-232C Adapter . One PC acts as the Master and the other as the Slave to link up to 256 bits in the LR area (LR 0000 to LR 1515). CPM1A CPU Unit RS-232C Adapter (see note) CPM1A CPU Unit RS-232C Cable […]
-
Page 77: Omron CPM1A
64 3-4-9 One-to-one NT Link Connections High-speed communications can be achieved by providing a direct access through the use of the 1:1 NT Link between the CPM1A and Programmable T er — minal. OMRON Programmable T erminal RS-232C Cable CPM1A CPU Unit RS-232C Adapter Note Th e 1:1 NT Link can only be used when the RS-232C Adapter (CPM1-CIF01) is c[…]
-
Page 78: Omron CPM1A
65 3-4-10 CompoBus/S I/O Link Connections A CompoBus/S I/O Link can be used to create an I/O link (remote I/O) of 8 input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection is made through a CompoBus/S I/O Link Unit. From the standpoint of the CPM1A CPU Unit, the area allocated to the Compo- Bus/S I/O Link Unit can […]
-
Page 79: Omron CPM1A
67 SECTION 4 Using Peripheral Devices This section outlines the operations possible with the SYSMAC Support Software (SSS) and the Programming Consoles. Actual SSS operating procedures are provided in the SSS Operation Manuals: Basics and C-series PCs . Programming Con- sole connection and operating procedures are provided in this section. 4-1 Supp[…]
-
Page 80: Omron CPM1A
68 4-1 Support Software Capabilities Th e SSS is a complete programming and control package designed for C-series and CVM1 PCs. It provides not only programming capabilities, but also advanced debugging, monitoring, and program/data management. The follow- in g tables provide only a brief introduction to the capabilities of the SSS. For fur- ther i[…]
-
Page 81: Omron CPM1A
69 Function code Mnemonic Function code Mnemonic 17 ASFT 64 SPED 18 TKY 65 PULS 19 MCMP 66 SCL 47 RXD 67 BCNT 48 TXD 68 BCMP 60 CMPL 69 STIM 61 INI 87 DSW 62 PR V 88 7SEG 63 CTBL 89 INT Online Editing If unsupported addresses are set in the program for operands or set values, error messages will be displayed and the values will not be accepted. 4-1[…]
-
Page 82: Omron CPM1A
70 Group Description Name DM (data memory) Go T o Page Displays the contents of the data memory in the system work area in pages (units of 160 words). The data can be altered with this function. (C-series PCs only) Copy Copies the contents of the DM area of the system work area (data memory information). Fill Writes the same data to more than one d[…]
-
Page 83: Omron CPM1A
71 Group Description Name Utility Data Area Lists Displays lists (such as used areas and cross-references) in accordance with the contents of the user program in the system work area. Change Addresses Globally changes bit and word addresses in the user program in the system work area. Print Lists Prints lists, ladder diagrams, and mnemonics in acco[…]
-
Page 84: Omron CPM1A
72 4-1-4 Online Operations The following operations are possible when connected online to the PC. Group Name Description Monitoring Monitor Data Uses the lower one third of the screen as a monitor area where bits, words, DM contents, and TIM/CNT SV/PV are monitored, forced-set/reset, and changed. T ransfer Program Transfers and compares the user pr[…]
-
Page 85: Omron CPM1A
73 4-1-5 Offline and Online Operations The following operations are possible either online or offline from the PC. Group Name Description System Setup (see note) PC model Specifies the model of PC that is being programmed or that is connected to the computer . PC Interface C-series PCs: Specifies whether communications with the PC are performed thr[…]
-
Page 86: Omron CPM1A
74 4-2 Using a Programming Console This s ection provides information on connecting and using a Programming Con- sole. Refer to 5-4 Programming Console Operation Errors for details on errors that might occur during Programming Console operations. 4-2-1 Compatible Programming Consoles There are two Programming Consoles that can be used with the CPM1[…]
-
Page 87: Omron CPM1A
75 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. CQM1-PRO01-E Keys C200H-PRO27-E Keys AR HR HR SET PLA Y SET RESET REC RESET Note T o 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 s[…]
-
Page 88: Omron CPM1A
! ! 76 4-2-2 Changing the CPM1A ’ s Mode with the Mode Switch Once the Programming Console has been connected, its mode switch can be used to change the CPM1A ’ s operating mode. The mode display (<PRO- GRAM>, <MONIT OR>, or <RUN>) will appear on the Programming Console screen. • No key operations can be performed while the […]
-
Page 89: Omron CPM1A
77 Th e operating mode of the CPM1A 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. PC Setup setting (DM 6600) Programming Console connected Programming Console not connected 0000 The startup mode determined by the mode switch set[…]
-
Page 90: Omron CPM1A
! 78 Allow at least 80 mm for the cable connector above the Programming Console. About 70 mm is required. At least 80 mm is required. Either connector may be used. 37 15 4-2-4 Preparation for Operation This section describes the procedures required to begin Programming Console operation when using the Programming Console for the first time. Caution[…]
-
Page 91: Omron CPM1A
79 If the Programming Console is connected to the PC when PC power is already on, the first display below will indicate the mode the PC was in before the Pro- gramming Console was connected. Ensure that the PC i s i n PROGRAM mode before you enter the password. When the password is entered, the PC will shift to the mode set on the mode switch, caus[…]
-
Page 92: Omron CPM1A
80 4-3 Programming Console Operations 4-3-1 Overview Th e following table lists the programming and monitoring operations that can b e performed from a Programming Console. Refer to the rest of this section for details on operational procedures. Name Function Page Clearing memory Clears all or part of the Program Memory and any data areas that are […]
-
Page 93: Omron CPM1A
! 81 4-3-2 Clearing Memory This operation is used to clear all or part of the Program Memory and data areas, as well as the contents of the Programming Console ’ s memory . This operation is possible in PROGRAM mode only . RUN MONITOR PROGRAM No No OK Before beginning to program for the first time or when installing a new program, clear all areas[…]
-
Page 94: Omron CPM1A
82 4-3-3 Reading/Clearing Error Messages This operation is used to display and clear error messages. It is possible to dis- play and clear non-fatal errors and MESSAGE instruction messages in any mode, but fatal errors can be cleared in PROGRAM mode only . RUN MONITOR PROGRAM OK OK OK Before inputting a new program, any error messages recorded in m[…]
-
Page 95: Omron CPM1A
83 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. CLR SHIFT CLR <MONITOR> BZ 2. Press the SHIFT and then the 1 Key to turn off the buzzer . SHIFT B 1 <MONITO[…]
-
Page 96: Omron CPM1A
84 4-3-6 Entering or Editing Programs This operation is used enter or edit programs. It is possible in PROGRAM mode only . RUN MONITOR PROGRAM No No OK 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[…]
-
Page 97: Omron CPM1A
85 7. Input the second operand (123 to specify 12.3 seconds) and press the WRITE Key . The next program address will be displayed. B 1 C 2 D 3 WRITE 00202READ NOP (000) If a mistake was made inputting the operand, press the Up Arrow Key to return to display the mistaken operand and input the operand again. Note a) Counters are input in the same bas[…]
-
Page 98: Omron CPM1A
86 12. Input the next instruction (ADB). FUN F 5 A 0 00203 ADB (050) Press the WRITE Key to write the instruction to Program Memory . WRITE 00203 ADB DATA A 000 • Writing an Unsigned Decimal Number 13. The first operand is input as an unsigned integer . CONT # SHIFT TR NOT 00203 ADB DATA A #00000 Input the value of the operand from 0 to 65535. C […]
-
Page 99: Omron CPM1A
87 4-3-7 Instruction Search This operation is used to find occurrences of the specified instruction in the pro- gram and is possible in any mode. RUN MONITOR PROGRAM OK OK OK The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode. 1, 2, 3… 1. Press the CLR Key to bring up the initial display . 2. Input the addres[…]
-
Page 100: Omron CPM1A
88 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. SRCH 00397CONT SRCH END (001)00.4KW Indicates the address of END instruction. Indicates the amount used by the user program in units of 0.1 Kwords. 4-3-9 Inserting and Deleting Instructions This operation is[…]
-
Page 101: Omron CPM1A
89 3. Press the DEL Key . DEL 00205DELETE? 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 t[…]
-
Page 102: Omron CPM1A
90 A display like this will appear if an END instruction is reached: SRCH 00310PROG CHK END (001)00.3KW No more errors exist if the END instruction is displayed. If errors are displayed, edit the program to correct the errors and check the pro- gram again. Continue checking the program by pressing the SRCH Key again until all errors have been corre[…]
-
Page 103: Omron CPM1A
91 2. Input the word address of the desired word. SHIFT CH *DM LR *EM B 1 00000 CHANNEL LR 01 3. Press the MONTR Key to begin monitoring. MONTR cL01 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. […]
-
Page 104: Omron CPM1A
92 4-3-12 Differentiation Monitor This operation is used to monitor the up (OFF-to-ON) or down (ON-to-OFF) differentiation status of a particular bit. When detected, the up or down dif fer- entiation will be displayed and the buzzer will sound. It is possible in any mode. RUN MONITOR PROGRAM OK OK OK 1, 2, 3… 1. Monitor the status of the desired […]
-
Page 105: Omron CPM1A
93 (Word monitor) 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. SHIFT MONTR c010 MONTR 0000000000000000 Bit 15 Bit 00 Th e status of force-set bits is indicated by “ S[…]
-
Page 106: Omron CPM1A
94 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. CLR c200 89AB Note Th e operating mode can be changed without altering the current monitor display by holding down the SHIFT Key and then changing the operating mode. 4-3-15 Signed Deci[…]
-
Page 107: Omron CPM1A
! 95 3. Press the CLR Key or the SHIFT and TR Keys to end the unsigned decimal display and return to normal monitoring. CLR c200 cL0020000 FFF0 0000^ OFF 4-3-17 Three-word Data Modification This operation is used to change the contents of one or more of the 3 con- secutive words displayed in the Three-word Monitor operation. It is possible in MONIT[…]
-
Page 108: Omron CPM1A
96 This operation can be used to input a new SV constant, as well as to change an SV from a constant to a word address designation and vice versa. The following examples show how to input a new SV constant and how to change the SV from a constant to an address. 1, 2, 3… 1. Press the CLR Key to bring up the initial display . 2. Display the desired[…]
-
Page 109: Omron CPM1A
! ! 97 Words SR 253 to SR 255 cannot be changed. 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 connect[…]
-
Page 110: Omron CPM1A
! 98 b) U se the 1 and 0 Keys to change a bit ’ s status to on or of f. The cursor will move one bit to the right after one of these keys is pressed. B 1 D0000 CHG? 1010010101010101 c) Use the SHIFT and SET and SHIFT and RESET Keys to force-set or force-reset a bit ’ s status. The cursor will move one bit to the right after one of these keys is[…]
-
Page 111: Omron CPM1A
! ! 99 4-3-22 Unsigned Decimal Data Modification This operation is used to change the decimal value of a word being moni- tored as unsigned decimal data, within a range of 0 to 65,535. A change into hexadecimal data is made automatically . Words SR 253 to SR 255 cannot be changed. RUN MONITOR PROGRAM No OK OK Caution Before changing the contents of[…]
-
Page 112: Omron CPM1A
! 100 2. Press the SET Key to force the bit ON or press the RESET Key to force the bit OFF . SET 0000020000 ON^ ON The cursor in the lower left corner of the display indicates that the force set/ reset is i n 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 r[…]
-
Page 113: Omron CPM1A
101 1, 2, 3… 1. Monitor the status of the desired word(s) according to the procedure described in 4-3-1 1 Bit, Digit, Word Monitor . While the multiple addresses are being monitored, the leftmost word is subject to change. (Multiple address monitor) D0000D0001 4142 3031 2. Press the TR Key to switch to ASCII display . The display will toggle betw[…]
-
Page 114: Omron CPM1A
! 102 3. Clear the CPM1A ’ 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. CLR 00000 SET NOT RESET 00000MEMORY CLR? HR CNT DM MONTR END HR CNT DM 00000MEMORY CLR 4. Display and clear error messages by pressing the CLR, FUN, and then the MONTR Key . Continue[…]
-
Page 115: Omron CPM1A
103 4-4-2 Example Program The following ladder program will be used to demonstrate how to write a pro- gram with the Programming Console. This program makes output IR 01000 flicker ON/OFF (one second ON, one second OFF) ten times after input IR 00000 is turned ON. Count input Reset input 20000 END(01) C000 00000 20000 01000 T001 20000 00000 00004 0[…]
-
Page 116: Omron CPM1A
104 4-4-3 Programming Procedures The example program will be written to the CPM1A according to the mnemonic list in 4-4-2 Example Program . The procedure is performed beginning with the initial display . (Clear the memory before entering a new program.) Note If an error occurs while inputting the program, refer to 5-4 Programming Console Operation […]
-
Page 117: Omron CPM1A
105 3. Input the 1-second timer T001. TIM B 1 00006 TIM 001 WRITE 00006 TIM DATA #0000 4. Input the SV for T001 (#0010 = 1.0 s). B 1 A 0 00006 TIM DATA #0010 WRITE 00007READ NOP (000) The following key operations are used to input the 2-second timer . 1, 2, 3… 1. Input the normally open condition IR 20000. LD C 2 A 0 A 0 A 0 A 0 00007 LD 20000 WR[…]
-
Page 118: Omron CPM1A
106 3. Input the normally closed condition IR 20000. LD NOT C 2 A 0 A 0 A 0 A 0 00012 LD NOT 20000 WRITE 00013READ NOP (000) 4. Input the counter 000. CNT A 0 00013 CNT 000 WRITE 00013 CNT DATA #0000 5. Input the SV for counter 000 (#0010 = 10 counts). B 1 A 0 00013 CNT DATA #0010 WRITE 00014READ NOP (000) (5) Inputting the Flicker Output 1, 2, 3..[…]
-
Page 119: Omron CPM1A
107 4-4-4 Checking the Program Check the program syntax in PROGRAM mode to make sure that the program has been input correctly . 1, 2, 3… 1. Press the CLR Key to bring up the initial display . CLR 00000 2. Press the SRCH Key . An input prompt will appear requesting the desired check level. SRCH 00000PROG CHK CHK LBL (0Ć2)? 3. Input the desired c[…]
-
Page 120: Omron CPM1A
109 SECTION 5 T est Runs and Err or Pr ocessing This section describes procedures for test runs of CPM1A operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. 5-1 Initial System Checks and T est Run Procedure 1 10 . . . . . . . . . . . . . . . . . . . .[…]
-
Page 121: Omron CPM1A
11 0 5-1 Initial System Checks and T est Run Procedure 5-1-1 Initial System Checks Note Check the following items after setting up and wiring the CPM1A. Be sure to check the wiring and connections before performing a test run. Item Points to check Power supply and I/O connections Is the wiring correct? Are the terminals securely tightened? Are ther[…]
-
Page 122: Omron CPM1A
111 5-1-3 Flash Memory Precautions Observe the following precautions to protect the flash memory and ensure proper operation. 1, 2, 3… 1 . I f the power is turned off without changing the mode after having made chan- ges in the read-only DM area (DM 6144 through DM 6599), or PC Setup (DM 6600 through DM 6655), the contents of changes will not be […]
-
Page 123: Omron CPM1A
11 2 5-2 The CPM1A Cycle Th e overall flow of CPM1A operation is as shown in the following flowchart. The CPM1A is initialized internally when the power is turned on. If no errors are detected, the overseeing processes, program execution, I/O refreshing, and Peripheral Device servicing are executed consecutively (cyclically). The aver- age cycle ti[…]
-
Page 124: Omron CPM1A
! 11 3 5-3 Self-diagnosis Functions Th e CPM1A is equipped with a variety of self-diagnosis functions to help identify and correct errors that might occur and reduce down time. PC errors are divided into 2 categories based on the severity of the errors. Fatal errors are more serious errors which stop CPM1A operation. Non-fatal errors are less serio[…]
-
Page 125: Omron CPM1A
11 4 Message F ALS No. Meaning and appropriate response Power interruption (no message) None Power has been interrupted for at least 10 ms (2 ms for DC power types.) Check power supply voltage and power lines. T ry to power-up again. MEMOR Y ERR F1 AR 1308 ON: An unspecified bit area exists in the user program. Check the program and correct errors.[…]
-
Page 126: Omron CPM1A
11 5 F ALS(07) i s a n instruction that causes a fatal error . The following will occur when an F ALS(07) instruction is executed: 1, 2, 3… 1. Program execution will be stopped and outputs will be turned OFF . 2. The ERR/ALM indicator on the CPU Unit will be lit. 3. The instruction ’ s 2-digit BCD F ALS number (01 to 99) will be written to SR 2[…]
-
Page 127: Omron CPM1A
11 6 Three levels of program checking are available. The desired level must be des- ignated to indicate the type of errors that are to be detected. The following table provides the error types, displays, and explanations of all syntax errors. Check level 0 checks for type A, B, and C errors; check level 1, for type A and B errors; and check level 2[…]
-
Page 128: Omron CPM1A
11 7 5-6 T roubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Check for non-fatal errors. (See page 120.) Error Replace the CPU Unit. PWR indicator lit? RUN indicator lit? ERR/ALM indicator flashing? Is I/O sequence normal? Operating environment nor- mal? Operation stopped. Check fo[…]
-
Page 129: Omron CPM1A
11 8 Power Supply Check PWR indicator not lit. Replace the CPU Unit. Is power being supplied? Is voltage adequate? Are there any loose terminal screws or bro- ken wires? Connect power supply . Is PWR indicator lit? Set supply voltage within acceptable limits. Is PWR indicator lit? Tighten screws or replace wires. End Ye s No No Ye s Ye s No No No I[…]
-
Page 130: Omron CPM1A
11 9 Fatal Error Check Identify the error, eliminate its cause, and clear the error . Follow the Memory Error Check flowchart if a memory error has occurred. Is the ERR/ALM indicator lit? Determine the cause of the error with a Peripheral Device. End RUN indicator not lit. Replace the CPU Unit. Is PC mode displayed on Peripheral Device? Turn the po[…]
-
Page 131: Omron CPM1A
120 Non-fatal Error Check Identify the error, eliminate its cause, and clear the error . ERR/ALM indicator flashing. Is a non-fatal error indicated? Is the ERR/ALM indi- cator flashing? Replace the CPU Unit. End Determine the cause of the error with a Peripheral Device. No Ye s Flashing Not lit T roubleshooting Flowcharts Section 5-6[…]
-
Page 132: Omron CPM1A
121 I/O Check The I/O check flowchart is based on the following ladder diagram section. 01003 00002 (LS1) 00003 (LS2) SOL1 malfunction. SOL1 01003 Ye s Monitor the ON/OFF status of IR 01003 with a Peripheral Device. No Is the IR 01003 out- put indicator operat- ing normally? Check the voltage at the IR 01003 terminals. Wire correctly . Operation O.[…]
-
Page 133: Omron CPM1A
122 Ye s No Check the voltage at the IR 00002 and IR 00003 terminals. Check operation by using a dummy input signal to turn the input ON and OFF . No Replace the CPU Unit or Expansion I/O Unit. Are the terminal screws loose? Operation O.K.? Wire correctly . Is input wiring correct? Tighten the terminal screws Check input devices LS1 and LS2. Return[…]
-
Page 134: Omron CPM1A
123 Environmental Conditions Check Consider using a fan or cooler . Is the ambient temperature below 55 ° C? Is the ambient temperature above 0 ° C? Is noise being controlled? Is the installation envi- ronment okay? Consider using a heater . Consider using an air conditioner . Install surge pro- tectors or other noise-reducing equipment at noise […]
-
Page 135: Omron CPM1A
124 Memory Error Check Memory error occurred. AR 1309 ON? AR 1314 ON? AR 1308 ON? Replace the CPU Unit. Check/correct data backed up by capacitor and clear error . Check the program, correct any errors, and clear the error . End No Ye s No No Ye s No Ye s AR 1310 to AR 1312 ON? Check the error indicated by the flag that is ON, correct set- tings as[…]
-
Page 136: Omron CPM1A
125 5-7 Maintenance Inspections In order that your SYSMAC system operates in optimum condition, be sure to carry out daily or periodical inspections. Inspection Items Th e main system components of a SYSMAC system are semiconductors, and it contains few components with limited lifetimes. Environmental conditions, how- ever , can lead to electrical […]
-
Page 137: Omron CPM1A
126 5-8 Handling Precautions • T urn the power OFF before replacing the Unit. Note Before restarting operation, transfer the contents of the DM an d H R ar e as t o t h e CPU Unit that was changed and then start operation. • If a Unit is found to be faulty and is replaced, check the Unit again to ensure there is no error . • When returning a […]
-
Page 138: Omron CPM1A
127 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. 6-1 Overview 128 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1-1 Memory Areas 128 […]
-
Page 139: Omron CPM1A
6-3 Section Handling 128 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. Expansion Memory Unit SYSMAC CPM1, CPM1A, CPM2A, CPM2C, CQM1, CQM1H, SRM1(-V2) Uploading Download- ing EEPROM Note […]
-
Page 140: Omron CPM1A
6-3 Section Handling 129 6-2 Specifications and Nomenclature 6-2-1 Specifications Item Specifications Supported PCs CPM1, CPM1A, CPM2A, CPM2C, SRM1 (-V2), CQM1, CQM1H Read/Write memory areas User program: 15.2 Kwords max. Data memory: DM 6144 to DM 6655 (Read-only DM and PC Setup) Expansion instructions: 18 instructions Connector Connector compatib[…]
-
Page 141: Omron CPM1A
! 6-3 Section Handling 130 CONNECT (green) ERR (red) Meaning OFF OFF Not connected to PC (power supply OFF). ON OFF Connected to a recognized PC. Blinking OFF Uploading/downloading data. ON Blinking Host link communications error , retry by user . OFF ON PC model and EEPROM data not compatible. OFF Blinking One of the following errors has occurred:[…]
-
Page 142: Omron CPM1A
! ! 6-3 Section Handling 131 Lift up the lock lever and detach the EEPROM. 6-3-2 PC Connections Caution Mount the EEPROM to the CPM1-EMU01-V1 before connecting the CPM1-EMU01-V1 to the PC. Caution Do not disconnect the CPM1-EMU01-V1 from the PC when the indicator is blink- ing green. When connecting to the CPM1, CPM1A, CPM2A, CQM1 or SRM1 (-V2),ins[…]
-
Page 143: Omron CPM1A
6-3 Section Handling 132 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. Note Do not attempt to remove the connector by pulling the cable. 6-3-3 Uploading Programs Ladder programs and the contents of data memory can be uploaded to the EEPROM using the following […]
-
Page 144: Omron CPM1A
6-3 Section Handling 133 Operation Procedure Start Ye s No Connect the CPM1-EMU01-V1 to the PC ’ s peripheral port. Mount the EEPROM to the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is lit green. See the note on the right. Select the memory area to be uploaded. Press the UPLOAD+DM Button. Press the UPLOAD But- ton. Check if the indica[…]
-
Page 145: Omron CPM1A
! 6-3 Section Handling 134 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. Note 1. I f the PC is in RUN or MONITOR mode, switch[…]
-
Page 146: Omron CPM1A
6-3 Section Handling 135 Operation Procedure Start Ye s No Change the mode of the PC to PRO- GRAM mode. Mount the EEPROM to the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is lit green. See the note on the right. Press the DOWNLOAD TO PLC But- ton. Check if the indicator is blinking green (indicating that downloading has started). Ye s No[…]
-
Page 147: Omron CPM1A
137 Appendix A Standard Models CPU Units Description Input Output Power Model number points points supply Relay output T ransistor output Sink type Source type CPU Units with 10 I/O points 6 points 4 points AC CPM1A- 10CDR-A — — DC CPM1A- 10CDR-D CPM1A- 10CDT -D CPM1A- 10CDT1-D CPU Units with 20 I/O points 12 points 8 points AC CPM1A- 20CDR-A -[…]
-
Page 148: Omron CPM1A
Appendix A Standard Models 138 T emperature Sensor Units Description Specifications Model number T emperature Sensor Unit 2 thermocouple inputs: K, J CPM1A-TS001 4 thermocouple inputs: K, J CPM1A-TS002 2 platinum resistance thermometer inputs: Pt100 (100 Ω ), JPt100 (100 Ω ) CPM1A-TS101 4 platinum resistance thermometer inputs: Pt100 (100 Ω )[…]
-
Page 149: Omron CPM1A
AppendixA Standard Models 139 Peripheral Devices Name Appearance Model Number Specifications Programming Console CQM1-PRO01-E 2-m Connecting Cable attached C200H-PRO27-E Hand-held, w/backlight; requires a C200H-CN222 or C200H-CN422 Connecting Cable, see below . C200H-CN222 Connects the C200H-PRO27-E to 2-m cable C200H-CN422 a peripheral port. 4-m c[…]
-
Page 150: Omron CPM1A
141 Appendix B Dimensions All dimensions are in millimeters. CPM1A-10CDR- /10CDT -D/10CDT1-D CPU Unit 66 50 85 90 CPU Unit with DC Power CPU Unit with AC Power CPM1A-20CDR- /20CDT -D/20CDT1-D CPU Unit 86 50 85 90 CPU Unit with DC Power CPU Unit with AC Power CPM1A-30CDR- /30CDT -D/30CDT1-D CPU Unit 130 50 85 90 CPU Unit with DC Power CP[…]
-
Page 151: Omron CPM1A
Appendix B Dimensions 142 CPM1A-40CDR- /40CDT -D/40CDT1-D CPU Unit 150 50 85 90 CPU Unit with DC Power CPU Unit with AC Power CPM1A-20ED Expansion I/O Unit Four , 4.5 dia. CPM1A-8 Expansion I/O Unit Four , 4.5 dia.[…]
-
Page 152: Omron CPM1A
Appendix B Dimensions 143 CPM1A-MAD01 Analog I/O Unit Four , 4.5 dia. CPM1A-TS T emperature Sensor Unit 100 0.2 ± 76 ± 0.2 Four, 4.5 dia. CPM1A-SRT21 CompoBus/S I/O Link Unit Four , 4.5 dia.[…]
-
Page 153: Omron CPM1A
Appendix B Dimensions 144 CPM1-CIF01 RS-232C Adapter 90 81 21 30 205 50 56 CPM1-CIF1 1 RS-422 Adapter 90 81 21 30 205 50 61[…]
-
Page 154: Omron CPM1A
Appendix B Dimensions 145 Dimensions with Peripheral Devices Attached Approx. 125 Approx. 90[…]
-
Page 155: Omron CPM1A
147 Glossary *DM Indirectly addressed DM area. See indirect address and DM area . 1:1 PC Link A link created between two PCs to create common data in their LR areas. ACP See add count input . add count input A n input signal used to increment a counter when the signal changes from OFF to ON. address A number used to identify the location of data or[…]
-
Page 156: Omron CPM1A
Glossary 148 bit designator An operand that is used to designate the bit or bits of a word to be used by an instruction. bit number A number that indicates the location of a bit within a word. Bit 00 is the rightmost (least-significant) bit; bit 15 is the leftmost (most-significant) bit. bit-control instruction An instruction that is used to contro[…]
-
Page 157: Omron CPM1A
Glossary 149 Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out or the counter has reached its set value. condition A symbol placed on an instruction line to indicate an instruction that controls the execution condition for the terminal instruction. Each condition is assigned a bit in memory that determin[…]
-
Page 158: Omron CPM1A
Glossary 150 data link An automatic data transmission operation that allows PCs or Units within PC to pass data back and forth via common data areas. data link area A common data area established through a data link. data movement instruction An instruction used to move data from one location in memory to another . The data in the original memory l[…]
-
Page 159: Omron CPM1A
Glossary 151 and ‘ distributed ’ over the system. Distributed control is a concept basic to PC Systems. DM area A data area used to hold only word data. Words in the DM area cannot be accessed bit by bit. DM word A word in the DM area. downloading The process of transferring a program or data from a higher-level or host com- puter to a lower-le[…]
-
Page 160: Omron CPM1A
Glossary 152 FA Factory automation. factory computer A general-purpose computer , usually quite similar to a business computer , that is used in automated factory control. F AL error An error generated from the user program by execution of an F AL(06) instruc- tion. F ALS error An error generated from the user program by execution of an F ALS(07) i[…]
-
Page 161: Omron CPM1A
Glossary 153 I/O capacity The number of inputs and outputs that a PC is able to handle. This number ranges from around one hundred for smaller PCs to two thousand for the largest ones. I/O delay T h e delay in time from when a signal is sent to an output to when the status of the output is actually in ef fect or the delay in time from when the stat[…]
-
Page 162: Omron CPM1A
Glossary 154 instruction A direction given in the program that tells the PC of the action to be carried out, and the data to be used in carrying out the action. Instructions can be used to simply turn a bit ON or OFF , or they can perform much more complex actions, such as converting and/or transferring large blocks of data. instruction block A gro[…]
-
Page 163: Omron CPM1A
Glossary 155 link A hardware or software connection formed between two Units. “ Link ” can refer either to a part of the physical connection between two Units or a software con- nection created to data existing at another location (i.e., data links). load The processes of copying data either from an external device or from a storage area to an […]
-
Page 164: Omron CPM1A
Glossary 156 non-fatal error A hardware or software error that produces a warning but does not stop the PC from operating. normal condition See normally open condition . normally closed condition A condition that produces an ON execution condition when the bit assigned to it is OFF , and an OFF execution condition when the bit assigned to it is ON.[…]
-
Page 165: Omron CPM1A
Glossary 157 output bit A bit in the IR area that is allocated to hold the status to be sent to an output device. output device An external device that receives signals from the PC System. output point The point at which an output leaves the PC System. Output points correspond physically to terminals or connector pins. output signal A signal being […]
-
Page 166: Omron CPM1A
Glossary 158 Programmable Controller A computerized device that can accept inputs from external devices and gener- ate outputs to external devices according to a program held in memory . Pro- grammable Controllers are used to automate control of external devices. Although single-unit Programmable Controllers are available, building-block Programmab[…]
-
Page 167: Omron CPM1A
Glossary 159 response format A format specifying the data required in a response to a data transmission. response monitoring time The time a device will wait for a response to a data transmission before assum- ing that an error has occurred. Restart Bit A bit used to restart part of a PC. result word A word used to hold the results from the executi[…]
-
Page 168: Omron CPM1A
Glossary 160 self-maintaining bit A bit that is programmed to maintain either an OFF or ON status until set or reset by specified conditions. series A wiring method in which Units are wired consecutively in a string. servicing Th e process whereby the PC checks a connector or Unit to see if special proces- sing is required. set The process of turni[…]
-
Page 169: Omron CPM1A
Glossary 161 syntax The form of a program statement (as opposed to its meaning). syntax error An error in the way in which a program is written. Syntax errors can include ‘ spelling ’ mistakes (i.e., a function code that does not exist), mistakes in specify- ing operands within acceptable parameters (e.g., specifying read-only bits as a destina[…]
-
Page 170: Omron CPM1A
Glossary 162 unmasked bit A bit whose status is effective. See masked bit . unsigned binary A binary value that is stored in memory without any indication of whether it is positive or negative. unsigned decimal One-word hexadecimal values can be displayed at the Programming Console as decimal values from 0 to 65,535. uploading The process of transf[…]
-
Page 171: Omron CPM1A
163 Index Numbers 1:1 Host Link, 12 connections, 60 1:1 NT Link, 15 connections, 64 1:1 PC Link, 3, 14 connections, 63 1:N Host Link, 13 connections, 61 A Adapters, list of communications adapters, 14 Analog I/O Unit, standard model, 137 analog setting function, 2, 5 analog volume controls, 5 location, 29 ASCII, converting displays, Programming Con[…]
-
Page 172: Omron CPM1A
Index 164 errors communications, 1 13 error processing, 109 fatal, 1 13 identifying, 1 14 non-fatal, 1 13 programming, 1 15 Programming Console operations, 1 15 reading/clearing messages, Programming Console, 82 user-defined errors, 1 14 Expansion I/O Units, 2 available models, 1 1, 137 components, 30 connection, 41 standard models, 137 Expansion M[…]
-
Page 173: Omron CPM1A
Index 165 Mode Setting Switch, RS-232C Adapter , 34 model numbers, 137 modifying binary data, Programming Console, 97 data, Programming Console, 95 hexadecimal/BCD data, Programming Console, 96 signed decimal data, Programming Console, 98 SV , Programming Console, 95 unsigned decimal data, Programming Console, 99 MONITOR mode description, 76 exampl[…]
-
Page 174: Omron CPM1A
Index 166 programs checking, check levels, 1 15 downloading, 133 entering and editing, Programming Console, 84 uploading, 132 proximity switches, preventing false inputs, 51 pulse output function, 2, 7 Q – R quick-response inputs, 2, 7 relay outputs, connecting, 50 response time, for interrupt inputs, 6 restrictions, SSS, 68 RS-232C Adapter compo[…]
-
Page 175: Omron CPM1A
Index 167 V vibration resistance, 20 voltage operating voltage range, 20 supply voltage, 20 voltage output, connecting, 50 W weight CPU Unit, 20 Expansion I/O Unit, 20 Expansion Unit, 20 wiring, 43 power supply , 45[…]
-
Page 176: Omron CPM1A
169 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W317-E1-5 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 1997 Original production 2 J[…]