W352-E1-06 Omron, W352-E1-06 Datasheet

no-image

W352-E1-06

Manufacturer Part Number
W352-E1-06
Description
Product Manual
Manufacturer
Omron
Datasheet
Cat. No. W352-E1-06
SYSMAC
CPM2A
Programmable Controllers

Related parts for W352-E1-06

W352-E1-06 Summary of contents

Page 1

... Cat. No. W352-E1-06 SYSMAC CPM2A Programmable Controllers ...

Page 2

CPM2A Programmable Controllers Operation Manual Revised June 2003 ...

Page 3

iv ...

Page 4

... OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice ...

Page 5

... Buyer's purchase order or other documents which are inconsistent with addition to, these Terms. Please contact your Omron representative to confirm any additional terms for sales from your Omron company. 2. Prices. All prices stated are current, subject to change without notice by Seller ...

Page 6

TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience ...

Page 7

Appendices A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 8

About this Manual: The CPM2A is a compact, high-speed Programmable Controller (PC) designed for control operations in systems requiring from 10 to 120 I/O points per PC. There are two manuals describing the setup and operation of the CPM2A: The ...

Page 9

...

Page 10

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 ...

Page 11

Safety Precautions 1 Intended Audience This manual is intended for the following personnel, who must also have knowl- edge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing FA systems. • Personnel in charge ...

Page 12

Operating Environment Precautions • When the 24-VDC output (service power supply to the PC) is overloaded or WARNING ! When transferring programs to other nodes, or when making changes to I/O memory, confirm the safety of the destination node before ...

Page 13

Application Precautions • Locations subject to strong electromagnetic fields. • Locations subject to possible exposure to radioactivity. • Locations close to power supplies. ! Caution The operating environment of the PC System can have a large effect on the lon- ...

Page 14

Application Precautions • Do not apply voltages to the input terminals in excess of the rated input voltage. Excess voltages may result in burning. • Do not apply voltages or connect loads to the output terminals in excess of the ...

Page 15

... EMC-related performance of the OMRON devices that comply with EC Direc- tives will vary depending on the configuration, wiring, and other conditions of the equipment or control panel on which the OMRON devices are installed. The cus- tomer must, therefore, perform the final check to confirm that devices and the overall machine conform to EMC standards ...

Page 16

EC Directives 6-4 Relay Output Noise Reduction Methods The CPM2A PCs conform to the Common Emission Standards (EN50081-2) of the EMC Directives. However, the noise generated when the PC is switched ON or OFF using the relay output may not ...

Page 17

EC Directives Countermeasure Examples When switching an inductive load, connect a surge protector, diodes, etc., in par- allel with the load or contact as shown below. Circuit Current method Yes Yes Power supply Diode method No Yes ...

Page 18

CPM2A 24 VDC CPU Unit Conformance to NK Standards 6-5 CPM1A-MAD01 Conformance to EMC Directives Immunity testing conditions when using the current I/O of the CPM1A-MAD01 are as follows. • Total accuracy: +10%/-1% • Insert the following core in ...

Page 19

...

Page 20

This section describes the CPM2A’s special features and functions, shows the possible system configurations, and outlines the steps required before operation. Read this section first when using the CPM2A for the first time. Refer to the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual (W353) ...

Page 21

... The full complement of communications functions provide communications with personal computers, other OMRON PCs, and OMRON Programmable Termi- nals. These communications capabilities allow the user to design a low-cost dis- tributed production system. ...

Page 22

CPM2A Features and Functions Analog I/O Units Analog I/O Units can be connected to provide analog inputs and outputs. Each Unit provides 2 analog inputs and 1 analog output maximum of 6 ana- log inputs ...

Page 23

CPM2A Features and Functions Share Programming The same Programming Devices, such as Programming Consoles and Support Devices Software, can be used for the C200H, C200HS, C200HX/HG/HE, CQM1, CPM1, CPM1A, CPM2C, and SRM1 (-V2) PCs, so existing ladder program re- sources ...

Page 24

CPM2A Features and Functions ily change or fine-tune machine settings such as a conveyor belt’s pause time or feed rate. Calendar/Clock The built-in clock (accuracy within 1 minute/month) can be read from the pro- gram to show the current year, ...

Page 25

... CPM2A Features and Functions High-speed 1:1 NT Link In a 1:1 NT Link, an OMRON Programmable Terminal (PT) can be connected Communications directly to the CPM2A. The PT must be connected to the RS-232C port; it cannot be connected to the Peripheral port. One-to-one PC Link A CPM2A can be linked directly to another CPM2A, CQM1, CPM1, CPM1A, CPM2C, SRM1(-V2 C200HS or C200HX/HG/HE PC ...

Page 26

CPM2A Features and Functions 1-1-2 Overview of CPM2A Functions Main function Interrupts Interrupt inputs 4 inputs, see note 1. Response time: 0.3 ms Interval timer interrupts 1 input p Set value: 0.5 to 319,968 ms Precision: 0.1 ms High-speed counters ...

Page 27

CPM2A Features and Functions Main function Expansion Unit functions Analog I/O Unit functions (CPM1A-MAD01) (resolution: 1/256) Two analog inputs: input range One analog output: output range 0 ...

Page 28

Basic System Configurations 1-2 Basic System Configurations 1-2-1 Stand-alone CPU Unit CPU Unit with 20/30 I/O Points Number of I/O points Power supply 20 I/O points p 100 to 240 VAC 24 VDC (12 inputs and 8 outputs) (12 i ...

Page 29

Basic System Configurations A PC with 6 analog inputs and 3 analog outputs (the maximum) can be as- sembled by connecting three Analog I/O Units. (Only one Analog I/O Unit can be connected if an NT-AL001 Adapter is connected to ...

Page 30

Basic System Configurations Expansion Units CPM1A-MAD01 Analog I/O Unit CompoBus/S I/O Link Unit Unit Max. number Analog I/O Unit 3 Units max. (See note.) 2 analog inputs (2 words) 1 analog output (1 word) Temperature Thermocouple 3 Units max. Se ...

Page 31

Structure and Operation 1-3 Structure and Operation 1-3-1 CPU Unit Structure The following diagram shows the internal structure of the CPU Unit. External input devices Peripheral port I/O Memory The program reads and writes data in this memory area during ...

Page 32

Structure and Operation 1-3-2 Operating Modes CPM2A CPU Units have 3 operating modes: PROGRAM, MONITOR, and RUN. PROGRAM Mode The program cannot be executed in PROGRAM mode. This mode is used to perform the following operations in preparation for program ...

Page 33

Structure and Operation 1-3-4 PC Operation at Startup Time Required for The time required for startup initialization depends on several factors, such as Initialization the operating conditions (including power supply voltage, system configuration, and ambient temperature) and the program contents. ...

Page 34

Structure and Operation 1-3-5 Cyclic Operation and Interrupts Basic CPU Operation Initialization processing is performed when the power is turned on. If there are no initialization errors, the overseeing processes, program execution, I/O refresh- ing, and communications port servicing are ...

Page 35

Structure and Operation The cycle time will vary slightly depending on the processing being performed in each cycle, so the calculated cycle time will not always match the actual cycle time. Program Execution in The following diagram shows the cyclic ...

Page 36

Structure and Operation Interrupt Program When an interrupt is generated during execution of the main program, main pro- Execution gram execution is interrupted immediately and the interrupt program is execut- ed. The following diagram shows the cyclic operation of the ...

Page 37

Functions Listed by Usage When IORF(97) is used, the cycle time is extended by the time required to re- fresh the specified I/O words. Cycle time 1-4 Functions Listed by Usage Machine Control Functions Usage Receive high-speed Max. count frequency ...

Page 38

Functions Listed by Usage Usage Multiply the input pulse frequency from a high-speed counter by a fixed multiple, convert that value to an analog value, and output as an analog output. (For example, synchronizing the speed of a supply conveyor ...

Page 39

... Read/write I/O memory data and change the operating mode from a host computer. Connect to a serial device such as a bar code reader or serial printer. Make a high-speed connection with an OMRON Programmable Terminal. Make a PC-PC data link connection with another CPM2A CPM1, CPM1A, CPM2C, SRM1, CQM1, C200HS, or C200HX/HG/HE PC ...

Page 40

Comparison with the CPM1A 1-5 Comparison with the CPM1A Item Instruction set Basic instructions Special instructions Instruction Basic instructions execution times i i Special instructions Program capacity Maximum number Stand-alone CPU Unit of I/O points f I/O i CPU Unit ...

Page 41

Comparison with the CPM1A Item Interval timer One-shot mode Scheduled interrupt mode Quick-response Setting the quick-response inputs pu s function INT(89) (Mask) INT(89) (Read mask) INT(89) (Clear) Minimum pulse width High-speed Count mode counter Max. counter frequency Counter PV range ...

Page 42

Comparison with the CPM1A Item Pulse output Trapezoidal acceleration/ control co o deceleration PWM(––) output Number of simultaneous pulse outputs Maximum frequency Minimum frequency Pulse output quantity Direction control Positioning to absolute positions Supported. Bit status while pulses are being ...

Page 43

Comparison with the CPM1A Differences in Instruction Sets Instructions added to the CPM2A Instructions with Changed Specifications Mnemonic Name INI(61) MODE CONTROL PRV(62) HIGH-SPEED COUNTER PV READ CTBL(63) COMPARISON TABLE LOAD PULS(65) SET PULSES INT(89) INTERRUPT CONTROL 24 Mnemonic TXD(48) ...

Page 44

Comparison with the CPM1A ! Caution Before using a CPM1A program containing one or more of the instructions in the table above, check the program to be sure that it will operate properly and edit the program if necessary. The ...

Page 45

Preparation for Operation DM Area Differences The following table shows differences in the DM area other than the PC Setup. Note CPM1A programs that use the Error Log Area cannot be used in the CPM2A without editing the program to ...

Page 46

Preparation for Operation 4. Initial Settings • Turn OFF the CPU Unit’s Communications Switch, if necessary. (When this switch is OFF, communications with devices other than the Programming Console are governed by the settings in the PC Setup.) • Connect ...

Page 47

...

Page 48

This section provides the technical specifications of the Units that go together to create a CPM2A PC and describes the main components of the Units. 2-1 Specifications . . . . . . . . . . . . . ...

Page 49

Specifications 2-1 Specifications 2-1-1 General Specifications of CPU Units Item Supply voltage power 100 to 240 VAC, 50/ power 24 VDC Operating power 85 to 264 VAC voltage range l DC ...

Page 50

Specifications 2-1-2 Characteristics Item Control method Stored program method I/O control method Cyclic scan with direct output (Immediate refreshing can be performed with IORF(97).) Programming language Ladder diagram Instruction length 1 step per instruction words per instruction ...

Page 51

Specifications Item Input time constant Can be set for all input points. (ON response time = (1 ms, 2 ms, 3 ms, 5 ms, 10 ms, 20 ms ms) OFF response time) Clock function Shows the ...

Page 52

Specifications 2-1-3 I/O Specifications CPU Unit Input Specifications Item Inputs Input voltage All Input impedance p p IN00000 to IN00001 IN00002 to IN00006 IN00007 and up Input current p IN00000 to IN00001 IN00002 to IN00006 IN00007 and up ON voltage/current ...

Page 53

Specifications The minimum pulse widths for inputs IN00000 (A-phase input) and IN00001 (B- phase input) are as follows: Pulse plus direction input mode, Up/down input mode, Increment mode 50 µs min. 12.5 µs min. The minimum pulse width for input ...

Page 54

... ON delay 15 ms max. OFF delay 15 ms max. Circuit configuration Note The service life of relay output contacts shown in the table assumes the worst conditions. The following graph shows the results of OMRON’s service life tests at a switching rate of 1,800 times/hour. 4 Life ( Specification ...

Page 55

Specifications Transistor Outputs (Sinking or Sourcing) Item 20CDT-D 30CDT-D 20CDT1-D 30CDT1-D Max. OUT01000 and OUT01001: switching OUT01002 and up: capacity capacity 0.8 A/common 0.8 A/common 1.6 A/Unit 2.4 A/Unit (See note 2.) (See note 2.) Leakage 0.1 mA max. current ...

Page 56

Unit Components 2-2 Unit Components 2-2-1 CPU Unit Components CPU Units with I/O Terminals 2. Functional ground terminal (AC power supplies only) 1. Power supply input terminals 10. Analog controls 11. Peripheral Port 7. PC Status Indicators ...

Page 57

Unit Components CPU Unit Component Descriptions 1, 2, 3... 1. Power Supply Input Terminals 2. Functional Ground Terminal ( 3. Protective Ground Terminal ( 4. External Power Supply Terminals 5. Input Terminals 6. Output Terminals 7. PC Status Indicators 8. ...

Page 58

Unit Components 10. Analog Controls 11. Peripheral Port 12. RS-232C Port Applicable Connector 13. Communications Switch (Factory-set to OFF) 14. Battery 15. Expansion Connector Turn these controls to change the analog settings (0 to 200 250 and IR ...

Page 59

Unit Components 2-2-2 Expansion I/O Unit Components Expansion I/O Unit with 20 I/O Terminals 5. Expansion I/O connecting cable Expansion I/O Unit with 8 Input Terminals 5. Expansion I/O connecting cable Expansion I/O Unit with 8 Output Terminals 5. Expansion ...

Page 60

Unit Components ! Caution Do not touch the expansion I/O connecting cable while the power is being sup- plied in order to prevent any malfunction due to static electricity. 6. Expansion Connector 2-2-3 Analog I/O Unit Components CPM1A-MAD01 2. Expansion ...

Page 61

Unit Components ! 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 4. DIP Switch 2-2-4 Temperature Sensor Unit Components ...

Page 62

Unit Components CPM1A-TS101/102 Set value Expansion I/O Connecting Cable 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 ...

Page 63

Unit Components 3. LED Indicators 4. Expansion I/O Connecting Cable 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 ...

Page 64

Unit Components Baud Rate Setting OFF ON OFF ON Output Hold Setting OFF ON 4. LED Indicators Indi Expansion I/O Unit Connecting Cable ! Caution Do not touch the Expansion I/O Unit Connecting Cable while the power ...

Page 65

...

Page 66

... Host Link Connections 3-4-9 No-Protocol Communications 3-4-10 OMRON PT Connections 3-4-11 One-to-one PC Link Connections 3-4-12 CompoBus/S I/O Link Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

Page 67

Selecting an Installation Site 3-1 Design Precautions Observe the following precautions when designing a system incorporating a CPM2A PC. 3-1-1 Power Supply Wiring Separate the power supply wiring from the control system, CPM2A system, and DC I/O system wiring. Separate ...

Page 68

Selecting an Installation Site ! Caution Be sure to install the CPM2A correctly, as outlined in this manual. Failure may result in Unit malfunction. 3-2-1 Installation Site Conditions Note Do not install the CPM2A under any of ...

Page 69

Installing the CPM2A Accessibility Ensure that the CPM2A can be accessed for normal operation and mainte- nance. • Provide a clear path to the CPM2A for operation and maintenance. High-volt- • The PC will be easiest to access if the ...

Page 70

Installing the CPM2A Allow between the Units when installing an Expansion Unit, Expan- sion I/O Unit, or Communications Adapter next to the CPU Unit. DIN Track Installation The CPM2A can be installed on a 35-mm DIN ...

Page 71

Installing the CPM2A Removal Pry the lock down with a flat-blade screwdriver and pivot the PC upward to remove it. 3-3-3 Connecting an Expansion Unit or Expansion I/O Unit Expansion Units or Expansion I/O Units can be ...

Page 72

Wiring and Connections 3-4 Wiring and Connections This section provides basic information on wiring the Power Supply Unit, Expan- sion Units, and Expansion I/O Units, and on connecting Programming Devices. 3-4-1 General Precautions for Wiring Caution Leave the protective label ...

Page 73

Wiring and Connections Floor Ducts Leave at least 200 mm between the wiring and the top of the duct, as shown in the following diagram. Conduits Separate the CPM2A I/O lines, power and control lines, and power cables, as shown ...

Page 74

Wiring and Connections 3-4-3 Ground Wiring Be sure to ground the earth terminal to less than 100 Ω in order to protect against Grounding electric shock and incorrect operation from electrical noise. Be sure to use a wire of at ...

Page 75

Wiring and Connections 3-4-4 Power Supply Wiring 100- to 240-VAC Power Wire a separate circuit for the CPM2A’s power supply circuit so that there isn’t a Supply voltage drop from the inrush current that flows when other equipment is turned ...

Page 76

Wiring and Connections 24-VDC Power Supply Use a DC power supply with sufficient capacity and low ripple. Note Crimp Terminals ! Caution Always use crimp terminals for the CPM2A’s power lines or use solid wire (instead of a stranded wire). ...

Page 77

Wiring and Connections 3-4-5 Input Wiring Wire the inputs to the CPM2A’s CPU Unit and Expansion I/O Units as shown in the following diagrams. Use crimp terminals or solid wires (not stranded wire) to connect to the PC. The power ...

Page 78

Wiring and Connections CPM2A-40CDR-j, CPM2A-40CDT-D, and CPM2A-40CDT1-D Terminals 00 through 11 of “0CH” correspond to bits IR 00000 through IR 00011, terminals 00 through 11 of “1CH” correspond to bits IR 00100 through IR 00111. 24 VDC Section 3-4 Input ...

Page 79

Wiring and Connections CPM2A-60CDR-j, CPM2A-60CDT-D, and CPM2A-60CDT1-D Terminals 00 through 11 of “0CH” correspond to bits IR 00000 through IR 00011, terminals 00 through 11 of “1CH” correspond to bits IR 00100 through IR 00111, terminals 00 through 11 of ...

Page 80

Wiring and Connections CPM1A-20EDR1, CPM1A-20EDT, and CPM1A-20EDT1 Terminals 00 through 11 of “mCH” correspond to bits 00 through 11 of word IR m. CPM1A-8ED Terminals 00 through 07 of “mCH” correspond to bits 00 through 07 of word IR m. ...

Page 81

Wiring and Connections Input Wiring Example A CPU Unit with an AC power supply is shown. CPU Units with DC power sup- plies don’t have power supply outputs. WARNING ! When the 24-VDC output (service power supply to the PC) ...

Page 82

Wiring and Connections Input Devices The following table shows how to connect various input devices. Device Relay output NPN open collector NPN current output Constant current circuit PNP current output Voltage output Note Do not use the following wiring with ...

Page 83

Wiring and Connections High-speed Counter Inputs Using IR 00000 to IR 00002 as High-speed Counter Inputs In these examples, Encoders with an external 24-VDC open-collector output are connected. Differential Phase Mode (Count frequency: 5 kHz) Encoder 24 VDC Up/Down Mode ...

Page 84

Wiring and Connections Special functions for input bits IR 00003 through IR 00006 are set in DM 6628: High-speed Counter Input Connection Examples Differential Phase Mode (Count frequency: 5 kHz) E6B2-CWZ6C Encoder Black (NPN open-col- lector output) White Orange Brown ...

Page 85

... I/O Specifications for details. Relay outputs 2 A (250 VAC or 24 VDC) Section 3-4 00000: Sensor power supply voltage detection Time required for sensor to stabilize (for OMRON Proximity Sensor): 100 ms 00001: Input from sensor IN Diode CPM2A COM Ring terminal 6 ...

Page 86

Wiring and Connections Note Refer to Section 3 Memory Areas in the Programming Manual (W353) for details on the allocation of output bits in CPM2A PCs. WARNING ! The PC outputs may remain ON or OFF due to deposition or ...

Page 87

Wiring and Connections CPM2A-40CDR-j Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007. Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107. 68 250 VAC/ 250 VAC/ 250 VAC/ 250 VAC/ 24 ...

Page 88

Wiring and Connections CPM2A-60CDR-j Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007. Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107. Terminals 00 through 07 of “12CH” correspond to IR 01200 ...

Page 89

Wiring and Connections CPM1A-20EDR1 Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word IR 1n. CPM1A-8ER Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word IR 1n. 70 250 VAC/ ...

Page 90

Wiring and Connections Transistor Output Wiring (Sinking) Wire the outputs to the CPM2A’s CPU Unit and Expansion I/O Units as shown in the following diagrams. • Always use single wire or attach crimp terminals if a stranded wire is used. ...

Page 91

Wiring and Connections CPM2A-40CDT-D Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007. Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107. 72 4.5 to 4.5 to 4 ...

Page 92

Wiring and Connections CPM2A-60CDT-D Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007. Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107. Terminals 00 through 07 of “12CH” correspond to IR 01200 ...

Page 93

Wiring and Connections CPM1A-20EDT Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word IR 1n. CPM1A-8ET Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word IR 1n VDC ...

Page 94

Wiring and Connections Transistor Output Wiring (Sourcing) Wire the outputs to the CPM2A’s CPU Unit and Expansion I/O Units as shown in the following diagrams. • Always use single wire or attach crimp terminals if a stranded wire is used. ...

Page 95

Wiring and Connections CPM2A-40CDT1-D Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007. Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107. 76 4.5 to 4.5 to 4 ...

Page 96

Wiring and Connections CPM2A-60CDT1-D Terminals 00 through 07 of “10CH” correspond to IR 01000 through IR 01007. Terminals 00 through 07 of “11CH” correspond to IR 01100 through IR 01107. Terminals 00 through 07 of “12CH” correspond to IR 01200 ...

Page 97

Wiring and Connections CPM1A-20EDT1 Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word IR 1n. CPM1A-8ET1 Terminals 00 through 07 of “1nCH” correspond to bits 00 through 07 of word IR 1n VDC ...

Page 98

Wiring and Connections Using Pulse Outputs The following diagrams show example applications of sink-type transistor out- puts using output bits IR 01000 and IR 01001. Use the PULS(65), SPED(––), ACC(––), PWM(––), and SYNC(––) instructions to produce pulse outputs (rath- er ...

Page 99

Wiring and Connections Inductive Loads When connecting an inductive load to an input, connect a surge protector or diode in parallel with the load. The surge protector’s components should have the following ratings: Relay Output Relay Output Transistor Output (Sinking) ...

Page 100

Wiring and Connections 3-4-7 Programming Device Connections The CPM2A CPU Unit can be connected to a Programming Console or a host computer running CX-Programmer, SYSMAC Support Software (SSS), or SYS- MAC-CPT Support Software. Programming Console The CPM2A CPU Unit can ...

Page 101

Wiring and Connections Peripheral Port Connection A personal computer can be connected to the CPU Unit’s Peripheral port with a CQM1-CIF01 or CPM1-CIF01 RS-232C Adapter. Using a CQM1-CIF02 CQM1-CIF02 IBM PC/AT or compatible computer RS-232C Port Connection A personal computer ...

Page 102

Wiring and Connections Peripheral Port Connection Connect to the CPU Unit’s Peripheral port with a CQM1-CIF01 or CPM1-CIF01 RS-232C Adapter. Using a CQM1-CIFjj CQM1-CIF02 IBM PC/AT or compatible computer RS-232C Port Connection Connect to the CPU Unit’s RS-232C port with ...

Page 103

... Wiring and Connections One-to-N Host Link OMRON PCs, including CPM2A PCs, can be controlled from a host Connection computer. The following diagrams show separate RS-232C port and Peripheral port configurations, but both ports can be used simultaneously. RS-232C Port Connection XW2Z-j00S RS-232C cable IBM PC/AT or ...

Page 104

... Setup and set the communications mode to no-protocol mode for the port being used. Refer to Section 1 PC Setup in the Programming Manual (W353) for de- tails on settings. 3-4-10 OMRON PT Connections In a 1:1 NT Link, a CPM2A can be connected directly to a Programmable Termi- nal. The Programmable Terminal must be connected to the RS-232C port; it can- not be connected to the Peripheral port ...

Page 105

... CPU Unit’s operating mode will simply change from “RUN” to “MONITOR.” CPM2A CPU Unit 1:1 PC Link Slave RS-232C port RS-232C Cable (such as the OMRON XW2Z-200T ( XW2Z-500T (5 m)) Section 3-4 OMRON PC (CQM1, CPM1, CPM1A, CPM2C, SRM1(-V2), C200HS, or C200HX/HE/HG) ...

Page 106

Wiring and Connections 3-4-12 CompoBus/S I/O Link Connections A CompoBus/S I/O Link can be used to create an I/O link (remote I/ input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection ...

Page 107

...

Page 108

This section provides information on connecting and using a Programming Console. Refer to 5-3 Programming Console Operation Errors for details on errors that might occur during Programming Console operations. 4-1 Compatible Programming Consoles 4-1-1 Changing the CPM2A’s Mode with the ...

Page 109

Compatible Programming Consoles 4-1 Compatible Programming Consoles There are two Programming Consoles that can be used with the CPM2A: The CQM1-PRO01-E and the C200H-PRO27-E. The key functions for these Pro- gramming Consoles are identical. Press and hold the Shift Key ...

Page 110

Compatible Programming Consoles Different Keys The following keys are labeled differently on the CQM1-PRO01-E and the C200H-PRO27-E, but the operation of the keys in each pair is identical. Note To specify the AR area, use SHIFT and HR Keys for ...

Page 111

Compatible Programming Consoles 4-1-1 Changing the CPM2A’s Mode with the Mode Switch Once the Programming Console has been connected, its mode switch can be used to change the CPM2A’s operating mode. The mode display (<PRO- GRAM>, <MONITOR>, or <RUN>) will ...

Page 112

Compatible Programming Consoles Startup Operating Mode The operating mode of the CPM2A when the power is turned ON depends upon the PC Setup setting in DM 6600 and the Programming Console’s mode switch setting if the Programming Console is connected. ...

Page 113

Compatible Programming Consoles Allow at least 80 mm for the cable connector above the Programming Console. 4-1-3 Preparation for Operation This section describes the procedures required to begin Programming Console operation when using the Programming Console for the first time. ...

Page 114

Compatible Programming Consoles 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 ...

Page 115

Programming Console Operations 4-2 Programming Console Operations 4-2-1 Overview The following table lists the programming and monitoring operations that can be performed from a Programming Console. Refer to the rest of this section for details on operational procedures. Name Clearing ...

Page 116

Programming Console Operations Name Force set/reset Forces bits ON (force set) or OFF (force reset.) Clear force set/reset Restores the status of all bits which have been force set of reset. Hex-ASCII display change Converts word data displays back and ...

Page 117

Programming Console Operations 4-2-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). The I/O ...

Page 118

Programming Console Operations Before inputting a new program, any error messages recorded in memory should be cleared assumed here that the causes of any of the errors for which error messages appear have already been taken care of. ...

Page 119

Programming Console Operations 4-2-7 Assigning Expansion Instruction Function Codes This operation is used to display or change the expansion instructions assigned to expansion instruction function codes. The assignments can be displayed in any mode, but can be changed in PROGRAM ...

Page 120

Programming Console Operations When inputting a program for the first time generally written to Program Memory starting from address 000. Because this address appears when the display is cleared not necessary to specify it. When inputting ...

Page 121

Programming Console Operations 1, 2, 3... 102 1. Press the CLR Key to bring up the initial display. 2. Specify the address where the program will begin. 3. Input the address where the program will begin and press the Down ...

Page 122

Programming Console Operations • Writing Hexadecimal, BCD Constant 10. Input the first operand. • Writing a Word Address 11. Input the second operand. 12. Input the next instruction. • Writing an Unsigned Decimal Number 13. The first operand is input ...

Page 123

Programming Console Operations 15. The second operand is input as a signed integer. 16. Restore the hexadecimal display. • Writing a Word Address (DM 0000) 17. Input the final operand and then press the WRITE Key. (It isn’t necessary to ...

Page 124

Programming Console Operations 4-2-11 Bit Operand Search This operation is used to find occurrences of the specified operand bit in the pro- gram and is possible in any mode. The ON/OFF status of any displayed bit will be shown if ...

Page 125

Programming Console Operations Original Program 00100 00101 00103 00201 00102 Delete Insertion Follow the procedure below to insert the IR 00105 NO condition at address 00206 3... Deletion Follow the procedure below to delete the IR 00103 NO ...

Page 126

Programming Console Operations Corrected Program 00100 00101 00105 00201 00102 4-2-13 Checking the Program This operation checks for programming errors and displays the program address and error when errors are found possible in PROGRAM mode only ...

Page 127

Programming Console Operations 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 3... Bit Monitor Follow the procedure ...

Page 128

Programming Console Operations Note The operating mode can be changed without altering the current monitor display by holding down the SHIFT Key and then changing the operating mode. Multiple Address The status six bits and words can ...

Page 129

Programming Console Operations 4-2-16 Binary Monitor This operation is used to monitor the ON/OFF status of any word’s 16 bits possible in any mode 3... 110 2. To specify up-differentiation monitoring, press the SHIFT and then ...

Page 130

Programming Console Operations 4-2-17 Three-Word Monitor This operation is used to monitor the status of three consecutive words possible in any mode 3... Note The operating mode can be changed without altering the current monitor display ...

Page 131

Programming Console Operations 4-2-19 Unsigned Decimal Monitor This operation is used to convert hexadecimal data in a word to unsigned decimal for display. The operation can be executed while using I/O monitor- ing, multiple address monitoring or 3-word monitoring. 1, ...

Page 132

Programming Console Operations Note If the CLR Key is pressed before the WRITE Key, the operation will be cancelled and the 3-word monitor display will return without any changes in data memory. 4-2-21 Changing Timer, Counter SV There are two ...

Page 133

Programming Console Operations Incrementing and This operation can be used to increment and decrement an SV constant Decrementing a Constant possible only when the SV has been entered as a constant 3... 4-2-22 Hexadecimal, BCD Data ...

Page 134

Programming Console Operations 4-2-23 Binary Data Modification This operation is used to change the status of a word’s bits when the word is monitored using the procedure described in 4-2-16 Binary Monitor pos- sible in MONITOR or PROGRAM ...

Page 135

Programming Console Operations 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 ...

Page 136

Programming Console Operations 4-2-26 Force Set, Reset This operation is used to force bits ON (force set) or OFF (force reset) and is useful when debugging the program or checking output wiring possible in MONITOR or PROGRAM mode ...

Page 137

Programming Console Operations 4-2-27 Clear Force Set/Reset This operation is used to restore the status of all bits which have been force set or reset possible in MONITOR or PROGRAM mode only. ! Caution Before changing the contents ...

Page 138

Programming Console Operations 4-2-29 Displaying the Cycle Time This operation is used to display the current average cycle time (scan time possible only in RUN or MONITOR mode while the program is being executed 3... 4-2-30 ...

Page 139

Programming Example 4-3 Programming Example This section demonstrates all of the steps needed to write a program with the Programming Console. 4-3-1 Preparatory Operations Use the following procedure when writing a program to the CPM2A for the first time. 1, ...

Page 140

Programming Example 4-3-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 ...

Page 141

Programming Example 4-3-3 Programming Procedures The example program will be written to the CPM2A according to the mnemonic list in 4-3-2 Example Program. The procedure is performed beginning with the initial display. (Clear the memory before entering a new program.) ...

Page 142

Programming Example (3) Inputting the The following key operations are used to input the 2-second timer. Two-second Timer 1, 2, 3... LD (4) Inputting the 10-count The following key operations are used to input the 10-count counter. Counter 1, 2, ...

Page 143

Programming Example LD NOT (5) Inputting the Flicker Output 1, 2, 3... LD (6) Inputting the END(001) Input END(01). (The display shows three digits in the function code, but only the Instruction last two digits are input for CPM2A PCs.) ...

Page 144

Programming Example 4-3-4 Checking the Program Check the program syntax in PROGRAM mode to make sure that the program has been input correctly 3... If errors are displayed, edit the program to correct the errors and check the ...

Page 145

...

Page 146

This section describes procedures for test runs of CPM2A operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. 5-1 Initial System Checks and Test Run Procedure 5-1-1 Initial ...

Page 147

Initial System Checks and Test Run Procedure 5-1 Initial System Checks and Test Run Procedure 5-1-1 Initial System Checks Check the following items after setting up and wiring the CPM2A, but before per- forming a test run. Note 5-1-2 Flash ...

Page 148

Self-diagnostic Functions Note Refer to Section 4 Using Programming Devices for details on the Support Soft- ware and Programming Console operations. 5-2 Self-diagnostic Functions The CPM2A is equipped with a variety of self-diagnostic functions to help iden- tify and correct ...

Page 149

Self-diagnostic Functions 5-2-2 User-defined Errors There are three instructions that can be used to define errors or messages. FAL(06) causes a non-fatal error, FAL(07) causes a fatal error, and MSG(46) sends a message to the Programming Console or host computer ...

Page 150

Self-diagnostic Functions Message FAL No. SCAN TIME OVER F8 The cycle time has exceeded 100 ms. (SR 25309 will be ON.) This indicates that the program cycle time is longer than recommended. Reduce cycle time if possible. (The CPM2A can ...

Page 151

Programming Errors 5-3 Programming Console Operation Errors The following error messages may appear when performing operations on the Programming Console. Correct the error as indicated and continue operation. Note Refer to the relevant Support Software Operation Manual for details on ...

Page 152

Troubleshooting Flowcharts 5-5 Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Type Message Meaning and appropriate response B IL-ILC ERR IL(02) and ILC(03) are not used in pairs. Check the program before processing. ...

Page 153

Troubleshooting Flowcharts Power Supply Check 134 PWR indicator not lit. No Connect power Is power being supply. supplied? Yes No Is PWR indicator lit? No Set supply voltage Is voltage adequate? within acceptable limits. Yes No Is PWR indicator lit? ...

Page 154

Troubleshooting Flowcharts Fatal Error Check RUN indicator not lit the ERR/ALM indicator lit? Yes Determine the cause of the error with a Programming Device mode displayed on Programming Device? Yes Yes Is a fatal error ...

Page 155

Troubleshooting Flowcharts Non-fatal Error Check 136 ERR/ALM indicator flashing. Determine the cause of the error with a Programming Device. Yes Identify the error, eliminate its Is a non-fatal error cause, and clear the error. indicated? No Replace the CPU Unit. ...

Page 156

Troubleshooting Flowcharts I/O Check The I/O check flowchart is based on the following ladder diagram section. Malfunction of SOL1 Is the No IR 01003 output indicator operating normally? Yes Check the voltage at the Wire correctly. IR 01003 terminals. No ...

Page 157

Troubleshooting Flowcharts Are the IR 00002 and IR 00003 input indi- cators operating A normally? From Yes previous page Check the voltage at the IR 00002 and IR 00003 terminals. No Operation OK? Yes Check operation by ...

Page 158

Troubleshooting Flowcharts Environmental Conditions Check Environmental conditions check No Is the ambient Consider using a temperature fan or cooler. below 55°C? Yes Is the ambient No Consider using a temperature above heater. 0°C? Yes No Is the ambient humidity Consider ...

Page 159

Troubleshooting Flowcharts Memory Error Check Memory error occurred. AR 1309 ON 1314 ON 1308 ON 1310 to AR 1312 ON? No End 140 Yes Replace the CPU Unit. Yes Check/correct backed-up data and clear ...

Page 160

Maintenance Inspections 5-6 Maintenance Inspections In order for your SYSMAC system to operate in optimum condition, be sure to carry out daily or periodical inspections. Inspection Items The main system components of a SYSMAC system are semiconductors, and it contains ...

Page 161

Battery Replacement 5-7 Battery Replacement If power has not been supplied to the PC for an extended period of time, turn ON the power supply for at least 5 minutes before replacing the battery. Turn OFF the power supply to ...

Page 162

Battery Replacement 4. Check the replacement battery’s connector. 5. Check the alignment of the connector tab and fully insert the connector. 6. Insert the battery into the compartment, making sure that the cord on the battery is facing the connector ...

Page 163

...

Page 164

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 . . . . . . . . . . . . . . . ...

Page 165

Overview 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. Note The “PLC” in the “DOWNLOAD ...

Page 166

... Connector EEPROM Socket DOWNLOAD to PLC Button UPLOAD Button Section Specifications ATMEL: AT28C256 OMRON: EEROM-JD Lock Lever For mounting and removing EEPROM. DOWNLOAD TO PLC Button Writes all EEPROM data (ladder programs, data memory etc.) to the PC. UPLOAD + DM Button Reads PC user program and contents of DM 6144 to DM 6655 to EEPROM ...

Page 167

Handling LED Indicator 6-3 Handling 6-3-1 Mounting/Removing EEPROM ! Caution Do not mount or remove the EEPROM with the CPM1-EMU01-V1 connected to the PC. Doing so may damage the EEPROM. Mounting EEPROM 1, 2, 3... 148 CONNECT ERR (red) (green) ...

Page 168

Handling Removing EEPROM 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 ...

Page 169

Handling Disconnecting Press the levers on the top and bottom of the connector inwards to unlock the connector and pull out as shown in the following diagram. Note Do not attempt to remove the connector by pulling the cable. 6-3-3 ...

Page 170

Handling Operation Procedure Start Mount the EEPROM to the CPM1-EMU01-V1. Connect the CPM1-EMU01-V1 to the PC’s peripheral port. After check if the indicator is lit green. Yes Select the memory area to be uploaded. Upload both ...

Page 171

Handling 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. Caution If the RUN or ...

Page 172

Handling Operation Procedure Start Mount the EEPROM to the CPM1-EMU01-V1. Change the mode of the PC to PRO- GRAM mode. Connect the CPM1-EMU01-V1 to the PC’s peripheral port. After check if the indicator is lit green. ...

Page 173

...

Page 174

CPU Units Description p Input p points i CPU Units with 20 I/O points 12 points CPU Units with 30 I/O points 18 points CPU Units with 40 I/O points 24 points CPU Units with 60 I/O points 36 points ...

Page 175

Standard Models Expansion Units Analog I/O Units Description Analog I/O Unit Temperature Sensor Units Description Temperature Sensor Unit p CompoBus/S I/O Link Unit Description CompoBus/S I/O Link Unit DeviceNet I/O Link Unit Description DeviceNet I/O Link Unit 156 Specifications 2 ...

Page 176

Standard Models Adapters and Connecting Cables (1:1 Connection) CPM2A port Name Appearance Peripheral RS-232C Adapter Adapter RS-232C RS-232C Cable C bl Adapters and Connecting Cables (1:N Connections) Name Appearance RS-422 Adapter Link Adapter RS-422 Adapter RS-232C Cables (For use with ...

Page 177

Standard Models Peripheral Devices Name Appearance Programming Console CX-Programmer SYSMAC Support Software SYSMAC-CPT Expansion Memory Unit EEPROM Maintenance Accessories Name Appearance Backup Battery 158 Model Number Specifications CQM1-PRO01-E 2-m Connecting Cable attached C200H-PRO27-E Hand-held, w/backlight; requires a C200H-CN222 or C200H-CN422 ...

Page 178

All dimensions are in millimeters. CPM2A-20CDj-j CPU Units CPM2A-30CDj-j CPU Units Appendix B Dimensions Four, 4.5 dia. CPU Units with DC Power Four, 4.5 dia. CPU Units with DC ...

Page 179

Dimensions CPM2A-40CDj-j CPU Units CPM2A-60CDj-j CPU Units 160 Four, 4.5 dia. CPU Units with DC Power Four, 4.5 dia. CPU Units with DC Power Appendix B CPU Units with AC Power CPU Units with AC Power ...

Page 180

Dimensions CPM1A-20EDj Expansion I/O Units CPM1A-8jjj Expansion I/O Units CPM1A-MAD01 Analog I/O Unit Two, 4.5 dia. Two, 4.5 dia. Two, 4.5 dia. Appendix B 161 ...

Page 181

Dimensions CPM1A-MAD11 Analog I/O Unit CPM1A-TSjjj Temperature Sensor Units CPM1A-SRT21 CompoBus/S I/O Link Unit 162 5 8 76±0 Two, 4.5 dia. 76±0.2 Two, 4.5 dia. Two, 4.5 dia. Appendix B ...

Page 182

Dimensions CPM1A-DRT21 DeviceNet I/O Link Unit CPM1-CIF01 (RS-232C Adapter) 5 56±0 Two, 4.5 dia. Appendix B 163 ...

Page 183

Dimensions CPM1-CIF11 (RS-422 Adapter) 164 Appendix B ...

Page 184

Dimensions Dimensions with Programming Devices Attached CPU Units with DC Power Approx. 95 CPM1-CIF01 RS-232C Adapter Approx. 120 Appendix B CPU Units with AC Power Approx. 130 165 ...

Page 185

...

Page 186

Numbers 1:1 communications, 82 1:N communications Adapters, 157 Analog I/O Units, 3 standard model, 156 analog volume controls, location, 39 arc killer, examples, xviii ASCII, converting displays, Programming Console, 118 atmosphere battery, replacing, 142 binary data, ...

Page 187

ERR/ALM indicator flashing, 130 lit, 131 errors communications, 131 error processing, 127 fatal, 131 identifying, 129 non-fatal, 130 programming, 132 Programming Console operations, 132 reading/clearing messages, Programming Console, 98 user-defined errors, 130 Expansion I/O Units, ...

Page 188

MONITOR mode description, 92 example test run, 125 monitoring 3-word monitor, Programming Console, 111 binary monitor, Programming Console, 110–111 differentiation monitor, Programming Console, 109–110 signed decimal monitor, Programming Console, 111–112 status, Programming Console, 107 unsigned decimal monitor, Programming Console, 112 ...

Page 189

RUN mode, description, 92 search instruction, Programming Console, 104–105 operands, Programming Console, 105 self-diagnosis functions, 32 self-holding bit, example, 122 self-diagnostic functions, 129 serial communications, 85 shock resistance, 30 signed decimal data modifying, Programming Console, 115 monitoring, 111–112 specifications characteristics, ...

Page 190

... A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W352-E1-06 The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version. Revision code Date 1 April 1999 2 September 1999 ...

Page 191

... For US technical support or other inquiries: 800.556.6766 OMRON CANADA, INC. 885 Milner Avenue 1 5 Toronto, Ontario 416.286.6465 OMRON ON-LINE Global - http://www.omron.com USA - http://www.omron.com/oei Canada - http://www.omron.ca W352-E1-06 10/03 8 ©2003 OMRON ELECTRONICS LLC Printed in the U.S.A. Specifications subject to change without notice. ...

Related keywords