Page 2 - CPM1A Programmable Controllers; Operation Manual
CPM1A Programmable Controllers Operation Manual Revised February 2000
Page 3 - DANGER; WARNING; Caution; OMRON Product References
! ! ! v Notice: OMRON products are manufactured for use according to proper procedures by a qualified operatorand only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heedthe information provided with them. Fai...
Page 4 - TABLE OF CONTENTS; vii; PRECAUTIONS
TABLE OF CONTENTS vii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii . . . . . . . . . . . . . . ....
Page 5 - viii; Appendices; A Standard Models; Glossary
TABLE OF CONTENTS viii Appendices A Standard Models 137 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B Dimensions 141 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
Page 6 - ix; Section 3 describes how to install and wire a CPM1A PC.
ix About this Manual: The CPM1A is a compact, high-speed Programmable Controller (PC) designed for control operations insystems requiring from 10 to 100 I/O points per PC. There are two manuals describing the setup andoperation of the CPM1A: the CPM1A Operation Manual (this manual) and the CPM1/CPM1...
Page 7 - xi
xi 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 Con-troller. You must read this section and understand the informa...
Page 8 - Application Precautions; xii; Intended Audience; Personnel in charge of installing FA systems.; General Precautions; Safety Precautions
! ! ! ! ! 5 Application Precautions xii 1 Intended Audience This manual is intended for the following personnel, who must also have knowl-edge of electrical systems (an electrical engineer or the equivalent). • Personnel in charge of installing FA systems. • Personnel in charge of designing FA syste...
Page 9 - xiii; Operating Environment Precautions
! ! ! ! ! ! ! 5 Application Precautions xiii • The PC outputs may remain ON or OFF due to deposition or burning of theoutput relays or destruction of the output transistors. As a countermeasure forsuch problems, external safety measures must be provided to ensure safety inthe system. • When the 24-V...
Page 10 - xiv; Always connect to a class-3 ground (to 100
! 5 Application Precautions xiv • Always connect to a class-3 ground (to 100 Ω or less) when installing the Units. Not connecting to a class-3 ground may result in electric shock. • Always turn off the power supply to the PC before attempting any of the follow-ing. Not turning off the power supply m...
Page 11 - xv; Changing the operating mode of the PC.
! ! ! 5 Application Precautions xv • Be sure that the terminal blocks, expansion cables, and other items with lock-ing devices are properly locked into place. Improper locking may result in mal-function. • Check the user program for proper execution before actually running it on theUnit. Not checkin...
Page 12 - xvi; Backup method; Internal capacitor; Note; ing to these functions when power is turned on.
5 Application Precautions xvi • The user program and memory area data in the CPM1A are backed up eitherby 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, andDM 1023) Error log area (DM 10...
Page 13 - xvii; EC Directives; Applicable Directives; EMC Directives; Concepts; The CPM1A PC must be installed within a control panel.; CPM1A-MAD01 Conformance to EMC Directives; Insert the following core in each line as shown below.
5 Application Precautions xvii 6 EC Directives 6-1 Applicable Directives • EMC Directives • Low Voltage Directive 6-2 Concepts EMC DirectivesOMRON devices that comply with EC Directives also conform to the relatedEMC standards so that they can be more easily built into other devices or theoverall ma...
Page 14 - xviii
5 Application Precautions xviii Recommended core: 2643-002402 Manufacturer: Fair Rite Products Corp.
Page 16 - Up to three Expansion I/O Units can be connected to a CPM1A-30CDR-; CPM1A Features and Functions
2 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, or40 built-in I/O terminals. The following three model groups are available: relayoutput models, sink-type transistor output models, and source-ty...
Page 18 - CPU Units; Unit; inputs; Expansion Memory Unit
4 The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small-size or micro PLCs. Using the CPM1-EMU01-V1, simple on-site transfer of userprograms and data memory is possible with PLCs. Uploading Download-ing SYSMAC EEPROM 1-1-2 I/O Terminal and IR Bit Allocation The following table shows ...
Page 19 - Analog Setting Function; Control; Analog adjustment 0; Input Filter Function; Set value
5 1-1-3 CPM1A Functions Analog Setting Function CPM1A PCs have 2 variable-resistor adjustment knobs used to control analogtimer and counter settings manually. When one of the adjustments is turned, thecontent of the corresponding IR word is set automatically between 0 and 200(BCD). Turn the adjustme...
Page 20 - Input Interrupts; PC model; can be used as normal input terminals.
! 6 Input Interrupts The CPM1A-10CDR- /10CDT-D/10CDT1-D PCs have 2 interrupt input termi- nals and the CPM1A-20CDR- /20CDT-D/20CDT1-D, CPM1A-30CDR- / 30CDT-D/30CDT1-D, and CPM1A-40CDR- /40CDT-D/40CDT1-D PCs have 4 interrupt input terminals. There are two modes for input interrupts: input inter-rupt ...
Page 21 - Quick-response Inputs; Scheduled interrupt; Pulse Output Function
7 Quick-response Inputs The CPM1A-10CDR- /10CDT-D/10CDT1-D PCs have 2 quick-response input terminals and the CPM1A-20CDR- /20CDT-D/20CDT1-D, CPM1A- 30CDR- /30CDT-D/30CDT1-D and CPM1A-40CDR- /40CDT-D/40CDT1-D PCs have 4 quick-response input terminals. (The same terminals are used forquick-response in...
Page 23 - Expansion Unit Functions
9 Mode Input functions Input method Count frequency Count range Control methods Up/Down 00000: A-phase input00001: B-phase input00002: Z-phase input Phase-difference,4 × inputs 2.5 kHz –32767to32767 Target value control:Up to 16 target values and interruptsubroutine numbers can beregistered. Increme...
Page 24 - System Configuration
10 1-2 System Configuration 1-2-1 CPU Unit and Expansion I/O Unit Configuration Expansion I/O Units/Expansion Units CPM1A CPU Units 10 I/O pointsCPM1A-10CDR- CPM1A-10CDT-DCPM1A-10CDT1-D 30 I/O pointsCPM1A-30CDR- CPM1A-30CDT-DCPM1A-30CDT1-D 40 I/O pointsCPM1A-40CDR- CPM1A-40CDT-DCPM1A-40CDT1-D 20 I/O...
Page 26 - Expansion Units; analog inputs; between a CPM1A and an IBM PC/AT or compatible computer.
12 Expansion Units Temperature Sensor Unit CompoBus/S I/O Link Unit Analog I/O Unit Unit Max. number of Units Inputs Outputs Model Analog I/O Unit 2 analog inputs (2 words)1 analog output (1 word) 3 Units max. 2 analog inputs 1 analog output CPM1A-MAD01 TemperatureSensor Unit Thermocoupleinputs 3 Un...
Page 28 - Adapters and Cables; Converts to peripheral port-level; Converts to the Peripheral Port format.
14 Adapters and Cables The following table lists some of the Adapters and Cables used in Host Link com-munications. Name Usage Model number RS-232C Adapter Converts to peripheral port-level CPM1-CIF01 RS-422 Adapter communications. CPM1-CIF11 Connecting Cables Used to connect IBM PC/AT orcompatible ...
Page 29 - Name; Flat cable
15 1-2-5 One-to-one NT Link Communications Using the NT Link, the CPM1A PC can connected to the Programmable Termi-nal (NT Link Interface) through an RS-232C Adapter. OMRON Programmable Terminal RS-232C Cable CPM1A CPU Unit RS-232CAdapter WX2Z-200T (2 m)WX2Z-500T (5 m) Name Usage Model number RS-232...
Page 30 - Programming Consoles; C200H-series Connecting Cables; Converts to Peripheral Port format level communications.
16 Programming Consoles A CQM1-PRO01-E or C200H-PRO27-E Programming Console can be con-nected to the CPM1A as shown in the following diagram. CQM1-PRO01-E C200H-PRO27-E C200H-CN222/422 CPM1A CPU Unit Name Model number CQM1 Programming Console(The Connecting Cable is included.) CQM1-PRO01-E C200H/HS ...
Page 31 - Item; Revised Specifications
17 1-3 Revised Specifications The following table shows the changes that have been made in product specifi-cations beginning with lots produced in January 1998 (December 1997 for somemodels). Item Previous specifications New specifications Relevant pages Input indicator operationwhen an error occurs...
Page 33 - power supply cannot be used for driving output devices.; Specifications
20 2-1 Specifications 2-1-1 General Specifications Item CPM1A-10CDR- CPM1A-10CDT-D CPM1A-10CDT1-D CPM1A-20CDR- CPM1A-20CDT-D CPM1A-20CDT1-D CPM1A-30CDR- CPM1A-30CDT-D CPM1A-30CDT1-D CPM1A-40CDR- CPM1A-40CDT-D CPM1A-40CDT1-D Supply voltage AC type 100 to 240 VAC, 50/60 Hz DC type 24 VDC Operating AC ...
Page 35 - instruction to perform interrupt processing.; Memory Backup; the RAM) will be erased and the data values will become undefined.
22 Note 1. Use TIM 000 to TIM 003 when creating a timer using the high-speed timer instruction to perform interrupt processing. 2. The input interrupt response time is 0.3 ms max. Memory Backup The user program and memory area data in the CPM1A are backed up either byan internal capacitor or in flas...
Page 36 - CPU Unit Input Specifications; The minimum delay is as follows.
23 Either switch the CPM1A to RUN or MONITOR mode, or turn off and on power tothe CPM1A after changing from a Programming Device any data that is backedup 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 Spe...
Page 37 - Expansion I/O Unit Input Specifications
! 24 Differential Phase Mode (2.5 kHz Max.) IN00000 (A phase), IN00001 (Bphase) ON OFF 400 µ s min. T 1 T 2 T 3 T 4 T 1 T 2 T 3 T 4 : 90 µ s min. ON OFF Phase A Phase B IN00002 (Z phase) ON OFF 100 µ s min. 500 µ s min. Phase Z When IN00003 through IN00006 are used as interrupt inputs, the delay is ...
Page 38 - CPU Unit and Expansion I/O Unit Output Specifications; Relay Output
25 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 (in...
Page 40 - -1-4 Communications Adapter Specifications; RS-232C Adapter Specifications; RS-422 Adapter Specifications
! 27 Note When using the OUT01000 or OUT01001 as a pulse output, connect dummy resistors as required to set the load current to 0.1 to 0.2 A. If the load current isbelow 0.1 A, the ON-to-OFF response time will become longer and high-speedpulse will not be output. On the other hand, if the load curre...
Page 41 - Unit Components
28 2-2 Unit Components 2-2-1 CPU Unit Components CPM1A-10CDR- /10CDT-D/10CDT1-D: 10 I/O Terminals 1. Power supply input terminals 2. Functional earth terminal (AC power supplies only) 3. Protective earth terminal 5. Input terminals 10. Analog controls 11. Peripheral Port 7. PC status indicators 8. I...
Page 42 - CPU Unit Component Descriptions; Indicator
29 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 tonoise and reduce the risk of electric shock....
Page 43 - Expansion I/O Unit with 8 Input Terminals; Expansion I/O Unit with 8 Output Terminals; Connects the Unit to external input devices.
30 2-2-2 Expansion I/O Unit Components Expansion I/O Unit with 20 I/O Terminals 1. Input terminals 5. Expansion I/O Unit Connecting Cable 3. Input indicators 6. Expansion connector 4. Output indicators 2. Output terminals Expansion I/O Unit with 8 Input Terminals 1. Input terminals 5. Expansion I/O ...
Page 44 - Temperature Input Terminals
! ! 31 Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is beingsupplied 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, orCompoBus/S I/O Link Unit). Up to 3 Exp...
Page 45 - Setting not possible; Expansion Connector
! 32 2. DIP Switch Sets the temperature unit ( ° C or ° F), and the number of decimal places used. Number of decimal places usedOFF: Normal (0 or 1); ON: 2 Temperature unitOFF: ° C; ON: ° F ON 1 2 3. Rotary Switch Sets the temperature range. Set the range in accordance with the specifica-tions of th...
Page 46 - Function; These indicators show the status of CompoBus/S communications.
! 33 2-2-5 CompoBus/S I/O Link Unit Components 1. CompoBus/S terminals 4. Expansion I/O Unit Connecting Cable 2. DIP switch 5. Expansion connector 3. LED indicators 1, 2, 3... 1. CompoBus/S Terminals Include the CompoBus/S communications data high/low terminal, commu-nications power supply +/– termi...
Page 47 - Mode Setting Switch; Termination Resistance Switch
34 2-2-6 Communications Adapter Components RS-232C Adapter 1. Mode Setting Switch 2. Connector 3. RS-232C port RS-232C Port Pin Allocation 1 2 3 4 5 6 7 8 9 FG SD RD RTS CTS DCD DSR DTR SG 1, 2, 3... 1. Mode Setting Switch Set this switch to “HOST” when using a Host Link system to connect to aperson...
Page 49 - The following diagram shows an example of an interlock circuit.; Connecting or disconnecting Expansion I/O Units and CPU Units.; Design Precautions
! ! 36 3-1 Design Precautions Observe the following precautions when designing a system incorporating aCPM1A PC. 3-1-1 Power Supply Wiring Separate the power supply wiring from the control system, CPM1A system, andDC I/O system wiring. Separate the control circuits that supply power to the mainUnit ...
Page 50 - Locations subject to direct sunlight.; Selecting an Installation Site
! 37 Momentary Power Failure DetectionA momentary power failure lasting less than 10 ms with an AC power supply and2 ms with a DC power supply is not detected and the CPU Unit continues to oper-ate. A momentary power failure lasting longer than 10 ms with an AC power supplyand 2 ms with a DC power s...
Page 51 - Overheating; Electrical Noise
38 Note Provide proper shielding when installing in the following locations: • Locations subject to static electricity or other sources of noise. • Locations subject to strong electromagnetic fields. • Locations subject to possible exposure to radiation. • Locations near to power supply lines. 3-2-2...
Page 52 - Correct; Do not install the CPM1A in either of the following positions.; Incorrect; The CPM1A can be installed on a horizontal surface or on a DIN track.; Surface Installation; and; Model number; Installing the CPM1A
39 3-3 Installing the CPM1A 3-3-1 CPM1A Orientation The CPM1A must be installed in the position shown below to ensure adequatecooling. 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 surfac...
Page 53 - DIN Track Installation; The CPM1A can be installed on a 35-mm DIN Track.
40 CPM1A-30CDR- /30CDT-D/30CDT1-D and CPM1A-40CDR- /40CDT-D/40CDT1-D CPU Unit Four, M4 holes 100 mm 8 mm A Use M4 dia. x 15 screws. The width (A) between the mounting holes depends on the CPM1A model. Model number Width (A) CPM1A-30CDR- /30CDT-D/30CDT1-D CPU Unit 120 mm CPM1A-40CDR- /40CDT-D/40CDT1-...
Page 54 - Up to 3 Expansion I/O Units can be connected to the
41 InstallationLower the CPM1A so that the notch on the back of the PC catches the top of theDIN Track. Push the PC forward until the lock snaps into place. RemovalPry the lock down with a standard screwdriver and pivot the PC upward toremove it. Screwdriver 3-3-3 Connecting an Expansion I/O Unit Up...
Page 56 - Do not run CPM1A I/O lines in the same duct or conduit as power lines.; Wiring and Connections
! 43 3-4 Wiring and Connections This section provides basic information on wiring the Power Supply Unit andExpansion 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 theUnit, ...
Page 57 - Grounding; Be sure to ground the earth terminal to less than 100; During installation, be sure to ground to 100; Note The NC terminal is not used.
! 44 Floor DuctsLeave at least 200 mm between the wiring and the top of the duct, as shown inthe following diagram. 200 mm min. Metal plate (iron) CPM1A I/O lines Control cables andCPM1A power lines Power cables ConduitsSeparate the CPM1A I/O lines, power and control lines, and power cables, asshown...
Page 58 - Use M3 terminal screws and tighten the screws securely (0.5 N
! ! ! 45 Caution Disconnect the functional earth terminal when performing withstand voltagetests. 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 elseuse a solid wire (instead of ...
Page 59 - Use M3 terminal screws.; m. Loose screws may result in burning or malfunction.
! ! ! 46 Use M3 terminal screws. Connect a crimp connector with a ring terminal to each terminal screw. 6.2 mm max. Ring terminal Caution Tighten the terminal block screws of the AC Power Supply to the torque of0.5 N m. Loose screws may result in burning or malfunction. 24-VDC Power Supply Use a DC ...
Page 60 - Input Configuration; The following diagrams show the input configurations.
47 3-4-4 Input Wiring Wire the inputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown in thefollowing diagrams. Use crimp connectors or solid wire (not stranded wire) toconnect to the PC. Do not apply voltages exceeding the rated input voltage to theinput terminals. The power supply output t...
Page 62 - Input Wiring Example
! 49 Input Wiring Example An AC-type CPU Unit is shown. DC-type CPU Units don’t have power supplyoutputs. Input devices COM External power supply: 24 VDC at 200 mA/10-point and 20-point I/O type CPU Units24 VDC at 300 mA/30-point and 40-point I/O type CPU Units (Applicable to CPU Units with a power ...
Page 63 - Input Devices; The following table shows how to connect various input devices.; Device; Relay output
50 Input Devices The following table shows how to connect various input devices. Device Circuit diagram Relay output IN COM (+) Relay 5 mA/12 mA CPM1A NPN open collector 0 V + IN COM (+) Sensor Sensor powersupply Output 5 mA/12 mA CPM1A NPN current output 0 V + IN COM (+) Constant currentcircuit Out...
Page 64 - Inductive Loads; Average rectified current must be 1 A.; Crimp Connectors
! 51 Leakage Current (24 VDC) A leakage current can cause false inputs when using 2-wire sensors (proximityswitches 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 forIN00000 to IN00002), but if the leakage current e...
Page 65 - Relay Output Wiring; Output capacity
! 52 3-4-5 Output Wiring Relay Output Wiring Wire the outputs to the CPM1A’s CPU Unit and Expansion I/O Unit as shown inthe following diagrams. Use crimp connectors or solid wire (not stranded wire) toconnect to the PC. The power supply output terminals can be used with AC-typeCPU Units. • Always us...
Page 66 - Output Configurations
53 Common CPM1A-10CDR- CPM1A-20CDR- /CPM1A-20EDR/20EDR1 CPM1A-30CDR- CPM1A-40CDR- Output Configurations Common Common Common Common Common Common Common Common Common 00 01 02 COM COM COM 03 10 CH 00 01 02 COM COM COM 03 10 CH 04 05 07 COM 06 00 01 02 COM COM COM 03 10 CH 04 05 07 COM 06 00 11 CH 02...
Page 72 - The diode should satisfy the following requirements:
! 59 Inductive LoadsWhen connecting an inductive load to an input, connect a surge protector ordiode in parallel with the load.The surge protector’s components should have the following ratings: OUT COM CPM1A Surge protector Relay Output OUT COM CPM1A Diode Relay OutputTransistor Output(Sink Type) O...
Page 74 - RS-232C Adapter’s mode setting switch to “HOST.”
61 The following diagram shows the wiring in the RS-232C cable used to connect aCPM1A to a host computer or Programmable Terminal. IBM PC/AT compatible computer or Programmable Terminal (9-pin) RS-232C Adapter 1 2 3 4 5 6 CD RD SD ER SG DR RS CS CI 7 8 9 1/Cover 2 3 4 5 6 7 8 9 FG SD RD RS CS – – SG...
Page 75 - both ends of the Host Link system.
62 The following diagram shows the wiring in the RS-422 cables used to connectCPM1A PCs to a 3G2A9-AL004-E Link Adapter. In both the Link Adapter/RS-422 Adapter connections and the RS-422 Adapter/RS-422 Adapter connec-tions, connect the SG, RDA, RDB, SDA, and SDB terminals to the same termi-nals in ...
Page 80 - CPM1A programming can be performed with any version of the SSS.; PC Model; Support Software Capabilities
68 4-1 Support Software Capabilities The SSS is a complete programming and control package designed for C-seriesand CVM1 PCs. It provides not only programming capabilities, but alsoadvanced debugging, monitoring, and program/data management. The follow-ing tables provide only a brief introduction to...
Page 81 - Online Editing
69 Function code Mnemonic Function code Mnemonic 17 ASFT 64 SPED 18 TKY 65 PULS 19 MCMP 66 SCL 47 RXD 67 BCNT 48 TXD 68 BCMP 60 CMPL 69 STIM 61 INI 87 DSW 62 PRV 88 7SEG 63 CTBL 89 INT Online Editing If unsupported addresses are set in the program for operands or set values,error messages will be di...
Page 86 - Using a Programming Console
74 4-2 Using a Programming Console This section provides information on connecting and using a Programming Con-sole. Refer to 5-4 Programming Console Operation Errors for details on errorsthat might occur during Programming Console operations. 4-2-1 Compatible Programming Consoles There are two Prog...
Page 87 - Buzzer Operation for details.; Different Keys
75 The following keys are labeled differently on the CQM1-PRO01-E and theC200H-PRO27-E, but the operation of the keys in each pair is identical. CQM1-PRO01-E Keys C200H-PRO27-E Keys AR HR HR SET PLAY SET RESET REC RESET Note To specify the AR area, use SHIFT and HR Keys for the C200H-PRO27-E and use...
Page 88 - -2-2 Changing the CPM1A’s Mode with the Mode Switch; Operating Modes; Never change the mode while pressing any of the keys.
! ! 76 4-2-2 Changing the CPM1A’s Mode with the Mode Switch Once the Programming Console has been connected, its mode switch can beused to change the CPM1A’s operating mode. The mode display (<PRO-GRAM>, <MONITOR>, or <RUN>) will appear on the Programming Consolescreen. • No key op...
Page 89 - PROGRAM mode; Panel Installation; Startup Operating Mode
77 The operating mode of the CPM1A when the power is turned ON depends uponthe PC Setup setting in DM 6600 and the Programming Console’s mode switchsetting if the Programming Console is connected. PC Setup setting (DM 6600) Programming Console connected Programming Console not connected 0000 The sta...
Page 90 - Messages for details.
! 78 Allow at least 80 mm for the cable connector above the Programming Console. About 70 mm is required. At least 80 mm is required. Either connector maybe used. 37 15 4-2-4 Preparation for Operation This section describes the procedures required to begin Programming Consoleoperation when using the...
Page 92 - Programming Console Operations
80 4-3 Programming Console Operations 4-3-1 Overview The following table lists the programming and monitoring operations that can beperformed from a Programming Console. Refer to the rest of this section fordetails on operational procedures. Name Function Page Clearing memory Clears all or part of t...
Page 93 - OK; All Clear; Bring up the initial display by pressing the CLR Key repeatedly.; Press the CLR Key to bring up the initial display.
! 81 4-3-2 Clearing Memory This operation is used to clear all or part of the Program Memory and data areas,as well as the contents of the Programming Console’s memory. This operation ispossible in PROGRAM mode only. RUN MONITOR PROGRAM No No OK Before beginning to program for the first time or when...
Page 94 - Key Sequence; Follow the procedure below to display and clear messages.
82 4-3-3 Reading/Clearing Error Messages This operation is used to display and clear error messages. It is possible to dis-play and clear non-fatal errors and MESSAGE instruction messages in anymode, but fatal errors can be cleared in PROGRAM mode only. RUN MONITOR PROGRAM OK OK OK Before inputting ...
Page 95 - -3-5 Setting and Reading a Program Memory Address and Monitoring; RUN
83 Key Sequence Follow the procedure below to turn the key-input buzzer on and off. 1, 2, 3... 1. Press the CLR, SHIFT, and then the CLR Key to bring up the mode display. In this case the PC is in PROGRAM mode and the buzzer is ON. CLR SHIFT CLR <MONITOR> BZ 2. Press the SHIFT and then the 1 K...
Page 96 - program address will be displayed.
84 4-3-6 Entering or Editing Programs This operation is used enter or edit programs. It is possible in PROGRAM modeonly. RUN MONITOR PROGRAM No No OK The same procedure is used to either input a program for the first time or tochange a program that already exists. In either case, the current content...
Page 97 - WRITE Key. The next program address will be displayed.; Note a) Counters are input in the same basic way as timers except the; CNT Key is pressed instead of the TIM Key.; Writing Hexadecimal, BCD Constant; LR 10
85 7. Input the second operand (123 to specify 12.3 seconds) and press the WRITE Key. The next program address will be displayed. B 1 C 2 D 3 WRITE 00202READ NOP (000) If a mistake was made inputting the operand, press the Up Arrow Key toreturn to display the mistaken operand and input the operand a...
Page 98 - Writing an Unsigned Decimal Number
86 12. Input the next instruction (ADB). FUN F 5 A 0 00203 ADB (050) Press the WRITE Key to write the instruction to Program Memory. WRITE 00203 ADB DATA A 000 • Writing an Unsigned Decimal Number 13. The first operand is input as an unsigned integer. CONT # SHIFT TR NOT 00203 ADB DATA A #00000 Inpu...
Page 100 - -3-9 Inserting and Deleting Instructions; Original Program; Insertion
88 5. The search will continue until an END instruction or the end of Program Memory is reached. In this case, an END instruction was reached. SRCH 00397CONT SRCH END (001)00.4KW Indicates the addressof END instruction. Indicates the amount used by the userprogram in units of 0.1 Kwords. 4-3-9 Inser...
Page 101 - Press the Up Arrow Key to delete the specified instruction.; Corrected Program; errors that may be detected when the program is checked.; END
89 3. Press the DEL Key. DEL 00205DELETE? AND 00103 4. Press the Up Arrow Key to delete the specified instruction. If the instruction has more operands, the operands will be deleted automati-cally with the instruction. ↑ 00205 DELETE END AND 00105 After completing the insertion and deletion procedur...
Page 102 - Program Read then Monitor
90 A display like this will appear if an END instruction is reached: SRCH 00310PROG CHK END (001)00.3KW No more errors exist if the ENDinstruction is displayed. If errors are displayed, edit the program to correct the errors and check the pro-gram again. Continue checking the program by pressing the...
Page 104 - In this case the differentiation status of LR 00 will be monitored.; Note The buzzer will not sound if it has been turned off.
92 4-3-12 Differentiation Monitor This operation is used to monitor the up (OFF-to-ON) or down (ON-to-OFF)differentiation status of a particular bit. When detected, the up or down differ-entiation will be displayed and the buzzer will sound. It is possible in anymode. RUN MONITOR PROGRAM OK OK OK 1,...
Page 105 - b) The Up or Down Arrow Key can be pressed to display the status of; The Up and Down Arrow Keys can be used to shift one address up or down.
93 (Word monitor) 2. Press the SHIFT and then the MONTR Key to begin binary monitoring. The ON/OFF status of the selected word’s 16 bits will be shown along the bottomof 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 sta...
Page 107 - display and return to normal monitoring.; appear next to the contents of the leftmost word.
! 95 3. Press the CLR Key or the SHIFT and TR Keys to end the unsigned decimal display and return to normal monitoring. CLR c200 cL0020000 FFF0 0000^ OFF 4-3-17 Three-word Data Modification This operation is used to change the contents of one or more of the 3 con-secutive words displayed in the Thre...
Page 108 - HR 10
96 This operation can be used to input a new SV constant, as well as to change anSV from a constant to a word address designation and vice versa. The followingexamples show how to input a new SV constant and how to change the SV froma constant to an address. 1, 2, 3... 1. Press the CLR Key to bring ...
Page 109 - Words SR 253 to SR 255 cannot be changed.; Press the CHG Key to begin hexadecimal, BCD data modification.; Input the new PV and press the WRITE Key to change the PV.; Bits SR 25300 to SR 25507 and timer/counter flags cannot be changed.; Press the CHG Key to begin binary data modification.
! ! 97 Words SR 253 to SR 255 cannot be changed. Caution Before changing the contents of I/O memory, be sure that the changes will notcause equipment to operate unexpectedly or dangerously. In particular, takecare when changing the status of output bits. The PC continues to refresh I/Obits even if t...
Page 110 - Press the CHG Key to begin decimal data modification.
! 98 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...
Page 111 - -3-22 Unsigned Decimal Data Modification; value is to be changed.; The PV can be set within a range of 0 to 65,535.
! ! 99 4-3-22 Unsigned Decimal Data Modification This operation is used to change the decimal value of a word being moni-tored as unsigned decimal data, within a range of 0 to 65,535. A change intohexadecimal data is made automatically. Words SR 253 to SR 255 cannot be changed. RUN MONITOR PROGRAM N...
Page 113 - hexadecimal and ASCII displays each time the TR Key is pressed.; play in combination with the 3-word monitor operation.; Enter the password by pressing the CLR and then the MONTR Key.; Programming Example
101 1, 2, 3... 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 addressesare being monitored, the leftmost word is subject to change. (Multiple address monitor) D0000D0001 4142 3031 2. Press the TR Key to switch ...
Page 119 - Press the CLR Key to bring up the initial display.
107 4-4-4 Checking the Program Check the program syntax in PROGRAM mode to make sure that the programhas 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 00000P...
Page 121 - Initial System Checks and Test Run Procedure
110 5-1 Initial System Checks and Test Run Procedure 5-1-1 Initial System Checks Note Check the following items after setting up and wiring the CPM1A. Be sure to check the wiring and connections before performing a test run. Item Points to check Power supply andI/O connections Is the wiring correct?...
Page 122 - Program changes with the online edit operation
111 5-1-3 Flash Memory Precautions Observe the following precautions to protect the flash memory and ensureproper operation. 1, 2, 3... 1. If the power is turned off without changing the mode after having made chan- ges in the read-only DM area (DM 6144 through DM 6599), or PC Setup (DM6600 through ...
Page 123 - The CPM1A Cycle
112 5-2 The CPM1A Cycle The overall flow of CPM1A operation is as shown in the following flowchart. TheCPM1A is initialized internally when the power is turned on. If no errors aredetected, the overseeing processes, program execution, I/O refreshing, andPeripheral Device servicing are executed conse...
Page 124 - Message; SCAN TIME OVER; Self-diagnosis Functions
! 113 5-3 Self-diagnosis Functions The CPM1A is equipped with a variety of self-diagnosis functions to help identifyand correct errors that might occur and reduce down time. PC errors are divided into 2 categories based on the severity of the errors. Fatalerrors are more serious errors which stop CP...
Page 125 - None; Error Messages
114 Message FALS No. Meaning and appropriate response Power interruption(no message) None Power has been interrupted for at least 10 ms (2 ms for DC power types.) Checkpower supply voltage and power lines. Try to power-up again. MEMORY ERR F1 AR 1308 ON: An unspecified bit area exists in the user pr...
Page 126 - Program execution will be stopped and outputs will be turned OFF.; Programming Console Operation Errors; REPL ROM; Programming Errors
115 FALS(07) is an instruction that causes a fatal error. The following will occur whenan 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 numb...
Page 128 - Main Check; Troubleshooting Flowcharts
117 5-6 Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Check for non-fatal errors. (See page 120.) Error Replace the CPUUnit. PWR indicator lit? RUN indicator lit? ERR/ALM indicator flashing? Is I/O sequence normal? Operating en...
Page 129 - Power Supply Check
118 Power Supply Check PWR indicator not lit. Replace the CPUUnit. Is power being supplied? Is voltage adequate? Are there any loose terminal screws or bro- ken wires? Connect powersupply. Is PWR indicator lit? Set supply voltagewithin acceptable limits. Is PWR indicator lit? Tighten screws orreplac...
Page 130 - Fatal Error Check
119 Fatal Error Check Identify the error, eliminateits cause, and clear theerror.Follow the Memory ErrorCheck flowchart if amemory error has occurred. Is the ERR/ALM indicator lit? Determine the causeof the error with aPeripheral Device. End RUN indicator not lit. Replace the CPUUnit. Is PC mode dis...
Page 131 - Non-fatal Error Check
120 Non-fatal Error Check Identify the error, eliminate itscause, and clear the error. ERR/ALM indicator flashing. Is a non-fatal error indicated? Is the ERR/ALM indi- cator flashing? Replace the CPUUnit. End Determine the cause of the errorwith a Peripheral Device. No Yes Flashing Not lit Troublesh...
Page 134 - Environmental Conditions Check
123 Environmental Conditions Check Consider using afan or cooler. Is the ambient temperature below 55 ° C? Is the ambient temperature above 0 ° C? Is noise being controlled? Is the installation envi- ronment okay? Consider using aheater. Consider using anair conditioner. Install surge pro-tectors or...
Page 135 - Memory Error Check
124 Memory Error Check Memory error occurred. AR 1309 ON? AR 1314 ON? AR 1308 ON? Replace the CPUUnit. Check/correct data backed up bycapacitor and clear error. Check the program, correct anyerrors, and clear the error. End No Yes No No Yes No Yes AR 1310 to AR 1312 ON? Check the error indicated byt...
Page 136 - Inspection Items; If the criteria are not met, adjust to within the specified ranges.; Note Power supply voltage variation range.; Maintenance Inspections
125 5-7 Maintenance Inspections In order that your SYSMAC system operates in optimum condition, be sure tocarry out daily or periodical inspections. Inspection Items The main system components of a SYSMAC system are semiconductors, and itcontains few components with limited lifetimes. Environmental ...
Page 137 - Standard Tools; Handling Precautions
126 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 ensurether...
Page 139 - Section; Handling; Overview; Button
6-3 Section Handling 128 6-1 Overview The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small-size or micro PCs. Using the CPM1-EMU01-V1, simple on-site transfer of userprograms and data memory between PCs is possible. Expansion Memory Unit SYSMAC CPM1, CPM1A, CPM2A, CPM2C,CQM1, CQM1H,...
Page 140 - Specifications and Nomenclature; The EEPROM must be purchased separately.
6-3 Section Handling 129 6-2 Specifications and Nomenclature 6-2-1 Specifications Item Specifications Supported PCs CPM1, CPM1A, CPM2A, CPM2C, SRM1 (-V2),CQM1, CQM1H Read/Write memory areas User program: 15.2 Kwords max.Data memory: DM 6144 to DM 6655(Read-only DM and PC Setup)Expansion instructions...
Page 141 - CONNECT; Gently hold down the EEPROM and pull down the lock lever.; LED Indicator
! 6-3 Section Handling 130 CONNECT (green) ERR (red) Meaning OFF OFF Not connected to PC (power supply OFF). ON OFF Connected to a recognized PC. Blinking OFF Uploading/downloading data. ON Blinking Host link communications error, retry by user. OFF ON PC model and EEPROM data not compatible. OFF Bl...
Page 142 - Lift up the lock lever and detach the EEPROM.; Insert the connector until it securely locks into place.; the peripheral port is set to the defaults.; Removing EEPROM
! ! 6-3 Section Handling 131 Lift up the lock lever and detach the EEPROM. 6-3-2 PC Connections Caution Mount the EEPROM to the CPM1-EMU01-V1 before connecting theCPM1-EMU01-V1 to the PC. Caution Do not disconnect the CPM1-EMU01-V1 from the PC when the indicator is blink-ing green. When connecting t...
Page 143 - Note Do not attempt to remove the connector by pulling the cable.; blade length of 10 mm min. to press the upload button.; Disconnecting
6-3 Section Handling 132 Press the levers on the top and bottom of the connector inwards to unlock theconnector 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 c...
Page 144 - Operation Procedure
6-3 Section Handling 133 Operation Procedure Start Yes No Connect the CPM1-EMU01-V1 to thePC’s peripheral port. Mount the EEPROM to theCPM1-EMU01-V1. After 2 or 3 s, check if the indicator islit green. See the noteon the right. Select the memory area to be uploaded. Press the UPLOAD+DMButton. Press ...
Page 145 - If the PC is in RUN or MONITOR mode, switch the PC mode to PROGRAM
! 6-3 Section Handling 134 Caution If the PC is in RUN or MONITOR mode when downloading is started, it will auto-matically switch to PROGRAM mode and operation will stop. Confirm that noadverse effects will occur to the system before downloading. Not doing so mayresult in unexpected operation. Note ...
Page 147 - Appendix A; Standard Models
137 Appendix A Standard Models CPU Units Description Input Output Power Model number points points supply Relay output Transistor output Sink type Source type CPU Units with10 I/O points 6 points 4 points AC CPM1A-10CDR-A --- --- DC CPM1A-10CDR-D CPM1A-10CDT-D CPM1A-10CDT1-D CPU Units with20 I/O poi...
Page 148 - Temperature Sensor Units; Communications Adapters
Appendix A Standard Models 138 Temperature Sensor Units Description Specifications Model number Temperature Sensor Unit 2 thermocouple inputs: K, J CPM1A-TS001 4 thermocouple inputs: K, J CPM1A-TS002 2 platinum resistance thermometer inputs:Pt100 (100 Ω ), JPt100 (100 Ω ) CPM1A-TS101 4 platinum resi...
Page 149 - AppendixA; Peripheral Devices; Programming Console
AppendixA Standard Models 139 Peripheral Devices Name Appearance Model Number Specifications Programming Console CQM1-PRO01-E 2-m Connecting Cable attached C200H-PRO27-E Hand-held, w/backlight; requires aC200H-CN222 or C200H-CN422Connecting Cable, see below. C200H-CN222 Connects theC200H-PRO27-E to ...
Page 150 - Appendix B; Dimensions; All dimensions are in millimeters.
141 Appendix B Dimensions All dimensions are in millimeters. CPM1A-10CDR- /10CDT-D/10CDT1-D CPU Unit 66 50 85 90 CPU Unit with DC Power CPU Unit with AC Power CPM1A-20CDR- /20CDT-D/20CDT1-D CPU Unit 86 50 85 90 CPU Unit with DC Power CPU Unit with AC Power CPM1A-30CDR- /30CDT-D/30CDT1-D CPU Unit 130...
Page 154 - Dimensions with Peripheral Devices Attached
Appendix B Dimensions 145 Dimensions with Peripheral Devices Attached Approx. 125 Approx. 90
Page 155 - Indirectly addressed DM area. See indirect address and DM area.
147 Glossary *DM Indirectly addressed DM area. See indirect address and DM area. 1:1 PC Link A link created between two PCs to create common data in their LR areas. ACP See add count input. add count input An input signal used to increment a counter when the signal changes from OFFto ON. address A n...
Page 156 - See logic block and instruction block.
Glossary 148 bit designator An operand that is used to designate the bit or bits of a word to be used by aninstruction. 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 i...
Page 157 - The devices that are being controlled by a PC System.
Glossary 149 Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out orthe counter has reached its set value. condition A symbol placed on an instruction line to indicate an instruction that controls theexecution condition for the terminal instruction. Each con...
Page 158 - A common data area established through a data link.
Glossary 150 data link An automatic data transmission operation that allows PCs or Units within PC topass 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 memo...
Page 159 - A word in the DM area.
Glossary 151 and ‘distributed’ over the system. Distributed control is a concept basic to PCSystems. DM area A data area used to hold only word data. Words in the DM area cannot beaccessed bit by bit. DM word A word in the DM area. downloading The process of transferring a program or data from a hig...
Page 160 - A bit that is programmed to turn ON and OFF at a specific frequency.
Glossary 152 FA Factory automation. factory computer A general-purpose computer, usually quite similar to a business computer, thatis used in automated factory control. FAL error An error generated from the user program by execution of an FAL(06) instruc-tion. FALS error An error generated from the ...
Page 161 - An interrupt generated by a signal from I/O.
Glossary 153 I/O capacity The number of inputs and outputs that a PC is able to handle. This numberranges from around one hundred for smaller PCs to two thousand for the largestones. I/O delay The delay in time from when a signal is sent to an output to when the status of theoutput is actually in ef...
Page 162 - A program that is executed in response to an interrupt.
Glossary 154 instruction A direction given in the program that tells the PC of the action to be carried out,and the data to be used in carrying out the action. Instructions can be used tosimply turn a bit ON or OFF, or they can perform much more complex actions,such as converting and/or transferring...
Page 164 - See normally open condition.
Glossary 156 non-fatal error A hardware or software error that produces a warning but does not stop the PCfrom operating. normal condition See normally open condition. normally closed condition A condition that produces an ON execution condition when the bit assigned to itis OFF, and an OFF executio...
Page 165 - An external device that receives signals from the PC System.
Glossary 157 output bit A bit in the IR area that is allocated to hold the status to be sent to an outputdevice. 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 correspondphysically to terminals ...
Page 166 - The portable form of Programming Device for a PC.
Glossary 158 Programmable Controller A computerized device that can accept inputs from external devices and gener-ate outputs to external devices according to a program held in memory. Pro-grammable Controllers are used to automate control of external devices.Although single-unit Programmable Contro...
Page 168 - A wiring method in which Units are wired consecutively in a string.
Glossary 160 self-maintaining bit A bit that is programmed to maintain either an OFF or ON status until set or resetby 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 pr...
Page 169 - A bit in the TR area.
Glossary 161 syntax The form of a program statement (as opposed to its meaning). syntax error An error in the way in which a program is written. Syntax errors can include‘spelling’ mistakes (i.e., a function code that does not exist), mistakes in specify-ing operands within acceptable parameters (e....
Page 170 - A bit whose status is effective. See masked bit.
Glossary 162 unmasked bit A bit whose status is effective. See masked bit. unsigned binary A binary value that is stored in memory without any indication of whether it ispositive or negative. unsigned decimal One-word hexadecimal values can be displayed at the Programming Consoleas decimal values fr...
Page 172 - Index; F–G
Index 164 errors communications, 113error processing, 109fatal, 113identifying, 114non-fatal, 113programming, 115Programming Console operations, 115reading/clearing messages, Programming Console, 82user-defined errors, 114 Expansion I/O Units, 2 available models, 11, 137components, 30connection, 41s...
Page 174 - Q–R
Index 166 programs checking, check levels, 115downloading, 133entering and editing, Programming Console, 84uploading, 132 proximity switches, preventing false inputs, 51 pulse output function, 2, 7 Q–R quick-response inputs, 2, 7 relay outputs, connecting, 50 response time, for interrupt inputs, 6 r...
Page 175 - vibration resistance, 20
Index 167 V vibration resistance, 20 voltage operating voltage range, 20supply voltage, 20 voltage output, connecting, 50 W weight CPU Unit, 20Expansion I/O Unit, 20Expansion Unit, 20 wiring, 43 power supply, 45
Page 176 - Revision History; Revision code
169 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W317-E1-5 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to theprevious version. Revision code Date Rev...