Page 3
CPM2C-S Programmable Controller Operation Manual Revised September 2009...
Page 5
OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is con- stantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
Page 8
TABLE OF CONTENTS SECTION 6 Exchanging Data with a DeviceNet Master ..117 Initial Settings ........... . Remote I/O Communications .
Page 9
Section 5 explains how to exchange data with CompoBus/S Slaves when using the CPM2C-S as a CompoBus/S Master. Section 6 explains how to exchange data with a CPM2C-S100C-DRT or CPM2C-S110C-DRT DeviceNet Master. Section 7 explains the cycle time and I/O response time in CPM2C-S PCs. Refer to this section when writing the user program to improve operation and reduce response delays.
Page 11
WHETHER SUCH CLAIM IS BASED ON CONTRACT, WARRANTY, NEGLIGENCE, OR STRICT LIABILITY. In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted. IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY, REPAIR, OR OTHER CLAIMS...
Page 12
Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to the combination of products in the customer's application or use of the products. At the customer's request, OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products.
Page 13
Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of OMRON's test conditions, and the users must correlate it to actual application requirements. Actual performance is subject to the OMRON Warranty and Limitations of Liability.
Page 15
PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and related devices. The information contained in this section is important for the safe and reliable application of the Programmable Controller. You must read this section and understand the information contained before attempting to set up or operate a PC system.
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 indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above-mentioned applica- tions.
Page 17
Safety Precautions • Emergency stop circuits, interlock circuits, limit circuits, and similar safety measures must be provided in external control circuits. • The PC will turn OFF all outputs when its self-diagnosis function detects any error or when a severe failure alarm (FALS) instruction is executed. As a countermeasure for such errors, external safety measures must be provided to ensure safety in the system.
Operating Environment Precautions Operating Environment Precautions !Caution Do not operate the control system in the following places: • Locations subject to direct sunlight. • Locations subject to temperatures or humidity outside the range specified in the specifications. • Locations subject to condensation as the result of severe changes in tem- perature.
Page 19
Application Precautions !Caution Failure to abide by the following precautions could lead to faulty operation of the PC or the system, or could damage the PC or PC Units. Always heed these precautions. • Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes.
Concepts EMC Directives OMRON devices that comply with EC Directives also conform to the related EMC standards so that they can be more easily built into other devices or the overall machine. The actual products have been checked for conformity to EMC standards (see the following note).
3-tier Communications with CX-Programmer The customer must, therefore, perform the final check to confirm that devices and the overall machine conform to EMC standards. Note Applicable EMC (Electromagnetic Compatibility) standards are as follows: EMS (Electromagnetic Susceptibility): EN61131-2 EMI (Electromagnetic Interference): EN61000-6-4 (Radiated emission: 10-m regulations) Low Voltage Directive...
Page 22
3-tier Communications with CX-Programmer CPM2C-S CPU Unit Limitation For CPM2C-S CPU Units, the above feature is supported for all CPU Units manufactured on 11 September 2001 or later. The manufacturing number for these CPU Units is 1191O or later. Confirm the manufacturing number before attempting to use this feature.
SECTION 1 Introduction This section describes the special features and functions of the CPM2C-S, shows the possible system configurations, and outlines the steps required before operation. Read this section first when using the CPM2C-S for the first time. Refer to the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual (W353) for details on programming operations.
• The CPM2C-S is a compact Unit, so it can be incorporated into almost any machine. Furthermore, the CPM2C-S CPU Unit can be mounted in any direction. • The CPM2C-S100C-DRT and CPM2C-S110C-DRT are also equipped with DeviceNet Slave functions to provide distributed control through a DeviceNet connection with a host PC.
Page 25
Section 1-1 CPM2C-S Features and Functions supports Host Link, no-protocol (serial), 1:1 Link, and 1:1 NT Link com- munications. • Connect up to 3 Expansion Units such as CPM2C-series Analog I/O Units, Temperature Sensor Units, or CompoBus/S I/O Link Units for Com- poBus/S Slave functions.
Page 26
CPM2C-S Features and Functions Section 1-1 Basic Functions CPU Unit Variations The CPM2C-S PCs are one-piece PCs with 10 I/O points (6 inputs and 4 out- puts) in a built-in connector. There are 2 types of outputs available (sinking transistor outputs, and sourcing transistor outputs). All CPM2C-S PCs require a 24-VDC power supply.
Page 27
Section 1-1 CPM2C-S Features and Functions Easy Position Control with CPM2C-S PCs have two outputs that can produce 10 Hz to 10 kHz pulses Pulse Outputs (single-phase outputs). • When used as single-phase pulse outputs, there can be two outputs with a frequency 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).
Page 28
Section 1-1 CPM2C-S Features and Functions Other Functions Interval Timer Interrupts The interval timer can be set between 0.5 and 319,968 ms and can be set to generate just one interrupt (one-shot mode) or periodic interrupts (scheduled interrupt mode). Calendar/Clock The clock (accuracy within 1 minute/month) can be read from the program to show the current year, month, day, day of the week, and time.
Page 29
High-speed 1:1 NT Link In a 1:1 NT Link, an OMRON Programmable Terminal (PT) can be connected Communications directly to the CPM2C-S. The PT must be connected to the communications port as an RS-232C port (not as a peripheral port).
Section 1-1 CPM2C-S Features and Functions One-to-one PC Link A CPM2C-S can be linked directly to another CPM2C-S, CQM1, CPM1, CPM1A, CPM2A, CPM2C, SRM1(-V2), C200HS, or C200HX/HG/HE PC. The 1:1 PC Link allows automatic data link connections. The PC must be con- nected to the communications port as an RS-232C port (not as a peripheral port).
Page 31
Section 1-1 CPM2C-S Features and Functions Main function Variations/Details • 2 outputs: Pulse outputs Single-phase pulse output without acceleration/deceleration (See note 2.) 10 Hz to 10 kHz • 2 outputs: Variable duty ratio pulse output (See note 2.) 0.1 to 999.9 Hz, duty ratio 0 to 100% •...
Section 1-2 System Configurations System Configurations 1-2-1 CPU Units and AC Power Supply Units CPM2C-S CPU Units CPM2C-S100C CPM2C-S100C-DRT CPM2C-S110C CPM2C-S110C-DRT Name Inputs Outputs Model CPU Unit with CompoBus/S Master 6 24-VDC inputs 4 sinking transistor outputs CPM2C-S100C Functions 4 sourcing transistor outputs...
System Configurations Section 1-2 1-2-2 CompoBus/S Interface The standard built-in CompoBus/S interface increases the PC’s I/O capacity, reduces wiring, and saves space. Up to 32 CompoBus/S Slaves can be con- nected to create a Remote I/O Link with up to 256 I/O points. It is easy to build an efficient, long-range distributed system with less wiring by connecting CompoBus/S I/O Terminals, Analog Terminals, Sensor Terminals, and Bit Chain Terminals.
(input side) (with cover) A PC with 106 I/O points (the maximum) can be assembled by connecting three 32-point Expansion I/O Units to a CPU Unit. CPM2C-S100C-DRT CPM2C-32EDTC 1 Unit 3 Units 54 inputs, 52 outputs (6 inputs, 4 outputs)
Page 35
Section 1-2 System Configurations Units with Transistor Outputs via Fujitsu-compatible Connector 24 I/O Points 32 I/O Points 8 Input Points 8 Output Points 16 Input Points 16 Output Points Unit I/O Inputs Outputs Model 24 I/O points 16 inputs (24 VDC) 8 transistor outputs (sinking) CPM2C-24EDTC 8 transistor outputs (sourcing) CPM2C-24EDT1C...
Page 36
System Configurations Section 1-2 Expansion Units CPM2C-MAD11 CPM2C-TS001/101 CPM2C-SRT21 Analog I/O Unit Temperature Sensor Unit CompoBus/S I/O Link Unit Unit Max. number Inputs Outputs Model of Units Analog I/O Unit 2 analog inputs 2 points, 2 words 1 point, 1 word allo- CPM2C-MAD11 1 analog output allocated...
1-2-4 DeviceNet Interface A CPM2C-S100C-DRT or CPM2C-S110C-DRT can be used as a DeviceNet Slaves to create an I/O Link of up to 1,024 points (512 inputs and 512 outputs) with the DeviceNet Master. The input and output areas used in the I/O Link can be allocated independently and the data areas, starting addresses, and size of these Read/Write areas can be specified freely.
Section 1-2 System Configurations 1-2-5 Adapter Units Peripheral/RS-232C Adapter Unit RS-422/RS-232C Adapter Unit Unit Conversion Model CPU Unit’s communications port → Peripheral/RS-232C Adapter Unit CPM2C-CIF01-V1 Peripheral port + RS-232C port CPU Unit’s communications port → RS-422/RS-232C Adapter Unit CPM2C-CIF11 RS422 port + RS-232C port Note 1.
CPM2C-S Structure and Operation Section 1-3 CPM2C-S Structure and Operation 1-3-1 CPM2C-S Structure The following diagram shows the internal structure of the CPU Unit. DeviceNet CompoBus/S Master Slaves I/O memory External External PC Setup output input devices devices Program Settings Settings Commu- nications...
Section 1-3 CPM2C-S Structure and Operation standard communications settings or the communications settings in the PC Setup. 1-3-2 Operating Modes CPM2C-S CPU Units 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.
Section 1-3 CPM2C-S Structure and Operation Note 1. The operating mode at startup depends upon the setting of DIP switch pin 4 and the Programming Device connected to the communications port (pe- ripheral port). Programming Device Pin 4 OFF Pin 4 ON None PROGRAM mode RUN mode...
Page 42
Section 1-3 CPM2C-S Structure and Operation 2. Undetermined additional time Power interruptions only slightly longer than the minimum power interrup- tion time may not be detected. 85% of rated voltage Detection of r interruption 1. Minimum time 2. Additional time Program execution Executing Stopped...
CPM2C-S Structure and Operation Section 1-3 1-3-5 Cyclic Operation and Interrupts Basic CPU Operation Initialization processing is performed when the power is turned ON. If there are no initialization errors, the overseeing processes, program execution, I/O refreshing, and communications port servicing are performed repeatedly (cyclically).
Page 44
CPM2C-S Structure and Operation Section 1-3 The cycle time will vary slightly depending on the processing being performed in each cycle, so the calculated cycle time will not always match the actual cycle time. Program Execution in The following diagram shows the cyclic operation of the CPM2C-S when the Cyclic Operation program is being executed normally.
Page 45
Section 1-3 CPM2C-S Structure and Operation Interrupt Program When an interrupt is generated during execution of the main program, main Execution program execution is interrupted immediately and the interrupt program is executed. The following diagram shows the cyclic operation of the CPM2C-S when an interrupt program is executed.
Page 46
CPM2C-S Structure and Operation Section 1-3 Immediate Refreshing IORF(97) can be executed in the program to refresh a specified range of I/O words. The specified I/O words will be refreshed when IORF(97) is executed. IORF(97) can be used to refresh I/O from the main program or the interrupt program.
Section 1-4 Functions Listed by Usage Functions Listed by Usage Machine Control Functions Usage Function Refer Reduce wiring, save space, and minimize PC load by controlling equipment with Distributed control using DeviceNet Page a few low-capacity PCs dispersed near each piece of equipment rather than a single centralized PC.
Page 48
Connect to a serial device such as a bar code reader or No-protocol communications (Set the communications serial printer. mode to no-protocol in the PC Setup.) Make a high-speed connection with an OMRON Pro- 1:1 NT Link (Set the communications mode to 1:1 NT grammable Terminal. Link in the PC Setup.)
Comparison with the CPM2C Section 1-5 Comparison with the CPM2C Item CPM2C-S CPM2C Instruction set Basic instructions Special instructions 105 instructions, 185 variations 105 instructions, 185 variations LD: 0.64 µs LD: 0.64 µs Instruction exe- Basic instructions cution times MOV(21): 7.8 µs MOV(21): 7.8 µs Special instructions Program capacity...
Page 50
Section 1-5 Comparison with the CPM2C Item CPM2C-S CPM2C Interrupt inputs (interrupt input mode) 4 (20-point CPU Unit), 2 (10-point CPU Unit) Interrupt inputs Counter mode Incrementing counter Incrementing counter (counter mode) Decrementing counter Decrementing counter Counter upper limit 2 kHz 2 kHz SR 244 to SR 247 Contains counter PV.
Page 51
Section 1-5 Comparison with the CPM2C Item CPM2C-S CPM2C/CPM2A Pulse output Trapezoidal acceleration/ Supported with ACC(––). The Supported with ACC(––). The control deceleration initial frequency can be set. initial frequency can be set. PWM(––) output Supported. Supported. Number of simultaneous 2 max.
Page 52
Section 1-5 Comparison with the CPM2C Item CPM2C-S CPM2C Battery Battery Internal lithium battery backup CPU Unit with clock: Internal lithium battery backup CPU Unit without clock: Capacitor backup or optional lithium battery backup Battery replace- Possible Possible ment Life expectancy/ 2-year lifetime at 25°C CPU Unit with clock: 2-year lifetime at backup time...
Section 1-6 Preparation for Operation PC Setup Differences Function CPM2C-S CPM2C Maximum number of CompoBus/S DM 6603 bits 00 to 03 nodes CompoBus/S communications DM 6603 bits 04 to 07 mode DeviceNet Read/Write area DM 6605 bits 00 to 03 (Default or DM 6606 to DM 6609) DeviceNet I/O Link Write Area DM 6606 bits 00 to 07...
Page 54
Section 1-6 Preparation for Operation • Connect the Programming Console, set the mode switch to PRO- GRAM mode, and turn ON the PC. • Check the CPU Unit’s LED indicators and the Programming Console’s display. • Clear the PC’s memory. (All Clear) •...
SECTION 2 Unit Components and Specifications This section provides the technical specifications of the CPM2C-S CPU Unit, Adapter Units, and AC Power Supply Unit and describes the main components of these Units. Refer to the CPM2C Programmable Controller Operation Manual (W356) for descriptions of the specifications and installation of Expansion I/O Units and refer to the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programmable Controllers Programming Manual (W353) for descriptions of the specifications and installation of Expansion Units.
Section 2-1 Specifications Specifications 2-1-1 General Specifications Item Specifications CPM2C-S100C-DRT CPM2C-S100C CPM2C-S110C-DRT CPM2C-S110C 20.4 to 26.4 VDC (24 VDC −15% to 10%) Internal power supply voltage Communications power supply 11 to 25 VDC (supplied by communica- voltage tions connector) Power con- Internal power 4 W max.
Page 57
Section 2-1 Specifications Item Specifications Special bits (SR area) 448 bits: SR 22800 to SR 25515 Temporary bits (TR area) 8 bits (TR0 to TR7) Holding bits (HR area) 320 bits: HR 0000 to HR 1915 (Words HR 00 to HR 19) Auxiliary bits (AR area) 384 bits: AR 0000 to AR 2315 (Words AR 00 to AR 23) Link bits (LR area)
Page 58
Section 2-1 Specifications Item Specifications Memory backup Flash memory: (See notes 1 and 2.) Program, read-only DM area, and PC Setup Memory backup: The read/write DM area, HR area, AR area, and counter values are backed up. (The battery has a 2-year lifetime at 25°C and it is replaceable.) Self-diagnostic functions CPU Unit failure (watchdog timer), I/O bus error, battery error, and memory failure Program checks...
Section 2-1 Specifications 2-1-3 I/O Specifications CPU Unit Input Specifications Item Inputs Specification +10% Input voltage 24 VDC –15% Input impedance IN00000 to IN00001 2.7 kΩ IN00002 to IN00004 3.9 kΩ IN00005 4.7 kΩ Input current IN00000 to IN00001 8 mA typical IN00002 to IN00004 6 mA typical IN00005...
Page 60
Section 2-1 Specifications High-speed Counter Inputs The following CPU Unit input bits can be used as high-speed counter inputs. The maximum count frequency is 5 kHz in differential phase mode and 20 kHz in the other modes. Input Function Differential phase mode Pulse plus direction Up/down input mode Increment mode...
Page 61
Section 2-1 Specifications CPU Unit Output Specifications Transistor Outputs (Sinking or Sourcing) Item Specification Max. switching capacity OUT01000 to OUT01005: 40 mA/4.5 VDC to 300 mA/20.4 VDC, (See note) 300 mA (20.4 VDC to 26.4 VDC) 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.
Page 63
Specifications Section 2-1 Note The following graph shows the maximum switching capacity. Output current (mA) Output 20.4 26.4 voltage !Caution Do not apply voltage in excess of the maximum switching capacity to an out- put terminal. It may result in damage to the product or fire. !Caution Check that wiring has been performed correctly before supplying power.
Specifications Section 2-1 2-1-4 AC Power Supply Unit Specifications Item Specification Rating 24 VDC, 600 mA Efficiency 75% min. (at rated output) Input conditions Rated voltage 100 to 240 VAC Frequency 47 to 63 Hz Allowable voltage range 85 to 264 VAC Current 100 V 0.4 A...
Section 2-2 Unit Components Unit Components 2-2-1 CPU Unit Components CPU Unit Component Names Front View: CPM2C-S100C and CPM2C-S110C Right Side View 9. DIP switch 8. Communications port 5. PC status indicators 6. Input indicators 3. CompoBus/S 7. Output indicators terminal block 2.
Page 66
Flashing Data is being transferred via the communications port (yellow) (peripheral or RS-232C). Data isn’t being transferred via communications port. The following indicators show the status DeviceNet communications and appear on the CPM2C-S100C-DRT and CPM2C-S110C-DRT only. Indicator Color Status Meaning...
Page 67
125 kbps 500 m max. 250 kbps 250 m max. 500 kbps 100 m max. Not used (invalid setting) Note Pins 1 and 2 are not used in the CPM2C-S100C/S110C. Leave pins 1 and 2 OFF in those CPU Units.
Page 68
Section 2-2 Unit Components • RS-232C and Peripheral Port Settings Pin 3 Effective port settings The ports operate according to the settings in the PC Setup. RS-232C port settings: DM 6645 to DM 6649 Peripheral port settings: DM 6650 to DM 6654 The ports operate with the standard communications settings.
Page 69
Unit Components Section 2-2 I/O Connector Pin Allocation CPM2C-S I/O pin allocation CPM2C-S with sinking outputs CPM2C-S with sourcing outputs CompoBus/S Terminal Block Configuration DeviceNet Communications Connector Configuration V− CAN L Shield CAN H XW4B-05C1-H1-D DeviceNet Communications Connector (included with the CPM2C-S)
Section 2-2 Unit Components 2-2-2 Expansion I/O Units Note Refer to the CPM2C Programmable Controller Operation Manual (W356) for descriptions of the main components of the Expansion I/O Units and Expan- sion Units. 2-2-3 AC Power Supply Unit Front View Bottom Side 1.
Page 71
Section 2-2 Unit Components enable connecting to a personal computer with a CS1W-CN226/CN626 Connecting Cable. Note a)The C200H-PRO27-E Programming Console can be connected di- rectly to the CPM2C’s CPU Unit using a special connecting cable (CS1W-CN224/624). b)Use the CS1W-CN114 when using the port as a peripheral port. c)Use the CS1W-CN118 when using the port as a RS-232C port.
Section 2-2 Unit Components 2-2-5 CPM2C-CIF11 RS-422/RS-232C Adapter Unit Front View Right Side 1. RS-422/485 port 3. Terminating resistance switch 2. RS-232C port 4. RS-485 interface switch 5. Connector Note Do not use the CPM2C-CIF11 with any PC other than a CPM2C or CPM2C-S. 1,2,3...
Page 73
Section 2-2 Unit Components RS-422/485 Connection Example Connector hood Shield Internal Configuration CPM2C-CIF11 CPM2C-S CPU Unit Peripheral port (CMOS level) CMOS level → RS-422/485 port RS-422 conversion (terminal block) RS-232C port (RS-232C) RS-232C port (D-sub connector) RS-422/485 Signal Converts CMOS level (CPU Unit side) to port on conversion RS-422 (connected device side).
Page 74
Section 2-2 Unit Components 4. RS-485 Interface Switch Used to switch to the RS-485 interface, and to enable or disable RS/CS control when performing RS-485 communications. Status SW2-1 SW2-2 SW2-1 SW2-2 4-wire commu- Setting not nications possible Setting not 2-wire commu- possible nications Factory setting...
Section 3-1 Design Precautions Design Precautions Observe the following precautions when designing a system incorporating a CPM2C-S PC. 3-1-1 Power Supply Wiring Separate the power supply wiring from the control system, CPM2C-S system, and DC I/O system wiring. Separate the control circuits that supply power to the main Unit from the main circuits using dedicated circuit protectors and fuses.
Section 3-2 Selecting an Installation Site Selecting an Installation Site The CPM2C-S is resistant to harsh conditions and highly reliable, but install- ing the PC in a favorable site will maximize its reliability and operating lifetime. !Caution Be sure to install the CPM2C-S correctly, as outlined in this manual. Failure to do so may result in Unit malfunction.
Page 78
Section 3-2 Selecting an Installation Site • The CPM2C-S CPU Unit itself can be installed in any orientation, but when the CPU Unit is combined with a Power Supply Unit, Expansion I/O Unit, or Expansion Unit the mounting orientation of the PC is restricted in the way described below.
Section 3-3 Installing the CPM2C-S • Separate the CPM2C-S by at least 100 mm from other devices. Other Other device device 100 mm min. 100 mm min. Installing the CPM2C-S This section describes how to install the CPM2C-S and connect Expansion Units and Expansion I/O Units.
Section 3-3 Installing the CPM2C-S 2. Align the Unit and CPU Unit (or previous Expansion I/O Unit or Expansion Unit) so that the catches (top and bottom) on the connectors fit together. Press the Units together to connect them. 3. Lock the Units together by closing the locks (top and bottom) on the CPU Unit (or previous Expansion I/O Unit or Expansion Unit).
Page 81
Section 3-3 Installing the CPM2C-S Installation Lower the CPM2C-S so that the notch on the back of the PC catches the top of the DIN Track. Push the PC forward until the lock snaps into place. 2) Insert onto track. 3) Push in on the Unit.
Section 3-4 Wiring and Connections Wiring and Connections This section provides basic information on wiring the CPU Unit and Power Supply Unit, and on connecting Programming Devices. 3-4-1 General Precautions for Wiring !Caution Leave the protective label in place while wiring. The Unit may malfunction if strands of wire get inside the Unit.
Section 3-4 Wiring and Connections Floor Ducts Leave at least 200 mm between the wiring and the top of the duct, as shown in the following diagram. Control cables and CompoBus/S and DeviceNet CPM2C-S Power CPM2C-S power communications cables I/O lines cables Metal plate (iron) lines...
Section 3-4 Wiring and Connections 1,2,3... 1. Align the power supply connector with the socket on the bottom of the CPM2C-S and insert the connector. Red lead: +24 VDC Black lead: 0 VDC 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.
Page 85
Section 3-4 Wiring and Connections Connect the ground terminal of the Power Supply Unit to a ground of 100 Ω or !WARNING less when installing the Unit. Not connecting to a ground of 100 Ω or less may result in electric shock. Ground of 100 Ω...
3-4-4 Removing and Wiring I/O Connectors The following tables provide specifications of compatible I/O connectors. I/O connectors Compatible Connector Specifications (OMRON) Connector Specifications Model number 24-pin soldered Connector: Fujitsu FCN-361J024-AU equivalent...
Page 87
Section 3-4 Wiring and Connections Item Specifications Model number Pressure Pressure jack with closed end 24-pin gold-plated terminals FCN-367J024-AU/F connector cover 24-pin silver-plated terminals FCN-367J024-AG/F Pressure jack with open end 24-pin gold-plated terminals FCN-367J024-AU/H cover 24-pin silver-plated terminals FCN-367J024-AG/H Pressing Hand press General purpose FCN-707T-T101/H...
Page 88
Phillips screwdriver Assembling Soldered Use the following procedure when wiring and assembling a soldered connec- Connectors tor (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.
Section 3-4 Wiring and Connections 3. Assemble the socket and connector as shown in the following diagram. Connector cover Small screws (3) Small screws (2) Cable clamp Socket Connector screws Nuts (3) Nuts (2) 3-4-5 Using Terminal Blocks We recommend using the following Terminal Blocks to wire devices to the CPM2C-S’...
Page 90
!Caution Check that wiring has been performed correctly before supplying power. Sup- plying power with incorrect wiring may result in damage to internal circuits. I/O Configuration The following diagrams show the I/O configurations. CPM2C-S100C and CPM2C-S100C-DRT (Sinking Transistor Outputs) I/O connector 24 VDC Load...
Page 91
Section 3-4 Wiring and Connections CPM2C-S110C and CPM2C-S110C-DRT (Sourcing Transistor Outputs) I/O connector 24 VDC Load Load Load Load 24 VDC Don’t exceed the output capacity or the maximum common current for transis- tor outputs shown in the following table. Item Specification Output capacity...
Page 92
Section 3-4 Wiring and Connections Input Devices The following table shows how to connect various input devices. Device Circuit diagram Relay output CPM2C-S 5 mA/6 mA/8 mA COM (+) NPN open collector Sensor power supply Output CPM2C-S 5 mA/6 mA/8 mA COM (+) NPN current output Use the same power supply for...
Page 93
Wiring and Connections Section 3-4 High-speed Counter Inputs Using IR 00000 to IR 00002 as High-speed Counter Inputs In these examples, Encoders with an external 24-VDC open-collector output are connected. Differential Phase Mode Pulse Plus Direction Input Mode (Count frequency: 5 kHz) (Count frequency: 20 kHz) Encoder 00000 A-phase input...
Page 94
Wiring and Connections Section 3-4 PC Setup Settings The input bits shown in the following tables can operate as normal inputs or they can be assigned special functions in the PC Setup. Special functions for input bits IR 00000 through IR 00002 are set in DM 6642: PC Setup setting (DM 6642 bits 08 to15) address...
Page 95
Section 3-4 Wiring and Connections Leakage Current A leakage current can cause false inputs when using 2-wire sensors (proxim- ity switches or photoelectric switches) or limit switches with LEDs. False inputs won’t occur if the leakage current is less than 1.0 mA. If the leakage current exceeds these values, insert a bleeder resistor in the circuit to reduce the input impedance, as shown in the following diagram.
Page 96
Wiring and Connections Section 3-4 Using Pulse Outputs The following diagrams show example applications of sink-type transistor out- puts using output bits IR 01000 and IR 01001. Use the PULS(65), SPED(––), ACC(––), PWM(––), and SYNC(––) instructions to produce pulse outputs (rather than normal outputs) from output bits IR 01000 and IR 01001.
Section 3-4 Wiring and Connections The surge protector’s components should have the following ratings: Transistor Output (Sinking) CPM2C-S Diode Transistor Output (Sourcing) CPM2C-S Diode The diode should satisfy the following requirements: Peak reverse-breakdown voltage must be at least 3 times the load voltage. Average rectified current must be 1 A.
Page 98
Section 3-4 Wiring and Connections Note When VCTF cable is being used, cover the end of the cable sheathing with electrical tape or heat-shrink tubing as shown in the following diagram. Secure the cable sheathing with electrical tape or heat-shrink tubing. 2.
(see note 1) Note 1. Use the XW4B-05C4-T1-D Connector when wiring multi-drop connections with thick cable. 2. Phoenix Contact connectors can be purchased through OMRON Tsufo Service Company. Use the following OMRON screwdriver when wiring DeviceNet connectors. XW4Z-00C...
Section 3-4 Wiring and Connections 3-4-9 Programming Device Connections Programming Console Use one of the connecting cables shown in the following diagram to connect a Programming Console to the CPM2C-S. Main cable (2 m) Peripheral port CPM2C-S CQM1H-PRO01-E (with attached 2-m cable) CPM2C-CN111 (0.15 m) Main cable (2 m) CQM1-PRO01-E...
Page 101
Section 3-4 Wiring and Connections RS-232C Port Connection A personal computer can be connected to the CPU Unit’s RS-232C port with an XW2Z-@00S or XW2Z-@00S-V Connecting Cable. The XW2Z-@00S Cables have a D-sub 25-pin connector and the XW2Z-@00S-V Cables have a D-sub 9-pin connector.
Page 102
3. Refer to SECTION 8 Using Programming Devices for details on the Sup- port Software that can be used with the CPM2C-S. One-to-N Host Link Up to 32 OMRON PCs, including CPM2C-S PCs, can be connected to a host Connection computer.
One-to-one Computer Connections on page 78 for diagrams showing the pos- sible serial connections. 3-4-11 OMRON PT Connections In a 1:1 NT Link, a CPM2C-S can be connected directly to a Programmable Terminal. The direct connection with a Programmable Terminal is possible by using the communications as a RS-232C port only (not as a peripheral port).
CS1W-CN118 (0.1 m) (0.1 m) CPM2C-CIF01-V1 CPM2C-CIF01-V1 CPM2C-CIF11 CPM2C-CIF11 OMRON PC (CQM1H, CQM1, CPM1, OMRON PC (CQM1H, CQM1, CPM1, CPM1A, CPM2A, CPM2C, SRM1(-V2), CPM1A, CPM2A, CPM2C, SRM1(-V2), C200HS, or C200HX/HG/HE) C200HS, or C200HX/HG/HE) Note Even though the peripheral port on the CPM2C-CIF01 can output RS-232C,...
SECTION 4 Memory Areas This section describes the structure of the CPM2C-S’ memory areas and explains how to use them. Allocation of Word and Bit Addresses ......4-1-1 Functions .
Section 4-1 Allocation of Word and Bit Addresses Allocation of Word and Bit Addresses Except for the TR area and DM area, data in the PC’s I/O memory can be specified by bit addresses or word addresses. The TR area can be accessed only by bit addresses and the DM area can be accessed only by word addresses.
Section 4-1 Allocation of Word and Bit Addresses Data area Words Bits Function Read/write DM 0000 to DM 1999 DM area data can be accessed in word units area DM 2022 to DM 2047 only. Word values are retained when the (2,026 words) power is turned off, or operation started or stopped.
Page 108
Section 4-1 Allocation of Word and Bit Addresses 2. Output bits IR 01000 and IR 01001 can operate as normal inputs or they can be used for pulse outputs with PULS(65), SYNC(––), or PWM(––). (Use a CPU Unit with transistor outputs for the pulse output functions.) Instruction Function PULS(65)
Page 109
Section 4-1 Allocation of Word and Bit Addresses word data, it will access the present value (PV); if it is used for bit data, it will access the Completion Flag for the timer/counter. DM Area DM area data is accessed in word units only. The contents of the DM area are retained even after the PC power supply has been turned off or when opera- tion begins or stops.
Section 4-1 Allocation of Word and Bit Addresses 4-1-2 I/O Memory Area Attributes Area Exter- Mode change Fatal error Startup (Power ON) Force nal I/O (to or from Set, FALS(07) Other cause Reset IOM Maintain IOM alloca- PROGRAM) Force Hold Bit Hold Bit tion Reset...
Section 4-2 I/O Allocation for CPM2C-S PCs I/O Allocation for CPM2C-S PCs This section shows how I/O bits are actually allocated to the input and output terminals on the CPU Unit and Expansion I/O Units. Bits in the words that are not allocated to I/O can be used as work bits.
Section 4-2 I/O Allocation for CPM2C-S PCs 4-2-3 I/O Allocation Examples Example 1 The following examples shows the I/O bits allocated when one 24-point Expansion I/O Unit is connected. Bits IR 00100 to IR 00115 are allocated to the Unit’s inputs and bits IR 011 00 to IR 01107 are allocated to the Unit’s out- puts.
Section 4-3 I/O Allocation to CompoBus/S Slaves I/O Allocation to CompoBus/S Slaves The CompoBus/S input area (IR 020 to IR 027) and CompoBus/S output area (IR 030 to IR 037) are allocated for the CompoBus/S Terminal’s I/O. The fol- lowing table shows the I/O allocation of the CompoBus/S Terminal (IN0 to IN15 and OUT0 to OUT15.) Bit address IR word...
Section 4-4 SR Area SR Area These bits mainly serve as flags related to CPM2C-S operation or contain present and set values for various functions. The functions of the SR area are explained in the following table. Note “Read-only” words and bits can be read as status in controller PC operation, but they cannot be written from the ladder program.
Page 115
Section 4-4 SR Area Word(s) Bit(s) Function Read/ write SR 252 High-speed Counter Reset Bit Read/ write 01 to 03 Not used. Pulse Output 0 PV Reset Bit Read/ Turn ON to clear the PV of pulse output 0. write Pulse Output 1 PV Reset Bit Turn ON to clear the PV of pulse output 1.
Page 116
Section 4-4 SR Area Word(s) Bit(s) Function Read/ write SR 253 00 to 07 FAL Error Code Read- The error code (a 2-digit number) is stored here when an error occurs. The FAL number only is stored here when FAL(06) or FALS(07) is executed. This word is reset (to 00) by exe- cuting a FAL 00 instruction or by clearing the error from a Programming Device.
Section 4-5 AR Area AR Area These bits mainly serve as flags related to CPM2C-S operation such as error flags, high-speed counter flags, pulse output operation flags, and cycle time values. These bits retain their status even after the CPM2C-S power supply has been turned off or when operation begins or stops.
Page 118
Section 4-5 AR Area Word(s) Bit(s) Function AR 08 00 to 03 RS-232C Port Error Code 0: Normal completion 1: Parity error 2: Frame error 3: Overrun error RS-232C Communications Error Flag Turns ON when an RS-232C port communications error occurs. RS-232C Transmit Ready Flag Turns ON when the PC is ready to transmit data.
Page 119
Section 4-5 AR Area Word(s) Bit(s) Function AR 11 00 to 07 High-speed Counter Range Comparison Flags 00 ON: Counter PV is within comparison range 1 (Note 1) 01 ON: Counter PV is within comparison range 2 02 ON: Counter PV is within comparison range 3 03 ON: Counter PV is within comparison range 4 04 ON: Counter PV is within comparison range 5 05 ON: Counter PV is within comparison range 6...
Page 120
Section 4-5 AR Area Word(s) Bit(s) Function AR 13 Power-up PC Setup Error Flag Turns ON when there is an error in DM 6600 to DM 6614 (the part of the PC Setup area that is read at power-up). Start-up PC Setup Error Flag Turns ON when there is an error in DM 6615 to DM 6644 (the part of the PC Setup area that is read at the beginning of operation).
Section 4-6 PC Setup Word(s) Bit(s) Function AR 21 00 to 07 Day of the Week (00 to 06, BCD) 00: Sunday 01: Monday 02: Tuesday 03: Wednesday (Note 2) 04: Thursday 05: Friday 06: Saturday 08 to 12 Not used. 30-second Compensation Bit Turn this bit ON to round off to the nearest minute.
Section 4-6 PC Setup 4-6-2 PC Setup Settings Word(s) Bit(s) Function PC Startup Processing (DM 6600 to DM 6614) The following settings are read by the CPU when the PC is turned ON. DM 6600 00 to 07 Startup mode (effective when bits 08 to 15 are set to 02). 00 (Hex): PROGRAM;...
Page 123
Section 4-6 PC Setup Word(s) Bit(s) Function DM 6608 00 to 07 DeviceNet I/O Link Read Data area (IN) area settings 01 (Hex): I/O area 1 (IR 000 to IR 049) (CPM2C-S → Master) 02 (Hex): I/O area 2 (IR 200 to IR 227) 03 (Hex): DM area (DM 0000 to DM 2047) 04 (Hex): LR area (LR 00 to LR 15) 05 (Hex): HR area (HR 00 to HR 19)
Page 124
Section 4-6 PC Setup Word(s) Bit(s) Function Interrupt Processing (DM 6620 to DM 6639) The following settings are read by the CPU when program execution is started. DM 6620 00 to 03 Input time constant for IR 00000 to IR 00002 0 (Hex): 10 ms;...
Page 125
Section 4-6 PC Setup Word(s) Bit(s) Function RS-232C Port Communications Settings The following settings are read regularly by the CPU while the PC is ON. If pin 3 of the CPM2C-S CPU Unit’s DIP switch is ON, communications through the CPM2C-S’ RS-232C port are gov- erned by the default settings (all 0) regardless of the settings in DM 6645 through DM 6649.
Page 126
(all 0) regardless of the settings in DM 6650 through DM 6651. When connecting a computer running OMRON Support Software to the peripheral bus, turn OFF pin 3 of the DIP switch and set DM 6650 to 0001 (host link port settings specified in DM 6651). The computer cannot be connected to the periph- eral bus if bits 00 to 03 of DM 6650 are set to 0 (standard port settings).
Section 4-7 Basic PC Operation and I/O Processes Word(s) Bit(s) Function Error Log Settings (DM 6655) The following settings are read regularly by the CPU while the PC is ON. DM 6655 00 to 03 Style 0 (Hex): Shift after 7 records have been stored 1 (Hex): Store only first 7 records (no shifting) 2 to F (Hex): Do not store records 04 to 07...
Section 4-7 Basic PC Operation and I/O Processes 4-7-2 Hold Bit Status Make the settings shown below to determine whether, when the power supply is turned on, the Forced Status Hold Bit (SR 25211) and/or IOM Hold Bit (SR 25212) will retain the status that was in effect when the power was last turned off, or whether the previous status will be cleared.
Section 4-7 Basic PC Operation and I/O Processes 4-7-4 RS-232C Port Servicing Time The following settings are used to determine the percentage of the cycle time devoted to servicing the RS-232C port. DM6616 Servicing time setting enable 00 (Hex): Disabled (5% used) 01 (Hex): Enabled (setting in bits 00 to 07 used) Servicing time (%, valid with bits 08 to 15 are 01) 00 to 99 (BCD, two digits)
Section 4-7 Basic PC Operation and I/O Processes The cycle monitor time is used for checking for extremely long cycle times, as can happen when the program goes into an infinite loop. If the cycle time exceeds the cycle monitor setting, a fatal error (FALS 9F) will be generated. Note 1.
Section 4-7 Basic PC Operation and I/O Processes Input Time Constants for IR 000 DM 6620 Not used. Time constant for IR 00005 (1 digit BCD; see below.) Time constant for IR 00003 to IR 00004 (1 digit BCD; see below.) Time constant for IR 00000 to IR 00002 (1 digit BCD;...
Section 4-8 Error Log Error Log The error log function registers the error code of any fatal or non-fatal error that occurs in the PC. The date and time at which the error occurred are regis- tered along with the error code. In CPM2C-S PCs, the error log is stored in DM 2000 through DM 2021.
SECTION 5 Exchanging Data with CompoBus/S Slaves This section explains how to exchange data with CompoBus/S Slaves when using the CPM2C-S as a CompoBus/S Master. Read this section when using CompoBus/S I/O link communications. Initial Settings ..........5-1-1 Setting the Maximum Number of Nodes .
Initial Settings Section 5-1 Initial Settings 5-1-1 Setting the Maximum Number of Nodes The maximum number of Slaves that can be connected through CompoBus/S can be set to 16 or 32 Slaves. CompoBus/S communications path Terminator Slave Slave Slave 16 or 32 Slaves max. Use a Programming Device to set the maximum number of Slaves in DM 6603 of the PC Setup, as shown in the following table.
Section 5-2 Remote I/O Communications Remote I/O Communications 5-2-1 Slaves The following table lists the commonly used Slaves. Refer to the CompoBus/S Operation Manual (W266) for more details. The SRT1-series Slaves support high-speed communications mode only. The SRT2-series Slaves support both high-speed and long-distance communications modes.
Remote I/O Communications Section 5-2 Name SRT2-series SRT1-series Bit-chain Terminal Not available SRT1-B1T Environment Resistive Terminals SRT2-ID04CL Not available SRT2-ID04CL-1 SRT2-ID08 SRT2-ID08CL-1 SRT2-OD04CL SRT2-OD04CL-1 SRT2-OD08CL SRT2-OD08CL-1 5-2-2 I/O Allocation In the CPM2C-S, CompoBus/S input words IR 020 to IR 027 and CompoBus/ S output words IR 030 to IR 037 are allocated for the CompoBus/S Terminal’s I/O.
Section 5-3 Communications Status Communications Status The status of communications with CompoBus/S Terminals is indicated with the status flags in AR 04 through AR 07. Bits 0 to 7 contain the Active Slave Flags and bits 8 to 15 contain the Slave Communications Error Flags. Word Uppermost bits: Slave Communications Error Flags Lower Bits: Active Slave Flags...
Page 138
Section 5-3 Communications Status Example CPM2C-S CompoBus/S Disconnection (2) communications path IR 000 IR 001 IR 000 Bits 00 to 07 Bits 00 to 07 Bits 00 to 07 Node address duplication (1) Slave 1 Slave 2 Slave 3 Node 2 (IN2) Node 0 (IN0) Node 0 (IN0) If the addresses for Slave 1 and Slave 3...
SECTION 6 Exchanging Data with a DeviceNet Master This section explains how to exchange data with a CPM2C-S100C-DRT or CPM2C-S110C-DRT DeviceNet Master. Refer to this section when using remote I/O communications or explicit message communications from a DeviceNet Master. Initial Settings ..........
Section 6-1 Initial Settings Initial Settings 6-1-1 Setting the Node Number Set the DeviceNet node number with the rotary switches on the front of the Unit. The allowed setting range is 00 to 63; node number settings 64 to 99 are not allowed.
Page 141
Section 6-2 Remote I/O Communications Word Bits Function Default DM 6605 00 to 03 DeviceNet Read/Write area setting 0 (Hex) 0 (Hex): Read (IN) IR 020 to IR 027; Write (OUT) IR 030 to IR 037 1 (Hex): Use settings in DM 6606 to DM 6609. 04 to 07 Transmission of CPM2C-S status to the DeviceNet Master 0 (Hex) 0 (Hex): Attach status information ahead of data.
Page 142
Section 6-2 Remote I/O Communications Allocating Read/Write An OMRON DeviceNet Configurator (version 2.0 or higher) can be used to Areas with the DeviceNet specify the DeviceNet Read and Write areas. Contact your OMRON repre- Configurator sentative if you are using a Configurator version earlier than 2.0. (The version can be displayed in the Configurator’s Help menu.)
Explicit Message Communications Section 6-3 6. Change the parameters as shown in the following example. a) Double-click the parameter to be changed. b) Enter the desired value and press the Enter Key. 7. When all parameters are set as required, click the Download Button. 8.
3. The number of bytes occupied by the “Class ID” and “Instance ID” param- eters varies from Master to Master. These parameters are specified in 2 bytes (4 digits) in commands sent from OMRON DeviceNet Masters. (CV- series PCs use the CMND instruction and C200HX/HG/HE PCs use the IOWR instruction.)
Page 145
Section 6-3 Explicit Message Communications Response Format Leftmost Leftmost byte byte Service code Rightmost byte Rightmost byte Source node number Number of bytes received Read data (200 bytes max.) Parameters Destination node number (command) Specify the node number of the CPM2C-S containing the desired data in 1 byte (2-digit hexadecimal).
Page 146
Explicit Message Communications Section 6-3 Precautions The range of data specified by the data area (instance ID), starting address (Address L and Address H), and number of bytes parameters must not exceed the range of the CPM2C-S data area. WRITE BYTE DATA Writes data from the DeviceNet Master to the specified node’s data area in byte-units.
Page 147
Section 6-3 Explicit Message Communications Write data (command) Contains the data that will be written in the specified data area. Input word data with the leftmost byte (bits 8 to 15) preceding the rightmost byte (bits 0 to 7). If the command contains an odd number of bytes of write data, the last byte will be written to the leftmost byte of the last word.
Page 148
Section 6-3 Explicit Message Communications Instance ID (command) Specify the data area containing the desired data in 1 byte (2-digit hexadeci- mal). Use one of the codes listed in the following table. Code Area name Address range 01 (Hex) IR area IR 000 to IR 049 02 (Hex) IR area...
Page 149
Explicit Message Communications Section 6-3 Response Format Service code Source node number Number of bytes received Parameters Destination node number (command) Specify the node number of the CPM2C-S where the data will be written. Specify the node number in 1 byte (2-digit hexadecimal). Service code (command, response) Specify 1F (Hex) in the command.
Section 6-3 Explicit Message Communications ERROR RESPONSE The CPM2C-S returns an error response when there is an error in the explicit message command sent from the DeviceNet Master. Response Format Additional error code (Always FF) General error code Source node number Number of bytes received Parameters Number of bytes received (response)
Page 151
HH LL These words contain the data read from slave words IR 010 to IR 029. When the READ BYTE DATA command is executed from an OMRON Master, the bytes are stored in the same order D+23 HH LL (HH LL) in which they were stored in the Slave.
Page 152
HH LL These words contain the data to be written to slave words IR 010 to IR 029. When the WRITE BYTE DATA command is executed from an OMRON Master, the bytes are written to the S+24 HH LL Slave in the same order (HH LL) in which they appear in the Master.
Page 153
HH LL These words contain the data read from slave words IR 010 to IR 029. When the READ BYTE DATA command is exe- cuted from an OMRON Master, the bytes are stored in the DM 2023 HH LL same order (HH LL) in which they were stored in the Slave.
Page 154
HH LL These words contain the data to be written to slave words IR 010 to IR 029. When the WRITE BYTE DATA command is executed from an OMRON Master, the bytes are written to the S+28 HH LL Slave in the same order (HH LL) in which they appear in the Master.
Page 155
These words contain the data to be read from Slave words IR 010 to IR 029. When the READ BYTE DATA command is executed from an OMRON Master, the bytes are written to the Master in the same order (HH LL) in which they appear in the Slave.
Page 156
HH LL These words contain the data to be written to Slave words IR 200 to IR 219. When the WRITE BYTE DATA command is executed from an OMRON Master, the bytes are written to the S+28 HH LL Slave in the same order (HH LL) in which they appear in the Master.
Section 6-4 Status Information Status Information The status of DeviceNet communications is indicated by the CPM2C-S PC’s LED indicators and AR area flags. In addition, the PC Setup can be set so that the CPM2C-S PC’s operating status information is attached to remote I/O transmissions from the CPM2C-S to the Master Unit.
Section 6-4 Status Information 6-4-2 AR Area Flags indicating DeviceNet Status The following status information is output to flags in the AR area. Word Bit(s) Function AR 00 DeviceNet switch settings error (ON when a settings error occurred, OFF when normal.) Node number duplication or Bus off error (ON when an error occurred, OFF when normal.) DeviceNet network power supply error (ON when an error occurred, OFF when normal.) DeviceNet communications error (ON when an error occurred, OFF when normal.)
Page 159
Section 6-4 Status Information Transmitted Status Information Word Bits Contents Leading word 00 to 07 The error code (2 digits) that is output to AR 253 bits 00 to 07 is output. 08 and 09 CPM2C operating mode PROGRAM mode MONITOR mode RUN mode Not used.
Page 160
Section 6-4 Status Information When a fatal error occurs at a slave, the master may read data from immedi- ately before the error. In this case also, monitor the status at the master and do not read the data.
SECTION 7 Cycle Time and I/O Response Time This section explains the cycle time and I/O response time in CPM2C-S PCs. Refer to this section when writing the user program to improve operation and reduce response delays. Cycle Time ........... 7-1-1 Cyclic Operation and Interrupts .
Section 7-1 Cycle Time Cycle Time 7-1-1 Cyclic Operation and Interrupts Basic CPU Operation Initialization is performed when the power is turned ON. If there are no initial- ization errors, the overseeing processes, program execution, I/O refreshing, and communications port servicing are performed repeatedly (cyclically). •...
Page 163
Cycle Time Section 7-1 2. The maximum cycle time and current cycle time are stored in AR 14 and AR 15 respectively. 3. The cycle time varies with the processing required and so it is possible that the calculated value and the actual value may not be the same. Process Content Time requirements...
Cycle Time Section 7-1 7-1-2 Cycle Time and Operations The effects of the cycle time on operations are as shown below. When a long cycle time is affecting operation, either reduce the cycle time or improve responsiveness with interrupt programs. Cycle time Operation conditions 1 ms or longer...
Section 7-1 Cycle Time When the peripheral port is being used in the example above, the calcula- tion result is negative and the CompoBus/S wait time is negligible. Communications Max. number of CompoBus/S communications mode nodes setting response time High-speed mode 0.5 ms 0.8 ms Long-distance mode 16...
Page 166
Cycle Time Section 7-1 Special Instructions Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) 0.15 0.95 20.5 FALS STEP SNXT Reset 10.4 With 1-word shift register 0.98 0.98 15.3 With 10-word shift register 11.9 39.6 With 53-word shift register...
Page 167
Section 7-1 Cycle Time Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) When shifting a word When shifting *DM 15.8 When shifting a word When shifting *DM 15.6 When rotating a word When rotating *DM 14.5 When rotating a word When rotating *DM...
Page 168
Section 7-1 Cycle Time Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) Constant + constant → word 14.1 Word + word → word 15.6 *DM + *DM → *DM 37.4 Constant – constant → word 14.4 Word –...
Page 169
Cycle Time Section 7-1 Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) 36.9 Reading high-speed counter PV via word Reading high-speed counter PV *DM 44.7 36.6 Specifying increment mode via word Specifying increment mode via *D 44.3 38.5 Specifying a word when using synchronized...
Page 170
Section 7-1 Cycle Time Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) CTBL 186.0 Registering a target value comparison table and starting comparison in incrementing/decrement- ing pulse input mode via word 807.5 Registering a target value comparison table and starting comparison in incrementing/decrement- ing pulse input mode via *DM 185.8...
Page 171
Section 7-1 Cycle Time Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) PULS 38.4 Specifying a relative pulse for the set pulse out- put via a word 46.6 Specifying a relative pulse for the set pulse out- put via *DM 40.0 Specifying an absolute pulse for the set pulse...
Page 172
Section 7-1 Cycle Time Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) COLL 21.5 When setting a constant + a word to a word 21.9 When setting a word + a word to a word When setting *DM + *DM to *DM 42.5 31.5...
Page 173
Section 7-1 Cycle Time Expansion Instructions without Default Function Codes Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) 66.5 When specifying a word in independent mode and CW/CCW mode When specifying *DM in independent mode and 92.1 CW/CCW mode 66.2...
Page 174
Section 7-1 Cycle Time Code Mnemonic ON execution Conditions (Top: min.; bottom: max.) OFF execution time (µs) time (µs) 12.0 Converting constant to word 12.8 Converting word to word Converting *DM to *DM 28.3 392.5 Initializing word to word Initializing *DM to *DM 418.8 29.3 Sampling word to word...
Section 7-2 I/O Response Time I/O Response Time 7-2-1 CPM2C-S I/O Response Time The I/O response time is the time it takes after an input signal has been received (i.e., after an input bit has turned ON) for the PC to check and pro- cess the information and to output a control signal (i.e., to output the result of the processing to an output bit).
Section 7-2 I/O Response Time 7-2-2 I/O Response Time between CompoBus/S Slaves The I/O response time between CompoBus/S Slaves depends on the cycle time and I/O timing. CompoBus/S transmission line CompoBus/S Slave Minimum I/O Response The minimum I/O response time is the CPM2C-S program execution time plus Time the cycle time calculation time.
Section 7-3 Interrupt Processing Time Interrupt Processing Time This section explains the processing times involved from the time an interrupt is executed until the interrupt processing routine is called, and from the time an interrupt processing routine is completed until returning to the initial loca- tion.
Section 7-4 One-to-one PC Link I/O Response Time Maximum Response Time (Except for the Online Editing of DM 6144 to DM 6655) 50 µs Interrupt ON delay: 150 µs Interrupt mask standby time: 10 µs Change-to-interrupt processing: 210 µs Maximum response time: In addition to the response time shown above, the time required for executing the interrupt processing routine itself and a return time of 10 µs must also be accounted for when returning to the process that was interrupted.
Page 179
Section 7-4 One-to-one PC Link I/O Response Time The minimum I/O response time = Input ON response time + Master’s cycle time + Transmission time + Slave’s cycle time + Output ON response time Input I/O refresh point Input ON delay (10 ms) Overseeing, communications Input servicing, etc.
Page 180
Section 7-4 One-to-one PC Link I/O Response Time...
SECTION 8 Using Programming Devices This section outlines the operations possible with the Programming Consoles. Operations for the CX-Programmer are provided in the CX-Programmer Operation Manual (W414, W425). Refer to 3-4-9 Programming Device Connections for details on connecting a Programming Console or personal computer to the CPM2C-S. Using a Programming Console .
Section 8-1 Using a Programming Console Using a Programming Console This section provides information on connecting and using a Programming Console. Refer to 9-3 Programming Console Operation Errors for details on errors that might occur during Programming Console operations. 8-1-1 Connecting the Programming Console The following diagram shows how a CQM1H-PRO01-E, CQM1-PRO01-E, or C200H-PRO27-E Programming Console can be connected to the communi-...
Section 8-1 Using a Programming Console ed while a time-consuming operation (such as a program check) is being performed. Panel Installation The C200H-PRO27-E Programming Console can be installed in a control panel as shown in the following diagram. (The C200H-ATT01 Mounting Bracket is sold separately.) Mounting hole dimensions Mounting Bracket...
Page 184
Section 8-1 Using a Programming Console CQM1H-PRO01-E, The CQM1H-PRO01-E can be connected directly to the CPM2C-S. CQM1-PRO01-E LCD display Mode switch Operation keys Attached Cable (2 m) Attached Cable (2 m) C200H-PRO27-E LCD display Mode switch Operation keys Cassette recorded jack (Cannot be used with the CPM2C-S).
Page 185
Section 8-1 Using a Programming Console Different Keys The following keys are labeled differently on the CQM1-PRO01-E and the C200H-PRO27-E, but the operation of the keys in each pair is identical. CQM1-PRO01-E and CQM1H-PRO01-E Keys C200H-PRO27-E Keys PLAY RESET RESET Note To specify the AR area, use SHIFT and HR Keys for the C200H-PRO27-E and use SHIFT and AR/HR Keys for the CQM1-PRO01-E/CQM1H-PRO01-E.
Section 8-1 Using a Programming Console 8-1-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>, <MONITOR>, or <RUN>) will appear on the Programming Console screen.
Section 8-1 Using a Programming Console Startup Operating Mode The operating mode of the CPM2C-S when the power is turned ON depends upon the PC Setup settings in DM 6600, the setting of DIP switch pin 4, and the mode set on the Programming Console’s mode switch if a Programming Console is connected.
Section 8-2 Programming Console Operations changed to RUN or MONITOR with the mode switch after entering the pass- word. <PROGRAM> PASSWORD! <PROGRAM> MONTR Indicates the mode set by the mode selector switch. Programming Console Operations 8-2-1 Overview The following table lists the programming and monitoring operations that can be performed from a Programming Console.
Section 8-2 Programming Console Operations Name Function Page Unsigned decimal monitor Converts hexadecimal data in a word to unsigned decimal for display. 3-word data modification Changes the contents of one or more of the 3 consecutive words displayed in the 3-Word Monitor operation. Changing timer, counter SV 1 Changes the SV of a timer or counter.
Section 8-2 Programming Console Operations The HR Key is used to specify both the AR and HR Areas, the CNT Key is used to specify the entire timer/counter 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.
Section 8-2 Programming Console Operations All messages cleared: ERR/MSG CHK OK MONTR 8-2-6 Buzzer Operation This operation is used to turn on and off the buzzer that sounds when Pro- gramming Console keys are pressed. This buzzer will also sound whenever an error occurs during PC operation.
Programming Console Operations Section 8-2 3. Press the Up and Down Arrow Keys to scroll through the expansion in- struction function codes. INST TBL READ FUN018:FUN ↓ 4. Press the CHG Key to assign a different expansion instruction to the se- lected function code.
Programming Console Operations Section 8-2 4. Press the Up and Down Arrow Keys to scroll through the program. 00201READ 00001 ↓ 00200READ 00000 ↑ 8-2-9 Entering or Editing Programs This operation is used enter or edit programs. It is possible in PROGRAM mode only.
Page 195
Section 8-2 Programming Console Operations To specify the Completion Flag for a timer or counter, press the LD, AND, OR, or NOT Key followed by the TIM or CNT Key, and then input the timer/ counter number last. 6. Input the second instruction and operand. (In this case it isn’t necessary to enter the timer number, because it’s 000.) Press the WRITE Key to write the instruction to Program Memory.
Page 196
Programming Console Operations Section 8-2 Note The operands of MOV(21) can be word addresses, so the CONT/# Key must be pressed to input a constant. • Writing a Word Address 11. Input the second operand. 00202 MOV DATA B Press the WRITE Key to write the instruction to Program Memory. The next program address will be displayed.
Section 8-2 Programming Console Operations Input the value of the operand from –32,768 to 32,767. Use the SET Key to input a positive number, and use the RESET Key to input a negative number. 00203 ADB DATA B #-00010 RESET Note If an erroneous input is made, press the CLR Key to restore the sta- tus prior to the input.
Section 8-2 Programming Console Operations 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 at ad- dress 397. Indicates the address of END instruction. 00397SRCH END (001)00.4KW SRCH...
Page 199
Programming Console Operations Section 8-2 To demonstrate this operation, an IR 00105 NO condition will be inserted at program address 00206 and an IR 00103 NO condition deleted from address 00205, as shown in the following diagram. Original Program Address Instruction Operands 00100 00101...
Section 8-2 Programming Console Operations After completing the insertion and deletion procedures, use the Up and Down Arrow Keys to scroll through the program and verify that it has been changed correctly, as shown in the following diagram. Corrected Program Address Instruction Operands 00104...
Section 8-2 Programming Console Operations 8-2-14 Bit, Digit, Word Monitor This operation is used to monitor the status of up to 16 bits and words, although only 3 can be shown on the display at any one time. Operation is possible in any mode.
Page 202
Section 8-2 Programming Console Operations Word Monitor Follow the procedure below to monitor the status of a particular word. 1,2,3... 1. Press the CLR Key to bring up the initial display. 2. Input the word address of the desired word. 00000 CHANNEL LR SHIFT...
Section 8-2 Programming Console Operations 5. Press the SHIFT and CLR Keys to end monitoring altogether. 00000 CONT 00001 SHIFT Note Press the SHIFT Key, CLR Key, and then CLR Key again to return to the initial Programming Console display with the multiple address monitoring state unchanged.
Section 8-2 Programming Console Operations 8-2-16 Binary Monitor This operation is used to monitor the ON/OFF status of any word’s 16 bits. It is possible in any mode. MONITOR PROGRAM 1,2,3... 1. Monitor the status of the desired word according to the procedure de- scribed in 8-2-14 Bit, Digit, Word Monitor.
Section 8-2 Programming Console Operations 2. Press the EXT Key to begin 3-word monitoring. The status of the selected word and the next two words will be displayed, as shown below. In this case, DM 0000 was selected. ? ? ? ! "#$% &')* The Up and Down Arrow Keys can be used to shift one address up or down.
Section 8-2 Programming Console Operations 8-2-19 Unsigned Decimal Monitor This operation is used to convert hexadecimal data in a word to unsigned dec- imal for display. The operation can be executed while using I/O monitoring, multiple address monitoring or 3-word monitoring. MONITOR PROGRAM 1,2,3...
Section 8-2 Programming Console Operations (Input the new value and press the WRITE Key to write the changes in memory if no more changes will be made.) D0002 3CH CHG? 0001 4567 89AB 4. Input the new value for the middle word on the display and press the CHG Key if the rightmost word will be changed.
Section 8-2 Programming Console Operations Incrementing and This operation can be used to increment and decrement an SV constant. It is Decrementing a Constant possible only when the SV has been entered as a constant. 1,2,3... 1. Press the CLR Key to bring up the initial display. 2.
Section 8-2 Programming Console Operations The operation will end and the normal monitoring display will return when the WRITE Key is pressed. , WRITE 8-2-23 Binary Data Modification This operation is used to change the status of a word’s bits when the word is monitored using the procedure described in 8-2-16 Binary Monitor.
Section 8-2 Programming Console Operations 4. Press the WRITE Key to write the changes in memory and return to the binary monitor. c010 MONTR 1010010101010101 WRITE 8-2-24 Signed Decimal Data Modification This operation is used to change the decimal value of a word being monitored as signed decimal data, within a range of –32,768 to 32,767.
Section 8-2 Programming Console Operations 8-2-25 Unsigned Decimal Data Modification This operation is used to change the decimal value of a word being monitored as unsigned decimal data, within a range of 0 to 65,535. A change into hexa- decimal data is made automatically. Words SR 253 to SR 255 cannot be changed.
Section 8-2 Programming Console Operations 1,2,3... 1. Monitor the status of the desired bit according to the procedure described in 8-2-14 Bit, Digit, Word Monitor. If two or more words are being moni- tored, the desired bit should be leftmost on the display. 0000020000 ^ OFF^ ON (Multiple address monitor)
Section 8-2 Programming Console Operations 3. Press the NOT Key to clear the force-set/reset status of bits in all data ar- eas. 00000FORCE RELE 8-2-28 Hex-ASCII Display Change This operation is used to convert word data displays back and forth between 4-digit hexadecimal data and ASCII.
Section 8-2 Programming Console Operations 8-2-30 Reading and Setting the Clock This operation is used to read or set the CPU’s clock. The clock can be read in any mode, but can be set in MONITOR or PROGRAM mode only. Operation MONITOR PROGRAM...
Section 8-3 Programming Example Programming Example This section demonstrates all of the steps needed to write a program with the Programming Console. 8-3-1 Preparatory Operations Use the following procedure when writing a program to the CPM2C-S for the first time. 1,2,3...
Section 8-3 Programming Example 8-3-2 Example Program The following ladder program will be used to demonstrate how to write a pro- gram with the Programming Console. This program makes output IR 01000 flicker ON/OFF (one second ON, one second OFF) ten times after input IR 00000 is turned ON.
Section 8-3 Programming Example 8-3-3 Programming Procedures The example program will be written to the CPM2C-S according to the mne- monic list in 8-3-2 Example Program. The procedure is performed beginning with the initial display. (Clear the memory before entering a new program.) Note If an error occurs while inputting the program, refer to 9-3 Programming Con- sole Operation Errors for details on correcting the error.
Page 218
Section 8-3 Programming Example 2. Input the normally closed AND condition T002. (It isn’t necessary to input leading zeroes.) 5 AND NOT TIM 002 6READ NOP (000) WRITE 3. Input the 1-second timer T001. 6 6 TIM DATA #0000 WRITE 4.
Page 219
Section 8-3 Programming Example (4) Inputting the 10-count The following key operations are used to input the 10-count counter. Counter 1,2,3... 1. Input the normally open condition IR 20000. 10 20000 11READ NOP (000) WRITE 2. Input the normally open AND condition T001. (It isn’t necessary to input leading zeroes.) 11 TIM 001...
Section 8-3 Programming Example 2. Input the normally closed AND condition T001. (It isn’t necessary to input leading zeroes.) 15 AND NOT TIM 001 16READ NOP (000) WRITE 3. Input the OUT instruction IR 01000. (It isn’t necessary to input leading zeroes.) 16 01000 17READ...
Section 8-3 Programming Example If errors are displayed, edit the program to correct the errors and check the program again. Continue checking the program until all errors have been cor- rected. 8-3-5 Test Run in MONITOR Mode Switch the CPM2C-S in MONITOR mode and check the operation of the pro- gram.
SECTION 9 Test Runs and Error Processing This section describes procedures for test runs of CPM2C-S operation, self-diagnosis functions, and error processing to identify and correct the hardware and software errors that can occur during PC operation. Initial System Checks and Test Run Procedure ..... . . 9-1-1 Initial System Checks.
Section 9-1 Initial System Checks and Test Run Procedure Initial System Checks and Test Run Procedure 9-1-1 Initial System Checks Check the following items after setting up and wiring the CPM2C-S, but before performing a test run. Item Points to check Power supply and I/ Is the wiring correct? O connections...
Section 9-2 Self-diagnostic Functions d) Use a Programming Device to set the CPM2C-S to PROGRAM mode. 2. I/O Wiring Checks a) With the CPM2C-S in PROGRAM mode, check the output wiring by turning ON the output bits with the force set and force reset operations. Refer to 8-2-26 Force Set, Reset for details.
Section 9-2 Self-diagnostic Functions RS-232C Port Error When an error occurs in communications through the RS-232C port, the COMM indicator will be OFF and the RS-232C Communications Error Flag (AR 0804) will be ON. Check the cables and restart communications. Peripheral Port Error When an error occurs in communications through the peripheral port, the COMM indicator will be OFF and the Peripheral Port Communications Error...
Section 9-2 Self-diagnostic Functions 3. The instruction’s 2-digit BCD FALS number (01 to 99) will be written to SR 25300 to SR 25307. The FALS 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.
Section 9-3 Programming Console Operation Errors 9-2-5 Fatal Errors PC operation and program execution will stop and all outputs from the PC will be turned OFF when any of these errors have occurred. CPM2C-S operation can’t be restarted until the PC is turned OFF and then ON again or a Pro- gramming Device is used to switch the PC to PROGRAM mode and clear the fatal error.
Section 9-4 Programming Errors Programming Errors These errors in program syntax will be detected when the program is checked using the Program Check operation. Three levels of program checking are available. The desired level must be designated to indicate the type of errors that are to be detected. The following table provides the error types, displays, and explanations of all syntax errors.
Section 9-5 Troubleshooting Flowcharts Troubleshooting Flowcharts Use the following flowcharts to troubleshoot errors that occur during opera- tion. Main Check Error PWR indicator lit? Check power supply. (see page 209.) Operation stopped. Check for fatal errors. RUN indicator lit? (see page 210.) Flashing ERR/ALM indicator (see page 211.)
Page 231
Section 9-5 Troubleshooting Flowcharts Power Supply Check PWR indicator not lit. Connect power Is power being supply. supplied? Is PWR indicator lit? Set supply voltage Is voltage adequate? within acceptable limits. Is PWR indicator lit? Connect connectors Are there any discon- nected connectors or or replace wires.
Page 232
Section 9-5 Troubleshooting Flowcharts Fatal Error Check RUN indicator not lit. Is the ERR/ALM indicator lit? Determine the cause Is PC mode displayed of the error with a on Programming Programming Device. Device? Is PC mode displayed on Turn the power Programming Device? supply OFF, and then ON again.
Page 233
Troubleshooting Flowcharts Section 9-5 Non-fatal Error Check ERR/ALM indicator flashing. Determine the cause of the error with a Programming Device. Identify the error, eliminate its Is a non-fatal error in cause, and clear the error. dicated? Flashing Is the ERR/ALM indicator flashing? Not lit Replace the CPU...
Page 234
Troubleshooting Flowcharts Section 9-5 I/O Check The I/O check flowchart is based on the following ladder diagram section. (LS1) (LS2) 00002 00003 01003 SOL1 01003 SOL1 malfunction. Malfunction of SOL1 Is the IR 01003 output indicator operating normally? Check the voltage at the Wire correctly.
Page 235
Section 9-5 Troubleshooting Flowcharts Are the IR 00002 and IR 00003 input indi- cators operating normally? From previous page Check the voltage at Check the voltage at the IR 00002 and the IR 00002 and IR 00003 terminals. IR 00003 terminals. Operation OK? Operation OK? Are the terminal...
Page 236
Troubleshooting Flowcharts Section 9-5 Environmental Conditions Check Environmental conditions check Is the ambient Consider using a temperature fan or cooler. below 55°C? Is the ambient Consider using a temperature above heater. 0°C? Is the ambient humidity Consider using an between 10% and air conditioner.
Page 237
Section 9-5 Troubleshooting Flowcharts Memory Error Check Memory error occurred. Replace the CPU AR 1309 ON? Unit. Check/correct backed-up data and AR 1314 ON? clear error. Check the program, correct any AR 1308 ON? errors, and clear the error. Check the error indicated by AR 1310 to Turned ON during the flag that is ON, correct set-...
Section 9-6 Maintenance Inspections Maintenance Inspections In order for your SYSMAC system to operate in optimum condition, be sure to carry out daily or periodical inspections. Inspection Items The main system components of a SYSMAC system are semiconductors, and it contains few components with limited lifetimes. Poor environmental condi- tions, however, can lead to deterioration of the electrical components, making regular maintenance necessary.
Battery Replacement Section 9-7 Battery Replacement !WARNING The backup battery may explode, catch fire, or leak if dropped, broken apart, crushed, short-circuited, recharged, heated to 100°C or higher, or burned. If power has not been supplied to the PC for some time, turn ON the power supply for at least 5 minutes to charge the backup capacitor before replacing the battery.
Page 240
Section 9-7 Battery Replacement 4. Install the new battery. Be sure that the connector is aligned correctly and the wires are not pinched or kinked when the battery is inserted. 5. To enable the detection of low battery errors, slide the Low Battery Detec- tion Switch towards the front of the Unit and set bits 12 to 15 of DM 6655 to “0.”...
SECTION 10 Expansion Memory Unit This section describes how to use the CPM1-EMU01-V1 Expansion Memory Unit. Follow the handling precautions and procedures to properly use the Unit. 10-1 Overview ........... . 10-1-1 Memory Areas .
Section 10-1 Overview 10-1 Overview The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small- size or micro PCs. Using the CPM1-EMU01-V1, simple on-site transfer of user programs and data memory between PCs is possible. Uploading Downloading CPM2C-CN111 CS1W-CN114 Expansion Memory Unit CPM2C-CIF01-V1 Note The “PLC”...
Communications setting 1 start bit, 7 data bits, even parity, 2 stop bits, 9,600 bps EEPROM (See note 1.) 256-Kbit EEPROM ATMEL: AT28C256 OMRON: EEROM-JD Current consumption 129 mA max. Dimensions Main body (not including cables or connectors): 57 × 92 × 38 mm (W × H × D) Weight 200 g max.
Handling Section 10-3 LED Indicator CONNECT ERR (red) Meaning (green) Not connected to PC (power supply OFF). Connected to a recognized PC. Blinking Uploading/downloading data. Blinking Host link communications error, retry by user. PC model and EEPROM data not compatible. Blinking One of the following errors has occurred: •...
Section 10-3 Handling 10-3-2 PC Connections !Caution Mount the EEPROM to the CPM1-EMU01-V1 before connecting the CPM1- EMU01-V1 to the PC. !Caution Do not disconnect the CPM1-EMU01-V1 from the PC when the indicator is blinking green. CPM2C-S, CPM2C, and When connecting to a CPM2C-S, CPM2C, or CQM1H, connect to the periph- CQM1H PCs eral port via the CPM2C-CN111 or CS1W-CN114 Connecting Cable.
Handling Section 10-3 10-3-3 Uploading Programs Ladder programs and the contents of data memory can be uploaded to the EEPROM using the following procedure. The buttons used will determine whether the contents of data memory are uploaded or not. CPM2C-S CPM2C-CN111 Expansion Memory Unit EEPROM...
Page 247
Section 10-3 Handling Operation Procedure Start Mount the EEPROM to the Mount the EEPROM to the CPM1-EMU01-V1 CPM1-EMU01-V1. before connecting to the PC. Connect the CPM1-EMU01-V1 to the PC's Check the orientation of the connector communications port (peripheral port). before connecting the CPM1-EMU01-V1. After 2 or 3 s, check if the indicator is Note If the indicator is not lit at all, lit red or lit green.
Section 10-3 Handling 10-3-4 Downloading Programs Ladder programs and the contents of data memory can be downloaded from the EEPROM to the PC using the procedure given below. When downloading, note the following points. !Caution If the PC is in RUN or MONITOR mode when downloading is started, it will automatically switch to PROGRAM mode and operation will stop.
Page 249
Handling Section 10-3 Operation Procedure Start Mount the EEPROM to the Mount the EEPROM to the CPM1-EMU01-V1. CPM1-EMU01-V1 before downloading. Change the mode of the PC to PRO- Confirm the safety of the system. GRAM mode. Connect the CPM1-EMU01-V1 to the Confirm the orientation of the connector PC's peripheral port.
Transistor outputs DeviceNet Slave Input Output functions points points Sinking Sourcing Standard CPU Units CPM2C-S100C CPM2C-S110C 6 points 4 points CPU Units with CPM2C-S100C-DRT CPM2C-S110C-DRT DeviceNet Slave func- tions Expansion I/O Units Note Refer to the CPM2C Programmable Controller Operation Manual (W356) for descriptions of the specifi- cations and wiring of Expansion I/O Units and Expansion Units.
Page 253
Appendix A Standard Models AC Power Supply Unit Model Name Specifications CPM2C-PA201 AC Power Supply Input: 100 to 240 VAC Unit Output: 24 VDC/600 mA Communications Port Connecting Cables Connector Description Cable length CPM2C-CN111 Converts the CPM2C-S CPU Unit’s communications 0.15 m (about 4”) Connecting Cable port to a peripheral port and RS-232C port.
Page 254
Appendix A Standard Models Maintenance Accessories Name Appearance Model Number Specifications Backup Battery CPM2C-BAT01 Expansion Memory Unit CPM1-EMU01-V1 Uploads the ladder program and DM 6144 to DM 6655 from the PC to the EEPROM and downloads the ladder program and DM 6144 to DM 6655 from the EEPROM to the PC.
Page 255
Appendix A Standard Models Adapters (1:N Connections) Name Appearance Model number Specifications RS-422 Adapter NT-AL001 Use for CPM2C-S RS-232C port to RS-422A conversion. Requires a 5-VDC, 150 mA power supply which is supplied through the CPM2C-S connection. (Can also be connected to a personal computer, but this connection requires an external 5-VDC power supply.) Link Adapter B500-AL004...
Appendix B Dimensions All dimensions are in millimeters. CPU Units All CPM2C-S CPU Units weigh 160 g max. CPM2C-S100C CPM2C-S100C-DRT CPM2C-S110C CPM2C-S110C-DRT CPU Units with Connectors Attached CPU Unit with Crimp Connectors CPU Unit with Soldered Connectors Expansion I/O Units Note Refer to the CPM2C Programmable Controller Operation Manual (W356) for the specifications and dimensions of Expansion I/O Units and Expansion Units.
Appendix C Support Software CX-Programmer CX-Programmer version 2.1 or later is compatible with the CPM2C-S. To use the CX-Programmer, select the CPM2-S as the CPU type. SYSMAC-CPT Support Software All versions of SYSMAC-CPT Support Software can be used, but the CPM2-S cannot be selected as the CPU type and the CQM1 - CPU43 must be selected instead.
Index Numerics check levels program checks 1:1 connections checking program syntax 1:1 PC Link communications Programming Console I/O response timing circuit configuration 1:N connections inputs outputs transistor clearing AC Power Supply Unit memory areas See also Power Supply Unit Programming Console Adapter Units clock available models...
Page 262
Index CPU Units EEPROM available models mounting/removing components specifications cyclic operation electrical noise dimensions preventing general specifications ERR/ALM indicator input specifications flashing internal structure cycle monitor time error log PC Setup settings PC Setup settings cycle time errors displaying fatal Programming Console identifying cycle time (minimum)
Page 263
Index flicker output inputs example wiring configuration force-set/reset clearing inrush current Programming Console suppressing Programming Console inspections function codes installation reading and changing expansion instruction assignments site selecting functions instructions comparison execution times inserting and deleting H–I Programming Console searching hexadecimal data Programming Console converting displays...
Page 264
Index messages NPN open collector reading/clearing connections model numbers NT Link connections modes changing the PC mode operating modes modifying binary data operating conditions troubleshooting Programming Console operating modes data operating mode at startup Programming Console operation hexadecimal/BCD data preparations Programming Console output short protection signed decimal data...
Page 265
Index power supply Programming Console interrupt time execution precautions in cyclic operation troubleshooting program capacity wiring uploading Power Supply Unit proximity switches available models preventing false inputs components PT connections specifications pulse control wiring pulse outputs precautions wiring design precautions general Q–R output wiring...
Page 266
Index signed decimal data timing modifying basic instructions I/O response time Programming Console instruction execution monitoring See also instruction Slaves interrupt processing CompoBus/S compatible special instructions specifications troubleshooting characteristics fatal errors Expansion Memory Unit I/O errors general specifications non-fatal errors I/O connectors operating conditions input specifications...
Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W377-E1-04 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
Need help?
Do you have a question about the CPM2C-S100C and is the answer not in the manual?
Questions and answers