Omron CPM2B- Manuals
Omron CPM2B– User Manual, Manual in PDF format online.
Manuals:
User Manual Omron CPM2B
Summary
SYSMAC CPM2B Programmable Controller Operation Manual Produced February 2000
! ! ! 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...
TABLE OF CONTENTS vii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii . . . . . . . . . . . . . . ....
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 . . . . . . . . . . . . . . . . . . . . ....
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...
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...
! ! ! ! ! ! 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....
! ! ! ! ! ! ! 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...
! 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...
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...
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...
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...
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, ...
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...
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 ...
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...
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 ...
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 --- ...
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 ...
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-...
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 ...
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...
! 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...
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...
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...
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...
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 ...
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 ...
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...
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...
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...
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...
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...
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 ...
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...
! ! 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...
! 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 ...
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 ...
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 ...
! 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 ...
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...
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...
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...
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 ...
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...
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...
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...
! 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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
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 ...
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
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...
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...
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...
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...
! ! 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...
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...
! 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...
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...
! 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...
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...
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...
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...
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...
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...
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, ...
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...
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...
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...
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...
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...
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 ...
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...
! 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...
! ! 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...
! 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...
! ! 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...
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...
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...
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 ...
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...
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...
! 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...
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...
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? ...
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...
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...
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...
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...
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...
! 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...
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...
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...
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...
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...
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
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
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...
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...
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...
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...
Manual Omron CPM2B
Summary
SYSMAC CPM2B Programmable Controller Operation Manual Produced February 2000
! ! ! 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...
TABLE OF CONTENTS vii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii . . . . . . . . . . . . . . ....
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 . . . . . . . . . . . . . . . . . . . . ....
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...
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...
! ! ! ! ! ! 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....
! ! ! ! ! ! ! 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...
! 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...
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...
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...
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...
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, ...
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...
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 ...
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...
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 ...
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 --- ...
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 ...
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-...
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 ...
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...
! 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...
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...
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...
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...
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 ...
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 ...
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...
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...
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...
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...
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...
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 ...
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...
! ! 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...
! 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 ...
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 ...
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 ...
! 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 ...
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...
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...
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...
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 ...
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...
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...
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...
! 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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 ...
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...
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 ...
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...
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...
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...
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...
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...
! ! 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...
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...
! 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...
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...
! 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...
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...
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...
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...
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...
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...
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, ...
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...
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...
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...
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...
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...
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 ...
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...
! 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...
! ! 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...
! 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...
! ! 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...
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...
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...
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 ...
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...
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...
! 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...
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...
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? ...
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...
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...
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...
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...
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...
! 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...
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...
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...
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...
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...
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
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
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...
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...
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...
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...
Omron Manuals
-
Omron VIBRATING MESH NEBULIZER NE-U22V
User Manual
- Omron ZS-MDC User Manual
- Omron ZS-MDC Manual
- Omron W343-E1-07 User Manual
- Omron W343-E1-07 Manual
-
Omron V720-SERIES V720-HS04
User Manual
-
Omron V600-HA
User Manual
-
Omron V600-HA
Manual
-
Omron V530-R160E
User Manual
-
Omron V530-R160E
Manual
-
Omron SYSMAC CP CP1E-N@@D@-@
User Manual
- Omron SYSMAC CJ1W-EIP21 User Manual
-
Omron Sysmac CJ1 CPU6 HR
User Manual
-
Omron V400-H111
User Manual
-
Omron V400-H111
Manual
-
Omron STRAPLESS HR-210
User Manual
-
Omron sc100
User Manual
-
Omron sc100
Manual
-
Omron RX-3
User Manual
-
Omron RX-3
Manual