Benutzeranleitung / Produktwartung CPM1A des Produzenten Omron
Zur Seite of 176
Cat.No. W317–E1–5 Programmable Controllers SYSMAC CPM1A OPERA TION MANUAL.
CPM1A Programmable Controllers Operation Manual Revised February 2000.
! ! ! 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.
T ABLE OF CONTENTS vii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii .
T ABLE OF CONTENTS viii Appendices A Standard Models 137 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B Dimensions 141 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
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.
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 .
! ! ! ! ! 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.
! ! ! ! ! ! ! 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.
! 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.
! ! ! 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.
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.
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.
5 Application Precautions xviii Recommended core: 2643-002402 Manufacturer: Fair Rite Products Corp..
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 .
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.
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.
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.
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).
! 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.
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.
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).
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.
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 .
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, CompoBu.
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.
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).
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.
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 .
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.
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).
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 . . . . . . . . . . . . . . . .
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 CPM.
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 .
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.
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).
! 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 .
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.
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.
! 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.
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.
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.
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.
! ! 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).
! 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.
! 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.
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 .
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.
! ! 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.
! 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.
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.
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.
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.
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.
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 .
! 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.
! 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.
! ! ! 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).
! ! ! 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.
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.
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.
! 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.
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.
! 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.
! 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.
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 .
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.
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.
! 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.
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.
! 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.
! 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.
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.
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.
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 .
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).
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.
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.
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 .
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.
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.
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).
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.
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.
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 .
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.
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.
! ! 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.
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.
! 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.
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.
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.
! 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 .
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 .
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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 .
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.
! 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.
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.
! ! 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.
! 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.
! ! 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.
! 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.
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.
! 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.
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.
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.
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 .
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).
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.
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.
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.
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.
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).
! 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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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 .
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 .
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.
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 .
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-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.
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.
! 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.
! ! 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.
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.
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.
! 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.
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.
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 .
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-TS00.
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 .
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 .
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.
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.
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.
Appendix B Dimensions 145 Dimensions with Peripheral Devices Attached Approx. 125 Approx. 90.
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.
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.
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.
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 .
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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, .
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 po.
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.
Ein wichtiger Punkt beim Kauf des Geräts Omron CPM1A (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie Omron CPM1A noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für Omron CPM1A - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von Omron CPM1A reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über Omron CPM1A erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon Omron CPM1A besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von Omron CPM1A verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit Omron CPM1A. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei Omron CPM1A gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.