background image

CPM2C Programmable Controllers

Operation Manual

Produced June 1999

Summary of Contents for CPM2C

Page 1: ...CPM2C Programmable Controllers Operation Manual Produced June 1999...

Page 2: ...http www bzxindaxin com http www gk world com...

Page 3: ...http www bzxindaxin com http www gk world com...

Page 4: ...http www bzxindaxin com http www gk world com...

Page 5: ...http www bzxindaxin com http www gk world com...

Page 6: ......

Page 7: ...UG DQG LV DEEUHYLDWHG G LQ GRFXPHQWDWLRQ LQ WKLV VHQVH1 7KH DEEUHYLDWLRQ 3 PHDQV 3URJUDPPDEOH RQWUROOHU DQG LV QRW XVHG DV DQ DEEUHYLDWLRQ IRU DQ 0 WKLQJ HOVH1 9LVXDO LGV 7KH IROORZLQJ KHDGLQJV DSSHDU...

Page 8: ...1 1 1 1 605 6HOHFWLQJ DQ QVWDOODWLRQ 6LWH 78 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 606 QVWDOOLQJ WKH 305 79 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

Page 9: ...r diagram operations in the Windows environment Please read this manual carefully and be sure you understand the information provided before attempting to install and operate the CPM2C Section 1 gives...

Page 10: ...5 HQHUDO 3UHFDXWLRQV LL 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 6 6DIHW 3UHFDXWLRQV LL 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

Page 11: ...during operation WARNING It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions especially in applications that can directly or indi...

Page 12: ...ture Locations subject to corrosive or flammable gases Locations subject to dust especially iron dust or salts Locations subject to exposure to water oil or chemicals Locations subject to shock or vi...

Page 13: ...CPU Unit will be saved but the outputs will all turn OFF For models with only the super capacitor installed the contents of the READ WRITE enable area of the DM area HR area AR area and CNT data area...

Page 14: ...cted operation Double check all wiring and switch settings before turning ON the power sup ply Incorrect wiring or switch settings may result in burning Confirm that no adverse effect will occur in th...

Page 15: ...e PC EN61131 2 6 3 Conformance to EC Directives The CPM2C PCs comply with EC Directives To ensure that the machine or de vice in which the CPM2C PC is used complies with EC Directives the PC must be i...

Page 16: ...nce limits the current that flows into the load when the circuit is closed again The dielectric strength of the capacitor must be 200 to 300 V If the circuit is an AC circuit use a capacitor with no p...

Page 17: ...9 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 406 6WUXFWXUH DQG 2SHUDWLRQ 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

Page 18: ...with 10 I O points relay or transistor outputs or 20 I O points transistor outputs only are available Expansion I O Units can be con nected to increase capacity to 140 I O points Basic Functions The C...

Page 19: ...quency range of 10 Hz to 10 kHz with a fixed duty ratio or 0 1 to 999 9 Hz with a variable duty ratio 0 to 100 duty ratio When used as pulse plus direction or up down pulse outputs there can be just o...

Page 20: ...for operations such as reading writing data in the PC s I O memory or reading changing the PC s operating mode 1 1 Host Link Communications CPM2C 1 N Host Link Communications B500 AL004 Link Adapter...

Page 21: ...0 I O points No interrupt 4 inputs in CPU Units with 20 I O points Incrementing counter 2 kHz Decrementing counter 2 kHz Count up interrupt Pulse outputs 2 outputs Single phase pulse output without ac...

Page 22: ...uts 8 transistor outputs i No CPM2C 20CDT1C D sourcing Yes CPM2C 20C1DT1C D 1 2 2 CPU Unit and Expansion I O Unit Up to 5 Expansion I O Units can be connected to the Expansion Connector There are thre...

Page 23: ...n I O Units can be connected when the NT AL001 Adapter connected to the RS 232C port 1 3 Structure and Operation 1 3 1 CPU Unit Structure The following diagram shows the internal structure of the CPU...

Page 24: ...e 3 operating modes PROGRAM MONITOR 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 o...

Page 25: ...ions port with switch 2 set to ON 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...

Page 26: ...ration will continue if voltage is restored in this region CPU Unit operation may continue if voltage is restored in this region Note If the power supply voltage fluctuates around 85 of the PC s rated...

Page 27: ...Check for battery error Preset the watch maximum cycle time Check program memory Refresh bits for expansion functions Execute the program Refer to the Programming Manual W353 for details on cycle time...

Page 28: ...until the minimum cycle time is reached CPU operation will not be paused if the actual cycle time is longer than the minimum cycle time set in DM 6619 Note A fatal error will occur and PC operation w...

Page 29: ...ied range of I O words will be refreshed when IORF 97 is executed The normal cycle time is extended by the time required for execution of the inter rupt program Refer to Section 7 PC Operations and Pr...

Page 30: ...position with an encoder Max count frequency of 5 kHz differential phase or 20 kHz single phase Use high speed counter to read the present value without interrupts Generate a pulse output based on a...

Page 31: ...ing the input signal from an encoder at regular intervals and calculating the speed Interval timer interrupt Scheduled interrupt mode Perform simple positioning by outputting pulses to a motor driver...

Page 32: ...ions Switch 2 Page 80 Monitor equipment with a Programmable Terminal and program the PC with a Programming Device The RS 232C port and Peripheral port can be used simultaneously W353 Page 80 86 1 5 Co...

Page 33: ...me as CPM2C PC Setup 56 words DM 6600 to DM 6655 Same as CPM2C Same as CPM2C Memory backup Program area read only DM area Flash memory backup Same as CPM2C Same as CPM2C Read write DM area HR area AR...

Page 34: ...me SV possible Method used to reference the target value match interrupt table Comparison of all values in the table regardless of order of appearance in table Comparison in order of appearance in tab...

Page 35: ...at 25 C CPU Unit without clock lithium battery 5 year lifetime at 25 C 5 year lifetime at 25 C 20 day backup at 25 C Battery error detection Supported Same as CPM2C Communications in CPU Unit Periphe...

Page 36: ...61 MODE CONTROL Supports the interrupt input counter mode PV change operation Supports the pulse output PV change operation Supports the pulse synchronization control stop operation Does not support...

Page 37: ...s in the AR area Function CPM2C CPM1A Clock calendar data AR 17 to AR 21 Not d RS 232C Communications Error Code AR 0800 to AR 0803 supported RS 232C Error Flag AR 0804 RS 232C Transmission Enabled Fl...

Page 38: ...232C Port No protocol End Code Enable DM 6648 bits 12 to 15 RS 232C Port No protocol Start Code Setting DM 6649 bits 00 to 07 RS 232C Port No protocol End Code Setting or Number of Bytes Received DM...

Page 39: ...o 3 3 Installing the CPM2C and 4 3 4 Preparation for Operation for details 5 Create Ladder Program Create a ladder program to control the system Refer to Section 4 Using Programming Devices and the Pr...

Page 40: ...1 1 1 1 50405 SDQVLRQ 22 8QLW RPSRQHQWV 63 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 505 6SHFLILFDWLRQV 66 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

Page 41: ...y Outputs 2 Input connector 7 Communications Port 8 Communications Switches 5 Input indicators 6 Output indicators 3 Output connector 4 PC Status Indicators Front View CPU Unit with Transistor Outputs...

Page 42: ...e input indicators are lit when the corresponding input terminal is ON The status of an input indicator will reflect the status of the input even when that input is being used for a high speed counter...

Page 43: ...tings are used g used Be sure that Communications Switch 2 is OFF when connecting a Programming Console The green PRO indicator on the front of the CPU Unit will be lit 9 Battery This battery backs up...

Page 44: ...1 Section I O Terminal and Connector Pin Allocation CPU Unit with 10 I O Points Relay Outputs Inputs Outputs Shared common CPU Unit with 10 I O Points Transistor Outputs Inputs Outputs Sinking Sourcin...

Page 45: ...Sinking Sourcing 2 1 2 Expansion I O Unit Components Expansion I O Unit with Relay Outputs 1 Input terminals 3 Input indicators 4 Output indicators 2 Output terminals Front View Right Side 6 Expansio...

Page 46: ...ill not be refreshed 4 Output Indicators The output indicators are lit when the corresponding output terminal is ON 5 Expansion I O Connector Input Connects the Expansion I O Unit to the CPU Unit or t...

Page 47: ...2 1 Section I O Terminal and Connector Pin Allocation Expansion I O Unit with 10 I O Points Inputs Outputs Shared common Expansion I O Unit with 24 I O Points Inputs Outputs Sinking Sourcing...

Page 48: ...nnector Terminal block Connector Power interrupt time 2 ms min Weight 200 g max 200 g max 200 g max 150 g max 150 g max 2 2 2 Characteristics Item CPU Unit Specification 10 I O points Relay outputs 10...

Page 49: ...rection control Two points with variable duty ratio outputs Pulse outputs can be used with transistor outputs only they cannot be used with relay outputs Synchronized pulse control One point A pulse o...

Page 50: ...memory failure Program checks No END instruction programming errors checked when operation is started Note 1 The DM area HR area AR area and counter values are backed up If the backup battery or capa...

Page 51: ...05 for CPU Units with 10 I O points ON voltage current IN00000 to IN00001 17 VDC min 5 mA g IN00002 and up 14 4 VDC min 3 5 mA OFF voltage current All 5 0 VDC max 1 1 mA ON delay All 1 to 80 ms max De...

Page 52: ...high speed counter input The minimum pulse widths for inputs IN00000 A phase input and IN00001 B phase input are as follows 100 s min T1 T2 T3 T4 12 5 s min Phase A Phase B 50 s min 12 5 s min Pulse...

Page 53: ...mA typical ON voltage current 14 4 VDC min 3 5 mA OFF voltage current 5 0 VDC max 1 1 mA 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 configur...

Page 54: ...2 A 24 VDC 4 A common Min switching capacity 10 mA 5 VDC Service life of relay See note Electrical 150 000 operations 24 VDC resistive load 100 000 operations 240 VAC inductive load cos 0 4 Mechanical...

Page 55: ...C When using OUT01000 or OUT01001 as a pulse output connect a dummy resistor as required to bring the load current between 10 and 150 mA If the load current is below 10 mA the ON OFF response time wil...

Page 56: ...tion Circuit configuration Sinking Outputs COM Sourcing Outputs Output LED OUT OUT 24 VDC OUT OUT 0 VDC Output LED OUT OUT COM OUT OUT 1 A 1 A 1 A Internal circuits Internal circuits 1 A Load Load Loa...

Page 57: ...h shows the maximum switching capacity Output current mA Output voltage V 300 40 4 5 20 4 26 4 Caution Do not apply voltage in excess of the maximum switching capacity to an output terminal It may res...

Page 58: ...1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 60605 305 QVWDOODWLRQ 7 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 607 LULQJ DQG RQQHFWLRQV 7 1 1 1...

Page 59: ...tage Be sure to adhere to safety precautions such as providing breakers to prevent short circuits in external wiring When conducting any of the following operations turn OFF the power to the PC Electr...

Page 60: ...ubject to exposure to water oil or chemicals Be sure that the conditions at the installation site conform to the CPM2C s gen eral specifications Refer to 2 2 1 General Specifications for details Note...

Page 61: ...lt age equipment or power lines could be dangerous if they are in the way during routine operations The PC will be easiest to access if the panel or cabinet is installed about 1 to 1 6 m above the flo...

Page 62: ...he Expansion I O Unit and CPU Unit or previous Expansion I O Unit so that the catches top and bottom on the Expansion I O Unit and the con nectors fit together Press the Units together to connect them...

Page 63: ...place 4 Lock 1 Pull down 2 Insert onto track 3 Push in on the Unit Caution Be sure that the DIN Track is installed horizontally Installing the Track vertically will inhibit the airflow that cools the...

Page 64: ...een the power cables and the I O or control wiring as shown in the following diagram CPM2C I O lines Control cables and CPM2C power lines Power cables 300 mm min 300 mm min Floor Ducts Leave at least...

Page 65: ...the CPM2C and insert the connector 2 To remove the power supply connector grasp the power supply connector not the wires release the lock tab on the connector and remove the con nector Note 1 Do not...

Page 66: ...mm 7 mm terminal length Note 1 When using stranded wire be sure to avoid stray wire strands that might short circuit an adjacent terminal 2 Do not solder the ends of stranded wires Solder can break a...

Page 67: ...ions of compatible I O connectors I O connectors Compatible Connector Specifications OMRON Connector Specifications Model number 24 pin soldered connector and cover Connector Fujitsu FCN 361J024 AU eq...

Page 68: ...024 AG H Pressing l Hand press General purpose FCN 707T T101 H g tools Cable cutter General purpose FCN 707T T001 H Locator plate For the 360 series connectors FCN 367T T012 H Connector cover N ibl i...

Page 69: ...and assembling a soldered connector OMRON C500 CE241 1 2 3 1 Slide heat shrink tubing over the power supply wires and solder the wires to the appropriate pins on the socket Heat shrink tubing Power su...

Page 70: ...owing diagram Connector cover Socket Nuts 3 Nuts 2 Connector screws Small screws 2 Cable clamp Small screws 3 3 4 5 Using I O Terminals and Relay Terminals We recommend using the following I O Termina...

Page 71: ...m XW2Z 500A 5 m Terminal Blocks XW2B 20G4 M3 screws XW2B 20G5 M3 5 screws Number of unused terminals 10 point CPU Unit 15 points 20 point CPU Unit 11 points 10 point Expansion I O Unit 15 points 24 po...

Page 72: ...w voltage Directives use a power supply with double insulation or reinforced insulation The following diagrams show the input configurations CPU Units with 10 I O Points Relay Outputs CPM2C 10CDR D 10...

Page 73: ...08 00007 00006 00005 00004 00003 00002 00001 00000 Expansion I O Unit with 10 I O Points Relay Outputs CPM2C 10EDR Input devices 24 VDC Input terminals Expansion I O Units with 24 I O Points Transisto...

Page 74: ...V NPN current output Use the same power supply for the input and sensor CPM2C IN COM Output 5 mA 6 mA 8 mA 0 V Constant current circuit PNP current output Sensor power supply COM 0 V IN Output 5 mA 6...

Page 75: ...0002 Normal input CPM2C CPM2C Sensor Sensor Sensor or switch Sensor or switch Note CW is clockwise and CCW is counter clockwise Using IR 00003 to IR 00006 as Interrupt Inputs Counter Mode In these exa...

Page 76: ...White Orange Brown Blue A leakage current can cause false inputs when using 2 wire sensors proximity switches or photoelectric switches or limit switches with LEDs False inputs won t occur if the lea...

Page 77: ...he following diagrams Don t exceed the output capacity or the maximum common current shown in the following table WARNING The PC outputs may remain ON or OFF due to deposits on or burning of the outpu...

Page 78: ...tput capacity Max common capacity 300 mA 24 VDC 1 2 A common Output connector Load Load Load Load 24 VDC CPU Units with 10 I O Points Sourcing Transistor Outputs CPM2C 10CDT1C D 10C1DT1C D Output capa...

Page 79: ...mmon capacity 300 mA 24 VDC 2 4 A common Output connector Load Load Load Load 24 VDC Load Load Load Load CPU Units with 20 I O Points Sourcing Transistor Outputs CPM2C 20CDT1C D 20C1DT1C D Output capa...

Page 80: ...ax common capacity 2 A 250 VAC or 24 VDC 4 A common Output terminals Load Load Load Load Expansion I O Unit with 24 I O Points Sinking Transistor Outputs CPM2C 24EDTC Output capacity Max common capaci...

Page 81: ...on Expansion I O Unit with 24 I O Points Sourcing Transistor Outputs CPM2C 24EDT1C Output capacity Max common capacity 300 mA 24 VDC 2 4 A common Output connector Load Load Load Load 24 VDC Load Load...

Page 82: ...output 0 01000 CPM2C Pulse output 1 01001 COM Relay Pulse plus direction output Motor driver Pulse output 0 01000 CPM2C Direction output 01001 COM Direction input Increment pulse output Motor driver...

Page 83: ...e breakdown voltage must be at least 3 times the load voltage Average rectified current must be 1 A Inrush Current Considerations When switching a load with a high inrush current in the CPM2C relay ou...

Page 84: ...gram to connect a personal computer with Support Software to the CPM2C s RS 232C port for 1 1 Host Link communications or no protocol serial communications RS 232C Port Connection A personal computer...

Page 85: ...S1W CN114 0 05 m CQM1 CIF02 3 3 m CPM1 CIF01 IBM PC AT or compatible computer Note 1 The CS1W CN226 626 Connecting Cables can be used but the CS1W CN225 625 and CS1W CN227 627 Connecting Cables cannot...

Page 86: ...070T 1 0 7 m XW2Z 200T 1 2 m CS1W CN114 0 05 m CS1W CN118 0 05 m RS 232C port CPM2C CPU Unit CPM2C CPU Unit CPM2C CPU Unit CPM2C CPU Unit CPM2C CPU Unit RS 232C cable Note 1 The NT AL001 must be supp...

Page 87: ...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 as shown in the following diagrams CPM2C CPU Unit RS 232C devices...

Page 88: ...Host Link connection Ei ther the RS 232C port or Peripheral port can be used for the Host Link Connecting Cable XW2Z 200T 2 m XW2Z 500T 5 m CPM1 CIF01 RS 232C Adapter NT AL001 RS 232C Adapter CPM2C CN...

Page 89: ...ot be connected through the Peripheral port CPM2C CN111 0 1 m CS1W CN118 0 05 m CS1W CN118 0 05 m 1 1 Link Master CPM2C CPU Unit Connecting Cable XW2Z 200T 2 m XW2Z 500T 5 m RS 232C port D sub 9 pin C...

Page 90: ...1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 7070 LW 2SHUDQG 6HDUFK 433 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 707043 QVHUWLQJ DQG...

Page 91: ...e supported If a program contains a data area address that exceeds the range of a CPM2C data area a memory error will be generated when the program is executed and the Memory Area Specification Error...

Page 92: ...DM 6602 to enable user settings to use expansion instructions It will not be possible to transfer the program if the function codes assigned to expansion instructions 18 instructions have been changed...

Page 93: ...T Support Software op erations with the CPM2C PC The software is operating in a Windows 95 envi ronment in these examples The SYSMAC CPT Support Software is a Windows 3 1 Windows 98 Windows NT 3 5 4 0...

Page 94: ...the PC being used 1 2 3 1 Select File F from the menu bar and New N from the File menu 2 Input the name of the new project set the PC model to CQM1 set the CPU version to CPU43 and click OK a Input t...

Page 95: ...C is connected to a Pro gramming Console or other device such as a CPM1 CIF01 11 or CQM1 CIF01 02 If the switch is turned ON communications will be interrupted and a communications error will occur A...

Page 96: ...timers and counters changing word data and online editing RUN Mode This is the CPM2C s normal operating mode The CPM2C s operating status can be monitored from a Programming Device but bits can t be...

Page 97: ...MAC CPT Support Software is online and that the CPM2C is in PROGRAM mode The pro gram cannot be transferred unless the PC is in PROGRAM mode 1 2 3 1 Check that the PC is in PROGRAM mode select Online...

Page 98: ...RUN mode 1 2 3 1 Make sure that the SYSMAC CPT Support Software is online Select On line O from the menu bar select Mode M and then RUN R 2 A confirmation message will be displayed Click OK to switch...

Page 99: ...00 to IR 009 Output words IR 100 to IR 111 IR 010 to IR 019 Work words IR 012 to IR 099 IR 112 to IR 227 IR 020 to IR 049 IR 200 to IR 227 IR 050 to IR 199 cannot be used SR area SR 228 to SR 255 SR 2...

Page 100: ...be displayed Change the setting of DM 6602 to enable user settings to use expansion instructions If instructions not supported by the CPM2C are transferred to the PC a message saying to set expansion...

Page 101: ...ecting the Programming Console turn OFF Communications Switch 2 on the front of the CPM2C CPU Unit The green PRO indicator on the CPU Unit will light Communications Switch 2 Note 1 When Communications...

Page 102: ...CS1W CN114 Connecting Cable Connect the Programming Console to the CPM2C as shown below Peripheral port CPM2C CPU Unit CPM2C CN111 Connecting Cable CS1W CN114 Connecting Cable C200H CN222 or C200H CN...

Page 103: ...r may be used 37 15 4 3 2 Compatible Programming Consoles There are two Programming Consoles that can be used with the CPM2C The CQM1 PRO01 E and the C200H PRO27 E The key functions for these Pro gram...

Page 104: ...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 EM LR LR AR HR HR SET PLAY SET RESET REC RESET Note T...

Page 105: ...tails 4 3 3 Changing the CPM2C s Mode with the Mode Switch Once the Programming Console has been connected its mode switch can be used to change the CPM2C s operating mode The mode display PRO GRAM MO...

Page 106: ...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 PC to prevent any accidents that might occur when t...

Page 107: ...ge appears press CLR and then MONTR Then press CLR to clear the display If the Programming Console is connected to the PC when PC power is already ON the first display below will indicate the mode the...

Page 108: ...d decimal monitor Converts hexadecimal data in a word to unsigned decimal for display 107 3 word data modification Changes the contents of one or more of the 3 consecutive words displayed in the 3 Wor...

Page 109: ...o 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...

Page 110: ...ar the present mes sage and display the next most serious error message Continue pressing MONTR until all messages have been cleared These are some examples of error messages A memory error MONTR A sy...

Page 111: ...CLR Key to bring up the initial display 2 Press the EXT Key to display the assignment for the first function code 17 EXT 3 Press the Up and Down Arrow Keys to scroll through the expansion instruc tion...

Page 112: ...input a program for the first time or to change a program that already exists In either case the current contents of Program Memory is overwritten The program shown in the following diagram will be e...

Page 113: ...ut in BCD so it isn t necessary to press the CONT Key 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...

Page 114: ...he operand from 0 to 65535 C 2 F 5 6 Note If an erroneous input is made press the CLR Key to restore the status prior to the input Then enter the correct input 14 Restore the hexadecimal display SHIFT...

Page 115: ...se the search is for OUT 01000 In this case the next OUT 01000 instruction is at address 200 as shown below OUT B 1 A 0 A 0 A 0 SRCH 4 Press the Down Arrow Key to display the instruction s operands or...

Page 116: ...rands 00205 AND 00103 00206 AND NOT 00104 00207 OUT 01000 00208 END 01 Delete Insert Follow the procedure below to insert the IR 00105 NO condition at address 00206 1 2 3 1 Press the CLR Key to bring...

Page 117: ...errors are found It is possible in PROGRAM mode only RUN MONITOR PROGRAM No No OK 1 2 3 1 Press the CLR Key to bring up the initial display 2 Press the SRCH Key An input prompt will appear requesting...

Page 118: ...24 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 4 4 21 Binary Data Modificatio...

Page 119: ...ords are input monitoring of the bit or word input first will be canceled 4 Press the CLR Key to stop monitoring the leftmost bit or word and clear it from the display CLR 0 5 Press the SHIFT CLR Keys...

Page 120: ...1 2 3 1 Monitor the status of the desired word according to the procedure described in 4 4 12 Bit Digit Word Monitor The desired word should be leftmost on the display if 2 or more words are being mon...

Page 121: ...Key to end 3 word monitoring and return to the normal moni toring display The rightmost word on the 3 word monitor display will be monitored CLR 1 4 4 16 Signed Decimal Monitor This operation converts...

Page 122: ...is operation is used to change the contents of one or more of the 3 con secutive words displayed in the 3 Word Monitor operation It is possible in MONITOR or PROGRAM mode only RUN MONITOR PROGRAM No O...

Page 123: ...rom a constant to a word address designation and vice versa The following 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...

Page 124: ...the desired word according to the procedure described in 4 4 12 Bit Digit Word Monitor If two or more words are being monitored the desired word should be leftmost on the display Word monitor 2 Press...

Page 125: ...in the DM Area cannot be force set or force reset 4 Press the WRITE Key to write the changes in memory and return to the binary monitor WRITE 1 4 4 22 Signed Decimal Data Modification This operation i...

Page 126: ...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 P...

Page 127: ...force reset status is indicated by an R To return the bit to its original status press the NOT Key or perform the Clear Force Set Reset operation Refer to 4 4 25 Clear Force Set Reset for details For...

Page 128: ...current average cycle time scan time It is possible only in RUN or MONITOR mode while the program is being executed RUN MONITOR PROGRAM OK OK No 1 2 3 1 Press the CLR Key to bring up the initial displ...

Page 129: ...urn to the initial display 4 5 Programming Example This section demonstrates all of the steps needed to write a program with the Programming Console 4 5 1 Preparatory Operations Use the following proc...

Page 130: ...dents that might occur when the program is first started 4 5 2 Example Program The following ladder program will be used to demonstrate how to write a pro gram with the Programming Console This progra...

Page 131: ...5 Flicker output 10 counts 00015 AND NOT T 001 00016 OUT 01000 00017 END 01 6 END 01 instruction 4 5 3 Programming Procedures The example program will be written to the CPM2C according to the mnemonic...

Page 132: ...2 Input the normally closed AND condition T002 It isn t necessary to input leading zeroes AND NOT TIM C 2 WRITE 3 Input the 1 second timer T001 TIM B 1 WRITE 4 Input the SV for T001 0010 1 0 s B 1 A...

Page 133: ...A 0 A 0 WRITE 2 Input the normally open AND condition T001 It isn t necessary to input leading zeroes AND TIM B 1 WRITE 3 Input the normally closed condition IR 20000 LD NOT C 2 A 0 A 0 A 0 A 0 WRITE...

Page 134: ...equesting the desired check level SRCH 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...

Page 135: ...ramming Console to start the program LD MONTR 0 SET The cursor in the lower left corner of the display indicates that the force set is in progress The bit will remain ON as long as the Set Key is held...

Page 136: ...1 1 1 1 1 1 80505 8VHU0GHILQHG UURUV 457 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 80506 1RQ0IDWDO UURUV 457 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...

Page 137: ...be changed to write the new contents to flash memory If backup battery is changed before the changes are written to flash memory the changes will be lost The changes can be saved by switching the CPM2...

Page 138: ...into 2 categories based on the severity of the errors The status of the ERR ALM indicator lit or flashing shows which type of error has occurred ERR ALM Lit Fatal Error Fatal errors are serious errors...

Page 139: ...icate particular conditions but the same number should not be used as both an FAL number and an FALS number To clear an FALS error use a Programming Device to switch the PC to PRO GRAM Mode correct th...

Page 140: ...ecksum error has occurred in read only DM DM 6144 to DM 6599 Check and correct the settings in the read only DM area AR 1311 ON A checksum error has occurred in the PC Setup Initialize the PC Setup an...

Page 141: ...rs that are to be detected The following table provides the error types displays and explanations of all syntax errors Check level 0 checks for type A B and C errors check level 1 for type A and B err...

Page 142: ...the relationship between SBN 92 and RET 93 is not correct Correct the program C COIL DUPL The same bit is being controlled i e turned ON and or OFF by more than one instruction e g OUT OUT NOT DIFU 13...

Page 143: ...rrors See page 131 Error Replace the CPU Unit PWR indicator lit RUN indicator lit ERR ALM indicator flashing Is I O sequence normal Operating environment normal Operation stopped Check for fatal error...

Page 144: ...pplied Is voltage adequate Are there any discon nected connectors or broken wires Connect power supply Is PWR indicator lit Set supply voltage within acceptable limits Is PWR indicator lit Connect con...

Page 145: ...ALM indicator lit Determine the cause of the error with a Programming Device End RUN indicator not lit Replace the CPU Unit Is PC mode displayed on Programming Device Turn the power supply OFF and the...

Page 146: ...error eliminate its cause and clear the error ERR ALM indicator flashing Is a non fatal error indicated Is the ERR ALM indicator flashing Replace the CPU Unit End Determine the cause of the error wit...

Page 147: ...No Is the IR 01003 output indicator operating normally Check the voltage at the IR 01003 terminals Wire correctly Operation OK Is output wiring correct Disconnect the external wires and check the con...

Page 148: ...con nectors disconnected Operation OK Wire correctly Is input wiring correct Tighten the terminal screws and connect connectors Check input devices LS1 and LS2 Return to start Are the IR 00002 and IR...

Page 149: ...e 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...

Page 150: ...backed up data and clear error Check the program correct any errors and clear the error End No Yes No No Yes No Yes AR 1310 to AR 1312 ON Check the error indicated by the flag that is ON correct set t...

Page 151: ...propriate 10 to 90 RH with no condensation Hygrometer Has dirt or dust collected None Visual inspection I O power supply Is the voltage fluctuation measured at the I O terminals within the standard ra...

Page 152: ...abel and affix the label in a visible place such as the inside of the communications port cover Be sure to dispose of the old battery in accordance with local laws and regula tions A CPM2C BAT01 Backu...

Page 153: ...f the Unit and set bits 12 to 15 of DM 6655 to 0 Low Battery Detection Switch Enable 6 Replace the battery cover 7 Write the next date that the battery should be replaced on the reminder label The bat...

Page 154: ...1C D 12 points 8 points CPM2C 20CDTC D CPM2C 20CDT1C D Yes CPM2C 20C1DTC D CPM2C 20C1DT1C D Expansion I O Units Description Input i Output i Model number p p points p points Relay outputs Transistor o...

Page 155: ...Number Specifications Programming Console CQM1 PRO01 E 2 m Connecting Cable attached C200H PRO27 E Hand held w backlight requires one of the Connecting Cables listed below C200H CN222 Connects the C2...

Page 156: ...XW2Z 070T 1 Use for CPM2C RS 232C port to NT AL001 connection 70 cm cable For use with the NT AL001 XW2Z 070T 1 Use for CPM2C RS 232C port to NT AL001 connection 2 m cable Adapters 1 N Connections Nam...

Page 157: ...CPU Units with Relay Outputs CPM2C 10CDR D CPM2C 10C1DR D CPU Units with Transistor Outputs CPM2C 0CDTC D CPM2C 0C1DTC D CPM2C 0CDT1C D CPM2C 0C1DT1C D Expansion I O Units Units with Relay Outputs CP...

Page 158: ...Appendix B CPM2C Units with Connectors Attached Units with Relay Outputs Units with Transistor Outputs Using pressure connectors Units with Transistor Outputs Using soldered connectors...

Page 159: ...J 44 304 IXQFWLRQ FRPSDULVRQ 49 305 IXQFWLRQ FRPSDULVRQ 49 38 8QLWV DYDLODEOH PRGHOV 9 46 F FOLF RSHUDWLRQ 44 GLPHQVLRQV 476 LQWHUQDO VWUXFWXUH VWDQGDUG PRGHOV 46 F FOH WLPH GLVSOD LQJ 3URJUDPPLQJ RQV...

Page 160: ...QGXFWLYH ORDGV 95 9 LQLWLDOL DWLRQ WLPH UHTXLUHG LQSXW GHYLFHV FRQQHFWLQJ 8 LQSXW VSHFLILFDWLRQV 69 6 LQSXWV ZLULQJ 8 FRQILJXUDWLRQ 8 LQUXVK FXUUHQW VXSSUHVVLQJ 9 LQVSHFWLRQV 469 LQVWDOODWLRQ 7 VLWH V...

Page 161: ...HWHFWLRQ SRZHU VXSSO LQWHUUXSW WLPH 66 SUHFDXWLRQV 77 WURXEOHVKRRWLQJ 45 468 ZLULQJ 83 SUHFDXWLRQV GHVLJQ SUHFDXWLRQV 77 JHQHUDO L RXWSXW ZLULQJ 9 6 60 6XSSRUW 6RIWZDUH 7 SURJUDP SURJUDPPLQJ H DPSOH 4...

Page 162: ...V QWD FKHFNLQJ WKH SURJUDP 3URJUDPPLQJ RQVROH 435 6 60 6XSSRUW 6RIWZDUH1 6HH 666 6 60 0 37 6XSSRUW 6RIWZDUH 9 SUHFDXWLRQV 9 V VWHP FKHFNV 455 V VWHP FRQILJXUDWLRQ 9 7 WHPSHUDWXUH RSHUDWLQJ VWRUDJH 66...

Page 163: ...atalog number on the front cover of the manual Cat No W356 E1 1 Revision code The following table outlines the changes made to the manual during each revision Page numbers refer to the previous versio...

Reviews: