Summary of Contents for SYSMAC CPM2B

Page 1: ...ess underutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of their respecti...

Page 2: ...OPERATION MANUAL Cat No W371 E1 03 SYSMAC CPM2B Programmable Controller Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 3: ...SYSMAC CPM2B Programmable Controller Operation Manual Revised July 2003 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 4: ...iv Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 5: ...ion PLC means Programmable Controller PC is used however in some Program ming Device displays to mean Programmable Controller Visual Aids The following headings appear in the left column of the manual to help you locate different types of information Note Indicates information of particular interest for efficient and convenient opera tion of the product 1 2 3 1 Indicates lists of one sort or anoth...

Page 6: ...vi Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 7: ...s and their Functions 34 2 3 I O Connector and Terminal Pin Allocation 40 SECTION 3 Installation and Wiring 45 3 1 Design Precautions 46 3 2 Selecting an Installation Site 47 3 3 Assembling the CPM2B Boards 48 3 4 Installing the CPM2B 51 3 5 Wiring and Connections 51 SECTION 4 Memory Areas 69 4 1 Introduction 70 4 2 I O Allocation 72 4 3 SR Area 76 4 4 AR Area 79 4 5 PLC Setup 82 4 6 Error Log 88 ...

Page 8: ... 127 7 3 Programming Example 153 SECTION 8 Test Runs and Error Processing 161 8 1 Initial System Checks and Test Run Procedure 162 8 2 CPM2B Test Run Procedure 163 8 3 Self diagnostic Functions 163 8 4 Troubleshooting Flowcharts 166 8 5 Maintenance Inspections 174 8 6 Battery Replacement 175 Appendices A Standard Models 177 B Dimensions 181 C Connections Diagrams for Connector Terminal Blocks and ...

Page 9: ... ual W353 for details on programming Section 2 provides the technical specifications of the CPM2B Boards and describes the main compo nents of the Boards Section 3 provides information on installing and wiring a CPM2B PLC Be sure to follow the directions and precautions in this section when installing the CPM2B in a panel or cabinet wiring the power sup ply or wiring I O Section 4 describes the st...

Page 10: ... combination with any electrical or electronic components circuits system assemblies or any other materials or substances or environments Any advice recommendations or information given orally or in writing are not to be construed as an amendment or addition to the above warranty 13 Damage Limits Etc SELLER SHALL NOT BE LIABLE FOR SPECIAL INDI RECT OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR PRODU...

Page 11: ...on of the Programmable Controller You must read this section and understand the information contained before attempting to set up or operate a PLC system 1 Intended Audience xii 2 General Precautions xii 3 Safety Precautions xii 4 Operating Environment Precautions xiii 5 Application Precautions xiv 6 EC Directives xvi Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www ar...

Page 12: ...ead this manual before attempting to use the Unit and keep this man ual close at hand for reference during operation WARNING It is extremely important that a PLC and all PLC Units be used for the speci fied purpose and under the specified conditions especially in applications that can directly or indirectly affect human life 3 Safety Precautions WARNING Do not attempt to take any board apart while...

Page 13: ... by extending the cycle time Otherwise the input signals may not be readable Caution Tighten the screws on the terminal block to the torque specified in the opera tion manual The loose screws may result in burning or malfunction Caution When connecting the PLC to a personal computer or other peripheral device either ground the 0 V side of the PLC or do not ground the PLC at all Although some groun...

Page 14: ...ot turning OFF the power supply may result in malfunction or electric shock 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 of the PLC or the system or could damage the PLC Always heed these ...

Page 15: ... Double check all the wiring before turning ON the power supply Incorrect wiring may result in burning Be sure that the terminal blocks expansion cables and other items with locking devices are properly locked into place Improper locking may result in malfunction Be sure that terminal blocks and connectors are connected in the speci fied direction with the correct polarity Not doing so may result ...

Page 16: ... customer however must be checked by the customer EMC related performance of the OMRON devices that comply with EC Direc tives will vary depending on the configuration wiring and other conditions of the equipment or control panel on which the OMRON devices are installed The customer must therefore perform the final check to confirm that devices and the overall machine conform to EMC standards Note...

Page 17: ...for the whole system with the PLC included is 5 times or more per minute Countermeasure Examples When switching an inductive load connect a surge protector diodes etc in parallel with the load or contact as shown below Circuit Current Characteristic Required element AC DC Yes Yes If the load is a relay or solenoid there is a time lag between the moment the circuit is opened and the moment the load...

Page 18: ...sed dielectric strength value of the diode may be two to three times larger than the supply voltage if the surge protector is applied to electronic circuits with low circuit voltages Yes Yes The varistor method prevents the impo sition of high voltage between the con tacts by using the constant voltage characteristic of the varistor There is time lag between the moment the cir cuit is opened and t...

Page 19: ...B Functions 7 1 2 System Configurations 8 1 2 1 CPU Boards 8 1 2 2 Expansion I O Boards 9 1 2 3 Analog I O Boards 10 1 2 4 Connecting a Programming Console 11 1 2 5 Support Software 11 1 2 6 One to one Computer Connections 12 1 2 7 One to N Computer Connections 13 1 2 8 OMRON PT Connections 14 1 2 9 One to one PLC Link Connections 15 1 3 Structure and Operation 15 1 3 1 CPU Board Structure 15 1 3 ...

Page 20: ...ay outputs and sinking transistor outputs The power supply for the CPM2B CPU Board is either 12 V DC or 24 V DC only Expansion I O Boards Up to two 64 point Expansion I O Boards can be connected to the CPU Board to increase the PLC s I O capacity to a maximum of 168 I O points There are also four types of 32 point Expansion I O Boards available two with relay out puts and the other with sinking tr...

Page 21: ...uty ratio When used as pulse plus direction or up down pulse outputs there can be just one output with a frequency range of 10 Hz to 10 kHz High speed Input Capabilities for Machine Control High speed Interrupt Input Function There are four inputs used for interrupt inputs shared with quick response inputs and interrupt inputs in counter mode with a minimum input signal width of 50 µs and response...

Page 22: ...fer of user programs and data memory is possible with PLCs Note 1 Refer to the CPM 2A Operation Manual W352 or CPM2C Operation Man ual for details on the CPM1 EMU01 V1 2 The CPM2C CN111 can be connected only to the peripheral port Capable of Analog I O Control A CPU Board with a 24 V DC power supply can be connected with up to three Analog I O Boards to which external analog I O devices can be con...

Page 23: ...mmunications Capabilities Host Link A Host Link connection can be made through the PLC s RS 232C port or Peripheral port A personal computer or Programmable Terminal connected in Host Link mode can be used for operations such as reading writing data in the PLC s I O memory or reading changing the PLC s operating mode Only 1 1 connections are possible with a Programmable Terminal Model Number of in...

Page 24: ...nected directly to the CPM2B The PT must be connected to the RS 232C port it cannot be connected to the Peripheral port One to one PLC Link A CPM2B can be linked directly to another CPM2B CQM1 CPM1 CPM1A CPM2A CPM2C SRM1 V2 C200HS or C200HX HG HE PLC The 1 1 PLC Link allows automatic data link connections The PLCs must be connected through the RS 232C ports they cannot be connected through the Per...

Page 25: ...e or the count lies within a preset range Interrupt inputs in counter mode 4 inputs see note 1 Incrementing counter 2 kHz Decrementing counter 2 kHz No interrupt Count up interrupt Pulse outputs 2 outputs Single phase pulse output without acceleration deceleration See note 3 10 Hz to 10 kHz 2 outputs Variable duty ratio pulse output See note 3 0 1 to 999 9 Hz duty ratio 0 to 100 1 output Pulse out...

Page 26: ...ng transistor outputs Connector CPM2B 32C1DT D Yes CPM2B 32C2DT D 40 I O points 24 inputs 16 outputs 24 inputs 24 V DC 16 relay outputs Terminal block Yes CPM2B 40C2DR D 12 V DC 32 I O points 16 inputs 16 outputs 16 inputs 12 V DC 16 sinking transistor outputs Connector CPM2B 32C1D1T D12 Yes CPM2B 32C2D1T D12 CPU Board with 32 I O points Relay outputs CPU Board with 32 I O points Transistor output...

Page 27: ...2 I O points Transistor outputs CPU Board Expansion connector Expansion I O Board Expansion connector Expansion I O Board with 40 I O points Relay outputs Expansion I O Board with 64 I O points Transistor outputs CPM2B 40C2DR D 24 inputs 16 outputs CPM2B 64EDT 32 inputs 32 outputs 1 Board 2 Boards 88 inputs 80 outputs Expansion I O Board Inputs Outputs Model Number of allocated words 32 I O points...

Page 28: ...er of Expansion Boards Analog input Analog output Resolu tion Model Allocated words Maximum number of Boards Input signal range Number of inputs Output signal range Number of outputs 0 to 5 V 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA and 4 to 20 mA 6 points 1 to 5 V 0 to 10 V 10 to 10 V 0 to 20 mA and 4 to 20 mA 3 points 6 000 CPM2B MAD63 Input 6 words Output 3 words 1 4 points 2 points CPM2B MAD42...

Page 29: ...nections for details on the computer connection Always turn ON Communications Switch SW201 when using Support Soft ware instead of a Programming Console The setting on Communications Switch SW202 determines whether the communications settings in the PLC Setup or the standard settings will be used as shown in the following table Peripheral port CPM2C CN111 Connecting Cable 0 1 m See note 2 CS1W CN1...

Page 30: ... as the Network Type Serial Communications Mode Note The CQM1 CIF11 Connecting Cable cannot be used If one is connected the CPM2C will not recognize it the PLC will enter RUN mode at startup if Com SW202 setting Communications settings Peripheral port RS 232C port ON Standard settings The standard settings and PLC Setup default settings are Host Link communications at 9 600 bps with 1 start bit 7 ...

Page 31: ...pansion I O Board can be connected to the CPU Board because the NT AL001 E draws its 5 V DC power from the CPU Board Use an XW2Z 070T 1 0 7 m or XW2Z 200T 1 2 m cable to connect the NT AL001 E to the CPM2B s RS 232C port 2 The 3G2A9 AL004 E requires an external AC power supply 110 V AC or 220 V AC 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...

Page 32: ...ing the user to enter a password For details refer to Section 7 2 Programming Console Opera tions This is because in order to write data to the PLC the PT automatically switches the operating mode from RUN mode to MONITOR mode This automatic mode change will not be performed if the PT is connected via NT Link When a Programming Device installed on a computer is connected to the peripheral port the...

Page 33: ...f the CPU Board 1 1 Link Master Connecting Cable XW2Z 200T 2 m XW2Z 500T 5 m RS 232C port D sub 9 pin RS 232C port D sub 9 pin 1 1 Link Slave OMRON PLC CQM1 CPM1 CPM1A CPM2A CPM2B CPM2C SRM1 V2 C200HS or C200HX HG HE OMRON PLC CQM1 CPM1 CPM1A CPM2A CPM2B CPM2C SRM1 V2 C200HS or C200HX HG HE CPM2B CPU Board CPM2B CPU Board External input devices I O memory Program PLC Setup RS 232C port Settings Se...

Page 34: ...ommunications settings or the com munications settings in the PLC Setup Refer to 2 2 Board Components and their Functions for more details 1 3 2 Operating Modes CPM2B CPU Boards have 3 operating modes PROGRAM MONITOR and RUN PROGRAM Mode The program cannot be executed in PROGRAM mode This mode is used to perform the following operations in preparation for program execution Changing initial operati...

Page 35: ...age falls below 85 of the rated value Momentary Power Interruption A power interruption will not be detected and CPU Board operation will con tinue if the power interruption lasts less than 2 ms for a DC power supply A power interruption may or may not be detected for power interruptions somewhat longer than 2 ms for a DC power supply When a power interruption is detected the CPU Board will stop o...

Page 36: ...y When repeated stopping and starting will cause problems with the controlled system set up a protective cir cuit such as a circuit that shuts off the power supply to sensitive equipment until the power supply voltage returns to the rated value 85 of rated voltage Program execution CPU reset signal Detection of power interruption Executing Stopped 1 Minimum time 2 Additional time CPU Board operati...

Page 37: ...rvicing Peripheral port servicing Check hardware Check memory Check for battery error Preset the watch maximum cycle time Check program memory Refresh bits for expansion functions Read input data from input bits Write output data to output bits Read data from flash memory program read only DM data and PLC Setup settings PLC cycle time Execute the program Refer to the Programming Manual W353 for de...

Page 38: ... cycle time has been set CPU operation is paused after program execution until the minimum cycle time is reached CPU operation will not be paused if the actual cycle time is longer than the mini mum cycle time set in DM 6619 Note A fatal error will occur and PLC operation will stop if a maximum cycle time has been set in the PLC Setup DM 6618 and the actual cycle time exceeds that setting The defa...

Page 39: ...ycle time is extended by the time required for execution of the interrupt program Refer to Section 7 PLC Operations and Processing Time in the CPM1 CPM1A CPM2A CPM2C SRM1 V2 Programmable Controllers Program ming Manual W353 for more details and precautions on the cycle time Caution Although IORF 97 can be used in interrupt subroutines you must be careful of the interval between IORF 97 executions ...

Page 40: ...used to refresh I O from the main program or the interrupt program When IORF 97 is used the cycle time is extended by the time required to refresh 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 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 ...

Page 41: ...e Boards 2 1 Specifications 24 2 1 1 General Specifications 24 2 1 2 Characteristics 25 2 1 3 I O Specifications 27 2 2 Board Components and their Functions 34 2 2 1 CPU Board Components 34 2 2 2 Expansion I O Boards 37 2 3 I O Connector and Terminal Pin Allocation 40 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 42: ...en the external DC terminals and non current carrying metal parts Noise immunity Conforms to IEC6100 4 4 2 kV power lines Vibration resistance 10 to 57 Hz 0 075 mm amplitude 57 to 150 Hz acceleration 9 8 m s2 in X Y and Z directions for 80 minutes each 8 minutes of vibration 10 repetitions total time 80 minutes Shock resistance 147 m s2 three times each in X Y and Z directions Ambient temperature ...

Page 43: ...LR 1515 Words LR 00 to LR 15 Timers Counters 256 timers counters TIM CNT 000 to TIM CNT 255 1 ms timers TMHH 10 ms timers TIMH 15 100 ms timers TIM 1 s 10 s timers TIML Decrementing counters CNT Reversible counters CNTR 12 Data mem ory Read Write 2 048 words DM 0000 to DM 2047 The Error Log is contained in DM 2000 to DM 2021 Read only 456 words DM 6144 to DM 6599 PLC Setup 56 words DM 6600 to DM 6...

Page 44: ...input points 1 ms 2 ms 3 ms 5 ms 10 ms 20 ms 40 ms or 80 ms This constant however is fixed to 1 ms for 40 and 64 I O point Expansion I O Boards Clock function Shows the year month day of the week day hour minute and second Backed up by the battery The clock function is available only in CPU Boards equipped with a clock Communications functions Built in peripheral port Supports Host Link peripheral...

Page 45: ...IN00002 to IN00006 6 mA typical 6 mA typical IN00007 and up 5 mA typical 5 mA typical ON voltage current IN00000 to IN00001 17 V DC min 5 mA 9 5 V DC min 5 mA IN00002 and up 14 4 V DC min 3 mA 8 0 V DC min 3 mA OFF voltage current All 5 0 V DC max 1 mA ON delay All 1 to 80 ms max Default 10 ms See note OFF delay All 1 to 80 ms max Default 10 ms See note Circuit configuration IN00000 to IN00001 IN0...

Page 46: ...aneously with this orientation 2 Installation orientation Vertical with end down 3 Installation orientation Horizontal 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 0 10 20 30 40 5055 49 C 0 10 20 30 40 5055 49 C Input voltage 26 4 V DC Max number of inputs ON at the same time 16 13 0 10 20 30 40 5055 45 ...

Page 47: ...s The minimum pulse width for these inputs is 50 µs Input Function Differential phase mode Pulse plus direction input mode Up down input mode Increment mode IN00000 A phase pulse input Pulse input Increment pulse input Increment pulse input IN00001 B phase pulse input Direction input Decrement pulse input Normal input IN00002 Z phase pulse input or hardware reset input IN00002 can be used as a nor...

Page 48: ... V DC 10 15 12 V DC 10 15 Input imped ance 4 7 kΩ 2 4 kΩ Input current 5 mA typical 5 mA typical ON voltage 14 4 V DC min 8 0 V DC 3 mA min OFF voltage 5 0 V DC max 3 0 V DC 1 mA max ON delay 1 to 80 ms max Default 10 ms See note OFF delay 1 to 80 ms max Default 10 ms See note Circuit config uration IN COM 4 7 kΩ Input LED 750 Ω CPM2B 32EDT 32EDR 40EDR 64EDT IN COM 2 4 kΩ Input LED 750 Ω CPM2B 32E...

Page 49: ...osφ 1 2 A 24 V DC 4 A common Min switching capacity 10 mA 5 V DC Service life of relay See note Electrical 150 000 operations 24 V DC resistive load 100 000 operations 240 V AC inductive load cosφ 0 4 Mechanical 20 000 000 operations ON delay 15 ms max OFF delay 15 ms max Circuit configuration Output LED COM OUT Life x 104 Contact current A 120 V AC resistive load 24 V DC 240 V AC resistive load S...

Page 50: ...e following graphs to determine the connected loads under consideration of the mounting direction 1 2 3 1 Vertical Laying on the Side Item Specification Max switching capacity OUT01000 and OUT01001 4 5 to 30 V DC 0 2 A output See note 1 OUT01002 and up 4 5 to 30 V DC 0 3 A output See note 1 Leakage current 0 1 mA max Residual voltage 1 5 V max ON delay OUT01000 and OUT01001 20 µs max OUT01002 and ...

Page 51: ...g capacity A Ambient temperature C 9 6 A at 40 C 8 4 A at 49 C 7 2 A at 52 C 6 0 A at 54 C 5 4 A at 55 C Max switching capacity A Ambient temperature C 9 6 A at 36 C 7 2 A at 46 C 4 8 A at 55 C Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 52: ... 10 Analog settings 11 DIP Switch inputs 2 Input connector 5 Input indicators 12 Expansion I O connector 6 Output indicators 3 Output terminals 1 Power supply terminals 13 Battery 8 RS 232C port 5 Input indicators 6 Output indicators 3 Output terminals 4 PLC status indicators 13 Battery 1 Power supply terminals 12 Expansion I O connector 7 Peripheral port 10 Analog settings 2 Input connector 9 Com...

Page 53: ...ut indicators 3 Output connector 4 PLC status indicators 13 Battery 7 Peripheral port 10 Analog settings 11 DIP Switch inputs 2 Input connector 9 Communications Switch SW201 9 Communications Switch SW202 12 Expansion I O connector 1 Power supply terminals Indicator Status Meaning PWR green Lit Power is being supplied to the PLC Not lit Power isn t being supplied to the PLC RUN green Lit The PLC is...

Page 54: ...gramming Consoles host computer Programmable Terminal or standard external device 9 Communications Switches SW201 and SW202 The Communications Switches control the communications settings for the peripheral port and RS 232C port Note a The standard settings are 1 start bit 7 data bits 2 stop bits even parity and 9 600 bps baud rate b Be sure that Communications Switch SW201 is OFF when con necting...

Page 55: ... 13 Battery This battery backs up memory in CPU Boards equipped with an internal clock The battery is connected when the Unit is shipped 2 2 2 Expansion I O Boards CPM2B 32EDR 32 point Expansion I O Boards with Relay Outputs Pin Corresponding input bit 32 point CPU Board 1 IR 00108 2 IR 00109 3 IR 00110 4 IR 00111 3 Input indicators 4 Output indicators 1 Input connector 2 Output terminals 5 Expans...

Page 56: ...int Expansion I O Boards with Transistor Outputs 3 Input indicators 4 Output indicators 1 Input connector 2 Output terminals 5 Expansion I O connector 2 Output connector 3 Input indicators 4 Output indicators 1 Input connector 5 Expansion I O connector Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 57: ...terminal is ON 5 Expansion I O Connector Connects the Expansion I O Board to the CPU Board or the previous Ex pansion Unit or Expansion I O Unit Up to 3 Expansion I O Boards can be connected to a CPU Board unless 64 point Expansion I O Boards are used in which case only up to 2 Boards can be connected An Expansion I O Cable is included with each Expansion I O Board Note Do not touch the cables dur...

Page 58: ... DT1 D12 are 12 V DC Inputs 24 V DC See note Sinking transistor outputs Relay outputs IR 010 IR 011 IR 010 IR 011 IR 001 IR 000 CPM2B 32C DR D 24 V DC CPU Board with relay outputs CPM2B 32C DT D 24 V DC CPM2B 32C DT1 D12 12 V DC CPU Board with transistor outputs Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 59: ...Pin Allocation Section 2 3 40 point CPU Boards Relay outputs IR 010 IR 011 IR 001 IR 000 CPM2B 40C2DR D 24 V DC CPU Board with relay outputs Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 60: ...n I O Board 2 IR 003 Expansion I O Board 3 IR 004 Expansion I O Board 1 IR 012 Expansion I O Board 2 IR 013 Expansion I O Board 3 IR 014 Expansion I O Board 1 IR 012 Expansion I O Board 2 IR 013 Expansion I O Board 3 IR 014 CPM2B 32EDR Expansion I O Board with relay outputs CPM2B 32EDT CPM2B 32ED1T Expansion I O Board with transistor outputs Artisan Technology Group Quality Instrumentation Guarant...

Page 61: ...IR n 2 IR m 2 IR m 1 Expansion I O Board with relay outputs m is the last input word allocated to the CPU Board or Expansion I O Board already connected n is the last input word allocated to the CPU Board or Expansion I O Board already connected Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 62: ... 2 IR m 1 Transistor outputs sinking Transistor outputs m is the last input word allocated to the CPU Board or Expansion I O Board already connected n is the last input word allocated to the CPU Board or Expansion I O Board already connected Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 63: ... 1 2 Power Supply Voltage 46 3 1 3 Interlock and Limit Circuits 46 3 1 4 Number of Expansion Boards 47 3 2 Selecting an Installation Site 47 3 2 1 Installation Site Conditions 47 3 2 2 Panel Cabinet Installation 48 3 3 Assembling the CPM2B Boards 48 3 4 Installing the CPM2B 51 3 5 Wiring and Connections 51 3 5 1 Power Supply Wiring 52 3 5 2 I O Wiring Procedures 53 3 5 3 Connecting Input Devices 5...

Page 64: ...e to adhere to safety precau tions such as providing breakers to prevent short circuits in external wiring When conducting any of the following operations turn OFF the power to the PLC Electrocution product damage and malfunction may result Connecting or disconnecting Expansion I O Boards and CPU Boards Assembling equipment Connecting cables and wiring 3 1 3 Interlock and Limit Circuits WARNING Em...

Page 65: ...nstall the CPM2B correctly as outlined in this manual Failure to do so 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 ambient temperature below 0 C or over 55 C Locations subject to an ambient humidity below 10 or over 90 Locations subject to condensa...

Page 66: ...ctrical noise in the PLC Do not install the CPM2B in a panel or cabinet with high voltage equip ment Allow at least 200 mm between the CPM2B and nearby power lines Accessibility 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 CPM...

Page 67: ...Bracket See note Note The CPM2B ATT01 Mounting Bracket is required when the system must meet UL CSA standards Four M3 standoffs short Four M3 screws 10 mm Four M3 standoffs long 32 point models 40 60 point models One CPM2B CN601 Expansion I O Cable Cable length 60 mm L Boards 32 point models Expansion I O Board 24 V DC Expansion I O Board 12 V DC Expansion I O Board 24 V DC L 26 mm 22 mm Four M3 s...

Page 68: ...xpansion I O Cable open the connectors lock levers and pull out the cable s connector 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 Connector the one with the short locks Install the shorter connector of the cable in the lower Board and the longer connector in the up per Board Lock lever Lock...

Page 69: ...oling and limits the number of inputs or outputs that can be ON simulta neously at high temperatures Refer to pages 28 and 32 for details 3 5 Wiring and Connections This section provides basic information on power supply wiring and I O wiring General Precautions for Wiring Caution Cover the CPM2B Boards with plastic or use some other method to prevent strands of wire from getting on the Board or i...

Page 70: ...ing diagram 3 5 1 Power Supply Wiring The power supply terminal specifications are shown below Supply the power supply terminals with either 24 V DC or 12 V DC Terminal Specifications CPM2B I O lines Control cables and CPM2B power lines Power cables 300 mm min 300 mm min 200 mm min Metal plate iron CPM2B I O lines Control cables and CPM2B power lines Power cables CPM2B I O lines Control cables and...

Page 71: ... terminal block specifications Wire terminal Specification Solid wire 0 2 to 2 5 mm2 AWG 24 to AWG 12 Strip 7 mm 1 4 inch of insulation Stranded wire 0 2 to 2 5 mm2 AWG 24 to AWG 12 Strip 7 mm 1 4 inch of insulation Two conductor wires Solid 2 0 2 to 1 0 mm2 AWG 24 to AWG 20 Stranded 2 0 2 to 1 5 mm2 AWG 24 to AWG 16 Stranded with pin terminal 2 0 25 to 1 0 mm2 AWG 24 to AWG 20 without an insulati...

Page 72: ...ews at the left and right sides of the terminal block 2 Pull the terminal block out of the Board Item Specification Screw size M3 Recommended tightening torque 0 5 to 0 6 N m Recommended screwdriver OMRON XW4E 00C Item Specification Solid wire 0 2 to 2 5 mm2 AWG 24 to AWG12 Strip 7 mm Stranded wire See notes 0 2 to 2 5 mm2 AWG 24 to AWG12 Strip 7 mm Two conductor wires Solid 2 0 2 to 1 0 mm2 AWG 2...

Page 73: ...he left and right sides of the terminal block Removing and Wiring I O Connectors The following tables provide specifications of compatible OMRON I O connec tors MIL Flat Cable Connector Strain Relief Socket Note The max rated current for flat cable is 1 A Be sure that the current at the common terminal does not exceed 1A Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www...

Page 74: ... 2030 XG4M 3430 XG4M 4030 Strain Relief XG4T 2004 XG4T 3404 XG4T 4004 Set Socket Strain Relief XG4T 2030 T XG4M 3430 T XG4M 4030T Recommended Flat Cable XY3A 200 Not available Not available Crimping Tool XY2B 0002 Attachment XY2B 1007 Name 32 point CPU Boards and Expansion I O Boards 40 point CPU Boards and Expansion I O Boards 64 point Expansion I O Boards Socket AWG 24 XG5M 2032 N XG5M 3432 N XG...

Page 75: ...nnector To remove the cable open the lock levers to the left and right before removing the cable s connector 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 Artisan Technology Gr...

Page 76: ...6 14 12 10 8 6 4 2 CPM2B 32C DR D CPM2B 32C DT D CPM2B 40C2DR D Input Connector 00103 00102 00101 00100 COM 00003 00002 00001 00000 COM 00107 00106 00105 00104 NC 00007 00006 00005 00004 NC CPM2B 32C DT1 D12 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 77: ...16 14 12 10 8 6 4 2 CPM2B 32EDR CPM2B 32EDT 32ED1T CPM2B 40EDR CPM2B 64EDT Input Connector Input Connector 00 11 00 10 00 09 00 08 COM 00 03 00 02 00 01 00 00 COM 00 15 00 14 00 13 00 12 NC 00 07 00 06 00 05 00 04 NC Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 78: ... Voltage output IN COM 5 mA 6 mA 8 mA CPM2B IN COM Sensor power supply Output 5 mA 6 mA 8 mA CPM2B 0 V Use the same power supply for the input and sensor CPM2B IN COM Output 5 mA 6 mA 8 mA 0 V Constant current circuit Sensor power supply COM 0 V IN Output 5 mA 6 mA 8 mA CPM2B Sensor power supply IN COM 0 V Output CPM2B COM IN 0 V Output CPM2B Sensor power supply Incorrect Wiring Artisan Technology...

Page 79: ...00000 A phase input 00001 B phase input COM 00002 Z phase input Pulse Plus Direction Input Mode Count frequency 20 kHz Encoder 24 V DC 00000 Pulse input 00001 Direction input COM 00002 Reset input Sensor or switch CPM2B CPM2B Up Down Mode Count frequency 20 kHz 24 V DC 00000 CW input 00001 CCW input COM 00002 Reset input Increment Mode Count frequency 20 kHz Encoder 24 V DC 00000 Pulse input 00001...

Page 80: ...ut COM 00002 Z phase input Pulse Plus Direction Input mode Count frequency 20 kHz E6A2 CS5C Encoder 24 V DC 00000 Pulse input 00001 Direction input COM 00002 Reset input Sensor or switch CPM2B CPM2B Sensor or switch Sensor power Black White Orange Brown Blue E6B2 CWZ6C Encoder NPN open col lector output R CPM2B Input power supply Bleeder resistor 2 wire sensor etc I Device s leakage current mA R B...

Page 81: ... or destruction of the output transistors External safety measures must be provided to ensure safety in the system Not providing proper safety measures may result in serious accidents CPU Boards with 32 I O Points and Relay Outputs CPM2B 32C DR D CPU Boards with 40 I O Points and Relay Outputs CPM2B 40C2DR D IN COM CPM2B Diode Output capacity Max common capacity 2 A 250 V AC or 24 V DC 4 A common ...

Page 82: ...e L L L L L L L L L L L L L L L L 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 01 00 01 01 01 02 01 03 COM 01 04 01 05 01 06 01 07 COM 01 08 01 09 01 10 01 11 COM 01 12 01 13 01 14 01 15 COM Terminal Block 1 Left side Terminal Block 2 Right side Output connector 19 17 15 13 11 9 7 5 3 1 L L L L L L L L 18 16 14 12 10 8 6 4 2 20 L L L L L L L L 01000 01001 01002 01003 COM 01004 01005 01006 01007 COM 0...

Page 83: ...COM Output capacity Max common capacity 300 mA 30 V DC 1 2 A common L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L L 19 17 15 13 11 9 7 5 3 1 18 16 14 12 10 8 6 4 2 20 19 17 15 13 11 9 7 5 3 1 18 16 14 12 10 8 6 4 2 20 IR n 1 IR n 2 01 00 01 01 01 02 01 03 COM 01 04 01 05 01 06 01 07 COM 01 08 01 09 01 10 01 11 COM 01 12 01 13 01 14 01 15 COM 01 00 01 01 01 02 01 03 COM 01 08 01 09 ...

Page 84: ...oads When connecting an inductive load to an input connect a surge protector or diode in parallel with the load The surge protector s components should have the following ratings CPM2B Single phase pulse output Fixed duty ratio Motor driver Pulse output 0 01000 CPM2B Pulse output 1 01001 COM Motor driver Single phase pulse output Variable duty ratio Relay Pulse output 0 01000 CPM2B Pulse output 1 ...

Page 85: ... inrush current such as an incandescent lamp suppress the inrush current as shown below Fuse Insertion The CPM2B with transistor output may burn if the load is short circuited therefore insert a protective fuse in series with the load R R Countermeasure 1 Providing a dark current of approx one third of the rated value through an incandescent lamp Countermeasure 2 Providing a limiting resistor OUT ...

Page 86: ...68 Wiring and Connections Section 3 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 87: ...ains how to use them 4 1 Introduction 70 4 1 1 Functions 71 4 2 I O Allocation 72 4 3 SR Area 76 4 4 AR Area 79 4 5 PLC Setup 82 4 5 1 Changing the PLC Setup 82 4 5 2 PLC Setup Settings 83 4 6 Error Log 88 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 88: ...rea 448 bits 28 words SR 228 to SR 255 SR 22800 to SR 25515 These bits serve specific functions such as flags and control bits TR Area 8 bits TR 0 to TR 7 These bits are used to temporarily store ON OFF status at program branches HR Area 320 bits 20 words HR 00 to HR 19 HR 0000 to HR 1915 These bits store data and retain their ON OFF status when power is turned OFF AR Area 384 bits 24 words AR00 t...

Page 89: ...s retain their status even after the PLC power supply has been turned OFF or when operation begins or stops Refer to 4 4 AR Area for details on the various bit functions LR Area When the CPM2B is linked 1 1 with another CPM2B or a CPM1 CPM1A CPM2A CPM2C SRM1 V2 a CQM1 a C200HS or a C200HX HG HE PLC these bits are used to share data LR words can be used as work words when they are not used for a 1 ...

Page 90: ...2 point CPU Boards Note 1 The unused bits in IR 000 and IR 001 cannot be used as work bits 2 IR 00108 to IR 00111 are used as an input DIP switch 40 point CPU Boards 16 inputs IR 00000 to IR 00007 IR 00100 to IR 00107 16 outputs IR 01000 to IR 01007 IR 01100 to IR 01107 Inputs IR 000 IR 001 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Outputs IR 010 IR 011 Do not use Bits 24 inputs IR 00000 to ...

Page 91: ...evious Expan sion Board if one is already connected n The last output word allocated to the CPU Board or to the previous Expan sion Board if one is already connected 32 point Expansion I O Boards 40 point Expansion I O Boards 16 inputs Word m 1 bits 00 to 15 in IR 16 outputs Word n 1 bits 00 to 15 in IR Inputs Outputs m 1 n 1 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Bits 24 inputs Word m 1 ...

Page 92: ... bits 00 to 15 and word n 2 bits 00 to 15 in IR Inputs m 1 m 2 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Outputs n 1 n 2 Bits Model Number of inputs Number of outputs Maximum number of Boards CPM2B MAD63 6 inputs 3 outputs 1 CPM2B MAD42 4 inputs 2 outputs 2 CPM2B MAD21 2 inputs 1 outputs 3 6 inputs 3 outputs Word m 1 word m 2 word m 3 word m 4 word m 5 and word m 6 Word n 1 word n 2 and word...

Page 93: ... 1 range code Input 2 range code Input 1 range code Output 2 range code Input 4 range code Input 3 range code Output 3 range code Input 6 range code Input 5 range code 0 Input Output Input data 1 4 digit hexadecimal Input data 2 4 digit hexadecimal Input data 3 4 digit hexadecimal Input data 4 4 digit hexadecimal Input data 5 4 digit hexadecimal Input data 6 4 digit hexadecimal Output data 1 4 dig...

Page 94: ... bits when MCRO 99 is not used SR 240 00 to 15 Interrupt Input 00003 Counter Mode SV SV when interrupt input 00003 is used in counter mode 4 digits hexadecimal Can be used as work bits when interrupt input 00003 is not used in counter mode SR 241 00 to 15 Interrupt Input 00004 Counter Mode SV SV when interrupt input 00004 is used in counter mode 4 digits hexadecimal Can be used as work bits when i...

Page 95: ...Turn ON to reset the peripheral port Automatically turns OFF when reset is complete Read write 09 RS 232C Port Reset Bit Turn ON to reset the RS 232C port Automatically turns OFF when reset is complete 10 PLC Setup Reset Bit Turn ON to initialize PLC Setup DM 6600 through DM 6655 Automatically turns OFF again when reset is complete Only effective if the PLC is in PROGRAM mode 11 Forced Status Hold...

Page 96: ...ative N Flag Turns ON when the result of a calculation is negative leftmost bit of binary result ON 03 Not used 04 Overflow OF Flag Turns ON when an overflow occurs in a signed binary calculation Read only 05 Underflow UF Flag Turns ON when an underflow occurs in a signed binary calculation 06 Differential Monitor Complete Flag Turns ON when differential monitoring is completed 07 STEP 08 Executio...

Page 97: ... an RS 232C port communications error occurs 05 RS 232C Transmit Ready Flag Turns ON when the PLC is ready to transmit data No protocol and Host Link only 06 RS 232C Reception Completed Flag Turns ON when the PLC has completed reading data No protocol only 07 RS 232C Reception Overflow Flag Turns ON when an overflow has occurred No protocol only 08 to 11 Peripheral Port Error Code 1 digit BCD 0 No...

Page 98: ...Pulse Output 0 Overflow Underflow Flag ON An overflow or underflow occurred OFF Normal operation 13 Pulse Output 0 Pulse Quantity Set Flag ON Pulse quantity has been set OFF Pulse quantity has not been set 14 Pulse Output 0 Pulse Output Completed Flag ON Completed OFF Not completed 15 Pulse Output 0 Output Status ON Pulses being output OFF Stopped AR 12 Note 1 00 to 10 Not used 11 Pulse Output 1 O...

Page 99: ... Data Save Error Flag Turns ON if data could not be retained with the backup battery or capacitor The following words are normally backed up DM read write words DM 0000 to DM 1999 and DM 2022 to DM 2047 Error Log DM 2000 to DM 2021 HR Area counter area SR 25511 SR 25512 if DM 6601 is set to hold I O memory at startup AR 23 operating mode if DM 6600 is set to use the previous operating mode If the ...

Page 100: ...fault values for the PLC Setup are 0000 for all words except for the low battery error enable in DM 6655 bits 12 to 15 Effectiveness of Changes PLC Setup settings are accessed at various times depending on the setting as described below 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 Com...

Page 101: ...e operating mode last used before power was turned OFF 02 Setting in 00 to 07 DM 6601 00 to 07 Not used 08 to 11 IOM Hold Bit SR 25212 Status at Startup 0 Reset to 0 1 Maintain previous status 12 to 15 Forced Status Hold Bit SR 25211 Status at Startup 0 Reset to 0 1 Maintain previous status DM 6602 00 to 03 Program memory write protection 0 Program memory unprotected 1 Program memory write protect...

Page 102: ...001 to 9999 BCD Minimum time in ms Interrupt Processing DM 6620 to DM 6639 The following settings are effective after transfer to the PLC the next time operation is started DM 6620 00 to 03 Input time constant for IR 00000 to IR 00002 0 10 ms 1 1 ms 2 2 ms 3 3 ms 4 5 ms 5 10 ms 6 20 ms 7 40 ms 8 80 ms 04 to 07 Input time constant for IR 00003 and IR 00004 Setting same as bits 00 to 03 08 to 11 Inp...

Page 103: ...5 High speed counter Synchronized pulse control for IR 00000 to IR 00002 00 Don t use either function 01 Use as high speed counters 02 Use for synchronized pulse control 10 to 500 Hz 03 Use for synchronized pulse control 20 Hz to 1 kHz 04 Use for synchronized pulse control 300 Hz to 20 kHz DM 6643 DM 6644 00 to 15 Not used RS 232C Port Communications Settings The following settings are effective a...

Page 104: ...mmunications 0 Disables end code 1 Enables end code in DM 6649 2 Sets end code of CR LF Any other setting disables the end code causes a non fatal error and turns ON AR 1302 DM 6649 00 to 07 Start code 00 to FF This setting is valid only when bits 8 to 11 of DM 6648 are set to 1 08 to 15 When bits 12 to 15 of DM 6648 set to 0 Sets the number of bytes to receive 00 256 bytes 01 to FF 1 to 255 bytes...

Page 105: ...or and turns ON AR 1302 12 to 15 End code selection for no protocol communications 0 Disables end code 1 Enables end code in DM 6654 2 Sets end code of CR LF Any other setting disables the end code causes a non fatal error and turns ON AR 1302 DM 6654 00 to 07 Start code 00 to FF This setting is valid only when bits 8 to 11 of DM 6653 are set to 1 08 to 15 When bits 12 to 15 of DM 6653 set to 0 Se...

Page 106: ... is generated 2 DM 6655 bits 00 to 03 set to 1 Stores only the first 7 error log records and ignores any subsequent errors beyond those 7 3 DM 6655 bits 00 to 03 set to any value other than 0 or 1 Disables the log so that no records are stored The default setting is the first method Refer to the preceding page for details on the error log settings in DM 6655 Clearing the Error Log To clear the ent...

Page 107: ...for easy programming of complicated control processes This section provides a brief summary of the instruction set 5 1 CPM2B Function Codes 90 5 2 Alphabetic List by Mnemonic 91 5 3 Expansion Instructions 94 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 108: ... BINARY BCD BINARY TO BCD ASL SHIFT LEFT ASR SHIFT RIGHT ROL ROTATE LEFT ROR ROTATE RIGHT COM COMPLE MENT 3 ADD BCD ADD SUB BCD SUBTRACT MUL BCD MULTIPLY DIV BCD DIVIDE ANDW LOGICAL AND ORW LOGICAL OR XORW EXCLUSIVE OR XNRW EXCLUSIVE NOR INC INCREMENT DEC DECRE MENT 4 STC SET CARRY CLC CLEAR CARRY MSG MESSAGE DISPLAY RXD RECEIVE TXD TRANSMIT 5 ADB BINARY ADD SBB BINARY SUBTRACT MLB BINARY MULTIPLY...

Page 109: ...NARY TO DOUBLE BCD BCMP 68 4 BLOCK COMPARE BCNT 67 4 BIT COUNTER BIN 23 3 BCD TO BINARY BINL 58 3 DOUBLE BCD TO DOUBLE BINARY BSET 71 4 BLOCK SET CLC 41 1 CLEAR CARRY CMP 20 3 COMPARE CMPL 60 4 DOUBLE COMPARE CNT None 2 COUNTER CNTR 12 3 REVERSIBLE COUNTER COLL 81 4 DATA COLLECT COM 29 2 COMPLEMENT CTBL 63 4 COMPARISON TABLE LOAD DEC 39 2 BCD DECREMENT DIFD 14 2 DIFFERENTIATE DOWN DIFU 13 2 DIFFER...

Page 110: ... None 1 OR LOAD OR NOT None 1 OR NOT ORW 35 4 LOGICAL OR OUT None 2 OUTPUT OUT NOT None 2 OUTPUT NOT PID 4 PID CONTROL PRV 62 4 HIGH SPEED COUNTER PV READ PULS 65 4 SET PULSES PWM 4 PULSE WITH VARIABLE DUTY RATIO RET 93 1 SUBROUTINE RETURN ROL 27 2 ROTATE LEFT ROR 28 2 ROTATE RIGHT RSET None 2 RESET RXD 47 4 RECEIVE SBB 51 4 BINARY SUBTRACT SBN 92 2 SUBROUTINE DEFINE SBS 91 2 SUBROUTINE ENTRY SCL ...

Page 111: ... 4 DOUBLE BCD SUBTRACT SUM 4 SUM SYNC 4 SYNCHRONIZED PULSE CONTROL TCMP 85 4 TABLE COMPARE TIM None 2 TIMER TIMH 15 3 HIGH SPEED TIMER TIML 4 LONG TIMER TMHH 4 VERY HIGH SPEED TIMER TXD 48 4 TRANSMIT WSFT 16 3 WORD SHIFT XCHG 73 3 DATA EXCHANGE XFER 70 4 BLOCK TRANSFER XNRW 37 4 EXCLUSIVE NOR XORW 36 4 EXCLUSIVE OR ZCP 4 AREA RANGE COMPARE ZCPL 4 DOUBLE AREA RANGE COMPARE Mnemonic Code Words Name ...

Page 112: ... used to change expan sion instruction allocations Refer to the SYSMAC Support Software Operation Manuals C series PLCs W248 the SYSMAC CPT Support Software User Manual W333 or the WS02 CXP E CX Programmer Operation Manual W414 for a descrip tion of the corresponding Support Software operations Function Codes for Expansion Instructions The following 18 function codes can be used for expansion inst...

Page 113: ...s also provided including programming examples 6 1 Overview of Analog I O Boards 96 6 2 Specifications and Part Names 97 6 3 Overview of Operations 103 6 4 Application Procedure 105 6 4 1 Board Assembly 105 6 4 2 DIP Switch Settings 105 6 4 3 Analog I O Wiring 106 6 4 4 Ladder Programming 111 6 5 Troubleshooting Unit Errors 116 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOU...

Page 114: ...the average value moving average of the last eight inputs Average processing allows inputs subject to minute fluctuations to be handled as stable inputs Use pin 2 of the DIP switches to set average processing for each input Model Analog input Analog output Number of allocated words Number of Boards Input signal range Number of inputs Output signal range Number of outputs CPM2B MAD63 0 to 5 V 1 to ...

Page 115: ...o 10 V or 10 to 10 V 0 to 20 mA or 4 to 20 mA Maximum rated input 15 V 30 mA External input impedance 1 MΩ min Approx 250 Ω Resolution 6 000 full scale Overall accuracy 25 C 0 3 full scale 0 4 full scale 0 to 55 C 0 6 full scale 0 8 full scale A D conversion data Binary data 4 digit hexadecimal 10 to 10 V Full scale F448 to 0BB8 hex Other ranges Full scale 0000 to 1770 hex Average processing Yes S...

Page 116: ...s to hexadecimal values 0000 to 1770 0 to 6 000 decimal The range of data that can be converted is FED4 to 189C 300 to 6 300 decimal Negative voltages are expressed as two s complements 0CE4 3 300 0BB8 3 000 Conversion data Hexadecimal decimal 11 V 10 V 0000 0 0 V 10 V 11 V F448 3 000 F31C 3 300 Conversion data Hexadecimal decimal 189C 6 300 1770 6 000 0 5 V 0000 0 0 V 10 V 10 5 V FED4 300 Artisan...

Page 117: ...s below the input range input is less than 0 8 V a line disconnection will detected and the data will be returned as 8 000 0 to 20 mA The current range 0 to 20 mA corresponds to hexadecimal values 0000 to 1770 0 to 6 000 decimal The range of data that can be converted is FED4 to 189C 300 to 6 300 decimal Negative voltages are expressed as two s complements Conversion data Hexadecimal decimal 189C ...

Page 118: ... voltage range 10 to 10 V The output range is 11 to 11 V When outputting negative values specify the DA conversion data as its two s complement 0 to 10 V Hexadecimal values 0000 to 1770 0 to 6 000 decimal correspond to the volt age range 0 to 10 V The output range is 0 5 to 10 5 V When outputting neg ative values specify the DA conversion data as its two s complement Conversion data Hexadecimal de...

Page 119: ...mA Hexadecimal values 0000 to 1770 0 to 6 000 decimal correspond to the cur rent range 4 to 20 mA The output range is 3 2 to 20 8 mA 10 5 V 10 V 0 V 0 8 V 1 V 8000 FED4 300 1770 6 000 189C 6 300 7FFF Conversion data Hexadecimal decimal Conversion data Hexadecimal decimal 21 mA 20 mA 8000 0000 0 0 mA 1770 6 000 189C 6 300 7FFF 20 8 mA 20 mA 4 mA 3 2 mA 0 mA 8000 FED4 300 1770 6 000 189C 6 300 7FFF ...

Page 120: ...utput Current Switch Switches between analog voltage input and analog current input Always turn OFF the corresponding pin of DIP switch 1 when using a voltage input Refer to 6 4 2 DIP Switch Settings for details DIP Switch 2 Analog Input Average Processing Switch Set when performing average processing of analog inputs Refer to 6 4 2 DIP Switch Settings for details Expansion I O Connector Connect t...

Page 121: ...ollowing those allocated to the CPU Board or the previously connected Expansion Board m The last input word allocated to the CPU Board or to the previous Board if one is already connected Analog output 1 Input words Output words DIP SW1 Voltage current input switch A D conversion data read Range code of analog input output set D A conversion source data set DIP SW2 Input average processing switch ...

Page 122: ... Board If an input signal drops below the minimum value of the conversion range the minimum value will be stored If the signal exceeds the maximum value of the conversion range the maximum value will be stored in the input word Setting Output Data D A Conversion Source Data When 4 digit hexadecimal data is set in the output words allocated to the Ana log I O Board D A conversion is performed and t...

Page 123: ... the corre sponding input Analog input or output I O range Range code Switching voltage current input Average processing DIP switch 2 setting DIP switch 1 setting Wiring Analog input 1 4 to 20 mA 010 ON Wire the positive and negative terminal for each input Not used OFF Analog input 2 4 to 20 mA 010 ON Not used OFF Analog input 3 10 to 10 V 000 OFF Used ON Analog input 4 0 to 10 V 001 OFF Not used...

Page 124: ...turned ON bottom 6 4 3 Analog I O Wiring Use the connectors provided with the Analog I O Boards when wiring analog I O CPM2B MAD21 CPM2B MAD42 and CPM2B MAD63 Analog I O Boards 1 ON 2 3 4 5 6 Current Voltage OFF top Voltage input used ON bottom Current input used Analog I O Unit DIP switch 2 pin 1 2 3 4 5 6 CPM2B MAD63 Input 1 Input 2 Input 3 Input 4 Input 5 Input 6 CPM2B MAD42 Input 1 Input 2 Inp...

Page 125: ...put 2 Analog input 2 Analog input 2 3 Analog input 3 Analog input 3 N C 4 Analog input 4 Analog input 4 N C 5 Analog input 5 N C N C 6 Analog input 6 N C N C 7 N C N C N C 8 AG AG AG 9 Analog input 1 Analog input 1 Analog input 1 10 Analog input 2 Analog input 2 Analog input 2 11 Analog input 3 Analog input 3 N C 12 Analog input 4 Analog input 4 N C 13 Analog input 5 N C N C 14 Analog input 6 N C ...

Page 126: ... COM Analog output COM 3 N C N C N C 4 Analog voltage output 1 Analog voltage output 1 N C 5 Analog output COM Analog output COM N C 6 N C N C N C 7 Analog voltage output 2 N C N C 8 Analog output COM N C N C 9 Analog current output 0 Analog current output 0 Analog current output 0 10 N C N C N C 11 N C N C N C 12 Analog current output 1 Analog current output 1 N C 13 N C N C N C 14 N C N C N C 15...

Page 127: ...m to each pin in the plug 2 After soldering all the required pins return the heat shrinkable tube on the signal line to cover the solder joint and shrink the tube using a hot air gun 3 Assemble the plug and hood as shown in the following diagram Use alu minum foil tape to wrap the folded back shield wire at the connector on the Analog I O Board as shown in the diagram and then fix to the hood Note...

Page 128: ...round a third to half the voltage If using the 1 to 5 V range when this type of voltage is generated detection of a line disconnection will not be possible Also a line disconnection cannot be detected if the line is disconnected at C because the negative side is shared If a current input is used the power supply can be shared by the connected devices without any problem Note When the external powe...

Page 129: ...ly The CPM2B MAD42 uses words n 1 and n 2 only Model Input words Output words CPM2B MAD63 Words m 1 to m 6 6 words Words n 1 to n 3 3 words CPM2B MAD42 Words m 1 to m 4 4 words Words n 1 to n 2 2 words CPM2B MAD21 Words m 1 to m 2 2 words Word n 1 1 word Input words CPM2B MAD63 CPM2B MAD42 CPM2B MAD21 Word m 1 Input data 1 4 digit hexadecimal Input data 1 4 digit hexadecimal Input data 1 4 digit h...

Page 130: ...DIP switch 1 Output words CPM2B MAD63 CPM2B MAD42 CPM2B MAD21 Word n 1 Output data 1 4 digit hexadecimal Output data 1 4 digit hexadecimal Output data 1 4 digit hexadecimal Word n 2 Output data 2 4 digit hexadecimal Output data 2 4 digit hexadecimal Word n 3 Output data 3 4 digit hexadecimal Board Allocated I O words Input words Output words CPM2B 40C2DR D CPU Board IR 000 and IR 001 IR 010 and IR...

Page 131: ...ut 2 Analog input 4 Analog input 3 Analog output 3 Analog input 6 Not used Analog input 5 00 Analog input 1 I O range Range code Setting location Word Bits Analog input 2 Analog input 3 Analog input 4 Analog input 5 Analog input 6 Analog output 1 Analog output 2 Analog output 3 4 to 20 mA 4 to 20 mA 10 to 10 V 0 to 10 V 0 to 5 V Not used 4 to 20 mA 4 to 20 mA 0 to 10 V 010 010 000 001 010 010 010 ...

Page 132: ...ion data 4 Word m 4 A D conversion data 5 Word m 5 Not used A D conversion data 6 Word m 6 Conversion data for analog input 1 from IR 004 is stored in DM 0000 Execution condition TIM 005 TIM005 0002 MOV 21 004 DM0000 Conversion data for analog input 2 from IR 005 is stored in DM 0001 MOV 21 005 DM0001 Conversion data for analog input 3 from IR 006 is stored in DM 0002 MOV 21 006 DM0002 Conversion ...

Page 133: ...lue exceeds the maximum value Conversion data for analog input 1 that has been output to IR 004 is compared with the constant 8000 disconnection detected code If the contents of IR 004 is 8000 the output bit IR 01000 turns ON Equals Flag 25506 TIM005 Execution condition Always ON Flag 25313 TIM005 0002 CMP 20 004 01000 8000 Conversion data for analog input 2 that has been output to IR 005 is compa...

Page 134: ...ore if the CPM2B MAD42 and CPM2B MAD63 are connected there will be more than one Error Flags for the Board so take an OR of these flags to detect an error The conversion source data for analog output 1 in DM 0100 is written to IR 014 Execution condition TIM005 TIM005 0002 MOV 21 DM0100 014 The conversion source data for analog output 2 in DM 0101 is written to IR 015 MOV 21 DM0101 015 The conversi...

Page 135: ...ansion I O Board is allocated three Error Flags so an OR is used for flags AR 0201 to AR 0203 Approximately 2 cycles 50 ms is required from immediately after turning ON the power until the D A conversion data is enabled so use the TIM 005 bit to delay execution of processing analog data by 100 to 200 ms AR 0200 TIM 005 Execution condition Always ON Flag 25131 TIM005 0002 01010 AR 0201 AR 0202 AR 0...

Page 136: ...118 Troubleshooting Unit Errors Section 6 5 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 137: ...136 7 2 11 Bit Operand Search 137 7 2 12 Inserting and Deleting Instructions 138 7 2 13 Checking the Program 139 7 2 14 Bit Digit Word Monitor 140 7 2 15 Differentiation Monitor 142 7 2 16 Binary Monitor 143 7 2 17 Three Word Monitor 143 7 2 18 Signed Decimal Monitor 144 7 2 19 Unsigned Decimal Monitor 145 7 2 20 Three Word Data Modification 145 7 2 21 Changing Timer Counter SV 146 7 2 22 Hexadeci...

Page 138: ...les are identical Press and hold the Shift Key to input a letter shown in the upper left corner of the key or the upper function of a key that has two functions For example the CQM1H PRO01 E CQM1 PRO01 E s AR HR Key can specify either the AR or HR Area press and release the Shift Key and then press the AR HR Key to specify the AR Area CQM1H PRO01 E CQM1 PRO01 E LCD area Mode switch Operation keys ...

Page 139: ...en the Shift Key is pressed The shift input can be cleared by pressing the Shift Key again Mode Switch The mode switch controls the CPM2B s operating mode The key can be removed when the switch is set to RUN or MONITOR but it cannot be removed when the switch is set to PROGRAM Cassette recorded jack Cannot be used with the CPM2B Connecting Cables C200H CN222 2 m C200H CN422 4 m LCD display Mode sw...

Page 140: ... 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 MONITOR or RUN will appear on the Programming Console screen No key operations can be performed while the mode display is displayed on the Programming Console screen Press CLR to clear the display so that key operations can be performed If the SHIFT Key...

Page 141: ... O bits changing the SV PV of timers and counters changing word data and online editing RUN Mode This is the CPM2B s normal operating mode The CPM2B s operating status can be monitored from a Programming Device but bits can t be force set force reset and the SV PV of timers and counters can t be changed Caution Check the system thoroughly before changing the operating mode of the PLC to prevent an...

Page 142: ...ways turn OFF SW 201 before connecting the Programming Console PLC Setup setting DM 6600 Programming Console connected Programming Console not connected 00xx The startup mode deter mined by the mode switch setting RUN mode if no Programming Device is connected PROGRAM mode if another Programming Device is connected 01xx The startup mode is the same as the operating mode before power was interrupte...

Page 143: ...de when PLC power is turned ON any program in Program Memory will be executed possibly causing a PLC controlled system to begin operation The following sequence of operations must be performed before beginning ini tial program input 1 2 3 1 Be sure that the PLC is OFF 2 Connect the Programming Console to the CPU Board s peripheral port See 7 1 3 Connecting the Programming Console for details The C...

Page 144: ...shift to the mode set on the mode switch causing PLC operation to begin if the mode is set to RUN or MONITOR The mode can be changed to RUN or MONITOR with the mode switch after entering the pass word Automatic Mode Change When the PLC is in RUN mode with a Programming Console connected to the peripheral port of the CPU Board if a PT is connected to the Board s RS 232C port using Host Link mode th...

Page 145: ...specified operand bit in the program 137 Inserting and deleting instruc tions Inserts or deletes instructions from the program 138 Entering or editing programs Overwrites the contents of the current Program Memory to either input a program for the first time or to change a program that already exists 133 Checking the program Checks for programming errors and displays the program address and error ...

Page 146: ...ter area and the DM Key is used to spec ify the DM Area It is also possible to retain a portion of the Program Memory from the first memory address to a specified address After designating the data areas to be retained specify the first Program Memory address to be cleared For example input 030 to leave addresses 000 to 029 untouched but to clear addresses from 030 to the end of Program Memory As ...

Page 147: ...of 2 0 Kwords Key Sequence Follow the procedure below to clear memory completely 1 2 3 1 Press the CLEAR SET NOT RESET and then the EXT Key to begin the operation 2 Press the MONTR Key to clear memory completely This operation must be used when it is necessary to clear the program and I O comment area There are no other Programming Console operation that can be used to clear the I O comment area 7...

Page 148: ...or troubleshooting information Key Sequence Follow the procedure below to display and clear messages 1 2 3 1 Press the CLR Key to bring up the initial display 2 Press the FUN and then the MONTR Key to begin the operation If there are no messages the following display will appear If there are messages the most serious message will be displayed when the MONTR Key is pressed Pressing MONTR again will...

Page 149: ...be changed in PROGRAM mode only Assign expansion instruction function codes before inputting the program The CPM2B will not operate properly if expansion instructions aren t assigned cor rectly An expansion instruction can be assigned to one function code only The PLC Setup must be set for user defined expansion instruction assign ments Set bits 8 to 11 of DM 6602 to 1 and turn the PLC s power OFF...

Page 150: ... When inputting a program starting from other than 000 or to read or modify a program that already exists in memory the desired address must be desig nated 1 2 3 1 Press the CLR Key to bring up the initial display 2 Input the desired address It is not necessary to input leading zeroes 3 Press the Down Arrow Key Pressing the MONTR Key will change to the I O monitor display Bits can be force set or ...

Page 151: ...Key It is not necessary to input leading zeroes 4 Input the first instruction and operand 5 Press the WRITE Key to write the instruction to Program Memory The next program address will be displayed If a mistake was made inputting the instruction press the Up Arrow Key to return to the previous program address and input the instruction again The mistaken instruction will be overwritten 00201READ ON...

Page 152: ...ion of an instruction press the NOT Key af ter the function code FUN 2 1 NOT The symbol will be displayed next to differentiated instructions Press the NOT Key again to change back the instruction back to a non differentiated instruction The symbol will disappear To change an instruction after it has been entered simply scroll through the program until the desired instruction is displayed and pres...

Page 153: ...gned integer Input the value of the operand from 0 to 65535 Note If an erroneous input is made press the CLR Key to restore the sta tus prior to the input Then enter the correct input 14 Restore the hexadecimal display Note If an input is made outside of the permissible range a buzzer will sound and the hexadecimal display will not be displayed 15 The second operand is input as a signed integer WR...

Page 154: ...nitial display 2 Input the address from which the search will begin and press the Down Ar row Key It is not necessary to input leading zeroes 3 Input the instruction to be found and press the SRCH Key In this case the search is for OUT 01000 In this case the next OUT 01000 instruction is at address 200 as shown below 4 Press the Down Arrow Key to display the instruction s operands or press the SRC...

Page 155: ...r the next occurrence of the operand bit 5 The search will continue until an END instruction or the end of Program Memory is reached In this case an END instruction was reached SRCH 00397SRCH END 001 00 4KW Indicates the address of END instruction Indicates the amount used by the user program in units of 0 1 Kwords RUN MONITOR PROGRAM OK OK OK SHIFT CONT F 5 00000CONT SRCH LD 00005 SRCH 00123CONT ...

Page 156: ...nstruction Note For instructions that require more operands such as set values input the operands and then press the WRITE Key Deletion Follow the procedure below to delete the IR 00103 NO condition at address 00205 1 2 3 1 Press the CLR Key to bring up the initial display 2 Input the address where the NO condition will be deleted and press the Down Arrow Key It is not necessary to input leading z...

Page 157: ...begin when the check level is input and the first error found will be displayed 4 Press the SRCH Key to continue the search The next error will be dis played Continue pressing the SRCH Key to continue the search The search will continue until an END instruction or the end of Program Memory is reached A display like this will appear if the end of Program Memory is reached A display like this will a...

Page 158: ...7 2 26 Force Set Reset for details If the status of a word is being monitored that word s value can be changed using the Hexadecimal BCD Data Modification operation Refer to 7 2 22 Hexadecimal BCD Data Modification 7 2 23 Binary Data Modification 7 2 24 Signed Decimal Data Modification and 7 2 25 Unsigned Decimal Data Modification for details 4 Press the CLR Key to end monitoring Bit Monitor Follo...

Page 159: ...to six bits and words can be monitored simultaneously although only three can be shown on the display at any one time 1 2 3 1 Press the CLR Key to bring up the initial display 2 Input the address of the first bit or word and press the MONTR Key 3 Repeat step 2 up to 6 times to display the next addresses to be monitored If 4 or more bits and words are being monitored the bits and words that do not ...

Page 160: ...ibed in 7 2 14 Bit Digit Word Monitor If 2 or more bits are being monitored the desired bit should be leftmost on the display In this case the differentiation status of LR 00 will be monitored 2 To specify up differentiation monitoring press the SHIFT and then the Up Arrow Key The symbols U will appear To specify down differentiation monitoring press the SHIFT and then the Down Arrow Key The symbo...

Page 161: ...of displayed bits can be changed at this point Refer to 7 2 23 Binary Data Modification for details b The Up or Down Arrow Key can be pressed to display the status of the previous or next word s bits 3 Press the CLR Key to end binary monitoring and return to the normal mon itoring display 7 2 17 Three Word Monitor This operation is used to monitor the status of three consecutive words It is possib...

Page 162: ...hen changing the operating mode 7 2 18 Signed Decimal Monitor This operation converts the contents of the specified word from signed hexa decimal two s complement format to signed decimal for display The opera tion can be executed while using I O monitoring multiple address monitoring or 3 word monitoring 1 2 3 1 Monitor the word that is to be used for decimal monitor with sign During multiple add...

Page 163: ...n MONITOR or PROGRAM mode only 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 PLC continues to refresh I O bits even if the PLC is in PROGRAM mode so devices connected to output points on the CPU Board or Expansion I O Boards may operate u...

Page 164: ...New SV Constant This operation can be used to input a new SV constant as well as to change an SV from a constant to a word address designation and vice versa The fol lowing examples show how to input a new SV constant and how to change the SV from a constant to an address 1 2 3 1 Press the CLR Key to bring up the initial display 2 Display the desired timer or counter 3 Press the Down Arrow Key and...

Page 165: ...o SR 255 cannot be changed 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 PLC continues to refresh I O bits even if the PLC is in PROGRAM mode so devices connected to output points on the CPU Board or Expansion I O Boards may operate unexp...

Page 166: ... CHG Key to begin binary data modification A flashing cursor will appear over bit 15 The cursor indicates which bit can be changed 3 Three sets of keys are used to move the cursor and change bit status a Use the Up and Down Arrow Keys to move the cursor to the left and right b Use the 1 and 0 Keys to change a bit s status to on or off The cursor will move one bit to the right after one of these ke...

Page 167: ...pectedly 1 2 3 1 Monitor signed decimal the status of the word for which the present value is to be changed Signed decimal monitor 2 Press the CHG Key to begin decimal data modification 3 Input the new PV and press the WRITE Key to change the PV The opera tion will end and the signed decimal monitoring display will return when the WRITE Key is pressed The PV can be set within a range of 32 768 and...

Page 168: ... be set within a range of 0 to 65 535 If an erroneous input has been made press the CLR Key to restore the sta tus prior to the input Then enter the correct input The buzzer will sound if a value outside the specified range is input allow ing no writing 7 2 26 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 o...

Page 169: ...ps because a fatal error occurred c When the PLC stops because of a power interruption d When the Clear Force Set Reset Operation is performed 7 2 27 Clear Force Set Reset This operation is used to restore the status of all bits which have been force set or reset It is possible in MONITOR or PROGRAM mode only Caution Before changing the contents of I O memory be sure that the changes will not caus...

Page 170: ...lay in combination with the Three word monitor operation 2 The Hexadecimal BCD Data Modification Operation can be used while displaying ASCII data Input values in 4 digit hexadecimal 7 2 29 Displaying the Cycle Time This operation is used to display the current average cycle time scan time It is possible only in RUN or MONITOR mode while the program is being exe cuted 1 2 3 1 Press the CLR Key to ...

Page 171: ...the initial display 7 3 Programming Example This section demonstrates all of the steps needed to write a program with the Programming Console 7 3 1 Preparatory Operations Use the following procedure when writing a program to the CPM2B for the first time 1 2 3 1 Set the Programming Console s mode switch to PROGRAM mode and turn on the CPM2B s power supply The password input display will appear on t...

Page 172: ...d 5 Press the CLR Key to bring up the initial programming display program ad dress 00000 The new program can be written at this point Caution Check the system thoroughly before starting or stopping the CPM2B to pre vent any accidents that might occur when the program is first started CLR MONTR PROGRAM BZ CLR 00000 SET NOT RESET 00000MEMORY CLR HR CNT DM MONTR END HR CNT DM 00000MEMORY CLR CLR 0000...

Page 173: ...OFF Flicker output 10 counts Self holding bit 1 second timer 2 second timer 10 count counter TIM 001 0010 CP R CNT 000 0010 T002 20000 TIM 002 0020 T002 20000 T001 20000 20000 Start input Address Instruction Data Programming example procedures in 7 3 3 Programming Procedures 00000 LD 00000 1 Self holding bit 00001 OR 20000 00002 AND NOT C 000 00003 OUT 20000 00004 LD 20000 2 1 second timer 00005 A...

Page 174: ... IR 00000 It isn t necessary to input leading zeroes 2 Input the OR condition IR 20000 3 Input the normally closed AND condition C000 It isn t necessary to input leading zeroes 4 Input the OUT instruction IR 20000 2 Inputting the One second Timer 1 2 3 1 Input the normally open condition IR 20000 LD 00000 LD 00000 WRITE 00001READ NOP 000 OR C 2 A 0 A 0 A 0 A 0 00001 OR 20000 WRITE 00002READ NOP 00...

Page 175: ...2 It isn t necessary to input leading zeroes 3 Input the 2 second timer T002 4 Input the SV for T002 0020 2 0 s AND NOT TIM C 2 00005 AND NOT TIM 002 WRITE 00006READ NOP 000 TIM B 1 00006 TIM 001 WRITE 00006 TIM DATA 0000 B 1 A 0 00006 TIM DATA 0010 WRITE 00007READ NOP 000 LD C 2 A 0 A 0 A 0 A 0 00007 LD 20000 WRITE 00008READ NOP 000 AND NOT TIM C 2 00008 AND NOT TIM 002 WRITE 00009READ NOP 000 TI...

Page 176: ...nput the normally open condition IR 20000 2 Input the normally closed AND condition T001 It isn t necessary to input leading zeroes LD C 2 A 0 A 0 A 0 A 0 00010 LD 20000 WRITE 00011READ NOP 000 AND TIM B 1 00011 AND TIM 001 WRITE 00012READ NOP 000 LD NOT C 2 A 0 A 0 A 0 A 0 00012 LD NOT 20000 WRITE 00013READ NOP 000 CNT A 0 00013 CNT 000 WRITE 00013 CNT DATA 0000 B 1 A 0 00013 CNT DATA 0010 WRITE ...

Page 177: ...splayed If no errors are found the following display will appear Note Refer to the Programming Manual for details on check levels and the programming errors that may be displayed during a program check 4 Press the SRCH Key to continue the search The next error will be dis played Continue pressing the SRCH Key to continue the search The search will continue until an END 01 instruction or the end of...

Page 178: ...isplay indicates that the force set is in progress The bit will remain ON as long as the Set Key is held down 4 The output indicator for output IR 01000 will flash ten times if the program is operating correctly The indicator should go OFF after ten one second flashes There is a mistake in the program if the output indicator doesn t flash In this case check the program and force set reset bits to ...

Page 179: ...tem Checks and Test Run Procedure 162 8 1 1 Initial System Checks 162 8 1 2 Flash Memory Precautions 162 8 2 CPM2B Test Run Procedure 163 8 3 Self diagnostic Functions 163 8 3 1 Identifying Errors 163 8 3 2 User defined Errors 164 8 3 3 Non fatal Errors 165 8 3 4 Fatal Errors 165 8 4 Troubleshooting Flowcharts 166 8 5 Maintenance Inspections 174 8 6 Battery Replacement 175 Artisan Technology Group...

Page 180: ...hanges will be lost The changes can be saved by switching the CPM2B to RUN or MONITOR mode or turning the CPM2B OFF and then ON again 2 When contents of the program read only DM DM 6144 through DM 6599 or PLC Setup DM 6600 through DM 6655 have been changed startup processing will take up to 1 200 ms longer than usual Be sure to take this one time startup delay into account if it may affect operati...

Page 181: ... a backup floppy disk b Print out a hard copy of the program with a printer Note Refer to SECTION 7 Using Programming Devices for details on the Support Software and Programming Console operations 8 3 Self diagnostic Functions The CPM2B is equipped with a variety of self diagnostic functions to help identify and correct errors and reduce down time 8 3 1 Identifying Errors An error can be identifie...

Page 182: ...struction is executed 1 2 3 1 The ERR indicator on the CPU Board will flash PLC operation will contin ue 2 The instruction s 2 digit BCD FAL number 01 to 99 will be written to SR 25300 to SR 25307 The FAL numbers can be set arbitrarily to indicate particular conditions but the same number should not be used as both an FAL number and an FALS number To clear an FAL error correct the cause of the err...

Page 183: ...02 ON An incorrect setting was detected in the PLC Setup DM 6645 to DM 6655 during operation Correct the settings and clear the error SCAN TIME OVER F8 The cycle time has exceeded 100 ms SR 25309 will be ON This indicates that the program cycle time is longer than recommended Reduce cycle time if possible The CPM2B can be set so that this error won t be detected Battery error no message F7 If the ...

Page 184: ...e conditions that caused execution correct the cause and clear the error 9F The cycle time has exceeded the Maximum Watch Cycle Time setting DM 6618 Check the cycle time and adjust the Maximum Cycle Time setting if necessary Message FALS No Meaning and appropriate response Error Replace the CPU Board PWR indicator lit RUN indicator lit ERR indicator flashing Is I O sequence normal Operating enviro...

Page 185: ...s Is PWR indicator lit Tighten screws or replace wires End Yes No No Yes Yes No No No Is PWR indicator lit Yes No Yes Yes Has the external power supply shorted or overloaded Correct the short circuit or limit the connected load to the spec ification range No No Is PWR indicator lit Yes Yes Are there any loose terminal screws or bro ken wires Artisan Technology Group Quality Instrumentation Guarant...

Page 186: ...ogramming Device End RUN indicator not lit Replace the CPU Board Turn the power supply OFF and then ON again Switch to RUN or MONITOR mode No Yes Is a fatal error displayed No Yes Yes No Is the RUN indicator lit No Yes Yes No Is the ERR indi cator lit Is PLC mode dis played on Program ming Device Is PLC mode displayed on Programming De vice Artisan Technology Group Quality Instrumentation Guarante...

Page 187: ... and clear the error 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 Yes Flashing Not lit ERR indicator flashing Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 188: ...3 terminals Wire correctly Operation OK Operation OK Is output wiring correct Disconnect the external wires and check the conductivity of each wire No Yes Check output device SOL1 Replace the CPU Board or Expansion I O Board with the problem Yes No No Operation OK No Yes Yes A To next page Malfunction of SOL1 Is the external power supply shorted or overloaded Yes No Correct the short circuit or li...

Page 189: ...on OK Wire correctly Is input wiring correct Tighten the terminal screws Return to start Replace the CPU Board or Expansion I O Board Yes Yes Yes Yes No No No No No No No Check the voltage at the IR 00002 and IR 00003 terminals A From previous page Yes Replace the CPU Board or Expansion I O Board Operation OK Are the IR 00002 and IR 00003 input indi cators operating normally Artisan Technology Gro...

Page 190: ...ise being controlled Is the installation environment okay Consider using a heater Consider using an air conditioner Install surge protec tors or other noise reducing equipment at noise sources Consider constructing an instrument panel or cabinet End Yes No Yes No No No No Yes Yes Yes Is the ambient humidity between 10 and 85 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE...

Page 191: ...r Check the program correct any errors and clear the error End No Yes No No Yes No Yes AR 1310 to AR 1312 ON No Turned ON during startup Yes Yes Check the external environment No Check the error indicated by the flag that is ON correct set tings as required and write data to the flash memory Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 192: ...ine whether the voltage fluctu ation at the power supply terminals is within specifications Within the voltage variation range 24 V DC model 20 4 to 26 4 V DC 12 V DC model 10 8 to 14 4 V DC Tester Environmental con ditions Is the ambient temperature inside the panel appropriate 0 to 55 C Thermometer Is the ambient humidity inside the panel appropriate 35 to 85 RH with no condensa tion Hygrometer ...

Page 193: ...event loss of memory contents Dispose of the old battery properly Replacement Procedure CPU Boards that are equipped with a clock are also equipped with a backup battery that has a 5 year lifetime at 25 C Use the following procedure when replacing the backup battery 1 2 3 1 Stop CPM2B operation and turn OFF the CPM2B s power supply 2 Disconnect the battery connector and remove the battery 3 Instal...

Page 194: ...176 Battery Replacement Section 8 6 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 195: ...B 32C1DT1 D12 Yes CPM2B 32C2DT1 D12 Appearance Input Output Connection with external I O device Model 16 points 24 V DC 16 relay outputs Transistor Block CPM2B 32EDR 16 points 24 V DC 16 sinking transistor out puts Connector CPM2B 32EDT 16 points 12 V DC CPM2B 32ED1T 24 points 24 V DC 16 relay outputs Transistor Block CPM2B 40EDR 32 points 24 V DC 32 sinking transistor out puts Connector CPM2B 64E...

Page 196: ...ards and Expansion I O Boards 64 point Expansion I O Boards Socket AWG 24 XG5M 2032 N XG5M 3432 N XG5M 4032 N AWG 26 to 28 XG5M 2035 N XG5M 3435 N XG5M 4035 N Full Cover 2 required for each Socket XG5S 2012 XG5S 3412 XG5S 4012 Partial Cover 2 required for each Socket XG5S 1001 XG5S 1701 XG5S 2001 Socket XG4M 2030 XG4M 3430 XG4M 4030 Strain Relief XG4T 2004 XG4T 3404 XG4T 4004 Set Socket Strain Rel...

Page 197: ...H CN222 Connects the C200H PRO27 E 2 m cable C200H CN422 4 m cable CS1W CN224 Connects the C200H PRO27 E directly to a CPM2B CPU Board 2 m cable CS1W CN624 6 m cable WS02 CXPC1 E CX Programmer For MS Windows 95 98 NT CD ROM Appearance Model Number Name Specifications C500 BAT08 Backup Battery CPM1 EMU01 V1 Expansion Memory Unit Uploads the ladder program and DM 6144 to DM 6655 from the PLC to the ...

Page 198: ... 150 mA power supply which is sup plied through the CPM2B connection Can also be connected to a personal computer but this connection requires an external 5 VDC power supply 3G2A9 AL004 E Link Adapter Use for personal computer RS 232C port to RS 422A Can also be connected to a CPM2B CPM1 CIF11 RS 422 Adapter Use for CPM2B peripheral port to RS 422A conver sion The CS1W CN114 is required to connect...

Page 199: ...ensions All dimensions are in millimeters CPU Boards 32 point Models CPM2B 32C D D 40 point Models CPM2B 40C2DR D 164 174 70 108 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 200: ...ion I O Boards 32 point Models CPM2B 32ED 40 point Models CPM2B 40EDR 64 point Models CPM2B 64EDT 164 209 70 108 164 209 70 108 164 174 70 108 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 201: ...g max CPM2B 32C2DR D 260 g max CPM2B 32C1DT D 150 g max CPM2B 32C2DT D 178 g max CPM2B 40C2DR D 294 g max 12 V DC CPM2B 32C1DT1 D12 150 g max CPM2B 32C2DT1 D12 178 g max Expansion I O Board CPM2B 32EDR 199 g max CPM2B 32EDT 32ED1T 115 g max CPM2B 40EDR 239 g max CPM2B 64EDT 166 g max Analog I O Board CPM2B MAD 160 g max Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www ...

Page 202: ...Mounting Bracket 28 L L L 17 164 186 206 40 point CPU Board or Expansion I O Board 70 100 150 32 point models 40 60 point models Boards 32 point models Expansion I O Board 24 V DC Expansion I O Board 12 V DC Expansion I O Board 24 V DC L 26 mm 22 mm Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 203: ...185 Appendix C Connections Diagrams for Connector Terminal Blocks and Relay Terminals Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 204: ...ersion Unit CN1 CN2 Connector at Terminal Conversion Unit MR 20F MRP 20F01 MR 20FW Contact No Pin No Pin No I O symbol Connector at CPM2B inputs CN1 CN2 Connector at Terminal Conversion Unit Mark Connector at CPM2B inputs XG5M 2032 N XG5M 2035 N These contacts are connected in this dia gram to illustrate the correspondence with the cable in 5 below Normally it is not necessary to connect these con...

Page 205: ...5M 2035 N Contact No Pin No Pin No I O symbol CN1 CN2 Mark Mark Not connected Connector at CPM2B inputs XG5M 2032 N XG5M 2035 N Connector at Terminal Conversion Unit XG5M 2032 N XG5M 2035 N Connector at Terminal Conversion Unit XG5M 2032 N XG5M 2035 N Not connected Not connected Not connected Not connected Not connected Not connected Not connected These contacts are connected in this diagram to il...

Page 206: ...ng Outputs of 32 point Board to XW2B 20Y4 or XW2B 20Y5 Connector Terminal Conversion Unit CN1 CN2 Contact No Pin No Pin No I O symbol Connector at CPM2B outputs CN1 CN2 Connector at Terminal Conversion Unit Mark Connector at CPM2B outputs XG5M 2032 N XG5M 2035 N Connector at Relay Terminal XG5M 2032 N XG5M 2035 N Connector at CPM2B outputs XG5M 2032 N XG5M 2035 N Connector at Terminal Conversion U...

Page 207: ...onnector Terminal Conversion Unit CN1 CN2 Connector at CPM2B outputs CN1 CN2 Connector at Terminal Conversion Unit Mark Mark Connector at CPM2B outputs XG5M 2032 N XG5M 2035 N Connector at Terminal Conversion Unit XG5M 2032 N XG5M 2035 N Contact No Pin No Pin No I O symbol Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 208: ...Connector at CPM2B inputs CN1 CN2 Connector at Terminal Conversion Unit Mark Mark Connector at Terminal Conversion Unit CN3 Mark CN3 Connector at Terminal Conversion Unit XG5M 2032 N Pin No I O symbol Word m 1 Word m 2 COM 00 00 00 01 00 02 00 03 00 04 00 05 00 06 00 07 NC COM 00 08 00 09 00 10 00 11 00 12 00 13 00 14 00 15 COM 00 00 00 01 00 02 00 03 00 04 00 05 00 06 00 07 NC COM 00 08 00 09 00 ...

Page 209: ... Terminal Mark Mark Connector at Relay Terminal CN3 Mark CN3 Word n 1 COM 00 00 00 01 00 02 00 03 00 04 00 05 00 06 00 07 NC COM 00 08 00 09 00 10 00 11 00 12 00 13 00 14 00 15 COM 00 00 00 01 00 02 00 03 00 04 00 05 00 06 00 07 NC COM 00 08 00 09 00 10 00 11 00 12 00 13 00 14 00 15 NC NC Word n 2 Connector at Relay Terminal XG5M 2032 N Connector at Relay Terminal XG5M 2032 N Pin No I O symbol Art...

Page 210: ...192 Connections Diagrams for Connector Terminal Blocks and Relay Terminals Appendix C Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 211: ...he clock 153 communications capabilities overview 5 components Expansion I O Boards 37 conduit installation 52 counters changing SV Programming Console 146 example of inputting 158 CPU Boards available models 177 dimensions 181 CPU Units cyclic operation 19 internal structure 15 CX Programmer 11 cycle time displaying Programming Console 152 cyclic operation 19 D data modifying Programming Console ...

Page 212: ...onsole 151 Programming Console 150 function codes expansion instructions 94 reading and changing expansion instruction assignments 131 functions 7 H hexadecimal data converting displays Programming Console 152 I I O capacity 25 I O connectors available models 178 pin allocation Expansion I O Units 40 wiring 55 I O errors troubleshooting 170 I O line noise preventing 52 I O terminals allocation Exp...

Page 213: ...ata Programming Console 150 MONITOR mode description 123 example test run 160 monitoring 3 word monitor Programming Console 143 binary monitor Programming Console 143 differentiation monitor Programming Console 142 signed decimal monitor Programming Console 144 status Programming Console 140 unsigned decimal monitor Programming Console 145 motor control capabilities 3 MSG 46 164 N noise preventing...

Page 214: ...amming checking the program 159 checks for syntax Programming Console 139 inserting and deleting instructions Programming Console 138 preparation for 153 searching Programming Console 136 137 setting and reading a memory address Programming Console 132 special features 94 Programming Console connecting 124 connections 11 keys 120 models 120 operations 127 Programming Devices using 119 programming ...

Page 215: ...checks 162 system configuration 8 T temperature operating storage 24 temperature ambient 24 terminal blocks connections 56 specifications 54 wiring 53 test run example 160 procedure 163 time See also clock timers changing SV Programming Console 146 example of inputting 157 troubleshooting 166 fatal errors 168 I O errors 170 non fatal errors 169 operating conditions 172 power supply 167 173 U unsig...

Page 216: ...198 Index Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 217: ...mmer added Pages 8 78 81 130 Information on CQM1H PRO01 E Programming Console added Page 10 Illustration corrected for the bottom graphic Page 11 Changes made to note Page 22 Changes made to ambient temperature specifications and models added Page 23 Maximum I O capacity changed Page 24 Information on input time constant for new Boards Pages 25 and 26 Addition to item 1 at bottom of page 25 and gr...

Page 218: ...ds that can be connected Page 47 Information on hardware and cables for Expansion I O Boards changed Pages 49 and 50 Information on 12 V DC power supply added to subsection on power supply wiring Page 55 New model number added to diagram Page 66 Information on TR Area changed and table layout slightly changed Pages 68 to 70 Information on I O allocations for CPU Boards and Expansion I O Boards cha...

Page 219: ...rive Schaumburg IL 60173 847 843 7900 For US technical support or other inquiries 800 556 6766 OMRON CANADA INC 885 Milner Avenue Toronto Ontario M1B 5V8 416 286 6465 OMRON ON LINE Global http www omron com USA http www omron com oei Canada http www omron ca Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...

Page 220: ...quipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Reviews: