Table of Contents

Advertisement

Quick Links

SYSMAC
CPM1A-20CAR-A
CPM1A-32CAR-A
Programmable Controllers
Operation Manual
Catalog No. P12FAZ1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CPM1A-20CAR-A and is the answer not in the manual?

Questions and answers

Summary of Contents for Sysmac CPM1A-20CAR-A

  • Page 1 SYSMAC CPM1A-20CAR-A CPM1A-32CAR-A Programmable Controllers Operation Manual Catalog No. P12FAZ1...
  • Page 2 This manual describes the system configuration and installation of the CPM1A with AC Inputs and pro- vides a basic explanation of operating procedures for the Programming Consoles. It also introduces the capabilities of the SYSMAC Support Software (SSS). Read this manual first to acquaint yourself with the CPM1A with AC Inputs.
  • Page 4 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 dam- age to the product.
  • Page 6: Table Of Contents

    TABLE OF CONTENTS PRECAUTIONS ....... . . 1 Intended Audience .
  • Page 7 Wiring and Connections ..........3-4-1 General Precautions for Wiring .
  • Page 8 4-4-1 Preparatory Operations ......... . . 4-4-2 Example Program .
  • Page 10: Precautions

    PRECAUTIONS This section provides general precautions for using the Programmable Controller (PLC) and related devices. The information contained in this section is important for the safe and reliable application of the PLC. You must read this section and understand the information contained before attempting to set up or operate a PLC system. 1 Intended Audience .
  • Page 11: Intended Audience

    EC Directives Intended Audience This manual is intended for the following personnel, who must also have knowl- edge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing FA systems. • Personnel in charge of designing FA systems. •...
  • Page 12: Application Precautions

    Application Precautions • Locations subject to corrosive or flammable gases. • Locations subject to dust (especially iron dust) or salts. • Locations subject to shock or vibration. • Locations subject to exposure to water, oil, or chemicals. • Take appropriate and sufficient countermeasures when installing systems in the following locations.
  • Page 13 EC Directives • The user program and memory area data in the CPM1A are backed up either by an internal capacitor or in flash memory as shown in the following table. Backup method Data Internal capacitor Read/write DM area (DM 0000 to DM 0999, DM 1022, and DM 1023) Error log area (DM 1000 to DM 1021) HR area (HR 00 to HR 19)
  • Page 14 Application Precautions Failure to abide by the following precautions could lead to faulty operation or the Caution PLC or the system or could damage the PLC or PLC Units. Always heed these precautions. • Use the Units only with the power supplies and voltages specified in the opera- tion manuals.
  • Page 15: Ec Directives

    EC Directives The following precautions are necessary to ensure the general safety of the sys- Caution tem. Always heed these precautions. • Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes.
  • Page 16: Introduction

    SECTION 1 Introduction Thissection describesthe CPM1A’sspecial featuresand functionsand showsthe possiblesystem configurations.Refer to the Programming Manual (W228) for details on programming actual operation. CPM1A Features and Functions ......... . . 1-1-1 CPM1A Features .
  • Page 17: Cpm1A Features And Functions

    1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms. Flash memory provides memory backup without a battery. Low-maintenance Design The CPM1A-20CAR-A and CPM1A-32CAR-A CPU Units can handle 4 interrupt Input Interrupts inputs. In addition to normal input interrupts, the CPM1A has a counter mode that counts high-speed input signals and triggers interrupts at fixed count multi- ples.
  • Page 18: I/O Terminal And Ir Bit Allocation

    00200 to 00211 8 points: Outputs 01200 to 01207 12 points: Inputs 00300 to 00311 8 points: Outputs 01300 to 01307 12 points: Inputs 00400 to 00411 8 points: Outputs 01400 to 01407 Power supply CPM1A-20CAR-A CPM1A-32CAR-A Model number Relay output...
  • Page 19: Cpm1A Functions

    CPM1A Features and Functions Section 1-1 1-1-3 CPM1A Functions CPM1A PLCs have 2 variable-resistor adjustment knobs used to control analog Analog Setting Function 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).
  • Page 20 The following diagram shows the program execution when an interrupt occurs. Main program Input interrupt Interrupt program SBN00 PLC model Input bits Response time CPM1A-20CAR-A CPM1A-20CAR-A IR 00003 to IR 00006 IR 00003 to IR 00006 5 ms 5 ms CPM1A-32CAR-A (20 Hz in Counter Mode) Note When not using as interrupt input terminals, the input bits IR 00003 to IR 00006 can be used as normal input terminals.
  • Page 21 CPM1A Features and Functions Section 1-1 The CPM1A-20CAR-A and CPM1A-32CAR-A PLCs have 4 quick-response in- Quick-response Inputs put terminals. (The same terminals are used for quick-response inputs and inter- rupt inputs.) Quick-response inputs have an internal buffer, so input signals shorter than one cycle can be detected.
  • Page 22 CPM1A Features and Functions Section 1-1 CPM1A PLCs have a high-speed counter that can be used in incremental mode High-speed Counter or up/down mode. The high-speed counter can be combined with input inter- rupts to perform target value control or zone comparison control that isn’t af- fected by the PLC’s cycle time.
  • Page 23: System Configuration

    CPM1A-30CDT1-D 24 DC points 24 DC points 16 points 16 points CPM1A-40CDR-A CPM1A-40CDR-D CPM1A-40CDT-D CPM1A-40CDT1-D 12 AC points 8 points CPM1A-20CAR-A 20 AC points 12 points CPM1A-32CAR-A CPM1A Expansion I/O Module Number of Number of Inputs Inputs Outputs Outputs Model number...
  • Page 24: Host Link Communications

    System Configuration Section 1-2 1-2-2 Host Link Communications Host Link communications which allows up to 32 OMRON PLCs to be controlled from a host computer. The computer-PLC connections can be made connectors such as RS-232C and RS-422 Adapters. The following diagram shows the possible methods for a 1-to-1 connection be- 1-to-1 Communications tween a CPM1A and an IBM PC/AT or compatible computer.
  • Page 25 System Configuration Section 1-2 The following diagram shows how to connect up to 32 CPM1A PLCs to an IBM 1-to-n Communications PC/AT or compatible computer. IBM PC/AT or compatible CPM1-CIF11 RS-422 CPM1A CPU Units RS-232C Cable Adapters RS-422 Cable 3G2A9-AL004-E Link Adapter OMRON CPM1A PLCs (32 PLCs max.)
  • Page 26: 1-To-1 Communications Links

    System Configuration Section 1-2 1-2-3 1-to-1 Communications Links A data link can be created with a data area in another CPM1A, CQM1, CPM1, SRM1 or C200HS PLC or a C200HX/HE/HG PLC. An RS-232C Adapter is used to make the 1-to-1 connection. RS-232C Adapters CPM1A CPU Units RS-232C Cable...
  • Page 27: Nt Link Communications

    1-2-5 Peripheral Device Connections CPM1A programs can be created or edited with a Programming Console or a personal computer running SYSMAC Support Software (SSS). A CQM1-PRO01-E or C200H-PRO27-E Programming Console can be con- Programming Consoles nected to the CPM1A as shown in the following diagram.
  • Page 28 System Configuration Section 1-2 An IBM PC/AT or compatible personal computer running SSS or the SYSMAC- SYSMAC Support Software and SYSMAC-CPT Support CPT Support Software can be connected to the CPM1A as shown in the follow- Software ing diagram. Refer to NO TAG Host Link Connections for a diagram showing the standard wiring for the RS-232C cable.
  • Page 29 System Configuration Section 1-2...
  • Page 30: Unit Specifications And Components

    SECTION 2 Unit Specifications and Components This section provides the technical specifications of the Modules that go together to create a CPM1A PLC and describesthe main components of the Modules. Specifications ............2-1-1 General Specifications .
  • Page 31: Specifications

    Specifications Section 2-1 Specifications 2-1-1 General Specifications Item CPM1A -20CAR - - A CPM1A -32CAR -A Supply voltage Supply voltage AC type 100 to 240 VAC, 50/60 Hz DC type Operating voltage range Operating voltage range AC type 85 to 264 VAC DC type Power consumption Power consumption...
  • Page 32: Characteristics

    Specifications Section 2-1 2-1-2 Characteristics Item CPM1A -20CAR - - A CPM1A -32CAR - - A Instruction length 1 step per instruction, 1 to 5 words per instruction Types of instructions Basic instructions: Special instructions: 77 types, 135 instructions Execution time Basic instructions: 0.72 to 16.2 ms Special instructions: 16.3 ms (MOV instruction)
  • Page 33 2. The input interrupt response time is 5 ms max. for AC inputs. 3. Expansion capability is not guaranteed with the CPM1A-20CAR-A. The user program and memory area data in the CPM1A are backed up either by Memory Backup an internal capacitor or in flash memory as shown in the following table.
  • Page 34: I/O Specifications

    17 kW AC @ 60Hz, 69kW DC Input current 7.2 mA AC, 1.7 mA DC @ 120 V typical for: CPM1A-20CAR-A, Inputs 00 to 11 CPM1A-32CAR-A, Ch 0 Inputs 00 to 11 and CPM1A-32CAR-A, Ch 1 Inputs 00 to 03 1.9 mA AC or DC @ 120 V typical for:...
  • Page 35 Specifications Section 2-1 The minimum delay is as follows. Increment Mode (20 Hz Max.) 100 ms min. min. A-phase 50 ms min. Differential Phase Mode (20 Hz Max.) IN00000 (A phase), IN00001 (B phase) 100 ms min. A-phase B-phase : 20 ms min. IN00002 (Z phase) 5 ms min.
  • Page 36 Specifications Section 2-1 Expansion I/O Module DC-Input Specifications Item Specification +10% Input voltage 24 VDC - - -15% Input impedance 4.7 kW Input current 5 mA typical ON voltage 14.4 VDC min. OFF voltage 5.0 VDC max. ON delay 1 to 128 ms max. Default: 8 ms (see note.) OFF delay 1 to 128 ms max.
  • Page 37 Specifications Section 2-1 Transistor Output (Sink Type) Item Item Specification CPM1A -10CDT-D CPM1A -20CDT-D CPM1A -30CDT-D CPM1A -40CDT-D CPM1A -20EDT +10% Max. switching Max. switching 24 VDC , 0.3 A/point (see note) - - -15% capacity capacity 0.9 A/Unit 0.9 A/common 0.9 A/common 0.9 A/common 0.9 A/common...
  • Page 38: Communications Adapter Specifications

    Specifications Section 2-1 Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current is below 0.1 A, the ON-to-OFF response time will become longer and high-speed pulse will not be output.
  • Page 39: Unit Components

    7. PLC status indicators 11. Peripheral Port 9. Output indicators 4. Power supply output terminals 6. Output terminals (AC power supplies only) CPM1A-20CAR-A: 20 I/O Terminals 12. Expansion I/O Module connector CPM1A-32CAR-A: 32 I/O Terminals 12. Expansion I/O Module connector...
  • Page 40 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 PLCs only) to enhance immunity to noise and reduce the risk of electric shock.
  • Page 41: Expansion I/O Module Components

    Unit Components Section 2-2 2-2-2 Expansion I/O Module Components 1. Input terminals 3. Input indicators 6. Expansion connector 4. Output indicators 5. Expansion I/O Module Connecting Cable 2. Output terminals 1, 2, 3... 1. Input Terminals Connect to the input circuits. 2.
  • Page 42: Communications Adapter Components

    Unit Components Section 2-2 2-2-3 Communications Adapter Components RS-232C Adapter 1. Mode Setting Switch 3. RS-232C port RS-232C Port Pin Allocation 2. Connector 1. Mode Setting Switch 1, 2, 3... Set this switch to “HOST” when using a Host Link system to connect to a personal computer.
  • Page 43 Unit Components Section 2-2...
  • Page 44: Installation And Wiring

    SECTION 3 Installation and Wiring Thissection providesinformation on installing and wiring aCPM1A PLC.Be sureto followthe directionsand precautionsin this section when installing the CPM1A in a panel or cabinet, wiring the power supply, or wiring I/O. Design Precautions ........... . . 3-1-1 Power Supply Wiring .
  • Page 45: Design Precautions

    Design Precautions Section 3-1 Design Precautions Observe the following precautions when designing a system incorporating a CPM1A PLC. 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.
  • Page 46: Selecting An Installation Site

    Selecting an Installation Site Section 3-2 Automatic Restart When the supply voltage recovers to a value higher than 85% of the rated value, operations resumes automatically. Under Over 10 ms (2 ms) Duration of power interrupt (Below 85% of rated voltage) Normal operation Operation may stop.
  • Page 47: Panel/Cabinet Installation

    Selecting an Installation Site Section 1-2 1-2-2 Panel/Cabinet Installation Consider PLC operation, maintenance, and surrounding conditions when instal- ling the CPM1A in a panel or cabinet. The operating temperature range for the CPM1A is 0_C to 55_C. Be sure that Overheating there is adequate ventilation for cooling.
  • Page 48: Installing The Cpm1A

    Installing the CPM1A Section 1-3 Installing the CPM1A 1-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 1-3-2 CPM1A Installation The CPM1A can be installed on a horizontal surface or on a DIN track.
  • Page 49 Use M4 dia. x 15 screws. The width (A) between the mounting holes depends on the CPM1A model. Model number Width (A) CPM1A-30CDR-j/30CDT-D/30CDT1-D CPU Unit 120 mm CPM1A-20CAR-A CPU Unit CPM1A-40CDR-j/40CDT-D/40CDT1-D CPU Unit 140 mm CPM1A-32CAR-A CPU Unit Expansion I/O Module 76 mm Use the following pattern when installing a CPM1A PLC, Expansion I/O Module, and Communications Adapter on a horizontal surface.
  • Page 50: Connecting An Expansion I/O Module

    Installing the CPM1A Section 3-3 Removal Pry the lock down with a standard screwdriver and pivot the PLC upward to re- move it. Screwdriver 3-3-3 Connecting an Expansion I/O Module Up to 3 Expansion I/O Modules can be connected to the CPM1A-32CAR-A CPU Unit.
  • Page 51: Wiring And Connections

    Wiring and Connections Section 3-4 3. Replace the cover on the CPU Unit’s or the Expansion I/O Module’s Expan- sion I/O Module Connector. Wiring and Connections This section provides basic information on wiring the Power Supply Unit and Ex- pansion I/O Modules, and on connecting Peripheral Devices. 3-4-1 General Precautions for Wiring Attach the dustproof label provided before wiring.
  • Page 52 Wiring and Connections Section 1-4 Do not run CPM1A I/O lines in the same duct or conduit as power lines. I/O Line Noise Hanging Ducts Leave at least 300 mm between the power cables and the I/O or control wiring, as shown in the following diagram.
  • Page 53: Ground Wiring

    Wiring and Connections Section 1-4 1-4-2 Ground Wiring Be sure to ground the earth terminal to less than 100 W in order to protect against Grounding electric shock and incorrect operation from electrical noise. Be sure to use a wire of at least 1.25 mm (16 AWG) for grounding.
  • Page 54 Wiring and Connections Section 3-4 Considering the possibility of voltage drops and the allowable current, be sure to use thick power lines. Twist the wires. The cross-sectional area of each wire must be 1.25 mm minimum (16 AWG). Isolating transformer Breaker power supply...
  • Page 55: Input Wiring

    Wiring and Connections Section 3-4 Use M3 terminal screws and tighten the screws securely (0.5 N S m). Fork terminal Ring terminal 6.2 mm max. 6.2 mm max. 3-4-4 Input Wiring Wire the inputs to the CPM1A’s CPU Unit and Expansion I/O Module as shown in the following diagrams.
  • Page 56 Wiring and Connections Section 1-4 The following table shows how to connect various input devices. Input Devices Device Circuit diagram AC Load AC Load CPM1A Relay output Relay CPM1A COM (+) NPN open collector Sensor Sensor power supply Output CPM1A COM (+) NPN current output Usethesamepower supply for...
  • Page 57 Wiring and Connections Section 1-4 A leakage current can cause false inputs when using 2-wire sensors (proximity Leakage Current (24 VDC) switches or photoelectric switches) or limit switches with LEDs. False inputs won’t occur if the leakage current is less than .75 mA, but if the leak- age current exceeds these values, insert a bleeder resistor in the circuit to re- duce the input impedance, as shown in the following diagram.
  • Page 58: Output Wiring

    Specification Output capacity 2 A (250 VAC or 24 VDC) Max. common capacity 2 A/output Max. unit capacity CPM1A-20CAR-A: 16 A CPM1A-32CAR-A: 20 A Output Configurations CPM1A-20CAR-A Outputs may be wired individually or on a common as shown. Commons CPM1A-32CAR-A Outputs may be wired individually or on a common as shown.
  • Page 59 Wiring and Connections Section 3-4 Observe the following precautions to protect the PLC’s internal components. Output Wiring Precautions Output Short Protection The output or internal circuitry might be damaged when the load connected to an output is short-circuited, so it is recommended to install a protective fuse in each output circuit (0.5 to 1.0 A for transistor outputs, 4 A to 5 A for relay outputs).
  • Page 60: Peripheral Device Connection

    Wiring and Connections Section 3-4 Crimp Connectors Always use crimp connectors for the CPM1A’s power lines and I/O lines or else Caution use a single-wire line (instead of a stranded wire). Do not connect bare stranded wires directly to terminals. Bare stranded wires connected directly to the termi- nal can cause a fire.
  • Page 61 Wiring and Connections Section 1-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 RS-232C Adapter or Programmable Terminal(9-pin) Signal Pin No. Pin No. Signal 1/Cover The type of connector used will vary depending on the PT.
  • Page 62 Wiring and Connections Section 3-4 The following diagram shows the wiring in the RS-422 cables used to connect CPM1A PLCs 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.
  • Page 63: One-To-One Plc Connections

    Wiring and Connections Section 1-4 1-4-8 One-to-one PLC Connections A CPM1A can be linked to a CPM1A, CQM1, CPM1, SRM1 or a C200HS or C200HX/HE/HG PLC through an RS-232C Adapter. One PLC acts as the Mas- ter and the other as the Slave to link up to 256 bits in the LR area (LR 0000 to LR 1515).
  • Page 64: Nt Link Connections

    Wiring and Connections Section 3-4 3-4-9 NT Link Connections High-speed communications can be achieved by providing a direct access through the use of the NT Link between the CPM1A and Programmable Termi- nal. OMRON Programmable Terminal CPM1A CPU Unit RS-232C Cable RS-232C Adapter Note The NT Link can only be used when the RS-232C Adapter (CPM1-CIF01) is con-...
  • Page 65 Wiring and Connections Section 3-4...
  • Page 66: Using Peripheral Devices

    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 theSSS Operation Manuals: Basicsand C-seriesPLCs. Programming Con- sole connection and operating procedures are provided in this section.
  • Page 67: Support Software Capabilities

    SYSMAC-CPT Support Software Quick Start Guide (W332) and User Manual (W333) for operation procedures. When programming the CPM1A us- ing the SYSMAC-CPT, be sure to set the “PC model” on the Support Software to “CPM1 (CPM1A).” 4-1-1 SSS System Setup Set the PC Model to “CQM1”...
  • Page 68: Offline Operations

    Support Software Capabilities Section 4-1 If unsupported addresses are set in the program for operands or set values, er- Online Editing ror messages will be displayed and the values will not be accepted. 4-1-3 Offline Operations The following operations are possible when not connected online to the PLC. Group Name Description...
  • Page 69 Used to allocate parts of the user memory area for used as a Fixed DM Area Allocate UM and/or I/O Comment Area. (C-series PLCs only) Used to edit data link tables and routing tables for the SYSMAC NET and Network Support SYSMAC LINK Systems.
  • Page 70: Online Operations

    Changes the PC Setup in the PLC and in the system work area and used to PC Setup transfer the PC Setup between the PLC and the disk (save/retrieve). C-series PLCs: Used to input data link tables for SYSMAC NET. Network Support Tables CVM1 PLCs: Used to transfer data link tables and routing tables between Link Units, the PLC, and the SSS and to compare these tables.
  • Page 71: Offline And Online Operations

    PLC unit number, parity, data length, and number of stop bits are designated. Specifies the network address, node number, and data code type of the SYSMAC Network NET Link Unit communicating with the SSS on the SYSMAC NET System. The address address determines the PLC to be connected to for online operations.
  • Page 72: Using A Programming Console

    Using a Programming Console Section 1-2 Using a Programming Console This section provides information on connecting and using a Programming Con- sole. Refer to NO TAG Programming Console Operation Errors for details on er- rors that might occur during Programming Console operations. 1-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.
  • Page 73: Connecting The Programming Console

    Using a Programming Console Section 1-2 1-2-2 Connecting the Programming Console Connect the Programming Console’s connecting cable to the CPM1A’s periph- eral port, as shown below. The C200H-PRO27-E Programming Console can be installed in a control panel Panel Installation as shown in the following diagram. (The C200H-ATT01 Mounting Bracket is sold separately.) Mounting hole dimensions (DIN43700 standards)
  • Page 74: Preparation For Operation

    Using a Programming Console Section 1-2 1-2-3 Preparation for Operation This section describes the procedures required to begin Programming Console operation. Always confirm that the Programming Console is in PROGRAM mode when Caution turning on the PLC with a Programming Console connected unless another mode is desired for a specific purpose.
  • Page 75: Changing The Cpm1A's Mode

    Using a Programming Console Section 1-2 1-2-5 Changing the CPM1A’s Mode Once the Programming Console has been connected, its mode switch can be used to change the CPM1A’s PLC mode. The mode display (<PROGRAM>, <MONITOR>, or <RUN>) will appear on the Programming Console screen. ·...
  • Page 76: Programming Console Operations

    Programming Console Operations 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 de- tails on operational procedures. Name Function Clears all or part of the Program Memory and any data areas that are not read-only, as well...
  • Page 77: Clearing Memory

    Programming Console Operations Section 1-3 1-3-2 Clearing Memory This operation is used to clear all or part of the Program Memory and any data areas that are not read-only, as well as the contents of the Programming Con- sole’s memory. This operation is possible in PROGRAM mode only. MONITOR PROGRAM Before beginning to program for the first time or when installing a new program,...
  • Page 78: Reading/Clearing Error Messages

    Programming Console Operations Section 1-3 1-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. MONITOR PROGRAM Before inputting a new program, any error messages recorded in memory...
  • Page 79: Setting And Reading A Program Memory Address

    Programming Console Operations Section 1-3 Follow the procedure below to turn the key-input buzzer on and off. Key Sequence 1, 2, 3... 1. Press the CLR, SHIFT, and then the CLR Key to bring up the mode display. In this case the PLC is in PROGRAM mode and the buzzer is on. <MONITOR>...
  • Page 80: Bit Operand Search

    Programming Console Operations Section 1-3 2. Input the address from which the search will begin and press the Down Ar- row Key. It is not necessary to input leading zeroes. 00100 ¯ 3. Input the instruction to be found and press the SRCH Key. In this case, the search is for LD instructions.
  • Page 81 Programming Console Operations Section 1-3 Original Program Address Instruction Operands 00100 00101 00103 00104 01000 00201 00102 Delete 00105 00205 00103 Delete Insert 00206 AND NOT 00104 00207 01000 Insert 00208 END(001) END(001) Follow the procedure below to insert the IR 00105 NO condition at address Insertion 00206.
  • Page 82: Entering Or Editing Programs

    Programming Console Operations Section 1-3 Corrected Program Address Instruction Operands 00100 00101 00105 00104 01000 00201 00102 00205 00105 00206 AND NOT 00104 00207 01000 00208 END(001) END(001) 1-3-9 Entering or Editing Programs This operation is used enter or edit programs. It is possible in PROGRAM mode only.
  • Page 83 Programming Console Operations Section 1-3 5. Press the WRITE Key to write the instruction to Program Memory. The next program address will be displayed. 00201READ WRITE NOP(000) If a mistake was made inputting the instruction, press the Up Arrow Key to return to the previous program address and input the instruction again.
  • Page 84 Programming Console Operations Section 1-3 · Writing a Word Address 11. Input the second operand. 00202 MOV DATA B LR 10 Press the WRITE Key to write the instruction to Program Memory. The next program address will be displayed. 00203READ WRITE NOP(000) Note When an instruction operand is input, the bit or word designation can...
  • Page 85: Checking The Program

    Programming Console Operations Section 1-3 Note If an input is made outside of the permissible range, a buzzer will sound and the hexadecimal display will not be displayed. 00203 ADB DATA C WRITE 17. Input the final operand and then press the WRITE Key. 00203 ADB DATA C DM 0000 00204READ...
  • Page 86 Programming Console Operations Section 1-3 2. Input the desired program address and press the Down Arrow Key. 00200READ ¯ 3. Press the MONTR Key to begin monitoring. T000 MONTR 1234 If the status of a bit is being monitored, that bit’s status can be changed using the Force Set/Reset operation.
  • Page 87: Differentiation Monitor

    Programming Console Operations Section 4-3 3. Repeat step 2 up to 6 times to display the next addresses to be monitored. 00001 T000 CONT SHIFT MONTR ^ OFF 0100 D0000 00001 T000 MONTR 0000 ^ OFF 0100 If 4 or more bits and words are being monitored, the bits and words that do not appear on the display can be displayed by pressing the MONTR Key.
  • Page 88: Binary Monitor

    Programming Console Operations Section 1-3 4. Press the CLR Key to end differentiation monitoring and return to the normal monitoring display. L000000001H0000 ^OFF ^OFF ^OFF 1-3-13 Binary Monitor This operation is used to monitor the ON/OFF status of any word’s 16 bits. It is possible in any mode.
  • Page 89: Signed Decimal Monitor

    Programming Console Operations Section 1-3 2. Press the EXT Key to begin 3-word monitoring. The status of the selected word and the next two words will be displayed, as shown below. In this case, DM 0000 was selected. C002 C001 C000 0123 4567 89AB The Up and Down Arrow Keys can be used to shift one address up or down.
  • Page 90: 3-Word Data Modification

    Programming Console Operations Section 1-3 2. Press the SHIFT+TR+NOT Keys to display the leftmost word as unsigned decimal. c000 SHIFT 65520 At this point, the contents of the displayed word can be changed with an un- signed-decimal input. Refer to 1-3-22 Unsigned Decimal Data Modification. 3.
  • Page 91: Hexadecimal, Bcd Data Modification

    Programming Console Operations Section 1-3 Check that there is no effect on equipment before changing the set values. Caution This operation can be used to input a new SV constant, as well as to change an Inputting a New SV Constant SV from a constant to a word address designation and vice versa.
  • Page 92: Binary Data Modification

    Programming Console Operations Section 1-3 Words SR 253 to SR 255 cannot be changed. Check that there is no effect on equipment before changing the present values. Caution 1. Monitor the status of the desired word according to the procedure described 1, 2, 3...
  • Page 93: Signed Decimal Data Modification

    Programming Console Operations Section 4-3 4. Press the WRITE Key to write the changes in memory and return to the binary monitor. c001 MONTR WRITE 1010010101010101 4-3-21 Signed Decimal Data Modification This operation is used to change the decimal value of a word being moni- tored as signed decimal data, within a range of - - 32,768 to 32,767.
  • Page 94: Force Set, Reset

    Programming Console Operations Section 1-3 2. Press the CHG Key to begin decimal data modification. PRES VAL? c000 65520 3. Input the new PV and press the WRITE Key to change the PV. The operation will end and the decimal-without-sign monitoring display will return when the WRITE Key is pressed.
  • Page 95: Hex-Ascii Display Change

    Programming Console Operations Section 1-3 Check that there is no effect on equipment before using clear force set/reset. Caution 1. Press the CLR Key to bring up the initial display. 1, 2, 3... 2. Press the SET and then the RESET Key. A confirmation message will ap- pear.
  • Page 96: Programming Example

    Programming Example Section 1-4 Programming Example This section demonstrates all of the steps needed to write a program with the Programming Console. 1-4-1 Preparatory Operations When writing a program to the CPM1A for the first time, use the following proce- dure up to step 3 (clearing memory).
  • Page 97: Example Program

    Programming Example Section 1-4 1-4-2 Example Program The following ladder program will be used to demonstrate how to write a pro- gram with the Programming Console. This program makes output IR 01000 flicker ON/OFF (one second ON, one second OFF) ten times after input IR 00000 is turned ON.
  • Page 98: Programming Procedures

    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 1-4-2 Example Program. The procedure is performed beginning with the initial display. (Clear the memory before entering a new program.) (1) Inputting the Self-holding Bit 1.
  • Page 99 Programming Example Section 1-4 4. Input the SV for T001 (#0010 = 1.0 s). 00006 TIM DATA #0010 00007READ WRITE NOP(000) The following key operations are used to input the 2-second timer. (3) Inputting the Two-second Timer 1. Input the normally open condition IR 20000. 1, 2, 3...
  • Page 100: Checking The Program

    Programming Example Section 1-4 4. Input the counter 000. 00013 00013 CNT DATA WRITE #0000 5. Input the SV for 000 (#0010 = 10 counts). 00013 CNT DATA #0010 00014READ WRITE NOP(000) (5) Inputting the Flicker Output 1, 2, 3... 1.
  • Page 101: Test Run In Monitor Mode

    Programming Example Section 1-4 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. 00178CIRCUIT ERR 00200 Note Refer to NO TAG Programming Errors for details on check levels. 4.
  • Page 102: Test Runs And Error Processing

    SECTION 5 Test Runs and Error Processing This section describes procedures for test runs of CPM1A operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. Initial System Checks and Test Run Procedure .
  • Page 103: Initial System Checks And Test Run Procedure

    Use a Peripheral Device to write the program to a backup floppy disk. b) Print out a hard copy of the program with a printer. Note Refer to Section 4 Using Peripheral Devices for details on SYSMAC Support Software or Programming Console operations.
  • Page 104: Flash Memory Precautions

    Initial S ystem 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 prop- er operation. 1. If the power is turned off without changing the mode after having made 1, 2, 3...
  • Page 105: The Cpm1A Cycle

    The CPM1A Cycle Section 5 -2 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 de- tected, the overseeing processes, program execution, I/O refreshing, and Pe- ripheral Device servicing are executed consecutively (cyclically).
  • Page 106: Self-Diagnosis Functions

    Self-diagnosis Functions Section 5 -3 5 -3 S elf -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. PLC errors are divided into 2 categories based on the severity of the errors. Fatal errors are more serious errors which stop CPM1A operation.
  • Page 107: Identifying Errors

    SR 25307. Error messages generated by the self-diagnosis function can be read from a Error Messages Programming Console or host computer running SYSMAC Support Software. When the self-diagnosis function detects a hardware error, it will turn on the cor- Error Flags responding error flags in the SR and AR areas.
  • Page 108: Programming Console Operation Errors

    The following error messages may appear when performing operations on the Programming Console. Correct the error as indicated and continue with the op- eration. Refer to the SYSMAC Support Software Operation Manuals: Basics and C-series PLCs for errors that may appear when operating the SSS.
  • Page 109 Programming Errors Section 5 -5 Three levels of program checking are available. The desired level must be des- ignated to indicate the type of errors that are to be detected. The following table provides the error types, displays, and explanations of all syntax errors. Check level 0 checks for type A, B, and C errors;...
  • Page 110: Troubleshooting Flowcharts

    Troubleshooting Flowcharts Section 5 -6 5 -6 Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Error PWR indicator lit? Check power supply. (See page 97.) Operation stopped. Check for fatal errors. RUN indicator lit? (See page 98.) ERR/ALM indicator Check for non-fatal errors.
  • Page 111 Troubleshooting Flowcharts Section 5 -6 Power Supply Check PWR indicator not lit. Connect power Is power being supplied? supply. Is PWR indicator lit? Set supply voltage with- Is voltage adequate? in acceptable limits. Is PWR indicator lit? Tighten screws or Are there any loose replace wires.
  • Page 112 Troubleshooting Flowcharts Section 5 -6 Fatal Error Check RUN indicator not lit. Is the ERR/ALM indicator lit? Determine the cause Is PLC mode dis- of the error with a played on Peripheral Device? Peripheral Device. Is PLC mode dis- Turn the power played on Peripheral supply OFF, and Device?
  • Page 113 Troubleshooting Flowcharts Section 5 -6 Non-fatal Error Check ERR/ALM indicator flashing. Determine the cause of the error with a Peripheral Device. Identify the error, eliminate its Is a non-fatal error in- cause, and clear the error. dicated? Flashing Is the ERR/ALM indi- cator flashing? Not lit Replace the CPU...
  • Page 114 Troubleshooting Flowcharts Section 5 -6 The I/O check flowchart is based on the following ladder diagram section. I/O Check (LS1) (LS2) 00002 00003 01003 SOL1 01003 SOL1 malfunction. Malfunction of SOL1 Is the IR 01003 out- put indicator operat- ing normally? Check the voltage at the Wire correctly.
  • Page 115 Troubleshooting Flowcharts Section 5 -6 Are the IR 00002 and IR 00003 input indi- cators operating normally? From previous page Check the voltage at Check the voltage at the IR 00002 and IR the IR 00002 and IR Are the terminal 00003 terminals.
  • Page 116 Troubleshooting Flowcharts Section 5 -6 Environmental Conditions Check Environmental conditions check Is the ambient Consider using a temperature fan or cooler. below 55°C? Is the ambient Consider using a temperature above heater. 0°C? Is the ambient humidity Consider using an between 10% and air conditioner.
  • Page 117 Troubleshooting Flowcharts Section 5 -6 Memory Error Check Memory error occurred. Replace the CPU AR 1309 ON? Unit. Check/correct data backed up by ca- AR 1314 ON? pacitor and clear error. Check the program, correct any AR 1308 ON? errors, and clear the error. Check the error indicated by AR 1310 to Turned ON during...
  • Page 118: Maintenance Inspections

    Section 5 -7 5 -7 M aintenance Inspections In order that your SYSMAC system operates in optimum condition, be sure to carry out daily or periodical inspections. The main system components of a SYSMAC system are semiconductors, and it Inspection Items contains few components with limited lifetimes.
  • Page 119: Handling Precautions

    Handling Precautions Section 5 -8 5 -8 Handling P recautions • 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. •...
  • Page 120: A Standard Models

    40 I/O points 40 I/O points CPM1A-40CDR-D CPM1A- CPM1A- 40CDT-D 40CDT1-D CPU Units with 12 AC points 8 points CPM1A-20CAR-A 20 I/O points CPU Units with 20 AC points 12 points AC CPM1A-32CAR-A 32 I/O points Expansion I/O Modules Description Description...
  • Page 121 Programming Console CQM1-PRO01 2-m Connecting Cable attached C200H-PRO27 Hand-held, w/backlight; requires the C200H-CN222 or C200H-CN422 Connecting Cable, see below SYSMAC Support Software C500-ZL3AT1-E 3.5”, 2HD for IBM PC/AT compatible SYSMAC-CPT WS01-CPTB1-E For IBM PC/AT or compatible computers (3.5” disks (2HD) and CDROM)
  • Page 122: B Dimensions

    Appendix B Dimensions All dimensions are in millimeters. CPM1A-20CAR-A CPU Unit CPU Unit with AC Power CPM1A-32CAR-A CPU Unit CPU Unit with AC Power CPM1A-20EDR/20EDT/20EDT1 Expansion I/O Module...
  • Page 123 Dimensions Appendix B CPM1-CIF01 90 81 CPM1-CIF11 90 81...
  • Page 124 Dimensions Appendix B Dimensions with Peripheral Devices Attached Approx. 125 Approx. 90...
  • Page 125 Dimensions Appendix B...
  • Page 126: Glossary

    Glossary Indirectly addressed DM area. See indirect address and DM area. A link created between two PLCs to create common data in their LR areas. 1:1 link See add count input. An input signal used to increment a counter when the signal changes from OFF add count input to ON.
  • Page 127 Glossary An operand that is used to designate the bit or bits of a word to be used by an bit designator instruction. A number that indicates the location of a bit within a word. Bit 00 is the rightmost bit number (least-significant) bit;...
  • Page 128 Glossary A flag used with a timer or counter that turns ON when the timer has timed out or Completion Flag the counter has reached its set value. A symbol placed on an instruction line to indicate an instruction that controls the condition execution condition for the terminal instruction.
  • Page 129 Glossary An automatic data transmission operation that allows PLCs or Units within PLC data link to pass data back and forth via common data areas. A common data area established through a data link. data link area An instruction used to move data from one location in memory to another. The data movement instruction data in the original memory location is left unchanged.
  • Page 130 Glossary and ‘distributed’ over the system. Distributed control is a concept basic to PLC Systems. A data area used to hold only word data. Words in the DM area cannot be ac- DM area cessed bit by bit. A word in the DM area. DM word The process of transferring a program or data from a higher-level or host com- downloading...
  • Page 131 Glossary Factory automation. A general-purpose computer, usually quite similar to a business computer, that factory computer is used in automated factory control. An error generated from the user program by execution of an FAL(06) instruc- FAL error tion. An error generated from the user program by execution of an FALS(07) instruc- FALS error tion or an error generated by the system.
  • Page 132 Glossary The number of inputs and outputs that a PLC is able to handle. This number I/O capacity ranges from around one hundred for smaller PLCs to two thousand for the larg- est ones. The delay in time from when a signal is sent to an output to when the status of the I/O delay 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.
  • Page 133 Glossary A direction given in the program that tells the PLC of the action to be carried out, instruction 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.
  • Page 134 Glossary A hardware or software connection formed between two Units. “Link” can refer link 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). The processes of copying data either from an external device or from a storage load area to an active portion of the system such as a display buffer.
  • Page 135 Glossary A hardware or software error that produces a warning but does not stop the PLC non-fatal error from operating. See normally open condition. normal condition A condition that produces an ON execution condition when the bit assigned to it normally closed condition is OFF, and an OFF execution condition when the bit assigned to it is ON.
  • Page 136 Glossary A bit in the IR area that is allocated to hold the status to be sent to an output de- output bit vice. An external device that receives signals from the PLC System. output device The point at which an output leaves the PLC System. Output points correspond output point physically to terminals or connector pins.
  • Page 137 Glossary A computerized device that can accept inputs from external devices and gener- Programmable Controller ate outputs to external devices according to a program held in memory. Pro- grammable Controllers are used to automate control of external devices. Al- though single-unit Programmable Controllers are available, building-block Pro- grammable Controllers are constructed from separate components.
  • Page 138 Glossary A format specifying the data required in a response to a data transmission. response format The time a device will wait for a response to a data transmission before assum- response monitoring time ing that an error has occurred. A bit used to restart part of a PLC.
  • Page 139 A memory area containing flags and other bits/words with specific functions. SR area See SYSMAC Support Software. The process of recording a program written into a display buffer permanently in store memory.
  • Page 140 A software package installed on a IBM PC/AT or compatible computer to func- SYSMAC Support Software tion as a Programming Device. The arrangement in which Units in a System are connected. This term refers to...
  • Page 141 Glossary A bit whose status is effective. See masked bit. unmasked bit A binary value that is stored in memory without any indication of whether it is unsigned binary positive or negative. One-word hexadecimal values can be displayed at the Programming Console unsigned decimal as decimal values from 0 to 65,535.
  • Page 142: Index

    Index Numbers example of inputting, 84 CPU Units, standard models, 105 1 -to-1 communications, 9, 45 cycle, CPM1A operating cycle, 90 1 -to-1 link, 2 cycle time 1 -to-n communications, 10, 46 displaying, Programming Console, 80 processing, 90 Adapters, list of communications adapters, 10 data, modifying, Programming Console, 75, 76, 77, 78 analog setting function, 2, 4 data link, 11, 48...
  • Page 143 features, 2 site, selecting, 31 filter function, 2 instructions inserting and deleting, Programming Console, 65 flash memory, precautions, 89 searching, Programming Console, 64 flicker output, example, 85 insulation resistance, 16 force-set/reset interlock circuit, example, 30 clearing, Programming Console, 79 interlocks, 30 Programming Console, 79 interrupt inputs, 5 functions, 4...
  • Page 144 troubleshooting, 96, 102 wiring, 38 noise, preventing electrical noise, 32, 37 precautions design precautions, 30 noise immunity, 16 general, xi non---fatal errors, troubleshooting, 98 handling, 104 SSS, 52 NPN current output, connecting, 41 program, programming example, 81 NPN open collector, connecting, 41 program capacity, 17 NT Link, 2 communications, 12...
  • Page 145 22 transistor output, source type, 22 unsigned decimal data SSS, 52 modifying, Programming Console, 78 See also SYSMAC Support Software monitoring, 74–75 offline and online operations, 56 offline operations, 53 up/down mode, 7 online operations, 55...
  • Page 146: Revision History

    Revision History SYSMAC CPM1A-20CAR-A/CPM1A-32CAR-A Programmable Controllers Operation Manual A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. P12FAZ1 Revision code Revision code Date Revised content P12FAZ1 April 1999 An original production.

This manual is also suitable for:

Cpm1a-32car-a

Table of Contents