Page 2 - Operation Manual
SYSMAC CPM2B Programmable Controller Operation Manual Produced 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
TABLE OF CONTENTS viii SECTION 7Test Runs and Error Processing 113 . . . . . . . . . . . . . . . . . . . . 7-1 Initial System Checks and Test Run Procedure 114 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 CPM2B Test Run Procedure 114 . . . . . . . . . . . . . . . . . . . . ....
Page 6 - ix
ix About this Manual: This manual describes the installation and operation of the CPM2B and includes the sections describedbelow. The CPM2B is a compact, high-speed board Programmable Controller (PC) designed for control opera-tions. There are two manuals describing the setup and operation of the CP...
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 - Safety Precautions; xii; Intended Audience; Personnel in charge of installing FA systems.; General Precautions
! ! ! ! ! ! 3 Safety 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 systems....
Page 9 - xiii; Operating Environment Precautions; Application Precautions
! ! ! ! ! ! ! 5 Application Precautions xiii • Emergency stop circuits, interlock circuits, limit circuits, and similar safetymeasures must be provided in external control circuits. • The PC will turn OFF all outputs when its self-diagnosis function detects anyerror or when a severe failure alarm (F...
Page 10 - xiv; Mounting or dismounting the CPU board or expansion I/O board.
! 5 Application Precautions xiv • Mounting or dismounting the CPU board or expansion I/O board. • Setting switches or rotary switches. • Connecting or wiring the cables. • Connecting or disconnecting the connectors. Caution Failure to abide by the following precautions could lead to faulty operation...
Page 11 - xv; Changing the operating mode of the PC.; EC Directives; Applicable Directives; EMC Directives; Concepts
6 EC Directives xv • Changing the operating mode of the PC. • Force-setting/force-resetting any bit in memory. • Changing the present value of any word or any set value in memory. • Resume operation only after transferring to the new CPU board the contents ofthe DM and HR Areas required for resuming...
Page 12 - xvi; Conformance to EC Directives; The CPM2B PC must be installed within a control panel.; Relay Output Noise Reduction Methods; Countermeasures
6 EC Directives xvi 6-3 Conformance to EC Directives The CPM2B PCs comply with EC Directives. To ensure that the machine or de-vice in which the CPM2B PC is used complies with EC directives, the PC must beinstalled as follows: 1, 2, 3... 1. The CPM2B PC must be installed within a control panel. 2. R...
Page 13 - xvii
6 EC Directives xvii Countermeasure Examples When switching an inductive load, connect a surge protector, diodes, etc., in par-allel with the load or contact as shown below. Circuit Current Characteristic Required element AC DC CR method Powersupply Inductive load Yes Yes If the load is a relay or s...
Page 15 - Section; CPM2B Features and Functions; Basic Functions
1-1 Section CPM2B Features and Functions 2 1-1 CPM2B Features and Functions 1-1-1 CPM2B Features The CPM2B PCs are compact Board PCs that can be incorporated easily intocontrol equipment. The PCs are equipped with a variety of advanced featuresincluding synchronized pulse control, interrupt inputs, ...
Page 16 - High-speed Input Capabilities for Machine Control; s and response time of 0.3 ms. When an interrupt input goes ON, the main; Other Functions; Interval Timer Interrupts
1-1 Section CPM2B Features and Functions 3 lowing the speed of a peripheral piece of equipment (such as a supply conveyor)to be synchronized with the speed of the main piece of equipment. Encoder CPM2B Motor driver Motor Pulses are output as a fixed multiple of the input frequency. The CPM2B has a t...
Page 17 - Note; The CPM2C-CN111 can be connected only to the peripheral port.; Complete Communications Capabilities; Expansion Memory Unit
1-1 Section CPM2B Features and Functions 4 TO HOURS conversion instruction (HMS(––)), the long-term timer provides aneasy way to control equipment scheduling. 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 ...
Page 18 - Main function
1-1 Section CPM2B Features and Functions 5 from a bar code reader or transmitted to a serial printer. The serial devices canbe connected to the RS-232C port or Peripheral port. Bar codereader Serialprinter Inputting data from a bar code reader Outputting data to a serial printer CPM2B CPM2B In a 1:1...
Page 19 - System Configurations
1-2 Section System Configurations 6 Main function Variations/Details High-speed counters High-speed counter No interrupt 1 input, see note 2. Differential phase mode (5 kHz)Pulse plus direction input mode (20 kHz)Up/down input mode (20 kHz)Increment mode (20 kHz) Count-check interrupt (An interrupt ...
Page 20 - Up to 3 Expansion I/O Boards can be connected to the CPU Board.
1-2 Section System Configurations 7 CPU Board Inputs Outputs Battery Clock RS-232C port Model 32 I/O points 16 inputs, 16 relay outputs --- --- --- CPM2B-32C1DR-D (16 inputs, 16 outputs) 24 V DC (Terminal-block) Yes Yes Yes CPM2B-32C2DR-D (16 inputs, 16 outputs) 16 inputs, 16 sinking transistor --- ...
Page 21 - Only the peripheral port connector can be used when a CPM2C-CN111; Communications settings
1-2 Section System Configurations 8 1-2-3 Connecting a Programming Console A Programming Console can be connected to the CPM2B CPU Board’s periph-eral port, as shown below. Peripheral port CPM2C-CN111Connecting Cable(0.1 m) (See note 2.) CS1W-CN114Connecting Cable(0.05 m) CQM1-PRO01-E CS1W-CN224 (2 ...
Page 22 - RS-232C Port Connection; Peripheral Port Connection; that can be used with the CPM2B.
1-2 Section System Configurations 9 1-2-5 One-to-one Computer Connections Use one of the connecting cables shown in the following diagram to connect apersonal computer with Support Software to the CPM2B for a 1:1 Host Link com-munications or no-protocol (serial) communications. RS-232C port(D-sub 9-...
Page 23 - Using the RS-232C Port; nal power supply is not necessary.
1-2 Section System Configurations 10 1-2-6 One-to-N Computer Connections Up to 32 OMRON PCs, including CPM2B PCs, can be connected to a host com-puter. Using the RS-232C Port RS-422 (Total length: 500 m max.) NT-AL001-E(See note 1.) NT-AL001-E(See note 1.) NT-AL001-E(See note 1.) Up to 32 PCs CPM2B ...
Page 26 - Structure and Operation; Program
1-3 Section Structure and Operation 13 1-3 Structure and Operation 1-3-1 CPU Board Structure The following diagram shows the internal structure of the CPU Board. Externalinputdevices I/O memory Program PC Setup RS-232Cport Settings Settings Settings Externaloutputdevices Communica-tions switch Input...
Page 27 - Writing, transferring, or checking the program; Online editing; and the Programming Device connected to the peripheral port.; Programming
! 1-3 Section Structure and Operation 14 1-3-2 Operating Modes CPM2B CPU Boards have 3 operating modes: PROGRAM, MONITOR, andRUN. The program cannot be executed in PROGRAM mode. This mode is used toperform the following operations in preparation for program execution • Changing initial/operating par...
Page 28 - Power OFF Operation; Minimum power interruption detection time
1-3 Section Structure and Operation 15 1-3-4 PC Operation at Startup The time required for startup initialization depends on several factors, such asthe operating conditions (including power supply voltage, system configuration,and ambient temperature) and the program contents. Power OFF Operation M...
Page 29 - The cycle time can be read from a Programming Device.; Basic CPU Operation
1-3 Section Structure and Operation 16 1-3-5 Cyclic Operation and Interrupts Initialization processing is performed when the power is turned on. If there are noinitialization errors, the overseeing processes, program execution, I/O refresh-ing, and communications port servicing are performed repeate...
Page 34 - Specifications
2-1 Section Specifications 22 2-1 Specifications 2-1-1 General Specifications Item CPU Boards Expansion I/O Boards With relay outputs With transistor outputs With relay outputs With transistor outputs Supply voltage 24 V DC(Allowable range: 20.4 to 26.4 V DC) Supplied from CPU Board. Power consumpti...
Page 35 - Item
2-1 Section Specifications 23 2-1-2 Characteristics Item CPU Boards With relay outputs With transistor outputs Control method Stored program method I/O control method Cyclic scan with direct output (Immediate refreshing can be performed withIORF(97).) Programming language Ladder diagram Instruction ...
Page 37 - CPU Board Input Specifications; Installation orientation: Vertical with edge down
2-1 Section Specifications 25 2-1-3 I/O Specifications CPU Board Input Specifications Item Inputs Specification Input voltage All 24 V DC +10% / –15% Input impedance IN00000 to IN00001 2.7 k Ω IN00002 to IN00006 3.9 k Ω IN00007 and up 4.7 k Ω Input current IN00000 to IN00001 8 mA typical IN00002 to ...
Page 38 - Installation orientation: Vertical with end down
2-1 Section Specifications 26 2. Installation orientation: Vertical with end down Input voltage26.4 V DC Input voltage24 V DC Max. number of inputs ON at the same time 16 14 Max. number of inputs ON at the same time 16 14 0 10 20 30 40 50 55 49 ( ° C) 0 10 20 30 40 50 55 49 ( ° C) 3. Installation or...
Page 39 - Expansion I/O Board Input Specifications; CPU Board and Expansion I/O Board Output Specifications; Relay Outputs; Interrupt Inputs
2-1 Section Specifications 27 Inputs IN00003 through IN00006 can be used as interrupt inputs (interrupt inputmode or counter mode) and quick-response inputs. The minimum pulse widthfor these inputs is 50 µ s. Expansion I/O Board Input Specifications Item Specification Input voltage 24 V DC +10% / –1...
Page 41 - Board Components and their Functions; CPU Boards with Relay Outputs
2-2 Section Board Components and their Functions 29 2-2 Board Components and their Functions 2-2-1 CPU Board Components CPU Boards with Relay Outputs 8. RS-232C port 9. Communications Switch SW201 5. Input indicators 6. Output indicators 3. Output terminals 4. PC status indicators 13. Battery 1. Pow...
Page 42 - CPU Board Component Descriptions; Power Supply Terminals; Indicator
2-2 Section Board Components and their Functions 30 CPU Board Component Descriptions 1, 2, 3... 1. Power Supply Terminals Connect the power supply (24 V DC) to these terminals. 2. Input Connector Connects the CPU Board to external input devices. 3. Output Terminals/Connector Connects the CPU Board t...
Page 43 - b) Be sure that Communications Switch SW201 is OFF when con-
2-2 Section Board Components and their Functions 31 9. Communications Switches SW201 and SW202 The Communications Switches control the communications settings for theperipheral port and RS-232C port. (OFF when shipped.) (OFF when shipped.) SW201 SW202 ON ON OFF OFF Switch settings Peripheral port RS...
Page 44 - Expansion I/O Boards with Relay Outputs; Expansion I/O Boards with Transistor Outputs; Connects the Expansion I/O Board to external input devices.
2-2 Section Board Components and their Functions 32 2-2-2 Expansion I/O Boards Expansion I/O Boards with Relay Outputs 3. Input indicators 4. Output indicators 5. Expansion I/O connector 1. Input connector 2. Output terminals Expansion I/O Boards with Transistor Outputs 2. Output connector 3. Input ...
Page 45 - eration due to static discharge.; I/O Connector and Terminal Pin Allocation; CPU Boards
2-3 Section I/O Connector and Terminal Pin Allocation 33 Note Do not touch the cables during operation to prevent unexpected op- eration due to static discharge. 2-3 I/O Connector and Terminal Pin Allocation CPU Boards Inputs (24 V DC) CPU Board with relay outputs CPU Board with transistor outputs S...
Page 48 - Design Precautions; Connecting or disconnecting Expansion I/O Boards and CPU Boards.; The following diagram shows an example of an interlock circuit.; Selecting an Installation Site
! ! 3-2 Section Selecting an Installation Site 36 3-1 Design Precautions Observe the following precautions when designing a system incorporating aCPM2B PC. 3-1-1 Power Supply Wiring Separate the power supply wiring from the power system, control system,CPM2B system, and DC I/O system wiring. Separat...
Page 49 - Overheating
! 3-2 Section Selecting an Installation Site 37 Caution Be sure to install the CPM2B correctly, as outlined in this manual. Failure to do somay result in Board malfunction. 3-2-1 Installation Site Conditions Note Do not install the CPM2B under any of the following conditions. • Locations subject to ...
Page 50 - Assembling the CPM2B Boards; Note Use M3 screws for the standoffs and tighten to a torque of 0.5 N; Note The CPM2B-ATT01 Mounting Bracket is required; Board or Bracket; touch the components or the surface of the circuit board.; Accessibility
3-3 Section Assembling the CPM2B Boards 38 Ensure that the CPM2B can be accessed for normal operation and mainte-nance. High-voltage equipment, power lines, and moving machinery could bedangerous if they are in the way during routine operations. 3-3 Assembling the CPM2B Boards Up to 3 Expansion I/O ...
Page 51 - Installing the Expansion I/O Connecting Cables; Installing the CPM2B
3-4 Section Installing the CPM2B 39 Installing the Expansion I/O Connecting Cables 1, 2, 3... 1. Insert the Expansion I/O Cable into the connectors on the CPU Board and Expansion I/O Board. CPU Board ExpansionI/O Board Expansion I/O Cable(included with the ExpansionI/O Board) The cable from the CPU ...
Page 52 - Example Installations; Use M4 screws and tighten to a torque of 1.2 N; Wiring and Connections; General Precautions for Wiring; Do not run CPM2B I/O lines in the same duct or conduit as power lines.
! 3-5 Section Wiring and Connections 40 Example Installations Mounting Bracket Screw and nutinstallation Screw and tappedpanel installation Note 1. Use M4 screws and tighten to a torque of 1.2 N S m. 2. The CPM2B can be installed without a CPM2B-ATT01 Mounting Bracket, but the Mounting Bracket must ...
Page 53 - The following diagram shows how to wire the power supply.; The test might damage the PC’s internal components.; Terminal Specifications
3-5 Section Wiring and Connections 41 ConduitsSeparate the CPM2B I/O lines, power and control lines, and power cables, asshown in the following diagram. CPM2B I/O lines Control cables andCPM2B power lines Power cables 3-5-1 Power Supply Wiring The power supply terminal specifications are shown below...
Page 54 - Removing and Wiring I/O Terminal Blocks; nectors or terminal blocks.
3-5 Section Wiring and Connections 42 3-5-2 I/O Wiring Procedures Removing and Wiring I/O Terminal Blocks The following tables provide output terminal block specifications. CPU Boards and Expansion I/O Boardswith relay outputs Output terminal blocks Item Specification Screw size M3 Recommended tight...
Page 55 - Pull the terminal block out of the Board.; Removing and Wiring I/O Connectors; MIL 20P Flat Cable Connector; Note The max. rated current for flat cable is 1 A. Be sure that the
3-5 Section Wiring and Connections 43 2. Pull the terminal block out of the Board. 3. Insert each lead wire into the terminal block and tighten that terminal’s screw. 4. After wiring the terminal block, insert the block into the Unit and tighten the screws at the left and right sides of the terminal...
Page 56 - OMRON Crimping Tools; MIL 20P Loose-wire Pressure Connector; OMRON Pressing Tools; C (Loose-wire Connecting Cable) can be used to connect to a Relay
3-5 Section Wiring and Connections 44 OMRON Crimping Tools Crimping Tool XY2B-0002 Attachment XY2B-1007 MIL 20P Loose-wire Pressure Connector Note Two Full Covers or Partial Covers are required for each socket. XG5S-2012Full Cover* XG5S-1001Partial Cover* Sockets For AWG 24: XG5M-2032NFor AWG 26 to ...
Page 58 - The following table shows how to connect various input devices.; Device; Note Do not use the following wiring with voltage-output devices:
3-5 Section Wiring and Connections 46 The following table shows how to connect various input devices. Device Circuit diagram Relay output IN COM (+) 5 mA/6 mA/8 mA CPM2B NPN open collector IN COM (+) Sensorpower supply Output 5 mA/6 mA/8 mA CPM2B 0 V NPN current output Use the same power supply fort...
Page 59 - High-speed Counter Inputs; Bit; PC Setup Settings
3-5 Section Wiring and Connections 47 High-speed Counter Inputs Using IR 00000 to IR 00002 as High-speed Counter InputsIn these examples, Encoders with an external 24-V DC open-collector outputare connected. Differential Phase Mode (Count frequency: 5 kHz) Encoder 24 V DC 00000 A-phase input 00001 B...
Page 60 - High-speed Counter Input Connection Examples; Leakage Current
3-5 Section Wiring and Connections 48 Special functions for input bits IR 00003 through IR 00006 are set in DM 6628: Bit Bits in PC Setup setting (in DM 6628) address DM 6628 0 1 2 IR 00003 00 to 03 Used as normal Used as interrupt Used as IR 00004 04 to 07 inputs. inputs (including quick-response I...
Page 61 - Average rectified current must be 1 A.; Relay Output Wiring; Output capacity
! 3-5 Section Wiring and Connections 49 2. Average rectified current must be 1 A. IN COM CPM2B Diode 3-5-4 Output Wiring Relay Output Wiring Wire the outputs to the CPM2B’s CPU Board and Expansion I/O Boards asshown in the following diagrams. Don’t exceed the output capacity or the maximum common cu...
Page 62 - CPU Boards with Sinking Transistor Outputs; Expansion I/O Boards with Sinking Transistor Outputs
3-5 Section Wiring and Connections 50 CPU Boards with Sinking Transistor Outputs Output connector 19 17 15 13 11 9 7 5 3 1 L L L L L L L L 01 101 01 102 01 103 01000 COM 01001 01002 01003 01 100 COM 18 16 14 12 10 8 6 4 2 20 01 105 01 106 01 107 01004 COM 01005 01006 01007 01 104 COM L L L L L L L L...
Page 63 - Using Pulse Outputs
3-5 Section Wiring and Connections 51 Use the PULS(65), SPED(––), ACC(––), PWM(––), and SYNC(––) instructionsto produce pulse outputs (rather than normal outputs) from output bits IR 01000and IR 01001. Pulse outputs are possible from CPU Boards with transistor out-puts only. CPM2B Single-phase pulse...
Page 64 - The diode should satisfy the following requirements:
3-5 Section Wiring and Connections 52 The diode should satisfy the following requirements: Peak reverse-breakdown voltage must be at least 3 times the load voltage.Average rectified current must be 1 A. Inrush Current ConsiderationsWhen a relay or transistor output is used to switch a load with a hi...
Page 66 - Introduction; Data area; The functions of the IR area are explained below.; IR Area
4-1 Section Introduction 54 4-1 Introduction Most data areas in the CPM2B can be accessed as bits or words. (The TR areacan be accessed by bit address only and the DM area can be accessed by wordaddress only.) The following diagram shows the structure of the IR area and the relationshipbetween bit a...
Page 68 - The unused bits in IR 000 and IR 001 cannot be used as work bits.; CPU Board I/O Allocation
4-2 Section I/O Allocation 56 CPU Board inputs are allocated input bits starting from IR 00000 and CPU Boardoutputs are allocated output bits starting from IR 01000. Input bits IR 00108 toIR 00111 are allocated to the CPU Board’s DIP switch inputs. 16 inputsIR 00000 to IR 00007IR 00100 to IR 00107 1...
Page 70 - SR Area; Function
4-3 Section SR Area 58 4-3 SR Area These bits mainly serve as flags related to CPM2A/CPM2C operation or containpresent and set values for various functions. The functions of the SR area areexplained in the following table. Note “Read-only” words and bits can be read as status in controller PC operat...
Page 71 - write; Always ON Flag
4-3 Section SR Area 59 Word(s) Read/ write Function Bit(s) SR 252 00 High-speed Counter Reset Bit Read/write 01 to 03 Not used. 04 Pulse Output 0 PV Reset BitTurn ON to clear the PV of pulse output 0. Read/write 05 Pulse Output 1 PV Reset BitTurn ON to clear the PV of pulse output 1. 06, 07 Not used...
Page 72 - AR Area; operation begins or stops.
4-4 Section AR Area 60 Word(s) Read/ write Function Bit(s) SR 254 00 1-minute clock pulse (30 seconds ON; 30 seconds OFF) Read- 01 0.02-second clock pulse (0.01 second ON; 0.01 second OFF) only 02 Negative (N) FlagTurns ON when the result of a calculation is negative (leftmost bit of binary result O...
Page 76 - The time and date can be set while AR 2114 is ON. The new setting be-; PC Setup; Words; Effectiveness of Changes
4-5 Section PC Setup 64 Word(s) Function Bit(s) AR 21 (Note 2) 00 to 07 Day of the Week (00 to 06, BCD)00: Sunday 01: Monday 02: Tuesday 03: Wednesday 04: Thursday 05: Friday 06: Saturday 08 to 12 Not used. 13 30-second Compensation BitTurn this bit ON to round off to the nearest minute. When the se...
Page 77 - Errors in the PC Setup
4-5 Section PC Setup 65 tive, and program execution will have to be restarted to make changes inDM 6615 to DM 6644 effective. If an incorrect PC Setup setting is accessed, a non-fatal error (error code 9B) willbe generated, the corresponding error flag (AR 1300 to AR 1302) will be turnedON, and the ...
Page 81 - Error Log
4-6 Section Error Log 69 Word(s) Function Bit(s) DM 6652 00 to 15 Transmission delay (0000 to 9999 BCD sets a delay of 0 to 99,990 ms.) (Any other setting specifies a delay of 0 ms, causes a non-fatal error, and turns ON AR 1302.) DM 6653 00 to 07 Node number (Host Link)00 to 31 (BCD) (Any other set...
Page 82 - Disables the log so that no records are stored.
4-6 Section Error Log 70 2. In CPU Boards without a clock, the time that the error occurred will be set to all zeroes. Error Log Storage MethodsThe error log storage method is set in the PC Setup (bits 00 to 03 of DM 6655).Set any of the following methods. 1, 2, 3... 1. DM 6655 bits 00 to 03 set to ...
Page 83 - CPM2B Function Codes
71 SECTION 5 Instruction Set The CPM2B PCs have large a programming instruction set that allows for easy programming of complicated control pro-cesses. This section provides a brief summary of the instruction set. 5-1 CPM2B Function Codes 72 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
Page 85 - Alphabetic List by Mnemonic; Mnemonic
5-2 Section Alphabetic List by Mnemonic 73 5-2 Alphabetic List by Mnemonic Dashes (“––”) in the Code column indicate expansion instructions, which do nothave fixed function codes. “None” indicates instructions for which functioncodes are not used. Mnemonic Code Words Name ACC (@) –– 4 ACCELERATION C...
Page 88 - Expansion Instructions
5-3 Section Expansion Instructions 76 5-3 Expansion Instructions A set of expansion instructions is provided to aid in special programming needs.Function codes can be assigned to up to 18 of the expansion instructions to en-able using them in programs. This allows the user to pick the instructions n...
Page 90 - Using a Programming Console
6-1 Section Using a Programming Console 78 6-1 Using a Programming Console This section provides information on connecting and using a Programming Con-sole. 6-1-1 Compatible Programming Consoles There are two Programming Consoles that can be used with the CPM2B: TheCQM1-PRO01-E and the C200H-PRO27-E...
Page 91 - Buzzer Operation for details.; Different Keys
6-1 Section Using a Programming Console 79 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 a...
Page 92 - -1-2 Changing the CPM2B’s Mode with the Mode Switch; Operating Modes; Never change the mode while pressing any of the keys.
! ! 6-1 Section Using a Programming Console 80 6-1-2 Changing the CPM2B’s Mode with the Mode Switch Once the Programming Console has been connected, its mode switch can beused to change the CPM2B’s operating mode. The mode display (<PRO-GRAM>, <MONITOR>, or <RUN>) will appear on th...
Page 93 - Startup Operating Mode
6-1 Section Using a Programming Console 81 The operating mode of the CPM2B 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 Progra...
Page 94 - Panel Installation; Messages for details.
! 6-1 Section Using a Programming Console 82 Panel Installation The C200H-PRO27-E Programming Console can be installed in a control panelas shown in the following diagram. (The C200H-ATT01 Mounting Bracket is soldseparately.) 186 +1.1–0 92 +0.8–0 Mounting Bracket Two screws Panel thickness: 1.0 to 3...
Page 96 - Programming Console Operations
6-2 Section Programming Console Operations 84 6-2 Programming Console Operations 6-2-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 P...
Page 97 - All Clear; Bring up the initial display by pressing the CLR Key repeatedly.; HR CNT DM; END HR CNT DM; Press the CLR Key to bring up the initial display.; HR DM
! 6-2 Section Programming Console Operations 85 Name Page Function Displaying the cycle time Displays the current average cycle time (scan time.) 105 Reading and setting the clock Reads or sets the internal clock. 106 6-2-2 Clearing Memory This operation is used to clear all or part of the Program M...
Page 98 - END HR DM; Key Sequence; MEMORY ERR
6-2 Section Programming Console Operations 86 5. Press the MONTR Key to clear the specified regions of memory. MONTR 00000MEMORY CLR END HR DM 6-2-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 M...
Page 99 - -2-5 Assigning Expansion Instruction Function Codes; Operation; INST TBL READ
6-2 Section Programming Console Operations 87 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...
Page 100 - -2-6 Setting and Reading a Program Memory Address and Monitoring
6-2 Section Programming Console Operations 88 6. Press the WRITE Key to assign the displayed instruction to the function code. WRITE INST TBL READ FUN018:HEX 6-2-6 Setting and Reading a Program Memory Address and Monitoring I/O Bit Status This operation is used to display the specified program memor...
Page 101 - Note a) Counters are input in the same basic way as timers except the
6-2 Section Programming Console Operations 89 The program shown in the following diagram will be entered to demonstratethis operation. 00002 00200 LD IR 00002 00201 TIM 000 #0123 00202 MOV(021) #0100 LR 10 00203 ADB(050) #0100 #FFF6 DM 0000 MOV(021) #0100 LR 10 TIM 000 #0123 12.3 s ADB(050) #0100 #F...
Page 102 - pressing the FUN Key and then the function code (21 in this case).; Writing Hexadecimal, BCD Constant; Key must be pressed to input a constant.; Writing a Word Address; LR 10
6-2 Section Programming Console Operations 90 8. Input the third instruction and its operands. First input the instruction by pressing the FUN Key and then the function code (21 in this case). FUN C 2 B 1 00202 MOV (021) To input the differentiated version of an instruction, press the NOT Key aftert...
Page 103 - Writing an Unsigned Decimal Number; RUN
6-2 Section Programming Console Operations 91 • Writing an Unsigned Decimal Number 13. The first operand is input as an unsigned integer. CONT # SHIFT TR NOT 00203 ADB DATA A #00000 Input the value of the operand from 0 to 65535. C 2 F 5 6 00203 ADB DATA A #00256 Note If an erroneous input is made, ...
Page 104 - Arrow Key. It is not necessary to input leading zeroes.; Press the SRCH Key to begin the search.
6-2 Section Programming Console Operations 92 1, 2, 3... 1. Press the CLR Key to bring up the initial display.2. Input the address from which the search will begin and press the Down Arrow Key. It is not necessary to input leading zeroes. B 1 A 0 A 0 ↓ 00100READ TIM 001 3. Input the instruction to b...
Page 105 - -2-10 Inserting and Deleting Instructions; Original Program; Insertion
6-2 Section Programming Console Operations 93 6-2-10 Inserting and Deleting Instructions This operation is used to insert or delete instructions from the program. It is pos-sible in PROGRAM mode only. RUN MONITOR PROGRAM No No OK To demonstrate this operation, an IR 00105 NO condition will be insert...
Page 106 - played. Continue pressing the SRCH Key to continue the search.; END
6-2 Section Programming Console Operations 94 After completing the insertion and deletion procedures, use the Up and DownArrow Keys to scroll through the program and verify that it has been changedcorrectly, as shown in the following diagram. 00104 00100 00105 00101 00201 END(01) 00102 01000 Correct...
Page 107 - Program Read then Monitor; CHANNEL LR 01
6-2 Section Programming Console Operations 95 Program Read then Monitor When a program address is being displayed, the status of the bit or word in thataddress can be monitored by pressing the MONTR Key. 1, 2, 3... 1. Press the CLR Key to bring up the initial display. 2. Input the desired program ad...
Page 108 - CHANNEL LR 01; In this case the differentiation status of LR 00 will be monitored.
6-2 Section Programming Console Operations 96 4. Press the CLR Key to end monitoring. CLR 00000 CHANNEL LR 01 Note The operating mode can be changed without altering the current monitor display by holding down the SHIFT Key and then changing the operating mode. The status of up to six bits and words...
Page 109 - Note The buzzer will not sound if it has been turned off.; b) The Up or Down Arrow Key can be pressed to display the status of
6-2 Section Programming Console Operations 97 2. To specify up-differentiation monitoring, press the SHIFT and then the Up Arrow Key. The symbols “U@” will appear. SHIFT ↑ L000000001H0000 U@OFF^ OFF^ OFF Indicates waiting for the bit to turn ON. To specify down-differentiation monitoring, press the ...
Page 110 - The Up and Down Arrow Keys can be used to shift one address up or down.; by holding down the SHIFT Key and then changing the operating mode.
6-2 Section Programming Console Operations 98 3. Press the CLR Key to end binary monitoring and return to the normal moni- toring display. CLR c010 0000 6-2-15 Three-Word Monitor This operation is used to monitor the status of three consecutive words. It ispossible in any mode. RUN MONITOR PROGRAM O...
Page 113 - Press the CLR Key twice to change the timer’s SV to the new value.; Words SR 253 to SR 255 cannot be changed.; Press the CHG Key to begin hexadecimal, BCD data modification.; Bits SR 25300 to SR 25507 and timer/counter flags cannot be changed.
! 6-2 Section Programming Console Operations 101 3. Press the Down Arrow, CHG, and then the EXT Key. ↓ CHG EXT 00201DATA ? U/D T000 #0123 #0123 The constant on the left is the old SV and the constant on the right will be-come the new SV constant in step 5. 4. Press the Up and Down Arrow Keys to incr...
Page 114 - Press the CHG Key to begin binary data modification.; move one bit to the right after one of these keys is pressed.
! ! 6-2 Section Programming Console Operations 102 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...
Page 115 - -2-23 Unsigned Decimal Data Modification; Press the CHG Key to begin decimal data modification.; The PV can be set within a range of 0 to 65,535.
! 6-2 Section Programming Console Operations 103 1, 2, 3... 1. Monitor (signed decimal) the status of the word for which the present value is to be changed. (Signed decimal monitor) D0200 Ć00016 2. Press the CHG Key to begin decimal data modification. CHG PRES VAL? D0200Ć00016 3. Input the new PV an...
Page 116 - Forced status will also be cleared in the following cases:
! ! 6-2 Section Programming Console Operations 104 6-2-24 Force Set, Reset This operation is used to force bits ON (force set) or OFF (force reset) and isuseful when debugging the program or checking output wiring. It is possiblein MONITOR or PROGRAM mode only. RUN MONITOR PROGRAM No OK OK Caution B...
Page 118 - Programming Example; Enter the password by pressing the CLR and then the MONTR Key.
6-3 Section Programming Example 106 6-2-28 Reading and Setting the Clock This operation is used to read or set the CPU’s clock. The clock can be read inany mode, but can be set in MONITOR or PROGRAM mode only. Operation RUN MONITOR PROGRAM Read clock OK OK OK Set clock No OK OK 1, 2, 3... 1. Press t...
Page 121 - for details on correcting the error.
6-3 Section Programming Example 109 6-3-3 Programming Procedures The example program will be written to the CPM2B according to the mnemoniclist in 6-3-2 Example Program. The procedure is performed beginning with theinitial display. (Clear the memory before entering a new program.) Note If an error o...
Page 123 - Input the normally open condition IR 20000.
6-3 Section Programming Example 111 4. Input the counter 000. CNT A 0 00013 CNT 000 WRITE 00013 CNT DATA #0000 5. Input the SV for counter 000 (#0010 = 10 counts). B 1 A 0 00013 CNT DATA #0010 WRITE 00014READ NOP (000) (5) Inputting the Flicker Output 1, 2, 3... 1. Input the normally open condition ...
Page 124 - programming errors that may be displayed during a program check.; Press the CLR Key to bring up the initial display.
6-3 Section Programming Example 112 2. Press the SRCH Key. An input prompt will appear requesting the desired check level. SRCH 00000PROG CHK CHK LBL (0Ć2)? 3. Input the desired check level (0, 1, or 2). The program check will begin when the check level is input, and the first error found will be di...
Page 126 - Initial System Checks and Test Run Procedure; Program changes with the online edit operation; CPM2B Test Run Procedure; Power Supply Application; Clearing Memory
7-2 Section CPM2B Test Run Procedure 114 7-1 Initial System Checks and Test Run Procedure 7-1-1 Initial System Checks Check the following items after setting up and wiring the CPM2B, but before per-forming a test run. Item Points to check Power supply andI/O connections Is the wiring correct?Are the...
Page 127 - Self-diagnostic Functions; Error Messages
! 7-3 Section Self-diagnostic Functions 115 d) Use a Programming Device to set the CPM2B to PROGRAM mode. 2. I/O Wiring Checks a) With the CPM2B in PROGRAM mode, check the output wiring by turning on the output bits with the force set and force reset operations. b) Check the input wiring with the CP...
Page 128 - Message
7-3 Section Self-diagnostic Functions 116 7-3-2 User-defined Errors There are three instructions that can be used to define errors or messages.FAL(06) causes a non-fatal error, FAL(07) causes a fatal error, and MSG(46)sends a message to the Programming Console or host computer connected tothe PC. FA...
Page 130 - Troubleshooting Flowcharts; Main Check
7-4 Section Troubleshooting Flowcharts 118 7-4 Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during operation. Main Check Check for non-fatal errors. (See page 121.) Error Replace the CPUBoard. PWR indicator lit? RUN indicator lit? ERR indicator flashing? ...
Page 131 - Power Supply Check
7-4 Section Troubleshooting Flowcharts 119 Power Supply Check PWR indicator not lit. Replace the CPUBoard. 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 PW...
Page 132 - Fatal Error Check
7-4 Section Troubleshooting Flowcharts 120 Fatal Error Check Identify the error, eliminateits cause, and clear theerror.Follow the Memory ErrorCheck flowchart if amemory error has occurred. Is the ERR indi- cator lit? Determine the causeof the error with aProgramming Device. End RUN indicator not li...
Page 133 - Non-fatal Error Check
7-4 Section Troubleshooting Flowcharts 121 Non-fatal Error Check Identify the error, eliminate itscause, and clear the error. ERR indicator flashing. Is a non-fatal error indicated? Is the ERR indicator flashing? Replace the CPUBoard. End Determine the cause of the errorwith a Programming Device. No...
Page 136 - Environmental Conditions Check
7-4 Section Troubleshooting Flowcharts 124 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 environment okay? Consider using aheater. Consider using anair cond...
Page 137 - Memory Error Check; Maintenance Inspections; Inspection Items
7-5 Section Maintenance Inspections 125 Memory Error Check Memory error occurred. AR 1309 ON? AR 1314 ON? AR 1308 ON? Replace the CPUBoard. Check/correct backed-up data andclear 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...
Page 138 - Inspection items; Battery Replacement; Required Tools
! 7-6 Section Battery Replacement 126 The standard period for maintenance checks is 6 months to 1 year, but more fre-quent checks are required if the PC is operated in more demanding conditions. If the criteria are not met, adjust to within the specified ranges. Inspection items Details Criteria Rem...
Page 139 - Disconnect the battery connector and remove the battery.
7-6 Section Battery Replacement 127 2. Disconnect the battery connector and remove the battery. 3. Install the new battery. Check the alignment of the connector and fully insert the connector. Make sure that the power wires are not pinched. 4. Enable the detection of battery errors in the PC Setup b...
Page 140 - Appendix A; Standard Models; Accessories: Four long studs, four M3 screws
129 Appendix A Standard Models CPU Boards Appearance Relay outputs Transistor outputs (sinking) Internal clock. RS-232C port, and battery Number of inputs Number of outputs CPM2B-32C1DR-D --- No 16 points 16 points CPM2B-32C2DR-D --- Yes --- CPM2B-32C1DT-D No --- CPM2B-32C2DT-D Yes Accessories: Four...
Page 141 - Communications Port Connecting Cables
Appendix A Standard Models 130 I/O Connectors Appearance Model Name XG5M-2032-N Socket (for AWG 24 wire) XG5M-2035-N Socket (for AWG 26 to AWG 28 wire) XG5S-2012 Full Cover (two are required for each socket) XG5S-1001 Partial Cover (two are required for each socket) XG4M-2030 Socket XG4T-2004 Strain...
Page 142 - Maintenance Accessories
Appendix A Standard Models 131 Maintenance Accessories Appearance Model Number Name Specifications C500-BAT08 Backup Battery --- CPM1-EMU01-V1 Expansion Memory Unit Uploads the ladder program and DM 6144to DM 6655 from the PC to the EEPROMand downloads the ladder program andDM 6144 to DM 6655 from t...
Page 143 - Appendix B; Dimensions; All dimensions are in millimeters.; CPU Boards and Expansion I/O Boards
133 Appendix B Dimensions All dimensions are in millimeters. CPU Boards and Expansion I/O Boards 108 70 164 174 Mounting Bracket (CPM2B-ATT01) Six 3.5 dia. Four 4.5 dia. 6 11 0 100 70 164 186 196 6
Page 144 - Assembly Dimensions
Appendix B Dimensions 134 Assembly Dimensions Front view Side view CPU Board Expansion I/O Board Mounting Bracket 28 28 28 28 14 150 100 70 164 186 206
Page 146 - Index; I–L
Index 136 features, 2 flash memory, precautions, 114 flicker output, example, 111 force-set/reset clearing, Programming Console, 104Programming Console, 104 function codes expansion instructions, 76reading and changing expansion instruction assignments, 87 functions, 5 hexadecimal data, converting d...
Page 147 - P–R
Index 137 output wiring, relay output, 49 P–R panel, Programming Console installation, 82 panel installation, precautions, 37 password, entering on Programming Console, 83 PC mode, changing, 80 PC Setup. See settings PC status, indicators, 30 Peripheral Devices, 130 available models, 130 photoelectr...
Page 148 - V–W
Index 138 changing SV, Programming Console, 100example of inputting, 110 troubleshooting, 118 fatal errors, 120I/O errors, 122non-fatal errors, 121operating conditions, 124power supply, 119, 125 U unsigned decimal data modifying, Programming Console, 103monitoring, 99 V–W vibration resistance, 22 vo...
Page 149 - Revision History; Revision code
139 Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W371-E1-1 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...