Sysmac CQM1 Operation Manual

Programmable controllers
Table of Contents

Advertisement

Quick Links

Cat. No. W226-E1-7
SYSMAC
CQM1
Programmable Controllers

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CQM1 and is the answer not in the manual?

Questions and answers

Summary of Contents for Sysmac CQM1

  • Page 1 Cat. No. W226-E1-7 SYSMAC CQM1 Programmable Controllers...
  • Page 2 CQM1 Programmable Controllers Operation Manual Revised September 2000...
  • Page 3 Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or dam- age to property.
  • Page 4: About This Manual

    Please read this manual carefully and be sure you understand the information provide before attempting to install and operate the CQM1. Section 1 gives a brief overview of the steps involved in developing of a CQM1 System, describes the possible system configurations, and describes the CQM1’s special features and functions.
  • Page 5: Table Of Contents

    ..........CQM1 Features .
  • Page 6 ........SECTION 3 – The LSS, SSS, SYSMAC-CPT, and Programming Consoles LSS Capabilities .
  • Page 7 ..........C – SYSMAC-CPT Precautions .
  • Page 8 PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and related devices. The information contained in this section is important for the safe and reliable application of the Programmable Con- troller. You must read this section and understand the information contained before attempting to set up or operate a PC system.
  • Page 9: General Precautions

    Operating Environment Precautions Intended Audience This manual is intended for the following personnel, who must also have knowl- edge of electrical systems (an electrical engineer or the equivalent). Personnel in charge of installing FA systems. Personnel in charge of designing FA systems. Personnel in charge of managing FA systems and facilities.
  • Page 10: Application Precautions

    Application Precautions Locations subject to condensation as the result of severe changes in tempera- 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 vibration.
  • Page 11 Conformance to EC Directives The CQM1 PCs comply with EC Directives. To ensure that the machine or device in which a CQM1 PC is used complies with EC Directives, the PC must be installed as follows: 1, 2, 3...
  • Page 12 Conformance to EC Directives overall machine to fail to meet the Standard. If this occurs, surge killers must be connected or other measures taken external to the PC. The following methods represent typical methods for reducing noise, and may not be sufficient in all cases. Required countermeasures will vary depending on the devices connected to the control panel, wiring, the config- uration of the system, and other conditions.
  • Page 13 Conformance to EC Directives When switching a load with a high inrush current, such as an incandescent lamp, suppress the inrush current as shown below. Countermeasure 1 Countermeasure 2 Providing a dark current of approx. Providing a limiting resistor one-third of the rated value through an incandescent lamp...
  • Page 14: Overview

    SECTION 1 Introduction This section gives a brief overview of the steps involved in developing of a CQM1 System, describes the possible system configurations, and describes the CQM1’s special features and functions. Overview ............
  • Page 15 Overview Overview The following diagram shows the steps involved in setting up and operating a CQM1 System and the sections in this and the CQM1 Programming Manual that will be most useful at each step. Design system. Create sequence diagram.
  • Page 16: Cqm1 Features

    Section 1-3 System Configuration The CQM1 is a compact, high-speed PC composed of a Power Supply Unit, a CPU Unit, and I/O Units. All of these Units connect at the sides to form a single PC, which is normally mounted to a DIN track.
  • Page 17 The CQM1 using the RS-232C can read data from a bar code reader or measurement device and output data to a printer. 1-to-1 Link A data link can be created with a data area in another CQM1 to monitor the other PC’s status and synchronize processes controlled by the PCs. Analog Setting Function The CQM1-CPU42-EV1 provides volume controls with four channels for adjust- ing analog settings.
  • Page 18: Cpu Unit

    SECTION 2 Units and Installation This section describes the Units that go together to create a CQM1 PC and provides information on switch settings, installa- tion, and hardware maintenance. Technical specifications of the Units are also provided. CPU Unit ............
  • Page 19 CPU Unit CPU Unit The CQM1 is a compact, high-speed PC made up of a CPU Unit, Power Supply Unit, and I/O Units that together provide up to 256 total I/O points. These compo- nents lock together at the sides, allowing simple changes in the size and capac- ity of the PC.
  • Page 20: Dip Switch

    Lock the CPU Unit to the adjacent Unit. Battery Memory Indicators cassette Pulse I/O connectors (CQM1-CPU43-EV1 only); (optional) ABS interface connectors (CQM1-CPU44-EV1 only) Analog setting controls (CQM1-CPU42-EV1 only) RS-232C Port (except CQM1-CPU11-E) Used for communications with external devices or other PCs.
  • Page 21: Dip Switch

    Standard communications parameters (see note 2) will be set for the following serial communications ports. Built-in RS-232C port Peripheral port (only when a CQM1-CIF01/-CIF02 Cable is con- nected. Does not apply to Programming Console.) Note 1. Standard communications parameters are as follows: Serial communications mode: Host Link or peripheral bus;...
  • Page 22 COM2 RS-232C port indicator Flashes when the CPU Unit is communicating with another device via the RS-232C port. (CQM1-CPU21-E only) OUT INH Output inhibited indicator Lights when the Output OFF Bit, SR 25215, is turned ON. All PC outputs will be turned OFF.
  • Page 23: Pc Modes

    Section 2-1 CPU Unit 2-1-4 PC Modes The CQM1 PCs have three operating modes: PROGRAM, MONITOR, and RUN. The PC mode can be changed from the mode selector on the Program- ming Console. Mode selector MONITOR PROGRAM The key cannot be removed when the mode selector is set to PROGRAM.
  • Page 24: Dimensions And Weights

    CQM1-MP08R Memory Cassette Installation Follow the procedure below to install a Memory Cassette in the CPU Unit. Caution Always turn off power to the CQM1 before installing or removing a Memory Cas- sette. 1, 2, 3... 1. Remove the mounting bracket from inside the memory cassette compart-...
  • Page 25 Turn on the write-protect switch on the EEPROM Memory Cassette to prevent the program or PC Setup from being deleted accidentally. Turn the switch off when writing to the Memory Cassette. Caution Always turn off the CQM1 and remove the Memory Cassette when changing the write-protect switch setting. Read/write Read-only...
  • Page 26: Battery Replacement

    1, 2, 3... 1. Turn off the power to the CQM1. If the CQM1 is not turned on, turn it on for at least one minute and then turn it off. Note If power is not turned on for at least one minute before replacing the...
  • Page 27: Programmable Controller Power Interruptions

    Section 2-1 CPU Unit removed will not be fully charged and memory may be lost before the new battery is inserted. 2. Open the compartment on the upper left of the CPU Unit and carefully draw out the battery. 3. Remove the battery connector. 4.
  • Page 28: Analog Setting Function

    If words 220 through 223 are designated as the SV for instructions such as TIM, they cannot be used as the analog timer. With CPU Unit models other than the CQM1-CPU42-EV1, there is no particular use for words 220 through 223, and they can be use as IR words.
  • Page 29 Section 2-1 CPU Unit Caution The following instructions cannot be used when the CQM1-CPU43-EV1 is set to high-speed counter mode by PC Setup (DM 6611): PLS2 and ACC mode 0. LED Indicators Ready (green) Lit when the pulse I/O function is ready.
  • Page 30: Abs Interface Function

    Section 2-1 CPU Unit 2-1-11 ABS Interface Function The CQM1-CPU44-EV1 has two dedicated ports (CN1 and CN2) for receiving grey codes from an absolute-type rotary encoder. These two ports can be used to carry out absolute-type high-speed counter interrupts. Grey codes input to the ports can be received at a computation speed of up to 4 kHz, and processing can be executed according to that value.
  • Page 31: Power Supply Unit Components

    Power Supply Unit Section 2-2 Power Supply Unit There are three AC Power Supply Units available, the CQM1-PA203, the CQM1-PA206, and the CQM1-PA216, and one DC, the CQM1-PD026. Select a Power Supply Unit that matches the current consumption of the system.
  • Page 32: I/O Units

    The total current consumption of the components in a PC must be less than the capacity of the Power Supply Unit being used. For example, a CQM1-PA203 Power Supply Unit (capacity: 3.6 A) can be used with a CQM1-CPU21-E CPU Unit, two 16-point DC Input Units, and three 16-point Contact Output Units, as shown below: Current Consumption = 0.82 + (0.085...
  • Page 33 There are two basic types of I/O Units available: Terminal block types and con- nector types. Most of the I/O Units shown in the following table are terminal block types. Only CQM1-OD213 DC Input Units (32 pts.) and CQM1-OD213 Transis- tor Output Units (32 pts.) are connector-type I/O Units.
  • Page 34: I/O Units

    (CQM1-CPU43-E) (CQM1-CPU44-E) Note When the number of I/O points for the CQM1 exceeds the maximum number of I/O points specified above, an “I/O UNIT OVER” message will be displayed and operation will stop. Operation will not stop, however, if the number of I/O Units...
  • Page 35: Terminal Block Type

    The I/O Unit’s terminal blocks are removable. Be sure that the connector tabs are locked in the vertical position, as shown in the following diagram. Although the terminal block position of the CQM1-OC224 is different, the removal method is the same.
  • Page 36: Cqm1-Oc224 Dimensions

    Note Refer to the table on page 20 for the weights of I/O Units. Assembled Dimensions The following diagram shows the dimensions of a CQM1 PC consisting of a CPU Unit, 4 I/O Units, and a Power Supply Unit. The width varies with the Power Sup- ply Unit, as indicated.
  • Page 37: Pc Assembly And Installation

    Wrong 2-4-1 Connecting PC Components The Units that make up a CQM1 PC can be connected simply by pressing the Units together and sliding the locking tabs towards the back of the Units. The End Cover is connected in the same way to the Unit on the far right side of the PC.
  • Page 38: Din Track Installation

    1. Mount the DIN Track securely to the control board or inside the control panel using screws in at least 3 separate locations. 2. Release the pins on the backs of the CQM1 Units. These pins lock the PC to the DIN Track.
  • Page 39: Wiring And Connections

    Caution Be sure that the AC power supply voltage remains within the allowed fluctuation range of 85 to 264 VAC. CQM1-PA216 is switchable with an input voltage range of 80 to 138 VAC or 160 to 264 VAC.
  • Page 40: Dc Power Supply Unit Wiring

    Units. Units. The wire used should be at least 2 mm . Provide the grounding point as close to the CQM1 PC as possible. WARNING LG ( Noise filter neutral terminal. Short-circuit the LG ( ) terminal and GR ( terminals using the attached short-circuit bar and ground them at a resistance of less than 100 Ω...
  • Page 41: Wiring Precautions For Ground Wires

    2-5-3 Wiring Precautions for Ground Wires Wire the grounding wires according to the diagram shown below. The CQM1 PC with the lot number jjZ5 manufactured in December 1995 and later is pro- vided with the LG-GR short-circuit bar and the DIN-track cable.
  • Page 42: I/O Unit Wiring

    In order to improve the electromagnetic compatibility (EMC), connect the LG ( ) terminal to the screw on the end plate using the supplied DIN-track con- necting cable. Short-circuit bar (Supplied with the CQM1 PC) DIN-track cable (Supplied with the CQM1 PC)
  • Page 43 Be careful not to damage the output transistor. I/O Line Noise Do not run CQM1 I/O lines in the same duct or conduit as multi-conductor cables of other control lines. If power cables carry more than 10 A at 400 V or more than 20 A at 220 V, they must be run parallel to I/O wiring.
  • Page 44 Also, connect the shielded cables to the GR terminal of the PC. Control cables and Metal plate (iron) Low current cables CQM1 power lines Power cables 200 mm min. Grounding at resistance of100 W max. Inductive Loads When connecting an inductive load to an I/O Unit, connect a diode in parallel with the load.
  • Page 45 Wiring and Connections Section 2-5 Device Circuit Diagram NPN current output Use the same power supply for the input and sensor. Constant current circuit Output Sensor power COM(+) supply PNP current output Sensor power supply Output COM(–) Voltage output COM (+) Output Sensor power supply...
  • Page 46: Compliance With Ec Directives

    Bleeder resistor : PC’s input impedance 2-5-5 Compliance with EC Directives The following precautions must be abided by when installing CQM1-series PCs to meet EC Directives. 1, 2, 3... 1. CQM1-series PCs are classified as open-structure devices and must be installed inside a control panel.
  • Page 47 Wiring and Connections Section 2-5 The dielectric strength of the capacitor generally needs to be between 200 and 300 V. Use an AC capacitor (without polarity) in an AC circuit. Inductive load Power supply Diode Method (DC Only) The energy stored in the coil is impressed on the coil as a current by the action of the parallel diode and converted to Joule heat by the resistance of the inductive load.
  • Page 48: Cable Preparation (Connector Type)

    ) wire for connecting to all of the connector pins. Note For details on pin arrangement and the internal circuitry of connectors at the CQM1 side, refer to the sections on DC Input Units (32 points) and Transistor Output Units (32 points) in this manual. Wiring and Assembly The following illustrations show the procedure for wiring and assembly of solder- type connectors.
  • Page 49: Cable Preparation (Pulse Output And Abs Interface)

    Nuts (3) Nuts (2) 2-5-7 Cable Preparation (Pulse Output and ABS Interface) Dedicated ports are required for the pulse I/O (CQM1-CPU43-EV1 only) and ABS interface (CQM1-CPU44-EV1 only) functions. Follow the procedure explained here to prepare cable for these ports. Applicable Connectors Use the following products or equivalents for the connector on the cable side.
  • Page 50: Peripheral Port Connection

    Section 2-5 Assemble the socket and hood as shown in the illustration below. At the connec- tor on the CQM1 side, wrap aluminum tape around the twisted wire as shown in the illustration, and secure the wire to the hood.
  • Page 51: Rs-232C Port

    The RS-232C port on the CQM1-CPU21-E/4j-EV1 can be connected to vari- ous devices for communications with the PC via PORT INPUT and PORT OUT- PUT instructions or for automatic data links with other CQM1 PCs (also CQM1-CPU21-E/4j-EV1), as shown in the following diagram.
  • Page 52 Interface EIA RS-232C One-to-one Link Connections The RS-232C port on the CQM1-CPU21-E and CQM1-CPU4j-EV1 can be connected to the same port on another CQM1 PC to create a data link. Wire the cable as shown in the diagram below. CQM1...
  • Page 53: Unit Specifications

    Unit Specifications Section 2-6 Unit Specifications 2-6-1 Power Supply Units Item CQM1-PA203 CQM1-PA206 CQM1-PA216 CQM1-PD026 Supply voltage 100 to 240 VAC, 50/60 Hz 100 or 230 VAC 24 VDC (selectable), 50/60 Hz Operating voltage range 85 to 264 VAC 85 to 132 VAC or 170...
  • Page 54 Unit Specifications Section 2-6 Item CQM1-CPU11-E/21-E CQM1-CPU41 CQM1-CPU42 CQM1-CPU43-EV1 -EV1 -EV1 /44-EV1 Instruction length 1 step per instruction, 1 to 4 words per instruction Types of instructions 117 instructions (14 basic types) 137 instructions (14 basic types) Execution time Basic instructions: 0.50 to 1.50 ms...
  • Page 55: Pulse Input Port (Cqm1-Cpu43-Ev1)

    Unit Specifications Section 2-6 2-6-3 Pulse Input Port (CQM1-CPU43-EV1) Item Specifications Name [Pulse I/O] CQM1-CPU43-EV1 (Built-in pulse function type) Pulse input Signals Encoder inputs A, B; pulse input Z Input voltage 12 VDC 24 VDC Input current A, B: 5 mA, TYP...
  • Page 56 Unit Specifications Section 2-6 Item Specifications Pulse output Signals Pulse output CW, CCW Output frequency 50 kHz (20 kHz max. when stepping motor is connected) Max. switching capacity NPN open collector, 30 mA, 5 to 24 VDC Min. switching capacity NPN open collector, 7 mA, 5 to 24 VDC Leakage current 0.1 mA max.
  • Page 57 Unit Specifications Section 2-6 Pulse Output Section Pin no. Name Provide either one voltage ..Power supply input for output 24 VDC of these power circuit supplies. Do not ..Power supply input for output 5 VDC provide both, or the circuits will be...
  • Page 58 Unit Specifications Section 2-6 Wiring Examples 1) Pulse Input Connection Depending on the count mode, the outputs from the encoder are connected to Port 1 and Port 2 as shown below. Ports 1 and 2 Encoder outputs Signal name Phase-difference Pulse + direction Inc/Dec pulse input mode...
  • Page 59 24 V 12 V Rectifier 2) Pulse Output Connection In these two example diagrams, the CQM1-CPU43-EV1 is connected to a 5-V input motor driver. When a 5-VDC Power Supply is Used 5-VDC (Do not share the power supply with other I/O.)
  • Page 60 Twisted-pair wire Note In this example, in order to use a 5-V input motor driver with a 24-VDC power supply, the CQM1 internal resistance (1.6 kΩ) is used. Be careful with regard to the drive current at the motor driver.
  • Page 61: Abs Interface Port (Cqm1-Cpu44-Ev1)

    Approx. 7 mA Twisted-pair wire The pulse output section’s internal circuit transistor is off while pulse output is stopped. Output transistor During pulse output 2-6-4 ABS Interface Port (CQM1-CPU44-EV1) Item Specifications Name [ABS interface] CQM1-CPU44-EV1 (built-in ABS interface type) +10%...
  • Page 62 Unit Specifications Section 2-6 Internal Circuit Configuration Bit no. Name 2.7 kΩ ..Encoder input Grey code 2 2.7 kΩ 2.7 kΩ ..Encoder input Grey code 2 2.7 kΩ 2.7 kΩ ..Encoder input Grey code 2 2.7 kΩ...
  • Page 63 Unit Specifications Section 2-6 Wiring Example (Do not share the power supply with other I/O.) 24-VDC 24 VDC power Power provided here supply (–) Encoder Twisted-pair wire with shield CQM1-CPU44-EV1...
  • Page 64: 24-Vdc Inputs (Built Into Cpu Unit)

    Unit Specifications Section 2-6 2-6-5 24-VDC Inputs (Built into CPU Unit) Item CQM1-CPU11-E/21-E/41-EV1/42-EV1/43-EV1/44-EV1 +10% Input Voltage 24 VDC –15% Input Impedance IN4 and IN5: 2.2 kΩ; other inputs: 3.9 kΩ Input Current IN4 and IN5: 10 mA typical; other inputs: 6 mA typical (at 24 VDC) ON Voltage 14.4 VDC min.
  • Page 65 Unit Specifications Section 2-6 The minimum response pulses will be as follows: Input A (IN4), Input B (IN5) Increment Mode (5 kHz max.) 200 µs min. 90 µs min. Phase A 90 µs min. Phase-input Difference Mode (2.5 kHz max.) 400 µs min.
  • Page 66: 12-Vdc Input Units

    Unit Specifications Section 2-6 2-6-6 12-VDC Input Units Item CQM1-ID111 +10% Input Voltage 12 VDC –15% Input 1.8 kΩ Impedance Input Current 6 mA typical (at 12 VDC) ON Voltage 8.0 VDC min. OFF Voltage 3.0 VDC max. ON Delay Default: 8 ms max.
  • Page 67 Unit Specifications Section 2-6 Item CQM1-ID112 +10% Input Voltage 12 VDC –15% Input Impedance 2.2 kΩ Input Current 4 mA typical (at 12 VDC) ON Voltage 8.0 VDC min. OFF Voltage 3.0 VDC max. ON Delay Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup) OFF Delay Default: 8 ms max.
  • Page 68: To 24-Vdc And 24-Vdc Input Units

    Unit Specifications Section 2-6 2-6-7 12 to 24-VDC and 24-VDC Input Units Item CQM1-ID211 CQM1-ID212 +10% +10% Input Voltage 12 to 24 VDC 24 VDC –15% –15% Input 2.4 kΩ 3.9 kΩ Impedance Input Current 10 mA typical (at 24 VDC)
  • Page 69: 24-Vdc Input Units

    Unit Specifications Section 2-6 2-6-8 24-VDC Input Units Item CQM1-ID213 CQM1-ID214 +10% +10% Input Voltage 24 VDC 24 VDC –15% –15% Input 5.6 kΩ 3.9 kΩ Impedance Input Current 4 mA typical (at 24 VDC) 6 mA typical (at 24 VDC) ON Voltage/ 14.4 VDC min.
  • Page 70 Unit Specifications Section 2-6 Number of Simultaneously ON Inputs for CQM1-ID214 Ambient Temperature for Simultaneously ON Points Input voltage: 24.0 VDC Input voltage: 26.4 VDC 5 10 Ambient temperature ( C)
  • Page 71: Ac Input Units

    Unit Specifications Section 2-6 2-6-9 AC Input Units Item CQM1-IA121 CQM1-IA221 +10% +10% Input Voltage 100 to 120 VAC , 50/60 Hz 200 to 240 VAC , 50/60 Hz –15%, –15%, Input 20 kΩ (50 Hz), 17 kΩ (60 Hz) 38 kΩ...
  • Page 72: Contact Output Units

    Unit Specifications Section 2-6 2-6-10 Contact Output Units Item CQM1-OC221 CQM1-OC222 Max. Switching 2 A, 250 VAC (cosφ= 1) 2 A, 250 VAC (cosφ= 1) Capacity 2 A, 250 VAC (cosφ= 0.4) 2 A, 250 VAC (cosφ= 0.4) 2 A, 24 VDC (16 A/Unit) 2 A, 24 VDC (8 A/Unit) Min.
  • Page 73 Unit Specifications Section 2-6 Item CQM1-OC224 Max. Switching Capacity 2 A, 250 VAC (cosφ= 1) 2 A, 250 VAC (cosφ= 0.4) 2 A, 24 VDC (16 A/Unit) Min. Switching Capacity 10 mA, 5 VDC Relay G6R-1A or G6RN-1A Service Life of Relay...
  • Page 74: Transistor Output Units

    Unit Specifications Section 2-6 2-6-11 Transistor Output Units 8-point Transistor Output Unit Item CQM1-OD211 +10% Max. Switching Capacity 2 A at 24 VDC –15% 5 A/Unit Leakage Current 0.1 mA max. Residual Voltage 0.7 V max. ON Delay 0.1 ms max.
  • Page 75 Unit Specifications Section 2-6 16-point Transistor Output Unit Item CQM1-OD212 Max. Switching Capacity 50 mA at 4.5 VDC to 300 mA at 26.4 V (see diagram below) Leakage Current 0.1 mA max. Residual Voltage 0.8 V max. ON Delay 0.1 ms max.
  • Page 76 Unit Specifications Section 2-6 32-point Transistor Output Unit Item CQM1-OD213 Max. Switching Capacity 16 mA at 4.5 VDC to 100 mA at 26.4 V (see diagram below) Leakage Current 0.1 mA max. Residual Voltage 0.8 V max. ON Delay 0.1 ms max.
  • Page 77 Unit Specifications Section 2-6 Item CQM1-OD213 Terminal Connections Wd m Wd (m+1) 4.5 to 26.4 VDC The respective COMs are internally connected, but they all must be wired. 10 10 12 12 13 13 Note Be sure to wire the external...
  • Page 78 Unit Specifications Section 2-6 16-point Transistor PNP Output Unit Item CQM1-OD214 Max. Switching Capacity 50 mA at 4.5 VDC to 300 mA at 26.4 V (see diagram below) Leakage Current 0.1 mA max. Residual Voltage 0.8 V max. ON Delay 0.1 ms max.
  • Page 79 Unit Specifications Section 2-6 8-point Transistor Output Unit Item CQM1-OD215 +10% Max. Switching Capacity 1.0 A at 24 VDC –15% 4 A/Unit Leakage Current 0.1 mA max. Residual Voltage 1.2 V max. ON Delay 0.2 ms max. OFF Delay 0.8 ms max.
  • Page 80 Unit Specifications Section 2-6 Item CQM1-OD215 Terminal Connections RST0 ALM0 RST1 ALM1 – Note If the output current of any output exceeds the detection current, the outputs will be turned OFF at the four points (OUT0 to 3 or OUT4 to 7) which include that output.
  • Page 81 Unit Specifications Section 2-6 Item CQM1-OD216 Name 32-point PNP Transistor Output Unit +10% Max. Switching Capacity 0.5 A at 24 V DC –15% 5 A/Unit Leakage Current 0.1 mA max. Residual Voltage 0.8 V max. ON Delay 0.1 ms max.
  • Page 82 Unit Specifications Section 2-6 Item CQM1-OD216 Terminal Connections Wd m Wd (m+1) 24 V DC 24 V DC The COM terminals and 0-V outputs are internally connected, but they all must be wired. 24 V DC 24 V DC Note If the output current of any output exceeds the detection current, the output will be turned OFF.
  • Page 83 Unit Specifications Section 2-6 8-point Triac Output Unit Item CQM1-OA221 Max. Switching Capacity 0.4 A at 100 to 240 VAC Leakage Current 1 mA max. at 100 VAC and 2 mA max. at 200 VAC Residual Voltage 1.5 V max. (0.4 A) ON Delay 6 ms max.
  • Page 84 Unit Specifications Section 2-6 6-point Triac Output Unit Item CQM1-OA222 Max. Switching Capacity 0.4 A at 100 to 240 VAC (50/60 Hz) Min. Switching Capacity 100 mA at 10 VAC 50 mA at 24 VAC 10 mA at 100 VAC...
  • Page 85: Section 3 - The Lss, Sss, Sysmac-Cpt, And Programming Consoles

    SYSMAC-CPT, and the Programming Consoles. Actual LSS operating procedures are provided in the LSS Operation Manual, actual SSS operating procedures are provided in the SSS Operation Manual: C-series PCs, and actual SYSMAC- CPT operating procedures are provided in the SYSMAC-CPT Support Software User Manual. Programming Console connec- tion and operating procedures are provided in this section.
  • Page 86: Lss Capabilities

    LSS. For further information and actual operating procedures, please refer to the Ladder Support Software Operation Manual . Note Use Version-3.0 LSS or a later version for CQM1 operation. 3-1-1 Offline Operations Group...
  • Page 87: Online Operations

    The follow- ing tables provide only a brief introduction to the capabilities of the SSS. For fur- ther information and actual operating procedures, please refer to the SYSMAC Support Software Operation Manual: C-series .
  • Page 88: Offline Operations

    Section SSS Capabilities 3-2-1 Offline Operations Group Name Description Programming Connect line Draws a line between two ladder diagram objects. Save program Writes all or part of the user program developed in the system work area to the data disk. Retrieve program Retrieves all or part of the user program stored on a data disk to the system work area.
  • Page 89 Section SSS Capabilities Group Name Description Go To Page Displays the contents of the data memory in the system work area in pages (data memory) (C-series PCs (units of 160 words). The data can be altered with this function. only) Copy Copies the contents of the DM area of the system work area (data memory information).
  • Page 90 Used to change bit/word names, to define custom data areas, or to register HIS (CVM1 PCs only) instructions. Network Support Used to edit data link tables and routing tables for the SYSMAC NET and Table SYSMAC LINK Systems. File Directory Displays a file list.
  • Page 91: Online Operations

    Section SSS Capabilities 3-2-2 Online Operations Group Name Description Monitoring Monitor Data Uses the lower one third of the screen as a monitor area where bits, words, DM contents, and TIM/CNT SV/PV are monitored, forced-set/reset, and changed. Transfer Program Transfers and compares the user program between the computer and PC. Change Display C-series PCs Ladder W/Comments...
  • Page 92 Section SSS Capabilities Group Name Description Transfer Retrieves PC DM data to the system work area. PC —> Computer (C-series PCs only) Transfer Writes system work area DM data to the PC. Computer—>PC (C-series PCs only) Transfer Compares DM data between the system work area and PC. Verify (C-series PCs only) Monitor...
  • Page 93 Used to display the execution status of the specified program section. (C-series PCs only) Display/Set Clock Used to read and set the internal clock in the PC. (CQM1, C200HS, or CVM1 only) Transfer Instr Used to transfer expansion instruction set from the PC to the SSS.
  • Page 94: Offline And Online Operations

    DOS.” SYSMAC-CPT Precautions The CQM1 does not contain an I/O table in the CPU Unit and is designed to oper- ated according to the actual Units that configure the PC. I/O bits in the ladder program are displayed for the CQM1 on the SYSMAC-CPT using an I/O table setting display with “I”...
  • Page 95: Inputting Ladder Diagrams

    Note Two words are allocated to 32-pt I/O Units. 3-3-2 Inputting Ladder Diagrams Only IR 000 to IR 011 are allowed as I/O words for the CQM1 on the SYSMAC- CPT. You will be able to input IR 012 to IR 015 for the CQM1-CPU4j-EV1 CPU Unit and the program will execute correctly for these bits, but “I”...
  • Page 96: Preparation For Operation

    Section Preparation for Operation Note The following three sets of keys are labeled differently on the CQM1-PRO01-E and the C200H-PRO27-E. The operation of the two keys in each pair are identi- cal. CQM1-PRO01-E Keys C200H-PRO27-E Keys PLAY RESET RESET Preparation for Operation This section describes how to connect the CQM1 and Programming Console as well as the basic operations required to prepare for programming.
  • Page 97 Preparation for Operation Changing Displays The following diagram shows which keys to press in order to change Program- ming Console displays. Example mode display (connected to PC) The CQM1’s operating {PROGRAM} mode will be displayed. SHIFT (or switch modes) Initial programming display 00000 Press several times.
  • Page 98: Programming Console Operations

    (Indirect DM) Value CONT (Hexadecimal, Value BCD constant) (Without sign, (See note 2) Value SHIFT SHIFT decimal constant) (With sign, Value SHIFT decimal constant) Note: Decimal-number inputs cannot be used with the CQM1-CPU11-E/21-E. Go to next WRITE (–) program RESET input...
  • Page 99: Clearing Memory

    Section Programming Console Operations 3-6-2 Clearing Memory This operation is used to clear all or part of the Program Memory and any data areas that are not read-only, as well as the contents of the Programming Con- sole’s memory. This operation is possible in PROGRAM mode only. MONITOR PROGRAM Before beginning to program for the first time or when installing a new program,...
  • Page 100: Reading/Clearing Error Messages

    If the buzzer sounds when an attempt is made to clear an error message, eliminate the cause of the error, and then clear the error message (refer to the CQM1 Pro- gramming Manual for troubleshooting information).
  • Page 101: Reading And Changing Expansion Instructions

    OK (reading only) OK (reading only) Be sure to change function code assignments before inputting the program. The CQM1 will not operate properly if the function codes in the program are assigned incorrectly. Note 1. Two function codes cannot be assigned to a single instruction.
  • Page 102: Reading And Changing The Clock

    Section Programming Console Operations 4. When the desired instruction is displayed, press the WRITE Key to change the function code assignment. The following display will appear if the selected instruction has not been assigned to another function code. INST TBL READ WRITE FUN18:HKY Note It is not possible to change to an instruction which is already assigned...
  • Page 103: Instruction Search

    Section Programming Console Operations 1, 2, 3... 1. Bring up the initial display. 2. Input the desired address. It is not necessary to input leading zeroes. 00200 3. Press the Down Arrow Key. 00200READ OFF 00000 Note The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode.
  • Page 104: Inserting And Deleting Instructions

    Section Programming Console Operations 1, 2, 3... 1. Bring up the initial display. 2. Input the operand address. It is not necessary to input leading zeroes. 00000CONT SRCH CONT SHIFT CONT 00005 3. Press the SRCH Key to begin the search. 00200CONT SRCH SRCH 00005...
  • Page 105: Entering Or Editing Programs

    Section Programming Console Operations 2. Input the address where the NO condition will be deleted and press the Down Arrow Key. It is not necessary to input leading zeroes. 00205READ 00103 3. Press the DEL Key. 00205DELETE? 00103 4. Press the Up Arrow Key to delete the specified instruction. If the instruction has more operands, the operands will be deleted automati- cally with the instruction.
  • Page 106 Section Programming Console Operations 1, 2, 3... 1. Bring up the initial display. 2. Input the address where the program will begin. 00200 3. Input the first instruction and operand. 00200 00002 4. Press the WRITE Key to write the instruction to Program Memory. The next program address will be displayed.
  • Page 107 00203 ADB DATA A WRITE #0000 Note Decimal-number writing with or without sign cannot be executed by the CQM1-CPU11-E/21-E. Writing a Decimal Number Without Sign 12. It is possible to write the operand in decimal (without sign). 00203 ADB DATA A...
  • Page 108: Checking The Program

    Section Programming Console Operations 18. Input the final operand and then press the WRT Key. 00204READ WRITE NOP (00) 3-6-12 Checking the Program Once a program has been entered or edited, its syntax should be checked to be sure that no programming rules have been violated. This operation checks for programming errors and displays the program address and error when errors are found.
  • Page 109 Section Programming Console Operations 3. Press the MONTR Key to begin monitoring. T000 MONTR 1234 If the status of a bit is being monitored, that bit’s status can be changed using the Force Set/Reset operation. Refer to page 106 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.
  • Page 110: Differentiation Monitor

    Section Programming Console Operations 3. Repeat step 2 up to 6 times to display the next addresses to be monitored. 00001 T000 CONT SHIFT MONTR ^ OFF 0100 D0000 00001 T000 MONTR 1234 ^ 0FF 0100 If 4 or more bits and words are being monitored, the bits and words that do not appear on the display can be displayed by pressing the MONTR Key.
  • Page 111: Binary Monitor

    Section Programming Console Operations 3-6-15 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 described in 3-6-13 Bit, Digit, Word Monitor .
  • Page 112: Decimal Monitor With Sign

    3-word data modification can be used dur- ing execution. Caution This function cannot be used with CQM1-CPU11-E and CQM1-CPU21-E CPU Units. Note In PROGRAM or MONITOR mode, it is possible to change word data by means of a decimal-with-sign input.
  • Page 113: Decimal Monitor Without Sign

    3-word data modification can be used during execution. Caution This function cannot be used with CQM1-CPU11-E and CQM1-CPU21-E CPU Units. Note In PROGRAM or MONITOR mode, it is possible to change word data by means of a decimal-with-sign input.
  • Page 114: Changing Timer, Counter Sv

    Section Programming Console Operations 2. Press the CHG Key to begin 3-word data modification. The cursor will appear next to the contents of the leftmost word. D0002 3CHCHANG? 0123 4567 89AB 3. Input the new value for the leftmost word on the display and press the CHG Key if more changes will be made.
  • Page 115: Hexadecimal, Bcd Data Modification

    Section 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. Bring up the initial display. 2.
  • Page 116: Decimal Data Modification With Sign

    In addition, the data from 2 consecutive words can be changed all together (double-length change). The operation can be used during decimal-with-sign monitoring. Words SR 253 to SR 255 cannot be changed. Caution This operation cannot be used with CQM1-CPU11-E and CQM1-CPU21-E CPU Units. MONITOR PROGRAM 1, 2, 3...
  • Page 117: Decimal Data Modification Without Sign

    2 consecutive words can be changed all together (double-length change). The operation can be used during decimal-without-sign monitoring. Words SR 253 to SR 255 cannot be changed. Caution This operation cannot be used with CQM1-CPU11-E and CQM1-CPU21-E CPU Units. MONITOR PROGRAM...
  • Page 118: Force Set, Reset

    Section Programming Console Operations 1, 2, 3... 1. Monitor (decimal, without sign) the status of the word for which the present value is to be changed. cL01 18838 2. Press the CHG Key to begin decimal data modification. PRES VAL? cL01 18838 3.
  • Page 119: Clear Force Set/Reset

    Section Programming Console Operations 1, 2, 3... 1. Monitor the status of the desired bit according to the procedure described in 3-6-13 Bit, Digit, Word Monitor . If two or more words are being monitored, the desired bit should be leftmost on the display. 2.
  • Page 120: Displaying The Cycle Time

    Section Programming Console Operations 2. Press the TR Key to switch to ASCII display. The display will toggle between hexadecimal and ASCII displays each time the TR Key is pressed. D0000 ”AB” D0000 4142 3-6-28 Displaying the Cycle Time This operation is used to display the current average cycle time (scan time). It is possible only in RUN or MONITOR mode while the program is being executed.
  • Page 121 Section Programming Console Operations Inputting Word (DM) Data Example 2: Setting DM 1000 to +22334 00000 00000 CHANNEL DM 0000 00000 CHANNEL DM 1000 D1000 MONTR 0000 D1000 SHIFT +00000 PRES VAL? D1000+00000 PRES VAL? D1000+22334 D1000 WRITE +22334 D1000 573E Example 3: Setting DM 1234 and DM 1235 to –1,234,567,890 00000...
  • Page 122: Using Signed Binary Instructions

    Allocating Function Codes The procedure to using the Programming Console to allocate function codes is shown below. Be sure that pin 4 on the CQM1’s DIP switch is turned ON to enable use of a user-set instruction table before performing this operation.
  • Page 123 SECTION 4 Troubleshooting This section describes how to diagnose and correct the hardware and software errors that can occur during PC operation. Introduction ............Programming Console Operation Errors .
  • Page 124: Introduction

    Details are provided in the CQM1 Programming Manual. Note In addition to the errors described above, communications errors can occur when the PC is part of a Host Link System. Refer to the CQM1 Programming Manual for details. Caution Expansion instructions (those assigned to function codes 17, 18, 19, 47, 48, 60 to 69, 87, 88, and 89) are not subject to program checks.
  • Page 125: Programming Console Operation Errors

    The asterisks in the displays shown below will be replaced with numeric data, normally an address, in the actual display. Refer to the Ladder Support Software Operation Manual , SYSMAC Support Software Operation Manual: C-series PCs , and Data Access Console Operation Manual for errors that may appear when operating the LSS/SSS or a Data Access Console.
  • Page 126: User-Defined Errors

    User-defined Errors Section 4-4 Level B Errors Message Meaning and appropriate response IL-ILC ERR IL(02) and ILC(03) are not used in pairs. Correct the program so that each IL(02) has a unique ILC(03). Although this error message will appear if more than one IL(02) is used with the same ILC(03), the program will executed as written.
  • Page 127: Operating Errors

    If the error persists, replace the CPU Unit. 03: The PC Setup (DM 6611, DM 6612, DM 6643, DM 6644) settings are incorrect. Correct the settings. 04: CQM1 operation was interrupted during pulse output. Check to see whether the unit receiving the pulse output was affected.
  • Page 128: Fatal Errors

    Operating Errors Section 4-5 Message FAL No. Meaning and appropriate response SYS FAIL FAL** An error has been detected in the PC Setup. Check flags AR 2400 to AR 2402, and (see note) correct as directed. AR 2400 ON: An incorrect setting was detected in the PC Setup (DM 6600 to DM 6614) when power was turned on.
  • Page 129: Troubleshooting Flowcharts

    Troubleshooting Flowcharts Section 4-6 Message FALS Meaning and appropriate response SYS FAIL FALS** 01 to 99 An FALS(07) instruction has been executed in the program. Check the FALS number (see note) to determine the conditions that would cause execution, correct the cause, and clear the error.
  • Page 130 Are there any loose terminal screws or bro- replace wires. ken wires? Is Power indicator lit? Replace the Power Supply Unit. Note The allowable voltage ranges for the CQM1 are as follows. CQM1-PA203/PA206: 85 to 264 VAC CQM1-PD026: 20 to 28 VDC...
  • Page 131 Troubleshooting Flowcharts Section 4-6 Fatal Error Check The following flowchart can be used to troubleshoot fatal errors that occur while the Power indicator is lit. RUN indicator not lit. Is the ERR/ALM indicator lit? Determine the cause Is PC mode displayed of the error with a on Peripheral Device? Peripheral Device.
  • Page 132 Troubleshooting Flowcharts Section 4-6 Non-fatal Error Check Although the PC will continue operating during non-fatal errors, the cause of the error should be determined and removed as quickly as possible to ensure proper operation. It may to necessary to stop PC operation to remove certain non-fatal errors.
  • Page 133 Troubleshooting Flowcharts Section 4-6 I/O Check The I/O check flowchart is based on the following ladder diagram section. (LS1) (LS2) 00002 00003 10500 SOL1 10500 SOL1 malfunction. Start Is the IR 10500 out- put indicator operat- ing normally? Check the voltage at the Wire correctly.
  • Page 134 Troubleshooting Flowcharts Section 4-6 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 IR the IR 00002 and IR Are the terminal 00003 terminals.
  • Page 135 Troubleshooting Flowcharts Section 4-6 Environmental Conditions Check Environmental conditions check Is the ambient Consider using a temperature below fan or cooler. 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 136: Appendix

    Appendix A Standard Models CPU Units Model number Appearance Communications Memory I/O capacity CQM1-CPU11-E Peripheral only 3.2K-word Program 128 points Memory, 1K-word DM (8 words) Up to 7 Units can be connected. CQM1-CPU21-E Peripheral and RS-232C Peripheral and RS-232C 7.2K-word Program...
  • Page 137 Proximity Module with E2C-MA11 For E2C-series Proximity Sensors. An automatic teaching function is Separate Amplifier incorporated. Dummy Module E39-M11 E39-M11 Dummy Modules are mounted as spacers to the open slots of the CQM1 when no Sensor Module is mounted to the CQM1.
  • Page 138: Peripheral Devices

    Connects IBM PC/AT or compatible computers to Peripheral Port C200H-CN222 Connects C200H Programming Console to Peripheral Port (2 m) C200H-CN422 Connects C200H Programming Console to Peripheral Port (4 m) Note Use Version-3 LSS or a later version for CQM1 operation. Memory Cassettes (Optional) Model number Clock function Memory...
  • Page 139: B - Battery Service Life

    The built-in battery is used for retaining the status of the HR and DM areas, the user’s program, and other specified status while power is not being supplied to the CQM1. The total number of hours that the battery can provide backup power will vary as shown below, depending on the ambient temperature and whether or not a Memory Cassette with a clock is installed.
  • Page 140: Sysmac-Cpt Precautions

    SYSMAC-CPT. Note The CPU Unit of the CQM1 does not contain an I/O table. Therefore, even if the I/O table on the Support Software is incorrectly set, the system will still operate according to the Units that are actually connected.
  • Page 141: Glossary

    Glossary Indirectly addressed DM area. See indirect address and DM area . 1:1 link A link created between two PCs to create common data in their LR areas. See add count input . add count input An input signal used to increment a counter when the signal changes from OFF to ON.
  • Page 142 Glossary bit designator An operand that is used to designate the bit or bits of a word to be used by an instruction. bit number A number that indicates the location of a bit within a word. Bit 00 is the rightmost (least-significant) bit;...
  • Page 143 Glossary Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out or the counter has reached its set value. condition A symbol placed on an instruction line to indicate an instruction that controls the execution condition for the terminal instruction.
  • Page 144 Glossary data link An automatic data transmission operation that allows PCs or Units within PC to pass data back and forth via common data areas. data link area A common data area established through a data link. data movement instruction An instruction used to move data from one location in memory to another.
  • Page 145 Glossary and ‘distributed’ over the system. Distributed control is a concept basic to PC Systems. DM area A data area used to hold only word data. Words in the DM area cannot be accessed bit by bit. DM word A word in the DM area. downloading The process of transferring a program or data from a higher-level or host com- puter to a lower-level or slave computer.
  • Page 146 Glossary Factory automation. factory computer A general-purpose computer, usually quite similar to a business computer, that is used in automated factory control. FAL error An error generated from the user program by execution of an FAL(06) instruc- tion. FALS error An error generated from the user program by execution of an FALS(07) instruc- tion or an error generated by the system.
  • Page 147 Glossary I/O capacity The number of inputs and outputs that a PC is able to handle. This number ranges from around one hundred for smaller PCs to two thousand for the largest ones. I/O delay The delay in time from when a signal is sent to an output to when the status of the output is actually in effect or the delay in time from when the status of an input changes until the signal indicating the change in the status is received.
  • Page 148 Glossary instruction A direction given in the program that tells the PC of the action to be carried out, and the data to be used in carrying out the action. Instructions can be used to simply turn a bit ON or OFF, or they can perform much more complex actions, such as converting and/or transferring large blocks of data.
  • Page 149 Glossary link A hardware or software connection formed between two Units. “Link” can refer either to a part of the physical connection between two Units or a software con- nection created to data existing at another location (i.e., data links). load The processes of copying data either from an external device or from a storage area to an active portion of the system such as a display buffer.
  • Page 150 Glossary nonfatal error A hardware or software error that produces a warning but does not stop the PC from operating. normal condition See normally open condition . normally closed condition A condition that produces an ON execution condition when the bit assigned to it is OFF, and an OFF execution condition when the bit assigned to it is ON.
  • Page 151 Glossary output bit A bit in the IR area that is allocated to hold the status to be sent to an output device. output device An external device that receives signals from the PC System. output point The point at which an output leaves the PC System. Output points correspond physically to terminals or connector pins.
  • Page 152 Glossary Programmable Controller A computerized device that can accept inputs from external devices and gener- ate outputs to external devices according to a program held in memory. Pro- grammable Controllers are used to automate control of external devices. Although single-unit Programmable Controllers are available, building-block Programmable Controllers are constructed from separate components.
  • Page 153 Glossary response format A format specifying the data required in a response to a data transmission. response monitoring time The time a device will wait for a response to a data transmission before assum- ing that an error has occurred. Restart Bit A bit used to restart part of a PC.
  • Page 154 SR area A memory area containing flags and other bits/words with specific functions. See SYSMAC Support Software . store The process of recording a program written into a display buffer permanently in memory.
  • Page 155 (e.g., specifying read-only bits as a destination), and mistakes in actual application of instructions (e.g., a call to a subroutine that does not exist). SYSMAC Support Software A software package installed on a IBM PC/AT or compatible computer to func- tion as a Programming Device.
  • Page 156 Glossary unsigned binary A binary value that is stored in memory without any indication of whether it is positive or negative. uploading The process of transferring a program or data from a lower-level or slave com- puter to a higher-level or host computer. If a Programming Devices is involved, the Programming Device is considered the host computer.
  • Page 157: Index

    40 FAL(06), 114 weight, 11 FALS(07), 114 CPU Units, standard models, 125 features, 3 CQM1-OC224, dimensions, 23 force resetting, Programming Console, 106 current consumption, 19 force setting, Programming Console, 106 force-set/reset cycle time, displaying, Programming Console, 108 clearing, Programming Console, 107...
  • Page 158 Programming Console, 91 precautions interrupts, 4 2-wire sensors, 32 general, vii ground, 27 , 28 SYSMAC-CPT, 82 , 131 Ladder Support Software. See LSS program, automatic transfer, 11 Program Memory, setting address and reading content, Pro- leakage current, 30 gramming Console, 90–91 LEDs.
  • Page 159 SV, modifying, Programming Console, 102 wiring example, 39 switches, DIP. See DIP switch RUN mode, description, 10 syntax, checking the program, Programming Console, 96 SYSMAC Support Software. See SSS SYSMAC-CPT, precautions, 82 , 131 system configuration, 3 search instruction, Programming Console, 91 operands, Programming Console, 91–92...

Table of Contents