Cat.No.
CPM1A Programmable Controllers Operation Manual Revised February 2000
Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property. DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.
TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLE OF CONTENTS Appendices A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Revision History . . . . . .
About this Manual: The CPM1A is a compact, high-speed Programmable Controller (PC) designed for control operations in systems requiring from 10 to 100 I/O points per PC. There are two manuals describing the setup and operation of the CPM1A: the CPM1A Operation Manual (this manual) and the CPM1/CPM1A/CPM2A/ CPM2C/SRM1(-V2) Programming Manual (W353).
PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and related devices. The information contained in this section is important for the safe and reliable application of the Programmable Controller. You must read this section and understand the information contained before attempting to set up or operate a PC system. 1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Application Precautions 1 Intended Audience This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing FA systems. • Personnel in charge of designing FA systems. • Personnel in charge of managing FA systems and facilities. 2 General Precautions The user must operate the product according to the performance specifications described in the operation manuals.
5 Application Precautions • 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 for such problems, external safety measures must be provided to ensure safety in the system. • When the 24-VDC output (service power supply to the PC) is overloaded or short-circuited, the voltage may drop and result in the outputs being turned OFF.
Application Precautions 5 • 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 following. Not turning off the power supply may result in malfunction or electric shock. • Mounting or dismounting I/O Units, CPU Units, or any other Units. • Assembling the Units. • Connecting or wiring the cables. • Connecting or disconnecting the connectors.
5 Application Precautions • Be sure that the terminal blocks, expansion cables, and other items with locking devices are properly locked into place. Improper locking may result in malfunction. • Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected operation. • Confirm that no adverse effect will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation.
5 Application Precautions • The user program and memory area data in the CPM1A are backed up either by an internal capacitor or in flash memory as shown in the following table. Backup method Internal capacitor Data Read/write DM area (DM 0000 to DM 0999, DM 1022, and DM 1023) Error log area (DM 1000 to DM 1021) HR area (HR 00 to HR 19) Counter area (CNT 000 to CNT 127) Flash memory User program Read-only DM area (DM 6144 to DM 6599) PC Setup (DM 6600 to DM 6655) Note 1.
5 Application Precautions 6 EC Directives 6-1 Applicable Directives • EMC Directives • Low Voltage Directive 6-2 Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards (see the following note).
5 Application Precautions Recommended core: 2643-002402 Manufacturer: Fair Rite Products Corp.
SECTION 1 Introduction This section describes the CPM1A’s special features and functions and shows the possible system configurations. Refer to the Programming Manual (W353) for details on programming actual operation. 1-1 1-2 1-3 CPM1A Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1-1 CPM1A Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 1-1 CPM1A Features and Functions 1-1 CPM1A Features and Functions 1-1-1 CPM1A Features One-piece Construction The 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.
Section 1-1 CPM1A Features and Functions Analog I/O Units Up to 3 Analog I/O Units can be connected to provide analog inputs and outputs. Each Unit provides 2 analog inputs and 1 analog output, so a maximum of 6 analog inputs and 3 analog outputs can be achieved by connecting 3 Analog I/O Units. The analog input range can be set to 0 to 10 VDC, 1 to 5 VDC, or 4 to 20 mA with a resolution of 1/256. (The open-circuit detection function can be used with the 1 to 5 VDC and 4 to 20 mA settings.
Section 1-1 CPM1A Features and Functions Expansion Memory Unit The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for smallsize or micro PLCs. Using the CPM1-EMU01-V1, simple on-site transfer of user programs and data memory is possible with PLCs. Uploading Downloading EEPROM SYSMAC 1-1-2 I/O Terminal and IR Bit Allocation The following table shows which IR bits are allocated to the I/O terminals on the CPM1A’s CPU Units and Expansion I/O Unit.
Section 1-1 CPM1A Features and Functions 1-1-3 CPM1A Functions Analog Setting Function CPM1A PCs have 2 variable-resistor adjustment knobs used to control analog timer and counter settings manually. When one of the adjustments is turned, the content of the corresponding IR word is set automatically between 0 and 200 (BCD). Turn the adjustment knob with a Phillips screwdriver. Analog adjustment 0 Analog adjustment 1 24 VDC 0.
Section 1-1 CPM1A Features and Functions Input Interrupts The CPM1A-10CDR- /10CDT-D/10CDT1-D PCs have 2 interrupt 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 interrupt input terminals. There are two modes for input interrupts: input interrupt mode and counter mode. 1, 2, 3... 1.
Section 1-1 CPM1A Features and Functions 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, CPM1A30CDR- /30CDT-D/30CDT1-D and CPM1A-40CDR- /40CDT-D/40CDT1-D PCs have 4 quick-response input terminals. (The same terminals are used for quick-response inputs and interrupt inputs.) Quick-response inputs have an internal buffer, so input signals shorter than one cycle can be detected.
Section 1-1 CPM1A Features and Functions The pulse output can be set to either the continuous mode, under which the output can be stopped by an instruction, or the single mode, under which the output can be stopped by the preset pulse rate (1 to 16,777,215). Stepping motor Stepping motor Control input Motor controller CW/CCW control output Pulse output (single-phase output) High-speed Counter CPM1A PCs have a high-speed counter that can be used in incremental mode or up/down mode.
Section 1-1 CPM1A Features and Functions Mode Input functions Input method Up/Down 00000: A-phase input 00001: B-phase input 00002: Z-phase input Incremental 00000: Count input 00001: See note. 00002: Reset input Count frequency Phase-difference, 2.5 kHz 4× inputs Count range –32767 to 32767 Individual inputs 0 to 65535 5.0 kHz Control methods Target value control: Up to 16 target values and interrupt subroutine numbers can be registered.
System Configuration 1-2 Section 1-2 System Configuration 1-2-1 CPU Unit and Expansion I/O Unit Configuration CPM1A CPU Units 10 I/O points CPM1A-10CDR- CPM1A-10CDT-D CPM1A-10CDT1-D Not possible to add Expansion I/O Units or Expansion Units.
System Configuration Section 1-2 There are three models of Expansion Units available: the Analog I/O Unit, CompoBus/S I/O Link Unit, and Temperature Sensor Units. Expansion Connector Expansion I/O Unit, Analog I/O Unit, CompoBus/S I/O Link Unit, or Temperature Sensor Unit) Expansion I/O Connecting Cable A PC with 100 I/O points (the maximum) can be assembled by connecting three Expansion I/O Units.
System Configuration Section 1-2 Expansion Units Analog I/O Unit Unit Analog I/O Unit 2 analog inputs (2 words) 1 analog output (1 word) Temperature Thermocouple Sensor Unit inputs Platinum resistance thermometer inputs CompoBus/S I/O Link Unit 8 inputs and 8 outputs Temperature Sensor Unit CompoBus/S I/O Link Unit Max. number Inputs of Units 3 Units max. 2 analog inputs Outputs 1 analog output CPM1A-MAD01 3 Units max. 2 inputs (K, J) --- CPM1A-TS001 1 Unit max. (See note.) 3 Units max.
System Configuration Connecting to a Programmable Terminal Section 1-2 The following diagram shows the possible methods for a connection between a CPM1A PC and an OMRON Programmable Terminal (a operator interface device). OMRON Programmable Terminal RS-232C Adapter CPM1A CPU Unit RS-232C Cable One-to-N Communications The following diagram shows how to connect up to 32 CPM1A PCs to an IBM PC/AT or compatible computer.
System Configuration Adapters and Cables Section 1-2 The following table lists some of the Adapters and Cables used in Host Link communications. Name RS-232C Adapter RS-422 Adapter Connecting Cables Link Adapter Usage Converts to peripheral port-level communications. Used to connect IBM PC/AT or compatible computers. (Cable length: 3.3 m) Converts between the RS-232C and RS-422 formats.
System Configuration Section 1-2 1-2-5 One-to-one NT Link Communications Using the NT Link, the CPM1A PC can connected to the Programmable Terminal (NT Link Interface) through an RS-232C Adapter. RS-232C Adapter OMRON Programmable Terminal CPM1A CPU Unit RS-232C Cable WX2Z-200T (2 m) WX2Z-500T (5 m) Name RS-232C Adapter Usage Model number Converts to peripheral port-level communications.
System Configuration Section 1-2 Programming Consoles A CQM1-PRO01-E or C200H-PRO27-E Programming Console can be connected to the CPM1A as shown in the following diagram. CPM1A CPU Unit C200H-CN222/422 CQM1-PRO01-E C200H-PRO27-E Name Model number CQM1 Programming Console (The Connecting Cable is included.
Revised Specifications 1-3 Section 1-3 Revised Specifications The following table shows the changes that have been made in product specifications beginning with lots produced in January 1998 (December 1997 for some models). Previous specifications New specifications Input indicator operation when an error occurs Item The input indicators will maintain the current status and will not change with the status of the input signal when a memory error, no END instruction error, or system error occurs.
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 2-2 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-2 Characteristics . . . . . . . . . . . . . . . . .
Section 2-1 Specifications 2-1 Specifications 2-1-1 General Specifications Item CPM1A-10CDR- CPM1A-20CDR- CPM1A-30CDR- CPM1A-40CDR- CPM1A-10CDT-D CPM1A-20CDT-D CPM1A-30CDT-D CPM1A-40CDT-D CPM1A-10CDT1-D CPM1A-20CDT1-D CPM1A-30CDT1-D CPM1A-40CDT1-D Supply voltage AC type DC type Operating AC type voltage range DC type Power AC type consumption DC type Inrush current External power Supply voltage supply (AC type only) Output capacity (see note) 100 to 240 VAC, 50/60 Hz 24 VDC 85 to 264 VAC 20.
Section 2-1 Specifications 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 Control method Stored program method I/O control method Cyclic scan with direct output; immediate refresh processing Programming language Ladder diagram Instruction length 1 step per instruction, 1 to 5 words per instruction Types of instructions Basic instructions: Special instructions: Basic instructions: Speci
Section 2-1 Specifications Note Memory Backup 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. 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.
Section 2-1 Specifications Either switch the CPM1A to RUN or MONITOR mode, or turn off and on power to the CPM1A after changing from a Programming Device any data that is backed up in flash memory. This data includes the user program, read-only DM area (DM 6144 to DM 6599), and the PC Setup (DM 6600 to DM 6655). 2-1-3 I/O Specifications CPU Unit Input Specifications Item Specification +10%/ Input voltage 24 VDC Input impedance IN00000 to IN00002: 2 kΩ; other inputs: 4.
Section 2-1 Specifications Differential Phase Mode (2.5 kHz Max.) IN00000 (A phase), IN00001 (B phase) 400 µs min. ON Phase A OFF ON Phase B OFF T1 T2 T3 T4 T1 T2 T3 T4 : 90 µs min. IN00002 (Z phase) 100 µs min. ON Phase Z OFF 500 µs min. When IN00003 through IN00006 are used as interrupt inputs, the delay is 0.3 ms max. The delay is measured from the time that the input goes ON until the interrupt subroutine is executed.
Section 2-1 Specifications CPU Unit and Expansion I/O Unit Output Specifications Relay Output Item Specification Max. switching capacity 2 A, 250 VAC (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 VAC, cos φ=0.4) Mechanical: 10,000,000 operations ON delay 15 ms max. OFF delay 15 ms max.
Section 2-1 Specifications Transistor Output (Sink Type) Specification Item CPM1A-10CDT-D CPM1A-20CDT-D CPM1A-30CDT-D CPM1A-40CDT-D /-20EDT /-8ET Leakage current 24 VDC +10%/–15%, 0.3 A/point (see note) 0.9 A/Unit 0.9 A/common 0.9 A/common 1.8 A/Unit 2.7 A/Unit 0.1 mA max. Residual voltage 1.5 V max. ON delay 0.1 ms max. OFF delay OUT01000/01001: Fuse 1.25 A/common (cannot be replaced by the user) Max. switching capacity 0.9 A/common 3.6 A/Unit 0.2 ms max. (load current: 100 to 300 mA) 0.
Section 2-1 Specifications Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse will not be output. On the other hand, if the load current is above 0.2 A, the transistor may generate heat and components may be damaged. ! Caution Do not apply voltage in excess of the maximum switching capacity to an output terminal.
Unit Components 2-2 Section 2-2 Unit Components 2-2-1 CPU Unit Components CPM1A-10CDR- /10CDT-D/10CDT1-D: 10 I/O Terminals 2. Functional earth terminal (AC power supplies only) 1. Power supply input terminals 3. Protective earth terminal 5. Input terminals 8. Input indicators 10. Analog controls 11. Peripheral Port 7. PC status indicators 9. Output indicators 4. Power supply output terminals (AC power supplies only) 6.
Unit Components Section 2-2 CPU Unit Component Descriptions 1, 2, 3... 1. Power Supply Input Terminals Connect the power supply (100 to 240 VAC or 24 VDC) to these terminals. 2. Functional Earth Terminal ( ) Be sure to ground this terminal (AC-type PCs only) to enhance immunity to noise and reduce the risk of electric shock. 3. Protective Earth Terminal ( ) Be sure to ground this terminal to reduce the risk of electric shock. 4.
Unit Components Section 2-2 2-2-2 Expansion I/O Unit Components Expansion I/O Unit with 20 I/O Terminals 1. Input terminals 3. Input indicators 6. Expansion connector 4. Output indicators 5. Expansion I/O Unit Connecting Cable 2. Output terminals Expansion I/O Unit with 8 Input Terminals 1. Input terminals 3. Input indicators 6. Expansion connector 5. Expansion I/O Unit Connecting Cable 1. Input terminals Expansion I/O Unit with 8 Output Terminals 2. Output terminals 4. Output indicators 6.
Unit Components Section 2-2 ! Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being supplied in order to prevent any malfunction due to static electricity. 6. Expansion Connector Connects to another Expansion Unit (Expansion I/O Unit, Analog I/O Unit, or CompoBus/S I/O Link Unit). Up to 3 Expansion Units can be connected to a CPU Unit. 2-2-3 Analog I/O Unit Components 3. Expansion connector 2. Expansion I/O Unit Connecting Cable 1. Analog I/O terminals 1, 2, 3... 1.
Unit Components Section 2-2 2. DIP Switch Sets the temperature unit (°C or °F), and the number of decimal places used. ON 1 2 Number of decimal places used OFF: Normal (0 or 1); ON: 2 Temperature unit OFF: °C; ON: °F 3. Rotary Switch Sets the temperature range. Set the range in accordance with the specifications of the temperature sensor used. CPM1A-TS001/002 Set value 0 1 2 3 4 to F Thermocouple K J --- Range (°C) –200 to 1,300 0.0 to 500.0 –100 to 850 0.0 to 400.
Unit Components Section 2-2 2-2-5 CompoBus/S I/O Link Unit Components 2. DIP switch 3. LED indicators 5. Expansion connector 1. CompoBus/S terminals 4. Expansion I/O Unit Connecting Cable 4 8 DR 2 1 NODE ADDRESS HOLD 1, 2, 3... ON 1. CompoBus/S Terminals Include the CompoBus/S communications data high/low terminal, communications power supply +/– terminals, and NC terminals. Power is supplied to the Unit internally, so the power supply terminals can be used as relay terminals. 2.
Unit Components Section 2-2 2-2-6 Communications Adapter Components RS-232C Adapter 1. Mode Setting Switch 3. RS-232C port RS-232C Port Pin Allocation FG 1 6 DCD SD 2 7 DSR RD 3 8 DTR RTS 4 2. Connector 1, 2, 3... 9 SG CTS 5 1. Mode Setting Switch Set this switch to “HOST” when using a Host Link system to connect to a personal computer. Set this switch to “NT” when connecting to a Programmable Terminal or PC for 1:1 PC Link. 2. Connector Connects to the CPU Unit’s Peripheral Port. 3.
SECTION 3 Installation and Wiring This section provides information on installing and wiring a CPM1A PC. Be sure to follow the directions and precautions in this section when installing the CPM1A in a panel or cabinet, wiring the power supply, or wiring I/O. 3-1 3-2 3-3 3-4 Design Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-1 Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 3-1 Design Precautions 3-1 Design Precautions Observe the following precautions when designing a system incorporating a CPM1A PC. 3-1-1 Power Supply Wiring Separate the power supply wiring from the control system, CPM1A system, and DC I/O system wiring. Separate the control circuits that supply power to the main Unit from the main circuits using dedicated circuit protectors and fuses.
Selecting an Installation Site Section 3-2 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 operate. A momentary power failure lasting longer than 10 ms with an AC power supply and 2 ms with a DC power supply may or may not be detected in an uncertain area. When a momentary power failure is detected, the CPU Unit stops operating and the output goes OFF.
Selecting an Installation Site Section 3-2 Note Provide proper shielding when installing in the following locations: • Locations subject to static electricity or other sources of noise. • Locations subject to strong electromagnetic fields. • Locations subject to possible exposure to radiation. • Locations near to power supply lines. 3-2-2 Panel/Cabinet Installation Consider PC operation, maintenance, and surrounding conditions when installing the CPM1A in a panel or cabinet.
Installing the CPM1A 3-3 Section 3-3 Installing the CPM1A 3-3-1 CPM1A Orientation The CPM1A must be installed in the position shown below to ensure adequate cooling. Correct Do not install the CPM1A in either of the following positions. Incorrect Incorrect 3-3-2 CPM1A Installation The CPM1A can be installed on a horizontal surface or on a DIN track. Surface Installation Use the following pattern when installing a CPM1A on a horizontal surface.
Installing the CPM1A Section 3-3 CPM1A-30CDR- /30CDT-D/30CDT1-D and CPM1A-40CDR- /40CDT-D/40CDT1-D Four, M4 holes 100 mm CPU Unit 8 mm A Use M4 dia. x 15 screws. The width (A) between the mounting holes depends on the CPM1A model.
Installing the CPM1A Section 3-3 Installation Lower the CPM1A so that the notch on the back of the PC catches the top of the DIN Track. Push the PC forward until the lock snaps into place. Removal Pry the lock down with a standard screwdriver and pivot the PC upward to remove it. Screwdriver 3-3-3 Connecting an Expansion I/O Unit Up to 3 Expansion I/O Units can be connected to the CPM1A-30CDR- / 30CDT-D/30CDT1-D and CPM1A-40CDR- /40CDT-D/40CDT1-D CPU Units.
Installing the CPM1A Section 3-3 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.
Wiring and Connections 3-4 Section 3-4 Wiring and Connections This section provides basic information on wiring the Power Supply Unit and Expansion I/O Units, and on connecting Peripheral Devices. 3-4-1 General Precautions for Wiring ! Caution Attach the dustproof label provided before wiring. If scraps of wire get inside the Unit, malfunction will result. After completing wiring be sure to remove the label to avoid overheating.
Wiring and Connections Section 3-4 Floor Ducts Leave at least 200 mm between the wiring and the top of the duct, as shown in the following diagram. CPM1A I/O lines Control cables and CPM1A power lines Metal plate (iron) Power cables 200 mm min. Conduits Separate the CPM1A I/O lines, power and control lines, and power cables, as shown in the following diagram.
Wiring and Connections ! Caution Section 3-4 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 use a solid wire (instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Bare stranded wires connected directly to the terminal can cause a fire.
Wiring and Connections Section 3-4 Use M3 terminal screws. Connect a crimp connector with a ring terminal to each terminal screw. Ring terminal 6.2 mm max. ! Caution 24-VDC Power Supply Tighten 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. Use a DC power supply with sufficient capacity and low ripple.
Wiring and Connections Section 3-4 3-4-4 Input Wiring Wire the inputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect to the PC. Do not apply voltages exceeding the rated input voltage to the input terminals. The power supply output terminals can be used with AC-type CPU Units. Input Configuration The following diagrams show the input configurations.
Wiring and Connections Section 3-4 CPM1A-8ED Input devices 24 VDC COM 01 03 00 02 04 06 COM 05 07 Input devices Note Although the COM terminals are internally connected, be sure to wire them externally as well.
Wiring and Connections Section 3-4 Input Wiring Example An AC-type CPU Unit is shown. DC-type CPU Units don’t have power supply outputs. Input devices COM COM 01 03 02 00 05 04 07 06 09 08 11 01 10 0 CH 03 02 00 1 CH 10 CH + 24 VDC at 0.
Wiring and Connections Input Devices Section 3-4 The following table shows how to connect various input devices. Device Relay output Circuit diagram Relay IN 5 mA/12 mA CPM1A COM (+) NPN open collector Sensor + Sensor power supply Output IN CPM1A 5 mA/12 mA COM (+) 0V Use the same power supply for the input and sensor.
Wiring and Connections Section 3-4 Leakage Current (24 VDC) A leakage current can cause false inputs when using 2-wire sensors (proximity switches or photoelectric switches) or limit switches with LEDs. False inputs won’t occur if the leakage current is less than 1.0 mA (2.5 mA for IN00000 to IN00002), but if the leakage current exceeds these values, insert a bleeder resistor in the circuit to reduce the input impedance, as shown in the following diagram.
Wiring and Connections Section 3-4 3-4-5 Output Wiring Relay Output Wiring Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. Use crimp connectors or solid wire (not stranded wire) to connect to the PC. The power supply output terminals can be used with AC-type CPU Units. • Always use solid wire or attach crimp connectors if a stranded wire is used. • Do not connect loads or apply voltages exceeding the maximum switching capacity to the output terminals.
Wiring and Connections Section 3-4 Output Configurations 10 CH 01 02 Common 04 Load 03 05 COM Common 11 CH Common 00 Load Load Common 02 01 03 Load COM Common 11 CH Common Common 04 Load Load Common 05 COM Load 03 07 06 Load Load 02 01 Load 00 COM Load Load 07 06 Load 05 COM Load Load 04 03 Load Load 02 COM Load 01 COM Load 00 Load 06 Load COM 10 CH COM 07 Load 05 Load 03 Load COM 04 Load 02 Load COM Load COM 01 Load 00 CPM1A-40CDR- Com
Wiring and Connections Section 3-4 COM 01 00 54 Load 07 Load 06 05 Load Load Load 03 02 04 COM 250 VAC/ 24 VDC Load Load 250 VAC/ 24 VDC Load CPM1A-8ER
Wiring and Connections Section 3-4 Transistor Output Wiring (Sink Type) Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. • Don’t exceed the output capacity or the maximum common current. Refer to 2-1-3 I/O Specifications for details. Item Specification Output capacity 300 mA (24 VDC) Max. common capacity 0.
Wiring and Connections Section 3-4 COM 01 00 ! Caution 56 Load 07 Load 06 05 Load Load Load 03 02 04 COM 24 VDC+10%/–15% Load Load 24 VDC+10%/–15% Load CPM1A-8ET Double-check the polarity of the power supply for the load before turning it on.
Wiring and Connections Section 3-4 Transistor Output Wiring (Source Type) Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in the following diagrams. • Always use solid wire or attach crimp connectors if a stranded wire is used. • Don’t exceed the output capacity or the maximum common current. Refer to 2-1-3 I/O Specifications for details. Item Specification Output capacity 300 mA (24 VDC) Max. common capacity 0.
Wiring and Connections Section 3-4 COM 01 00 ! Caution Output Wiring Precautions Load 07 Load 06 05 Load Load Load 03 02 04 COM 24 VDC+10%/–15% Load 24 VDC+10%/–15% Load Load CPM1A-8ET1 Double-check the polarity of the power supply for the load before turning it on. Observe the following precautions to protect the PC’s internal components.
Wiring and Connections Section 3-4 Inductive Loads When connecting an inductive load to an input, connect a surge protector or diode in parallel with the load.
Wiring and Connections Section 3-4 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) Connecting 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.
Wiring and Connections Section 3-4 The following diagram shows the wiring in the RS-232C cable used to connect a CPM1A to a host computer or Programmable Terminal. IBM PC/AT compatible computer or Programmable Terminal (9-pin) RS-232C Adapter Signal Pin No. Pin No. Signal CD 1 1/Cover FG RD 2 2 SD SD 3 3 RD ER 4 4 RS SG 5 5 CS DR 6 6 – RS 7 7 – CS 8 8 – CI 9 9 SG The type of connector used will vary depending on the PT.
Wiring and Connections Section 3-4 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 connections, connect the SG, RDA, RDB, SDA, and SDB terminals to the same terminals in the other Adapter. 3G2A9-AL004-E Link Adapter 9-pin D-sub Connector Pin no.
Wiring and Connections Section 3-4 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).
Wiring and Connections Section 3-4 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 Terminal. OMRON Programmable Terminal CPM1A CPU Unit RS-232C Cable RS-232C Adapter Note The 1:1 NT Link can only be used when the RS-232C Adapter (CPM1-CIF01) is connected. Set the DIP switch of the RS-232C Adapter (CPM1-CIF01) to the NT (bottom) side.
Wiring and Connections Section 3-4 3-4-10 CompoBus/S I/O Link Connections A CompoBus/S I/O Link can be used to create an I/O link (remote I/O) of 8 input points and 8 output points with a CompoBus/S Master Unit or SRM1 PC. The connection is made through a CompoBus/S I/O Link Unit. From the standpoint of the CPM1A CPU Unit, the area allocated to the CompoBus/S I/O Link Unit can be treated just like the area allocated to an Expansion I/O Unit.
SECTION 4 Using Peripheral Devices This section outlines the operations possible with the SYSMAC Support Software (SSS) and the Programming Consoles. Actual SSS operating procedures are provided in the SSS Operation Manuals: Basics and C-series PCs. Programming Console connection and operating procedures are provided in this section. 4-1 4-2 4-3 4-4 Support Software Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1-1 SSS System Setup . . . . . .
Support Software Capabilities 4-1 Section 4-1 Support Software Capabilities The 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 following tables provide only a brief introduction to the capabilities of the SSS.
Section 4-1 Support Software Capabilities Function code Online Editing 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 PRV 88 7SEG 63 CTBL 89 INT 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.
Section 4-1 Support Software Capabilities Group DM (data memory) Name Go To 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). Writes the same data to more than one data word in the system work area data memory area. Prints a specified range of DM words.
Section 4-1 Support Software Capabilities Group Utility Name Data Area Lists Change Addresses Print Lists EPROM/Memory Card Program Conversion Description Displays lists (such as used areas and cross-references) in accordance with the contents of the user program in the system work area. Globally changes bit and word addresses in the user program in the system work area. Prints lists, ladder diagrams, and mnemonics in accordance with the contents of the user program in the system work area.
Section 4-1 Support Software Capabilities 4-1-4 Online Operations The following operations are possible when connected online to the PC. Group Monitoring Name Monitor Data Transfer Program Change Display DM I/O Table Online Edit Read Cycle Time Reads and displays the scan time of the PC. Clear Area Clears the PC data areas such as HR, CNT, AR, and DM (to zero). Search Searches for instructions (including specified operands). I/O Comments Searches for I/O comments.
Section 4-1 Support Software Capabilities 4-1-5 Offline and Online Operations The following operations are possible either online or offline from the PC. Group System Setup (see note) Name PC model PC Interface Description Specifies the model of PC that is being programmed or that is connected to the computer.
Using a Programming Console 4-2 Section 4-2 Using a Programming Console This section provides information on connecting and using a Programming Console. Refer to 5-4 Programming Console Operation Errors for details on errors that might occur during Programming Console operations. 4-2-1 Compatible Programming Consoles There are two Programming Consoles that can be used with the CPM1A: The CQM1-PRO01-E and the C200H-PRO27-E. The key functions for these Programming Consoles are identical.
Using a Programming Console Different Keys Section 4-2 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 PLAY SET SET REC RESET RESET Note To specify the AR area, use SHIFT and HR Keys for the C200H-PRO27-E and use SHIFT and AR/HR Keys for the CQM1-PRO01-E. A shift symbol will be displayed in the upper-right corner of the screen when the Shift Key is pressed.
Using a Programming Console Section 4-2 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 (, , or ) will appear on the Programming Console screen. • No key operations can be performed while the mode display is displayed on the Programming Console screen. Press CLR to clear the display so that key operations can be performed.
Using a Programming Console Startup Operating Mode Section 4-2 The operating mode of the CPM1A when the power is turned ON depends upon the PC Setup setting in DM 6600 and the Programming Console’s mode switch setting if the Programming Console is connected. PC Setup setting (DM 6600) 0000 0200 Programming Console not connected RUN mode if no Programming Device is connected. PROGRAM mode if another Programming Device is connected.
Using a Programming Console Section 4-2 Allow at least 80 mm for the cable connector above the Programming Console. 37 15 At least 80 mm is required. Either connector may be used. About 70 mm is required. 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.
Using a Programming Console Section 4-2 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 Programming Console was connected. Ensure that the PC is in PROGRAM mode before you enter the password. When the password is entered, the PC will shift to the mode set on the mode switch, causing PC operation to begin if the mode is set to RUN or MONITOR.
Programming Console Operations 4-3 Section 4-3 Programming Console Operations 4-3-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.
Programming Console Operations Section 4-3 4-3-2 Clearing Memory This operation is used to clear all or part of the Program Memory and data areas, as well as the contents of the Programming Console’s memory. This operation is possible in PROGRAM mode only. RUN MONITOR No No PROGRAM OK Before beginning to program for the first time or when installing a new program, clear all areas.
Programming Console Operations Section 4-3 4-3-3 Reading/Clearing Error Messages This operation is used to display and clear error messages. It is possible to display and clear non-fatal errors and MESSAGE instruction messages in any mode, but fatal errors can be cleared in PROGRAM mode only. RUN MONITOR OK OK PROGRAM OK Before inputting a new program, any error messages recorded in memory should be cleared.
Programming Console Operations Key Sequence Section 4-3 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 BZ 2. Press the SHIFT and then the 1 Key to turn off the buzzer. SHIFT B 1 The buzzer will not sound when “BZ” is not displayed. 3.
Programming Console Operations Section 4-3 4-3-6 Entering or Editing Programs This operation is used enter or edit programs. It is possible in PROGRAM mode only. RUN MONITOR No No PROGRAM OK The same procedure is used to either input a program for the first time or to change a program that already exists. In either case, the current contents of Program Memory is overwritten. The program shown in the following diagram will be entered to demonstrate this operation. 00002 Address TIM 000 #0123 12.
Programming Console Operations Section 4-3 7. Input the second operand (123 to specify 12.3 seconds) and press the WRITE Key. The next program address will be displayed. B C 1 2 D 3 WRITE 00202READ NOP (000) If a mistake was made inputting the operand, press the Up Arrow Key to return to display the mistaken operand and input the operand again. Note a) Counters are input in the same basic way as timers except the CNT Key is pressed instead of the TIM Key.
Programming Console Operations Section 4-3 12. Input the next instruction (ADB). FUN F 5 A 0 00203 ADB (050) Press the WRITE Key to write the instruction to Program Memory. WRITE 00203 ADB DATA A 000 • Writing an Unsigned Decimal Number 13. The first operand is input as an unsigned integer. CONT SHIFT TR NOT # 00203 ADB DATA A #00000 Input the value of the operand from 0 to 65535.
Programming Console Operations Section 4-3 4-3-7 Instruction Search This operation is used to find occurrences of the specified instruction in the program and is possible in any mode. RUN MONITOR OK OK PROGRAM OK The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode. 1, 2, 3... 1. Press the CLR Key to bring up the initial display. 2. Input the address from which the search will begin and press the Down Arrow Key. It is not necessary to input leading zeroes.
Programming Console Operations Section 4-3 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. Indicates the address of END instruction. SRCH 00397CONT SRCH END (001)00.4KW Indicates the amount used by the user program in units of 0.1 Kwords. 4-3-9 Inserting and Deleting Instructions This operation is used to insert or delete instructions from the program. It is possible in PROGRAM mode only.
Programming Console Operations Section 4-3 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 automatically with the instruction. ↑ 00205 DELETE END AND 00105 After completing the insertion and deletion procedures, use the Up and Down Arrow Keys to scroll through the program and verify that it has been changed correctly, as shown in the following diagram.
Programming Console Operations Section 4-3 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 program again. Continue checking the program by pressing the SRCH Key again until all errors have been corrected.
Programming Console Operations Section 4-3 2. Input the word address of the desired word. SHIFT CH *DM *EM LR 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 previous or next word. The displayed word’s status can be changed using the Hexadecimal/BCD Data Modification operation.
Programming Console Operations Section 4-3 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 differentiation will be displayed and the buzzer will sound. It is possible in any mode. RUN OK 1, 2, 3... MONITOR OK PROGRAM OK 1. Monitor the status of the desired bit according to the procedure described in 4-3-11 Bit, Digit, Word Monitor.
Programming Console Operations Section 4-3 (Word monitor) 2. Press the SHIFT and then the MONTR Key to begin binary monitoring. The ON/OFF status of the selected word’s 16 bits will be shown along the bottom of the display. A 1 indicates a bit is on, and a 0 indicates it is off. SHIFT MONTR c010 MONTR 0000000000000000 Bit 15 Bit 00 The status of force-set bits is indicated by “S,” and the status of a force-reset bits is indicated by “R,” as shown below.
Programming Console Operations Section 4-3 3. Press the CLR Key to end 3-word monitoring and return to the normal monitoring display. The rightmost word on the 3-word monitor display will be monitored. CLR c200 89AB Note The operating mode can be changed without altering the current monitor display by holding down the SHIFT Key and then changing the operating mode.
Programming Console Operations Section 4-3 3. Press the CLR Key or the SHIFT and TR Keys to end the unsigned decimal display and return to normal monitoring. 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 consecutive words displayed in the Three-word Monitor operation. It is possible in MONITOR or PROGRAM mode only.
Programming Console Operations Inputting a New SV Constant Section 4-3 This operation can be used to input a new SV constant, as well as to change an SV from a constant to a word address designation and vice versa. The following examples show how to input a new SV constant and how to change the SV from a constant to an address. 1, 2, 3... 1. Press the CLR Key to bring up the initial display. 2. Display the desired timer or counter. TIM B 1 SRCH 00201SRCH TIM 001 3.
Programming Console Operations Section 4-3 Words SR 253 to SR 255 cannot be changed. ! Caution Before changing the contents of I/O memory, be sure that the changes will not cause equipment to operate unexpectedly or dangerously. In particular, take care when changing the status of output bits. The PC continues to refresh I/O bits even if the PC is in PROGRAM mode, so devices connected to output points on the CPU Unit or Expansion I/O Units may operate unexpectedly. 1, 2, 3... 1.
Programming Console Operations Section 4-3 b) Use the 1 and 0 Keys to change a bit’s status to on or off. The cursor will move one bit to the right after one of these keys is pressed. B 1 D0000 CHG? 1010010101010101 c) Use the SHIFT and SET and SHIFT and RESET Keys to force-set or force-reset a bit’s status. The cursor will move one bit to the right after one of these keys is pressed. The NOT Key will clear force-set or forcereset status. Note Bits in the DM Area cannot be force-set or force-reset. 4.
Programming Console Operations Section 4-3 4-3-22 Unsigned Decimal Data Modification This operation is used to change the decimal value of a word being monitored as unsigned decimal data, within a range of 0 to 65,535. A change into hexadecimal data is made automatically. Words SR 253 to SR 255 cannot be changed. RUN MONITOR No OK PROGRAM OK ! Caution Before changing the contents of I/O memory, be sure that the changes will not cause equipment to operate unexpectedly or dangerously.
Programming Console Operations Section 4-3 2. Press the SET Key to force the bit ON or press the RESET Key to force the bit OFF. SET 0000020000 ON^ ON The cursor in the lower left corner of the display indicates that the force set/ reset is in progress. Bit status will remain ON or OFF only as long as the key is held down; the original status will return one cycle after the key is released. 3.
Programming Example 1, 2, 3... Section 4-4 1. Monitor the status of the desired word(s) according to the procedure described in 4-3-11 Bit, Digit, Word Monitor. While the multiple addresses are being monitored, the leftmost word is subject to change. D0000D0001 4142 3031 (Multiple address monitor) 2. Press the TR Key to switch to ASCII display. The display will toggle between hexadecimal and ASCII displays each time the TR Key is pressed. Note TR D0000 D0001 "AB" 3031 TR D0000D0001 4142 3031 1.
Programming Example Section 4-4 3. Clear the CPM1A’s memory by pressing the CLR, SET, NOT, RESET, and then the MONTR Key. Press the CLR Key several times if memory errors are displayed. CLR SET NOT RESET MONTR 00000 00000MEMORY CLR? HR CNT DM 00000MEMORY CLR END HR CNT DM 4. Display and clear error messages by pressing the CLR, FUN, and then the MONTR Key. Continue pressing the MONTR Key until all error messages have been cleared. CLR FUN MONTR 00000 00000 FUN (0??) ERR/MSG CHK OK 5.
Programming Example Section 4-4 4-4-2 Example Program The following ladder program will be used to demonstrate how to write a program 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.
Programming Example Section 4-4 4-4-3 Programming Procedures The example program will be written to the CPM1A according to the mnemonic list in 4-4-2 Example Program. The procedure is performed beginning with the initial display. (Clear the memory before entering a new program.) Note If an error occurs while inputting the program, refer to 5-4 Programming Console Operation Errors for details on correcting the error.
Programming Example Section 4-4 3. Input the 1-second timer T001. TIM B 1 WRITE 00006 TIM 001 00006 TIM DATA #0000 4. Input the SV for T001 (#0010 = 1.0 s). B 1 A 0 WRITE (3) Inputting the Two-second Timer 00006 TIM DATA #0010 00007READ NOP (000) The following key operations are used to input the 2-second timer. 1, 2, 3... LD 1. Input the normally open condition IR 20000. C 2 A 0 A 0 A 0 A 0 WRITE 00007 LD 20000 00008READ NOP (000) 2.
Programming Example Section 4-4 3. Input the normally closed condition IR 20000. LD C NOT 2 A 0 A 0 A 0 A 0 WRITE 00012 LD NOT 20000 00013READ NOP (000) 4. Input the counter 000. CNT A 0 WRITE 00013 CNT 000 00013 CNT DATA #0000 5. Input the SV for counter 000 (#0010 = 10 counts). B 1 A 0 WRITE 00013 CNT DATA #0010 00014READ NOP (000) (5) Inputting the Flicker Output 1, 2, 3... LD 1. Input the normally open condition IR 20000.
Programming Example Section 4-4 4-4-4 Checking the Program Check the program syntax in PROGRAM mode to make sure that the program has been input correctly. 1, 2, 3... 1. Press the CLR Key to bring up the initial display. CLR 00000 2. Press the SRCH Key. An input prompt will appear requesting the desired check level. SRCH 00000PROG CHK CHK LBL (0Ć2)? 3. Input the desired check level (0, 1, or 2). The program check will begin when the check level is input, and the first error found will be displayed.
SECTION 5 Test Runs and Error Processing This section describes procedures for test runs of CPM1A operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. 5-1 5-2 5-3 5-4 5-5 5-6 5-7 5-8 Initial System Checks and Test Run Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1-1 Initial System Checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Section 5-1 Initial System Checks and Test Run Procedure 5-1 Initial System Checks and Test Run Procedure 5-1-1 Initial System Checks Note Check the following items after setting up and wiring the CPM1A. Be sure to check the wiring and connections before performing a test run. Item Power supply and I/O connections Points to check Is the wiring correct? Are the terminals securely tightened? Are there any shorts between crimp connectors or wires? Refer to 3-4 Wiring and Connections for details.
Initial System Checks and Test Run Procedure Section 5-1 5-1-3 Flash Memory Precautions Observe the following precautions to protect the flash memory and ensure proper operation. 1, 2, 3... 1. If the power is turned off without changing the mode after having made changes in the read-only DM area (DM 6144 through DM 6599), or PC Setup (DM 6600 through DM 6655), the contents of changes will not be written to flash memory.
The CPM1A Cycle 5-2 Section 5-2 The CPM1A Cycle The overall flow of CPM1A operation is as shown in the following flowchart. The CPM1A is initialized internally when the power is turned on. If no errors are detected, the overseeing processes, program execution, I/O refreshing, and Peripheral Device servicing are executed consecutively (cyclically). The average cycle time can be monitor from a Peripheral Device.
Self-diagnosis Functions 5-3 Section 5-3 Self-diagnosis Functions The CPM1A is equipped with a variety of self-diagnosis functions to help identify and correct errors that might occur and reduce down time. PC errors are divided into 2 categories based on the severity of the errors. Fatal errors are more serious errors which stop CPM1A operation. Non-fatal errors are less serious and don’t stop CPM1A operation.
Self-diagnosis Functions Message Power interruption (no message) MEMORY ERR FALS No. None F1 NO END INST F0 I/O BUS ERR C0 I/O UNIT OVER E1 Section 5-3 Meaning and appropriate response Power has been interrupted for at least 10 ms (2 ms for DC power types.) Check power supply voltage and power lines. Try to power-up again. AR 1308 ON: An unspecified bit area exists in the user program. Check the program and correct errors. AR 1309 ON: An error has occurred in reading or writing flash memory.
Programming Errors Section 5-5 SEVERE FAILURE ALARM – FALS(07) FALS(07) is an instruction that causes a fatal error. The following will occur when an FALS(07) instruction is executed: 1, 2, 3... 1. Program execution will be stopped and outputs will be turned OFF. 2. The ERR/ALM indicator on the CPU Unit will be lit. 3. The instruction’s 2-digit BCD FALS number (01 to 99) will be written to SR 25300 to SR 25307. 4.
Programming Errors Section 5-5 Three levels of program checking are available. The desired level must be designated to indicate the type of errors that are to be detected. The following table provides the error types, displays, and explanations of all syntax errors. Check level 0 checks for type A, B, and C errors; check level 1, for type A and B errors; and check level 2, for type A errors only.
Troubleshooting Flowcharts 5-6 Section 5-6 Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Error PWR indicator lit? No Check power supply. (See page 118.) Yes RUN indicator lit? No Operation stopped. Check for fatal errors. (See page 119.) Yes ERR/ALM indicator flashing? No Check for non-fatal errors. (See page 120.) Yes Is I/O sequence normal? No Check I/O. (See page 121.
Troubleshooting Flowcharts Section 5-6 Power Supply Check PWR indicator not lit. Is power being supplied? No Connect power supply. Yes No Is voltage adequate? No Is PWR indicator lit? Yes Set supply voltage within acceptable limits. Yes Are there any loose terminal screws or broken wires? No Is PWR indicator lit? Yes Tighten screws or replace wires.
Troubleshooting Flowcharts Section 5-6 Fatal Error Check RUN indicator not lit. No Is the ERR/ALM indicator lit? Yes Yes Determine the cause of the error with a Peripheral Device. Is PC mode displayed on Peripheral Device? Is PC mode displayed on Peripheral Device? No No Turn the power supply OFF, and then ON again. Yes Is a fatal error displayed? Yes No Identify the error, eliminate its cause, and clear the error. Follow the Memory Error Check flowchart if a memory error has occurred.
Troubleshooting Flowcharts Section 5-6 Non-fatal Error Check ERR/ALM indicator flashing. Determine the cause of the error with a Peripheral Device. Is a non-fatal error indicated? Yes Identify the error, eliminate its cause, and clear the error. No Is the ERR/ALM indicator flashing? Not lit End Replace the CPU Unit.
Troubleshooting Flowcharts I/O Check Section 5-6 The I/O check flowchart is based on the following ladder diagram section. (LS1) 00002 (LS2) 00003 01003 SOL1 01003 SOL1 malfunction. Malfunction of SOL1 No Is the IR 01003 output indicator operating normally? Yes Check the voltage at the IR 01003 terminals. Wire correctly. Correct the short circuit or limit the connected load to the specification range Monitor the ON/OFF status of IR 01003 with a Peripheral Device. No Operation O.K.
Troubleshooting Flowcharts A Are the IR 00002 and IR 00003 input indicators operating normally? From previous page Section 5-6 No Yes Check the voltage at the IR 00002 and IR 00003 terminals. Check the voltage at the IR 00002 and IR 00003 terminals. Are the terminal screws loose? Yes No Operation O.K.? Operation O.K.? No Yes No Yes No Yes Check operation by using a dummy input signal to turn the input ON and OFF. Is input wiring correct? No Wire correctly.
Troubleshooting Flowcharts Section 5-6 Environmental Conditions Check Environmental conditions check No Consider using a fan or cooler. Is the ambient temperature above 0°C? Yes No Consider using a heater. Is the ambient humidity between 10% and 90%? No Consider using an air conditioner. Is the ambient temperature below 55°C? Yes Yes Is noise being controlled? No Yes Is the installation environment okay? No Install surge protectors or other noise-reducing equipment at noise sources.
Troubleshooting Flowcharts Section 5-6 Memory Error Check Memory error occurred. AR 1309 ON? Yes Replace the CPU Unit. Yes Check/correct data backed up by capacitor and clear error. No AR 1314 ON? No AR 1308 ON? Yes Check the program, correct any errors, and clear the error. No No AR 1310 to AR 1312 ON? No Yes Turned ON during startup? Yes Check the error indicated by the flag that is ON, correct settings as required, and write data to the flash memory. No Check the external environment.
Maintenance Inspections 5-7 Section 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 The main system components of a SYSMAC system are semiconductors, and it contains few components with limited lifetimes. Environmental conditions, however, can lead to electrical element deterioration, making regular maintenance necessary.
Handling Precautions 5-8 Section 5-8 Handling Precautions • Turn the power OFF before replacing the Unit. Note Before restarting operation, transfer the contents of the DM and HR areas to the CPU Unit that was changed and then start operation. • If a Unit is found to be faulty and is replaced, check the Unit again to ensure there is no error.
SECTION 6 Expansion Memory Unit This section describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and procedures to properly use the Unit. 6-1 6-2 6-3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1-1 Memory Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1-2 Precautions . . . . . . . . . . . . . . . . . . . . . . .
Section Handling 6-1 6-3 Overview The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for smallsize or micro PCs. Using the CPM1-EMU01-V1, simple on-site transfer of user programs and data memory between PCs is possible. Uploading Downloading EEPROM SYSMAC CPM1, CPM1A, CPM2A, CPM2C, CQM1, CQM1H, SRM1(-V2) Expansion Memory Unit Note The “PLC” in the “DOWNLOAD TO PLC” Button indicates PCs (Programmable Controllers).
Section Handling 6-2 6-3 Specifications and Nomenclature 6-2-1 Specifications Item Specifications Supported PCs Read/Write memory areas Connector CPM1, CPM1A, CPM2A, CPM2C, SRM1 (-V2), CQM1, CQM1H User program: 15.2 Kwords max. Data memory: DM 6144 to DM 6655 (Read-only DM and PC Setup) Expansion instructions: 18 instructions Connector compatible with CPM1, CPM1A, CPM2A, SRM1 (-V2), and CQM1 PCs. For CPM2C and CQM1H PCs, connect via CS1W-CN114 or CPM2C-CN111 Connecting Cable.
Section Handling LED Indicator 6-3 ERR (red) 6-3 CONNECT (green) OFF Meaning OFF Not connected to PC (power supply OFF). ON OFF Connected to a recognized PC. Blinking OFF Uploading/downloading data. ON Blinking Host link communications error, retry by user. OFF ON PC model and EEPROM data not compatible. OFF Blinking One of the following errors has occurred: An unrecognized PC is connected.
Section Handling Removing EEPROM 6-3 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 blinking green. CPM1, CPM1A, CPM2A, CQM1, and SRM1 (-V2) PCs When connecting to the CPM1, CPM1A, CPM2A, CQM1 or SRM1 (-V2),insert the connector into the peripheral port making sure that the connector is oriented correctly.
Section Handling Disconnecting 6-3 Press the levers on the top and bottom of the connector inwards to unlock the connector and pull out as shown in the following diagram. Note Do not attempt to remove the connector by pulling the cable. 6-3-3 Uploading Programs Ladder programs and the contents of data memory can be uploaded to the EEPROM using the following procedure. The buttons used will determine whether the contents of data memory are uploaded or not.
Section Handling 6-3 Operation Procedure Start Mount the EEPROM to the CPM1-EMU01-V1. Mount the EEPROM to the CPM1-EMU01-V1 before connecting to the PC. Connect the CPM1-EMU01-V1 to the PC’s peripheral port. Check the orientation of the connector before connecting the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is lit green. No Note If the indicator is not lit at all, lit red or See the note on the right. blinks red, uploading will not be possible.
Section Handling ! Caution Note If the PC is in RUN or MONITOR mode when downloading is started, it will automatically 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. 1. If the PC is in RUN or MONITOR mode, switch the PC mode to PROGRAM mode. 2. Confirm that the program or other data to be downloaded to the PC is compatible with the PC before downloading. 3.
Section Handling 6-3 Operation Procedure Start Mount the EEPROM to the CPM1-EMU01-V1. Mount the EEPROM to the CPM1-EMU01-V1 before downloading. Change the mode of the PC to PROGRAM mode. Confirm the safety of the system. Connect the CPM1-EMU01-V1 to the PC’s peripheral port. Confirm the orientation of the connector before connecting the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is lit green. No Note If the indicator is not lit at all, lit red or See the note on the right.
Appendix A Standard Models CPU Units Description CPU Units with 10 I/O points Input points Output points 6 points 4 points Power supply AC DC CPU Units with 20 I/O points 12 points 8 points AC DC CPU Units with 30 I/O points 18 points 12 points AC DC CPU Units with 40 I/O points 24 points 16 points AC DC Model number Relay output CPM1A10CDR-A CPM1A10CDR-D CPM1A20CDR-A CPM1A20CDR-D CPM1A30CDR-A CPM1A30CDR-D CPM1A40CDR-A CPM1A40CDR-D Transistor output Sink type Source type ----CPM1A10CDT-D
Appendix A Standard Models Temperature Sensor Units Description Temperature Sensor Unit Specifications Model number 2 thermocouple inputs: K, J 4 thermocouple inputs: K, J 2 platinum resistance thermometer inputs: Pt100 (100 Ω), JPt100 (100 Ω) 4 platinum resistance thermometer inputs: Pt100 (100 Ω), JPt100 (100 Ω) CPM1A-TS001 CPM1A-TS002 CPM1A-TS101 CPM1A-TS102 CompoBus/S I/O Link Unit Description CompoBus/S I/O Link Unit Specifications Model number Operates as a CompoBus/S Slave and provides 8 in
AppendixA Standard Models Peripheral Devices Name Programming Console Appearance 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 Connecting Cable, see below. C200H-CN222 Connects the C200H-PRO27-E to a peripheral port. C200H-CN422 2-m cable 4-m cable CX-Programmer WS02-CXPC1-E For MS-Windows 95/98 (CD-ROM) SYSMAC Support Software C500-ZL3AT1-E 3.
Appendix B Dimensions All dimensions are in millimeters.
Appendix B Dimensions CPM1A-40CDR- /40CDT-D/40CDT1-D CPU Unit CPU Unit with AC Power 90 CPU Unit with DC Power 150 50 CPM1A-20ED Expansion I/O Unit Four, 4.5 dia. CPM1A-8 Expansion I/O Unit Four, 4.5 dia.
Appendix B Dimensions CPM1A-MAD01 Analog I/O Unit Four, 4.5 dia. 100 ± 0.2 CPM1A-TS Temperature Sensor Unit 76±0.2 Four, 4.5 dia. CPM1A-SRT21 CompoBus/S I/O Link Unit Four, 4.5 dia.
Appendix B Dimensions CPM1-CIF01 RS-232C Adapter 30 21 56 50 90 81 205 CPM1-CIF11 RS-422 Adapter 30 21 90 81 205 144 61 50
Appendix B Dimensions Dimensions with Peripheral Devices Attached Approx. 90 Approx.
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 An input signal used to increment a counter when the signal changes from OFF to ON. address A number used to identify the location of data or programming instructions in memory. AND A logic operation whereby the result is true if and only if both premises are true.
Glossary bit designator An operand that is used to designate the bit or bits of a word to be used by an instruction. bit number A number that indicates the location of a bit within a word. Bit 00 is the rightmost (least-significant) bit; bit 15 is the leftmost (most-significant) bit. bit-control instruction An instruction that is used to control the status of an individual bit as opposed to the status of an entire word. block See logic block and instruction block.
Glossary Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out or the counter has reached its set value. condition A symbol placed on an instruction line to indicate an instruction that controls the execution condition for the terminal instruction. Each condition is assigned a bit in memory that determines its status. The status of the bit assigned to each condition determines the next execution condition.
Glossary data link An automatic data transmission operation that allows PCs or Units within PC to pass data back and forth via common data areas. data link area A common data area established through a data link. data movement instruction An instruction used to move data from one location in memory to another. The data in the original memory location is left unchanged. data sharing The process in which common data areas or common data words are created between two or more PCs.
Glossary and ‘distributed’ over the system. Distributed control is a concept basic to PC Systems. DM area A data area used to hold only word data. Words in the DM area cannot be accessed bit by bit. DM word A word in the DM area. downloading The process of transferring a program or data from a higher-level or host computer to a lower-level or slave computer. If a Programming Device is involved, the Programming Device is considered the host computer.
Glossary FA Factory automation. factory computer A general-purpose computer, usually quite similar to a business computer, that is used in automated factory control. FAL error An error generated from the user program by execution of an FAL(06) instruction. FALS error An error generated from the user program by execution of an FALS(07) instruction or an error generated by the system. fatal error An error that stops PC operation and requires correction before operation can continue.
Glossary I/O capacity The number of inputs and outputs that a PC is able to handle. This number ranges from around one hundred for smaller PCs to two thousand for the largest ones. I/O delay The delay in time from when a signal is sent to an output to when the status of the output is actually in effect or the delay in time from when the status of an input changes until the signal indicating the change in the status is received. I/O device A device connected to the I/O terminals on I/O Units.
Glossary instruction A direction given in the program that tells the PC of the action to be carried out, and the data to be used in carrying out the action. Instructions can be used to simply turn a bit ON or OFF, or they can perform much more complex actions, such as converting and/or transferring large blocks of data. instruction block A group of instructions that is logically related in a ladder-diagram program.
Glossary 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 connection created to data existing at another location (i.e., data links). load The processes of copying data either from an external device or from a storage area to an active portion of the system such as a display buffer. Also, an output device connected to the PC is called a load.
Glossary 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 output bit A bit in the IR area that is allocated to hold the status to be sent to an output device. output device An external device that receives signals from the PC System. output point The point at which an output leaves the PC System. Output points correspond physically to terminals or connector pins. output signal A signal being sent to an external device.
Glossary Programmable Controller A computerized device that can accept inputs from external devices and generate outputs to external devices according to a program held in memory. Programmable Controllers are used to automate control of external devices. Although single-unit Programmable Controllers are available, building-block Programmable Controllers are constructed from separate components.
Glossary 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 assuming that an error has occurred. Restart Bit A bit used to restart part of a PC. result word A word used to hold the results from the execution of an instruction.
Glossary 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 The process whereby the PC checks a connector or Unit to see if special processing is required. set The process of turning a bit or signal ON. set value The value from which a decrementing counter starts counting down or to which an incrementing counter counts up (i.e.
Glossary 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 specifying operands within acceptable parameters (e.g., specifying read-only bits as a destination), and mistakes in actual application of instructions (e.g., a call to a subroutine that does not exist).
Glossary unmasked bit A bit whose status is effective. See masked bit. unsigned binary A binary value that is stored in memory without any indication of whether it is positive or negative. unsigned decimal One-word hexadecimal values can be displayed at the Programming Console as decimal values from 0 to 65,535. uploading The process of transferring a program or data from a lower-level or slave computer to a higher-level or host computer.
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 CompoBus/S I/O Unit, standard model, 138 components Analog I/O Unit, 31 Communication Adapters, 34 CompoBus/S I/O Link Unit, 33 CPU Unit, 28 Expansion I/O Unit, 30 Temperature Sensor Unit, 31 computer 1:1 Host Link, 12 1:N Host Link, 13 connecting, 60 conduit installation, 44 A configuration, 10 Counter Mode, 6 Adapters, list of communications adapters, 14
Index errors communications, 113 error processing, 109 fatal, 113 identifying, 114 non-fatal, 113 programming, 115 Programming Console operations, 115 reading/clearing messages, Programming Console, 82 user-defined errors, 114 Expansion I/O Units, 2 available models, 11, 137 components, 30 connection, 41 standard models, 137 Expansion Memory Unit, 127 connections, 131 Expansion Units, available models, 12, 137 F–G FAL numbers, 113 FAL(06), 114 I/O terminals, IR bit allocation, 4 incremental mode, 8 indica
Index Mode Setting Switch, RS-232C Adapter, 34 P model numbers, 137 modifying binary data, Programming Console, 97 data, Programming Console, 95 hexadecimal/BCD data, Programming Console, 96 signed decimal data, Programming Console, 98 SV, Programming Console, 95 unsigned decimal data, Programming Console, 99 MONITOR mode description, 76 example test run, 107 monitoring 3-word monitor, Programming Console, 93–94 binary monitor, Programming Console, 92–93 differentiation monitor, Programming Console, 92 si
Index programs checking, check levels, 115 downloading, 133 entering and editing, Programming Console, 84 uploading, 132 proximity switches, preventing false inputs, 51 pulse output function, 2, 7 SSS, 68 See also SYSMAC Support Software offline and online operations, 73 offline operations, 69 online operations, 72 precautions, 68 restrictions, 68 System Setup, 68 status, monitoring, Programming Console, 90 SV, modifying, Programming Console, 95 Q–R quick-response inputs, 2, 7 relay outputs, connecting, 5
Index V vibration resistance, 20 voltage operating voltage range, 20 supply voltage, 20 voltage output, connecting, 50 W weight CPU Unit, 20 Expansion I/O Unit, 20 Expansion Unit, 20 wiring, 43 power supply, 45 167
Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W317-E1-5 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version. Revision code 1 Date April 1997 2 July 1997 Revised content Original production Corrections and addition of supplementary explanation. CPU Unit model numbers changed throughout the manual.