Manual Omron CPM2B

149 pages 1.24 mb
Download

Go to site of 149

Summary
  • Omron CPM2B - page 1

    Cat.No. W371–E1–1 Programmable Controller SYSMAC CPM2B OPERA TION MANUAL ...

  • Omron CPM2B - page 2

    SYSMAC CPM2B Programmable Controller Operation Manual Produced February 2000 ...

  • Omron CPM2B - page 3

    ! ! ! v Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to ...

  • Omron CPM2B - page 4

    T ABLE OF CONTENTS vii PRECAUTIONS xi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Intended Audience xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions xii . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Omron CPM2B - page 5

    T ABLE OF CONTENTS viii SECTION 7 T est Runs and Error Processing 1 13 . . . . . . . . . . . . . . . . . . . . 7-1 Initial System Checks and T est Run Procedure 1 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-2 CPM2B T est Run Procedure 1 14 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Omron CPM2B - page 6

    ix About this Manual: This manual describes the installation and operation of the CPM2B and includes the sections described below . 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 CPM2B: The CPM2B Operation Manual (this manual) a ...

  • Omron CPM2B - page 7

    xi PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and related devices. Th e information contained in this section is important for the safe and reliable application of the Pr ogrammable Con- troller . Y ou must read this section and understand the information contained before attempting to set up or ...

  • Omron CPM2B - page 8

    ! ! ! ! ! ! 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 F A systems. • Personnel in charge of designing F A systems. • Personnel in charge of managing F A sy ...

  • Omron CPM2B - page 9

    ! ! ! ! ! ! ! 5 Application Precautions xiii • Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits. • The PC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (F ALS) instruction is executed. As a coun- te ...

  • Omron CPM2B - page 10

    ! 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 t o abide by the following precautions could lead to faulty operation of the PC or the system, or could damage ...

  • Omron CPM2B - page 11

    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 of the DM and HR Areas required for resuming operation. Not doing so may result in ...

  • Omron CPM2B - page 12

    6 EC Directives xvi 6-3 Conformance to EC Directives The CPM2B PCs comply with EC Directives. T o ensure that the machine or de- vice in w h i c h t h e C P M 2 B P C i s u s e d c o mplies with EC directives, the PC must be installed as follows: 1, 2, 3... 1. The CPM2B PC must be installed within a control panel. 2. Reinforced insulation or double ...

  • Omron CPM2B - page 13

    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 Power supply Inductive load Ye s Ye s If the load is a relay or solenoid, there is a time lag between the mom ...

  • Omron CPM2B - page 14

    1 SECTION 1 Intr oduction This section describes the CPM2B’ s special features and functions, shows the possible system configurations, and outlines the steps required before operation. Read this section first when using the CPM2B for the first time. Refer to the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Pr ogramming Manual (W353) for details on programmi ...

  • Omron CPM2B - page 15

    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 into control equipment. The PCs are equipped with a variety of advanced features including synchronized pulse control, interrupt inputs, high-speed counters, pulse outputs, and a clock ...

  • Omron CPM2B - page 16

    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 total of five high-speed counter inputs. The one ...

  • Omron CPM2B - page 17

    1-1 Section CPM2B Features and Functions 4 TO HOURS conversion instruction (HMS( –– )), the long-term timer provides an easy 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 user programs and data memory is possible ...

  • Omron CPM2B - page 18

    1-1 Section CPM2B Features and Functions 5 from a bar code reader or transmitted to a serial printer . The serial devices can be connected to the RS-232C port or Peripheral port. Bar code reader Serial printer Inputting data from a bar code reader Outputting data to a serial printer CPM2B CPM2B In a 1:1 NT Link, an OMRON Programmable T erminal (PT) ...

  • Omron CPM2B - page 19

    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 can be generated when the count equals the set ...

  • Omron CPM2B - page 20

    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 (T erminal-block) Ye s Ye s Ye s CPM2B-32C2DR-D (16 inputs, 16 outputs) 16 inputs, 16 sinking transistor --- --- --- CPM2B-32C1DT -D 24 V DC outputs (Conne ...

  • Omron CPM2B - page 21

    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-CN1 1 1 Connecting Cable (0.1 m) (See note 2.) CS1W-CN1 14 Connecting Cable (0.05 m) CQM1-PRO01-E CS1W-CN224 (2 m) or CS1W-CN624 (4 m) Connecting Cab ...

  • Omron CPM2B - page 22

    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 a personal 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-pin) CPM2B CPU Board Connecting Cable XW2Z-200S ...

  • Omron CPM2B - page 23

    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 (T otal 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 CPU Board CPM2B CPU Board CPM2B CPU Board ...

  • Omron CPM2B - page 24

    1-2 Section System Configurations 11 1-2-7 OMRON PT Connections In a 1:1 NT Link, a CPM2B can be connected directly to a Programmable T ermi- nal through the RS-232C port. (The Programmable T erminal cannot be con- nected directly to the peripheral port.) An OMRON PT can also be connected to the CPM2B with a host link connection. Either the RS-232C ...

  • Omron CPM2B - page 25

    1-2 Section System Configurations 12 1-2-8 One-to-one PC Link Connections A CPM2B can be linked to another CPM2B, a CQM1, CPM1, CPM1A, CPM2A, CPM2C, SRM1 (-V2) or a C200HS or C200HX/HG/HE PC. The PCs must be connected through the RS-232C ports; they cannot be connected through the Peripheral ports. 1:1 Link Master Connecting Cable XW2Z-200T (2 m) X ...

  • Omron CPM2B - page 26

    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. External input devices I/O memory Program PC Setup RS-232C port Settings Settings Settings External output devices Communica- tions switch Input circuits Output circuits Peripheral port Th ...

  • Omron CPM2B - page 27

    ! 1-3 Section Structure and Operation 14 1-3-2 Operating Modes CPM2B CPU Boards have 3 operating modes: PROGRAM, MONIT OR, and RUN. The program cannot be executed in PROGRAM mode. This mode is used to perform the following operations in preparation for program execution • Changing initial/operating parameters such as those in the PC Setup • Wri ...

  • Omron CPM2B - page 28

    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 as the operating conditions (including power supply voltage, system configuration, and ambient temperature) and the program contents. Power OFF Operation Minimum Power Supply V oltage The PC will stop an ...

  • Omron CPM2B - page 29

    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 no initialization errors, the overseeing processes, program execution, I/O refresh- ing, and communications port servicing are performed repeatedly (cyclically). Startup initialization Oversee ...

  • Omron CPM2B - page 30

    1-3 Section Structure and Operation 17 Th e cycle time will vary slightly depending on the processing being performed in each cycle, so the calculated cycle time will not always match the actual cycle time. The following diagram shows the cyclic operation of the CPM2B when the pro- gram is being executed normally . Normally , the results of program ...

  • Omron CPM2B - page 31

    ! 1-3 Section Structure and Operation 18 When a n interrupt is generated during execution of the main program, main pro- gram execution is interrupted immediately and the interrupt program is execut- ed. The following diagram shows the cyclic operation of the CPM2B when an interrupt program is executed. Normally , the results of interrupt program e ...

  • Omron CPM2B - page 32

    1-3 Section Structure and Operation 19 When IORF(97) is used, the cycle time is extended by the time required to re- fresh the specified I/O words. Cycle time Overseeing processes Main program I/O refreshing RS-232C port servicing Peripheral port servicing IORF(97) executed. Immediate refreshing I/O refreshing ...

  • Omron CPM2B - page 33

    21 SECTION 2 Board Specifications and Components This section provides the technical specifications of the CPM2B Boards and describes the main components of the Boards. 2-1 Specifications 22 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 General Specifications 22 . . . . . ...

  • Omron CPM2B - page 34

    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 consumption 20 W max. --- Inrush current 20 A max. --- Ins ...

  • Omron CPM2B - page 35

    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 with IORF(97).) Programming language Ladder diagram Instruction length 1 step per instruction, 1 to 5 words per i ...

  • Omron CPM2B - page 36

    2-1 Section Specifications 24 Item CPU Boards Item With transistor outputs With relay outputs Synchronized pulse control 1 point: A pulse output can be created by combining the high-speed counter with pulse outputs and multiplying the frequency of the input pulses from the high-speed counter by a fixed factor . (This output is possible with transis ...

  • Omron CPM2B - page 37

    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 IN00006 6 mA typical IN00007 and up 5 mA ...

  • Omron CPM2B - page 38

    2-1 Section Specifications 26 2. Installation orientation: V ertical with end down Input voltage 26.4 V DC Input voltage 24 V DC Max. number of inputs ON at the same time 16 14 Max. number of inputs ON at the same time 16 14 01 0 2 0 3 0 4 05 0 5 5 49 ( ° C) 01 0 2 0 3 0 4 05 0 5 5 49 ( ° C) 3. Installation orientation: Horizontal Input voltage 2 ...

  • Omron CPM2B - page 39

    2-1 Section Specifications 27 Inputs IN00003 through IN00006 can be used as interrupt inputs (interrupt input mode or counter mode) and quick-response inputs. The minimum pulse width for these inputs is 50 µ s. Expansion I/O Board Input Specifications Item Specification Input voltage 24 V DC +10% / – 15% Input impedance 4.7 k Ω Input current 5 ...

  • Omron CPM2B - page 40

    ! 2-1 Section Specifications 28 Note The service life of the CPM2B ’ s relay output contacts shown in the table as- sumes the worst conditions. The following graph shows the results of OMRON ’ s service life tests at a switching rate of 1,800 times/hour . Life (x 10 4 ) Contact current (A) 120 V AC, resistive load 24 V DC/240 V AC, resistive lo ...

  • Omron CPM2B - page 41

    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. Power supply terminals 12. Expansion I/O connector 7. ...

  • Omron CPM2B - page 42

    2-2 Section Board Components and their Functions 30 CPU Board Component Descriptions 1, 2, 3... 1. Power Supply T erminals Connect the power supply (24 V DC) to these terminals. 2. Input Connector Connects the CPU Board to external input devices. 3. Output T erminals/Connector Connects the CPU Board to external output devices. 4. PC Status Indicato ...

  • Omron CPM2B - page 43

    2-2 Section Board Components and their Functions 31 9. Communications Switches SW201 and SW202 The Communications Switches control the communications settings for the peripheral port and RS-232C port. (OFF when shipped.) (OFF when shipped.) SW201 SW202 ON ON OFF OFF Switch settings Peripheral port RS-232C port SW202 SW201 communications communicati ...

  • Omron CPM2B - page 44

    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 T ransistor Outputs 2. Output connector 3. Input indicators 4. Output indicators 5. Expansion I/O ...

  • Omron CPM2B - page 45

    2-3 Section I/O Connector and T erminal 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 T erminal Pin Allocation CPU Boards Inputs (24 V DC) CPU Board with relay outputs CPU Board with transistor outputs Sinking transistor outputs Relay outputs IR 010 I ...

  • Omron CPM2B - page 46

    2-3 Section I/O Connector and T erminal Pin Allocation 34 Expansion I/O Boards Inputs (24 V DC) Expansion I/O Board with relay outputs Expansion I/O Board with transistor outputs Sinking transistor outputs Relay outputs Expansion I/O Board #1: IR 002 Expansion I/O Board #2: IR 003 Expansion I/O Board #3: IR 004 Expansion I/O Board #1: IR 012 Expans ...

  • Omron CPM2B - page 47

    35 SECTION 3 Installation and W iring This section provides information on installing and wiring a CPM2B PC. Be sure to follow the directions and precautions i n this section when installing the CPM2B in a panel or cabinet, wiring the power supply , or wiring I/O. 3-1 Design Precautions 36 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Omron CPM2B - page 48

    ! ! 3-2 Section Selecting an Installation Site 36 3-1 Design Precautions Observe the following precautions when designing a system incorporating a CPM2B 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. Separate the control circuits that supply power to the ...

  • Omron CPM2B - page 49

    ! 3-2 Section Selecting an Installation Site 37 Caution Be sure to install the CPM2B correctly , as outlined in this manual. Failure to do s o may 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 direct sunlight. • Locations subject to an ...

  • Omron CPM2B - page 50

    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 be dangerous if they are in the way during routine operations. 3-3 Assembling the CPM2B Boards Up to 3 Expansion I/O Boards can be connected to a CPM2B CPU Board. Th ...

  • Omron CPM2B - page 51

    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 Expansion I/O Board Expansion I/O Cable (included with the Expansion I/O Board) The cable from the CPU Board connects to the upper Expansion I/O Conne ...

  • Omron CPM2B - page 52

    ! 3-5 Section W iring and Connections 40 Example Installations Mounting Bracket Screw and nut installation Screw and tapped panel 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-A TT01 Mounting Bracket, but the Mounting Bracket must be used to conform to UL/CSA standards. Refer ...

  • Omron CPM2B - page 53

    3-5 Section W iring and Connections 41 Conduits Separate the CPM2B I/O lines, power and control lines, and power cables, as shown in the following diagram. CPM2B I/O lines Control cables and CPM2B power lines Power cables 3-5-1 Power Supply Wiring The power supply terminal specifications are shown below . Supply the power supply terminals with 24 V ...

  • Omron CPM2B - page 54

    3-5 Section W iring and Connections 42 3-5-2 I/O Wiring Procedures Removing and Wiring I/O T erminal Blocks The following tables provide output terminal block specifications. CPU Boards and Expansion I/O Boards with relay outputs Output terminal blocks Item Specification Screw size M3 Recommended tightening torque 0.5 to 0.6 N S m Recommended screw ...

  • Omron CPM2B - page 55

    3-5 Section W iring 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 block. Removing and Wiring I/O Connectors T ...

  • Omron CPM2B - page 56

    3-5 Section W iring and Connections 44 OMRON Crimping T ools Crimping T ool XY2B-0002 Attachment XY2B-1007 MIL 20P Loose-wire Pressure Connector Note T wo Full Covers or Partial Covers are required for each socket. XG5S-2012 Full Cover* XG5S-1001 Partial Cover* Sockets For AWG 24: XG5M-2032N For AWG 26 to A WG 28: XG5M-2035N OMRON Pressing T ools P ...

  • Omron CPM2B - page 57

    3-5 Section W iring and Connections 45 3-5-3 Connecting Input Devices Wire inputs to the CPM2B CPU Board and Expansion I/O Boards as shown in the following diagrams. Note When equipment must conform to the EC Directives (Low-voltage Directives), use a power supply with double insulation or reinforced insulation. CPU Boards (All Models) Input Connec ...

  • Omron CPM2B - page 58

    3-5 Section W iring 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 (+) Sensor power supply Output 5 mA/6 mA/8 mA CPM2B 0 V NPN current output Us e the same power supply for the input and sensor . CPM2B IN COM (+) Output ...

  • Omron CPM2B - page 59

    3-5 Section W iring and Connections 47 High-speed Counter Inputs Using IR 00000 to IR 00002 as High-speed Counter Inputs In these examples, Encoders with an external 24-V DC open-collector output are connected. Differential Phase Mode (Count frequency: 5 kHz) Encoder 24 V DC 00000 A-phase input 00001 B-phase input COM 00002 Z-phase input Pulse Plus ...

  • Omron CPM2B - page 60

    3-5 Section W iring 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 012 IR 00003 00 to 03 Used as normal Used as interrupt Used as IR 00004 04 to 07 inputs. inputs (including quick-response IR 00005 08 to 1 1 counter mode). inputs. IR 00006 1 ...

  • Omron CPM2B - page 61

    ! 3-5 Section W iring 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 as shown in the following diagrams. Don ’ t exceed the output capacity or the maximum common current. Refer to 2-1-3 I/O Specifications ...

  • Omron CPM2B - page 62

    3-5 Section W iring and Connections 50 CPU Boards with Sinking T ransistor Outputs Output connector 19 17 15 13 1 1 9 7 5 3 1 LL LL LL LL 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 LL LL LL LL Output capacity Max. common capacity 01000, 01001: 200 ...

  • Omron CPM2B - page 63

    3-5 Section W iring and Connections 51 Use the PULS(65), SPED( –– ), ACC( –– ), PWM( –– ), and SYNC( –– ) instructions to produce pulse outputs (rather than normal outputs) from output bits IR 01000 and IR 01001. Pulse outputs are possible from CPU Boards with transistor out- puts only . CPM2B Single-phase pulse output (Fixed duty r ...

  • Omron CPM2B - page 64

    3-5 Section W iring 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 Considerations When a relay or transistor output is used to switch a load with a high inrush cur- rent such as an incandescent lam ...

  • Omron CPM2B - page 65

    53 SECTION 4 Memory Ar eas This section describes the structure of the PC memory areas and explains how to use them. 4-1 Introduction 54 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1-1 Functions 54 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Omron CPM2B - page 66

    4-1 Section Introduction 54 4-1 Introduction Most data areas in the CPM2B can be accessed as bits or words. (The TR area ca n be accessed by bit address only and the DM area can be accessed by word address only .) The following diagram shows the structure of the IR area and the relationship between bit and word addresses. Bit number IR 000 IR 001 I ...

  • Omron CPM2B - page 67

    4-2 Section I/O Allocation 55 IR words that are not allocated to inputs or outputs can be used as work words. Th e work bits can be used freely within the program. They can only be used with- in the program, however , and not for direct external I/O. These bits mainly serve as flags for CPM2B operation or contain present and set values for various ...

  • Omron CPM2B - page 68

    4-2 Section I/O Allocation 56 CP U Board inputs are allocated input bits starting from IR 00000 and CPU Board outputs are allocated output bits starting from IR 01000. Input bits IR 00108 to IR 001 1 1 are allocated to the CPU Board ’ s DIP switch inputs. 16 inputs IR 00000 to IR 00007 IR 00100 to IR 00107 16 outputs IR 01000 to IR 01007 IR 01 10 ...

  • Omron CPM2B - page 69

    4-2 Section I/O Allocation 57 The following example shows the I/O allocation when three Expansion I/O Boards are connected to the CPU Board. 16 inputs IR 00000 to IR 00007 IR 00100 to IR 00107 16 outputs IR 01000 to IR 01007 IR 01 100 to IR 01 107 Inputs IR 000 IR 001 15 14 13 12 1 1 10 09 08 07 06 05 04 03 02 01 00 Outputs IR 010 IR 01 1 16 inputs ...

  • Omron CPM2B - page 70

    4-3 Section SR Area 58 4-3 SR Area These bits mainly serve as flags related to CPM2A/CPM2C operation or contain present and set values for various functions. The functions of the SR area are explained in the following table. Note “ Read-only ” words and bits can be read as status in controller PC operation, but they cannot be written from the l ...

  • Omron CPM2B - page 71

    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 Bit T urn ON to clear the PV of pulse output 0. Read/ write 05 Pulse Output 1 PV Reset Bit T urn ON to clear the PV of pulse output 1. 06, 07 Not used. 08 Peripheral Port Reset Bit T urn ON to r ...

  • Omron CPM2B - page 72

    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) Flag T urns ON when the result of a calculation is negative (leftmost bit of binary result ON.) 03 Not used. 04 Overflow (OF) Flag T urns ON ...

  • Omron CPM2B - page 73

    4-4 Section AR Area 61 Word(s) Function Bit(s) AR 08 00 to 03 RS-232C Port Error Code (1-digit BCD) 0: Normal completion 1: Parity error 2: Frame error 3: Overrun error 04 RS-232C Communications Error Flag T urns ON when an RS-232C port communications error occurs. 05 RS-232C T ransmit Ready Flag T urns ON when the PC is ready to transmit data. (No ...

  • Omron CPM2B - page 74

    4-4 Section AR Area 62 Word(s) Function Bit(s) AR 1 1 (Note 1) 00 to 07 High-speed Counter Range Comparison Flags 00 ON: Counter PV is within comparison range 1 01 ON: Counter PV is within comparison range 2 02 ON: Counter PV is within comparison range 3 03 ON: Counter PV is within comparison range 4 04 ON: Counter PV is within comparison range 5 0 ...

  • Omron CPM2B - page 75

    4-4 Section AR Area 63 Word(s) Function Bit(s) AR 13 00 Power-up PC Setup Error Flag T urns ON when there is an error in DM 6600 to DM 6614 (the part of the PC Setup area that is read at power-up). 01 Start-up PC Setup Error Flag T urns ON when there is an error in DM 6615 to DM 6644 (the part of the PC Setup area that is read at the beginning of o ...

  • Omron CPM2B - page 76

    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: T uesday 03: W ednesday 04: Thursday 05: Friday 06: Saturday 08 to 12 Not used. 13 30-second Compensation Bit T urn this bit ON to round off to the nearest minute. When the seconds are 00 to 29, the seconds are cleared t ...

  • Omron CPM2B - page 77

    4-5 Section PC Setup 65 tive, and program execution will have to be restarted to make changes in DM 6615 to DM 6644 effective. If an incorrect PC Setup setting is accessed, a non-fatal error (error code 9B) will be generated, the corresponding error flag (AR 1300 to AR 1302) will be turned ON, and the default setting will be used instead of the inc ...

  • Omron CPM2B - page 78

    4-5 Section PC Setup 66 Word(s) Function Bit(s) DM 6616 00 to 07 Servicing time for RS-232C port (Effective when bits 08 to 15 are set to 01.) 00 to 99 (BCD): Percentage of cycle time used to service RS-232C port. 08 to 15 RS-232C port servicing setting enable 00: 5% of the cycle time 01: Use time in bits 00 to 07. DM 6617 00 to 07 Servicing time f ...

  • Omron CPM2B - page 79

    4-5 Section PC Setup 67 Word(s) Function Bit(s) High-speed Counter Settings (DM 6642 to DM 6644) The following settings are effective after transfer to the PC the next time operation is started. DM 6642 00 to 03 High-speed counter mode (Effective only when bits 08 to 15 are not set to 00.) 0: Differential phase mode (5 kHz) 1: Pulse + direction inp ...

  • Omron CPM2B - page 80

    4-5 Section PC Setup 68 Word(s) Function Bit(s) DM 6648 00 to 07 Node number (Host Link) 00 to 31 (BCD) (Any other setting specifies a node number of 00, causes a non-fatal error , and turns ON AR 1302.) 08 to 1 1 Start code selection for no-protocol communications 0: Disables start code; 1: Enables start code in DM 6649 (Any other setting disables ...

  • Omron CPM2B - page 81

    4-6 Section Error Log 69 Word(s) Function Bit(s) DM 6652 00 to 15 T ransmission 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 setting specifies a node number of 00, causes a no ...

  • Omron CPM2B - page 82

    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 Methods The 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 0: Stores the most recent 7 error log records an ...

  • Omron CPM2B - page 83

    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 A ...

  • Omron CPM2B - page 84

    5-1 Section CPM2B Function Codes 72 5-1 CPM2B Function Codes The following table lists the CPM2B instructions that have fixed function codes. Each instruction is listed by mnemonic and by instruction name. Use the num- bers in the leftmost column as the left digit and the number in the column heading as the right digit of the function code. Left Ri ...

  • Omron CPM2B - page 85

    5-2 Section Alphabetic List by Mnemonic 73 5-2 Alphabetic List by Mnemonic Dashes ( “––” ) in the Code column indicate expansion instructions, which do not have fixed function codes. “ None ” indicates instructions for which function codes are not used. Mnemonic Code W ords Name ACC (@) –– 4 ACCELERA TION CONTROL ADB (@) 50 4 BINARY ...

  • Omron CPM2B - page 86

    5-2 Section Alphabetic List by Mnemonic 74 Mnemonic Code W ords Name INC (@) 38 2 INCREMENT INI (@) 61 4 MODE CONTROL INT (@) 89 4 INTERRUPT CONTROL IORF (@) 97 3 I/O REFRESH JME 05 2 JUMP END JMP 04 2 JUMP KEEP 11 2 KEEP LD None 1 LOAD LD NOT None 1 LOAD NOT MAX (@) –– 4 FIND MAXIMUM MCRO (@) 99 4 MACRO MIN (@) –– 4 FIND MINIMUM MLB (@) 52 ...

  • Omron CPM2B - page 87

    5-2 Section Alphabetic List by Mnemonic 75 Mnemonic Code W ords Name SLD (@) 74 3 ONE DIGIT SHIFT LEFT SNXT 09 2 STEP ST ART SPED (@) 64 4 SPEED OUTPUT SRCH (@) –– 4 DA T A SEARCH SRD (@) 75 3 ONE DIGIT SHIFT RIGHT STC (@) 40 1 SET CARRY STEP 08 2 STEP DEFINE STIM (@) 69 4 INTERV AL TIMER STUP –– 3 CHANGE RS-232C SETUP SUB (@) 31 4 BCD SUBT ...

  • Omron CPM2B - page 88

    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 needed by each program to more effectively use th ...

  • Omron CPM2B - page 89

    77 SECTION 6 Using Pr ogramming Devices This section outlines the operations possible with the Programming Consoles. 6-1 Using a Programming Console 78 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1-1 Compatible Programming Consoles 78 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ...

  • Omron CPM2B - page 90

    6-1 Section Using a Programming Console 78 6-1 Using a Programming Console This s ection 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: The CQM1-PRO01-E and the C200H-PRO27-E. The key functions for these Pro- gramming Con ...

  • Omron CPM2B - page 91

    6-1 Section Using a Programming Console 79 The following keys are labeled differently on the CQM1-PRO01-E and the C200H-PRO27-E, but the operation of the keys in each pair is identical. CQM1-PRO01-E Keys C200H-PRO27-E Keys AR HR HR SET PLA Y SET RESET REC RESET Note T o specify the AR area, use SHIFT and HR Keys for the C200H-PRO27-E and use SHIFT ...

  • Omron CPM2B - page 92

    ! ! 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 be used to change the CPM2B ’ s operating mode. The mode display (<PRO- GRAM>, <MONIT OR>, or <RUN>) will appear on the Programming Console screen. • No key ...

  • Omron CPM2B - page 93

    6-1 Section Using a Programming Console 81 Th e operating mode of the CPM2B when the power is turned ON depends upon the PC Setup setting in DM 6600 and the Programming Console ’ s mode switch setting if the Programming Console is connected. PC Setup setting (DM 6600) Programming Console connected Programming Console not connected 00xx The startu ...

  • Omron CPM2B - page 94

    ! 6-1 Section Using a Programming Console 82 Panel Installation The C200H-PRO27-E Programming Console can be installed in a control panel as shown in the following diagram. (The C200H-A TT01 Mounting Bracket is sold separately .) 186 +1.1 – 0 92 +0.8 – 0 Mounting Bracket T wo screws Panel thickness: 1.0 to 3.2 mm Mounting hole dimensions (DIN43 ...

  • Omron CPM2B - page 95

    6-1 Section Using a Programming Console 83 8. Start programming. 6-1-5 Entering the Password T o gain access t o the PC ’ s programming functions, you must first enter the pass- word. The password prevents unauthorized access to the program. Th e PC prompts you for a password when PC power is turned on or , if PC power is already on, after the Pr ...

  • Omron CPM2B - page 96

    6-2 Section Programming Console Operations 84 6-2 Programming Console Operations 6-2-1 Overview Th e following table lists the programming and monitoring operations that can b e performed from a Programming Console. Refer to the rest of this section for details on operational procedures. Name Function Page Clearing memory Clears all or part of the ...

  • Omron CPM2B - page 97

    ! 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 Memory and data areas, as well as the contents of t ...

  • Omron CPM2B - page 98

    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 MESSAGE instruction messages in any mode, but fat ...

  • Omron CPM2B - page 99

    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> BZ 2. Press the SHIFT and then the 1 Key to ...

  • Omron CPM2B - page 100

    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 memory address and is possible i n any mode. In the RUN ...

  • Omron CPM2B - page 101

    6-2 Section Programming Console Operations 89 The program shown in the following diagram will be entered to demonstrate this 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 #FFF6 DM 0000 Address Instruction Operands 1, 2, 3. ...

  • Omron CPM2B - page 102

    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) T o input the differentiated version of an instruction, press the NOT Key after the function code (FUN 2 1 NOT). The “ @ ” sy ...

  • Omron CPM2B - page 103

    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, press the CLR Key to restore the status prior t ...

  • Omron CPM2B - page 104

    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 be found and press the SRCH Key . In this case ...

  • Omron CPM2B - page 105

    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. I t i s pos- sible in PROGRAM mode only . RUN MONITOR PROGRAM No No OK T o demonstrate this operation, an IR 00105 NO condition will be inserted at program address 00206 and an IR 00103 N ...

  • Omron CPM2B - page 106

    6-2 Section Programming Console Operations 94 After completing the insertion and deletion procedures, use the Up and Down Arrow Keys to scroll through the program and verify that it has been changed correctly , as shown in the following diagram. 00104 00100 00105 00101 00201 END(01) 00102 01000 Corrected Program Address Instruction Operands 00205 A ...

  • Omron CPM2B - page 107

    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 that address 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 address and press the Down Arrow Key . C 2 A 0 A ...

  • Omron CPM2B - page 108

    6-2 Section Programming Console Operations 96 4. Press the CLR Key to end monitoring. CLR 00000 CHANNEL LR 01 Note Th e operating mode can be changed without altering the current monitor display by holding down the SHIFT Key and then changing the operating mode. Th e status of up to six bits and words can be monitored simultaneously , although only ...

  • Omron CPM2B - page 109

    6-2 Section Programming Console Operations 97 2. T o 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. T o specify down-differentiation monitoring, press the SHIFT and then the Down Arrow Key . Th ...

  • Omron CPM2B - page 110

    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 is possible in any mode. RUN MONITOR PROGRAM OK OK OK 1, 2, 3... 1. Monitor the status of the ...

  • Omron CPM2B - page 111

    ! 6-2 Section Programming Console Operations 99 At this point, the contents of the displayed word can be changed with a signed-decimal input. Refer to 6-2-22 Signed Decimal Data Modification . 3. Press the CLR Key or the SHIFT+TR Keys to end the unsigned decimal dis- play and return to normal monitoring. CLR c200 cL0020000 FFF0 0000^ OFF 6-2-17 Uns ...

  • Omron CPM2B - page 112

    6-2 Section Programming Console Operations 100 (Input the new value and press the WRITE Key to write the changes in memory if no more changes will be made.) B 1 CHG D0002 3CH CHG? 0001 4567 89AB 4. Input the new value for the middle word on the display and press the CHG Ke y if the rightmost word will be changed. Input the new value and press the W ...

  • Omron CPM2B - page 113

    ! 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 increment and decrement the con- stant on the rig ...

  • Omron CPM2B - page 114

    ! ! 6-2 Section Programming Console Operations 102 Caution Before changing the contents of I/O memory , be sure that the changes will not cause equipment to operate unexpectedly or dangerously . In particular , take care when changing the status of output bits. The PC continues to refresh I/O bits even if the PC is in PROGRAM mode, so devices conne ...

  • Omron CPM2B - page 115

    ! 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 and press the WRITE Key to change the PV . The ope ...

  • Omron CPM2B - page 116

    ! ! 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 is useful when debugging the program or checking output wiring. It is possible in MONITOR or PROGRAM mode only . RUN MONITOR PROGRAM No OK OK Caution Before changing the contents of I/O memory , be ...

  • Omron CPM2B - page 117

    6-2 Section Programming Console Operations 105 1, 2, 3... 1. Press the CLR Key to bring up the initial display . 2. Press the SET and then the RESET Key . A confirmation message will ap- pear . SET RESET 00000FORCE RELE? Note If you mistakenly press the wrong key , press CLR and start again from the beginning. 3. Press the NOT Key to clear the forc ...

  • Omron CPM2B - page 118

    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 in any mode, but can be set in MONITOR or PROGRAM mode only . Operation RUN MONIT OR PROGRAM Read clock OK OK OK Set clock No OK OK 1, 2, 3... 1. Press the CLR Key to bring up the initial display ...

  • Omron CPM2B - page 119

    ! 6-3 Section Programming Example 107 3. Clear the CPM2B ’ s memory by pressing the CLR, SET , NOT , RESET , and then the MONTR Key . Press the CLR Key several times if memory errors are displayed. CLR 00000 SET NOT RESET 00000MEMORY CLR? HR CNT DM MONTR END HR CNT DM 00000MEMORY CLR 4. Display and clear error messages by pressing the CLR, FUN, a ...

  • Omron CPM2B - page 120

    6-3 Section Programming Example 108 6-3-2 Example Program The following ladder program will be used to demonstrate how to write a pro- gram with the Programming Console. This program makes output IR 01000 flicker ON/OFF (one second ON, one second OFF) ten times after input IR 00000 is turned ON. Count input Reset input 20000 END(01) C000 00000 2000 ...

  • Omron CPM2B - page 121

    6-3 Section Programming Example 109 6-3-3 Programming Procedures The example program will be written to the CPM2B according to the mnemonic list in 6-3-2 Example Program . The procedure is performed beginning with the initial display . (Clear the memory before entering a new program.) Note If an error occurs while inputting the program, refer to th ...

  • Omron CPM2B - page 122

    6-3 Section Programming Example 11 0 4. Input the SV for T001 (#0010 = 1.0 s). B 1 A 0 00006 TIM DATA #0010 WRITE 00007READ NOP (000) The following key operations are used to input the 2-second timer . 1, 2, 3... 1. Input the normally open condition IR 20000. LD C 2 A 0 A 0 A 0 A 0 00007 LD 20000 WRITE 00008READ NOP (000) 2. Input the normally clos ...

  • Omron CPM2B - page 123

    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 IR 20000. LD C 2 A 0 A 0 A 0 A 0 000014 LD 20000 W ...

  • Omron CPM2B - page 124

    6-3 Section Programming Example 11 2 2. Press the SRCH Key . An input prompt will appear requesting the desired check level. SRCH 00000PROG CHK CHK LBL (0Ć2)? 3. Input the desired check level (0, 1, or 2). The program check will begin when the check level is input, and the first error found will be displayed. If no errors are found, the following ...

  • Omron CPM2B - page 125

    11 3 SECTION 7 T est Runs and Err or Processing This section describes procedures for test runs of CPM2B operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. 7-1 Initial System Checks and T est Run Procedure 1 14 . . . . . . . . . . . . . . . . . . . . ...

  • Omron CPM2B - page 126

    7-2 Section CPM2B T est Run Procedure 11 4 7-1 Initial System Checks and T est 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 and I/O connections Is the wiring correct? Are the terminals securely tightened? Are there any ...

  • Omron CPM2B - page 127

    ! 7-3 Section Self-diagnostic Functions 11 5 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 CPM2B ’ s input indicators or a Program- ming Dev ...

  • Omron CPM2B - page 128

    7-3 Section Self-diagnostic Functions 11 6 7-3-2 User-defined Errors There are three instructions that can be used to define errors or messages. F AL(06) causes a non-fatal error , F AL(07) causes a fatal error , and MSG(46) sends a message to the Programming Console or host computer connected to the PC. F AL(06) is an instruction that causes a non ...

  • Omron CPM2B - page 129

    7-3 Section Self-diagnostic Functions 11 7 7-3-4 Fatal Errors PC operation and program execution will stop and all outputs from the PC will be turned OFF when any of these errors have occurred. CPM2B operation can ’ t be restarted until the PC is turned off and then on again or a Programming Device is used to switch the PC to PROGRAM mode and cle ...

  • Omron CPM2B - page 130

    7-4 Section T roubleshooting Flowcharts 11 8 7-4 T roubleshooting 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 CPU Board. PWR indicator lit? RUN indicator lit? ERR indicator flashing? Is I/O sequence normal? Operating environment ...

  • Omron CPM2B - page 131

    7-4 Section T roubleshooting Flowcharts 11 9 Power Supply Check PWR indicator not lit. Replace the CPU Board. Is power being supplied? Is voltage adequate? Are there any loose terminal screws or bro- ken wires? Connect power supply . Is PWR indicator lit? Set supply voltage within acceptable limits. Is PWR indicator lit? Tighten screws or replace w ...

  • Omron CPM2B - page 132

    7-4 Section T roubleshooting Flowcharts 120 Fatal Error Check Identify the error, eliminate its cause, and clear the error . Follow the Memory Error Check flowchart if a memory error has occurred. Is the ERR indi- cator lit? Determine the cause of the error with a Programming Device. End RUN indicator not lit. Replace the CPU Board. Is PC mode disp ...

  • Omron CPM2B - page 133

    7-4 Section T roubleshooting Flowcharts 121 Non-fatal Error Check Identify the error, eliminate its cause, and clear the error . ERR indicator flashing. Is a non-fatal error indicated? Is the ERR indicator flashing? Replace the CPU Board. End Determine the cause of the error with a Programming Device. No Ye s Flashing Not lit ...

  • Omron CPM2B - page 134

    7-4 Section T roubleshooting Flowcharts 122 The I/O check flowchart is based on the following ladder diagram section. 01003 00002 (LS1) 00003 (LS2) SOL1 malfunction. SOL1 01003 Ye s Monitor the ON/OFF status of IR 01003 with a Programming Device. No Is the IR 01003 output indicator operating normally? Check the voltage at the IR 01003 terminals. Wi ...

  • Omron CPM2B - page 135

    7-4 Section T roubleshooting Flowcharts 123 Ye s No Check the voltage at the IR 00002 and IR 00003 terminals. Check operation by using a dummy input signal to turn the input ON and OFF . No Replace the CPU Board or Expansion I/O Board. Are the terminal screws loose? Operation OK? Wire correctly . Is input wiring correct? Tighten the terminal screws ...

  • Omron CPM2B - page 136

    7-4 Section T roubleshooting Flowcharts 124 Environmental Conditions Check Consider using a fan 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 a heater . Consider using an air conditioner . Install surge protec- tors or ot ...

  • Omron CPM2B - page 137

    7-5 Section Maintenance Inspections 125 Memory Error Check Memory error occurred. AR 1309 ON? AR 1314 ON? AR 1308 ON? Replace the CPU Board. Check/correct backed-up data and clear error . Check the program, correct any errors, and clear the error . End No Ye s No No Ye s No Ye s AR 1310 to AR 1312 ON? Check the error indicated by the flag that is O ...

  • Omron CPM2B - page 138

    ! 7-6 Section Battery Replacement 126 Th e 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 Remarks Power supply Determine whether the voltage ...

  • Omron CPM2B - page 139

    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 by setting the leftmost digit of DM 6655 to 0. ...

  • Omron CPM2B - page 140

    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 --- Ye s --- CPM2B-32C1DT -D No --- CPM2B-32C2DT -D Ye s Accessories: Four studs, four M3 screws Expansion I/O Boards Ap ...

  • Omron CPM2B - page 141

    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 A WG 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 Relief Communications Port Connecting Cables Ap ...

  • Omron CPM2B - page 142

    Appendix A Standard Models 131 Maintenance Accessories Appearance Model Number Name Specifications C500-BA T08 Backup Battery --- CPM1-EMU01-V1 Expansion Memory Unit Uploads the ladder program and DM 6144 to DM 6655 from the PC to the EEPROM and downloads the ladder program and DM 6144 to DM 6655 from the EEPROM to the PC. EEROM-JD EEPROM 256 K bit ...

  • Omron CPM2B - page 143

    133 Appendix B Dimensions All dimensions are in millimeters. CPU Boards and Expansion I/O Boards 108 70 164 174 Mounting Bracket (CPM2B-A TT01) Six 3.5 dia. Four 4.5 dia. 6 11 0 100 70 164 186 196 6 ...

  • Omron CPM2B - page 144

    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 ...

  • Omron CPM2B - page 145

    135 Index Numbers 1:N connections, 10 A arc killer , examples, xvii ASCII, converting displays, Programming Console, 105 atmosphere, 22 B battery , replacing, 126 binary data, modifying, Programming Console, 101 bit status, force-set/reset, Programming Console, 104 bits, searching, Programming Console, 92 buzzer operation, Programming Console, 86 C ...

  • Omron CPM2B - page 146

    Index 136 features, 2 flash memory , precautions, 1 14 flicker output, example, 1 1 1 force-set/reset clearing, Programming Console, 104 Programming Console, 104 function codes expansion instructions, 76 reading and changing expansion instruction assignments, 87 functions, 5 hexadecimal data, converting displays, Programming Console, 105 I – L I/ ...

  • Omron CPM2B - page 147

    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 photoelectric switches, preventing false inputs, 48 PNP c ...

  • Omron CPM2B - page 148

    Index 138 changing SV , Programming Console, 100 example of inputting, 1 10 troubleshooting, 1 18 fatal errors, 120 I/O errors, 122 non-fatal errors, 121 operating conditions, 124 power supply , 1 19, 125 U unsigned decimal data modifying, Programming Console, 103 monitoring, 99 V – W vibration resistance, 22 voltage, supply voltage, 22 voltage o ...

  • Omron CPM2B - page 149

    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 the previous version. Revision code Date Revised content 1 February 2000 Original production ...

Manufacturer Omron Category Video Game Controller

Documents that we receive from a manufacturer of a Omron CPM2B can be divided into several groups. They are, among others:
- Omron technical drawings
- CPM2B manuals
- Omron product data sheets
- information booklets
- or energy labels Omron CPM2B
All of them are important, but the most important information from the point of view of use of the device are in the user manual Omron CPM2B.

A group of documents referred to as user manuals is also divided into more specific types, such as: Installation manuals Omron CPM2B, service manual, brief instructions and user manuals Omron CPM2B. Depending on your needs, you should look for the document you need. In our website you can view the most popular manual of the product Omron CPM2B.

Similar manuals

A complete manual for the device Omron CPM2B, how should it look like?
A manual, also referred to as a user manual, or simply "instructions" is a technical document designed to assist in the use Omron CPM2B by users. Manuals are usually written by a technical writer, but in a language understandable to all users of Omron CPM2B.

A complete Omron manual, should contain several basic components. Some of them are less important, such as: cover / title page or copyright page. However, the remaining part should provide us with information that is important from the point of view of the user.

1. Preface and tips on how to use the manual Omron CPM2B - At the beginning of each manual we should find clues about how to use the guidelines. It should include information about the location of the Contents of the Omron CPM2B, FAQ or common problems, i.e. places that are most often searched by users in each manual
2. Contents - index of all tips concerning the Omron CPM2B, that we can find in the current document
3. Tips how to use the basic functions of the device Omron CPM2B - which should help us in our first steps of using Omron CPM2B
4. Troubleshooting - systematic sequence of activities that will help us diagnose and subsequently solve the most important problems with Omron CPM2B
5. FAQ - Frequently Asked Questions
6. Contact detailsInformation about where to look for contact to the manufacturer/service of Omron CPM2B in a specific country, if it was not possible to solve the problem on our own.

Do you have a question concerning Omron CPM2B?

Use the form below

If you did not solve your problem by using a manual Omron CPM2B, ask a question using the form below. If a user had a similar problem with Omron CPM2B it is likely that he will want to share the way to solve it.

Copy the text from the picture

Comments (0)