Programmable Controllers: Sysmac
Programmable Controllers: Sysmac
W226--E1--7
SYSMAC
CQM1
Programmable Controllers
OPERATION MANUAL
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 damage to property. ! DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury. Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.
! WARNING
! Caution
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information. Note Indicates information of particular interest for efficient and convenient operation of the product. 1, 2, 3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc.
OMRON, 1993
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xi
xii xii xii xii xiii xiv
SECTION 1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1 1-2 1-3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CQM1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1
2 3 3
5
6 18 20 24 26 40
73
74 75 82 83 84 86
SECTION 4 Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1 4-2 4-3 4-4 4-5 4-6 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming Console Operation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . User-defined Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
111
112 113 113 114 115 117 125 129 131
Appendices
A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B Battery Service Life . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C SYSMAC-CPT Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
! WARNING Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given.
ix
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. 1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii xii xii xii xiii xiv
xi
Conformance to EC Directives
Intended Audience
This manual is intended for the following personnel, who must also have knowledge 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.
General Precautions
The user must operate the product according to the performance specifications described in the operation manuals. Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative. Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms. This manual provides information for programming and operating the Unit. Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during operation. ! WARNING It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above-mentioned applications.
Safety Precautions
! WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing so may result in electric shock. ! WARNING Do not touch any of the terminals while the power is being supplied. Doing so may result in electric shock. ! WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do so may result in malfunction, fire, or electric shock. ! Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the torque specified in the manual. Loose screws may result in burning or malfunction.
xii
Application Precautions
5
Locations subject to condensation as the result of severe changes in temperature. 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.
! Caution
Take appropriate and sufficient countermeasures when installing systems in the following locations: Locations subject to static electricity or other forms of noise. Locations subject to strong electromagnetic fields. Locations subject to possible exposure to radioactivity. Locations close to power supplies.
! Caution
The operating environment of the PC System can have a large effect on the longevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the PC System. Be sure that the operating environment is within the specified conditions at installation and remains within the specified conditions during the life of the system.
Application Precautions
Observe the following precautions when using the PC System. ! WARNING Always heed these precautions. Failure to abide by the following precautions could lead to serious or possibly fatal injury. Always connect to a ground of 100 or less when installing the Units. Not connecting to a ground of 100 or less may result in electric shock. Always turn OFF the power supply to the PC before attempting any of the following. Not turning OFF the power supply may result in malfunction or electric shock. Mounting or dismounting Power Supply Units, I/O Units, CPU Units, Memory Cassettes, or any other Units. Assembling the Units. Setting DIP switches or rotary switches. Connecting or wiring the cables. Connecting or disconnecting the connectors. ! Caution Failure to abide by the following precautions could lead to faulty operation of the 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. Interlock circuits, limit circuits, and similar safety measures in external circuits (i.e., not in the Programmable Controller) must be provided by the customer. Always use the power supply voltage specified in the manual. An incorrect voltage may result in malfunction or burning. Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied. Be particularly careful in places where the power supply is unstable. An incorrect power supply may result in malfunction.
xiii
Conformance to EC Directives
Install external breakers and take other safety measures against short-circuiting in external wiring. Insufficient safety measures against short-circuiting may result in burning. Do not apply voltages to the Input Units in excess of the rated input voltage. Excess voltages may result in burning. Do not apply voltages or connect loads to the Output Units in excess of the maximum switching capacity. Excess voltage or loads may result in burning. Disconnect the functional ground terminal when performing withstand voltage tests. Not disconnecting the functional ground terminal may result in burning. Install and wire the Unit properly as specified in the manual. Improper installation of the Unit may result in malfunction. Be sure that all the mounting screws, terminal screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction. Leave the label attached to the Unit when wiring. Removing the label may result in malfunction. Remove the label after the completion of wiring to ensure proper heat dissipation. Leaving the label attached may result in malfunction. Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Connection of bare stranded wires may result in burning. Double-check all the wiring before turning ON the power supply. Incorrect wiring may result in burning. Mount the Unit only after checking the terminal block completely. Be sure that the terminal blocks, Memory Units, expansion cables, and other items with locking devices are properly locked into place. Improper locking may result in malfunction. Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected operation. Confirm that no adverse effect will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation. Changing the operating mode of the PC. Force-setting/force-resetting any bit in memory. Changing the present value of any word or any set value in memory. Do not pull on the cables or bend the cables beyond their natural limit. Doing either of these may break the cables. When replacing parts, be sure to confirm that the rating of a new part is correct. Not doing so may result in malfunction or burning. Before touching a Unit, be sure to first touch a grounded metallic object in order to discharge any static built-up. Not doing so may result in malfunction or damage.
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... 1. The PC must be installed within a control panel. 2. Reinforced insulation or double insulation must be used for the DC power supplies used for the communications and I/O power supplies. 3. PCs complying with EC Directives also conform to the Common Emission Standard (EN50081-2). When a PC is built into a machine, however, noise can be generated by switching devices using relay outputs and cause the
xiv
Application Precautions
5
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 configuration of the system, and other conditions.
Countermeasure Examples
When switching an inductive load, connect an surge protector, diodes, etc., in parallel with the load or contact as shown below.
Circuit CR method Current AC Yes DC Yes If the load is a relay or solenoid, there is a time lag between the moment the circuit is opened and the moment the load is reset. If the supply voltage is 24 or 48 V, insert the surge protector in parallel with the load. If the supply voltage is 100 to 200 V, insert the surge protector between the contacts. The capacitance of the capacitor must be 1 to 0.5 F per contact current of 1 A and resistance of the resistor must be 0.5 to 1 per contact voltage of 1 V. These values, however, vary with the load and the characteristics of the relay. Decide these values from testing, and take into consideration that the capacitance suppresses spark discharge when the contacts are separated and the resistance limits the current that flows into the load when the circuit is closed again. The dielectric strength of the capacitor must be 200 to 300 V. If the circuit is an AC circuit, use a capacitor with no polarity. Diode method
Inductive load
Characteristic
Required element
Power supply
Inductive load
No
Yes
Power supply
The diode connected in parallel with the load changes energy accumulated by the coil into a current, which then flows into the coil so that the current will be converted into Joule heat by the resistance of the inductive load. This time lag, between the moment the circuit is opened and the moment the load is reset, caused by this method is longer than that caused by the CR method. The varistor method prevents the imposition of high voltage between the contacts by using the constant voltage characteristic of the varistor. There is time lag between the moment the circuit is opened and the moment the load is reset. If the supply voltage is 24 or 48 V, insert the varistor in parallel with the load. If the supply voltage is 100 to 200 V, insert the varistor between the contacts.
The reversed dielectric strength value of the diode must be at least 10 times as large as the circuit voltage value. The forward current of the diode must be the same as or larger than the load current. The reversed dielectric strength value of the diode may be two to three times larger than the supply voltage if the surge protector is applied to electronic circuits with low circuit voltages. ---
Varistor method
Inductive load
Yes
Yes
Power supply
xv
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 OUT R COM Providing a dark current of approx. one-third of the rated value through an incandescent lamp COM Providing a limiting resistor Countermeasure 2 R OUT
xvi
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 CQM1s special features and functions. 1-1 1-2 1-3 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CQM1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 3 3
Overview
Section 1-1
1-1
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.
CQM1 Operation Manual Section 2 Units and Installation CQM1 Programming Manual Section 3 Memory Areas CQM1 Programming Manual Section 1 PC Setup and Related Features Section 4 Ladder-diagram Programming Section 5 Instruction Set Section 7 CQM1 Operations and Processing Time CQM1 Operation Manual Section 3 The LSS, SSS, and Programming Consoles Ladder Support Software (LSS) Operation Manual SYSMAC Support Software (SSS) Operation Manual: C-series PCs
Turn on PC.
Input program.
Debug.
Fix program.
Do test run.
Save program.
CQM1 Operation Manual Section 3 The LSS, SSS, and Programming Consoles Ladder Support Software (LSS) Operation Manual SYSMAC Support Software (SSS) Operation Manual: C-series PCs CQM1 Programming Manual Section 7 Troubleshooting
Run system.
CQM1 Features
Section 1-3
1-2
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. All CQM1 CPU Units, except for the CQM1-CPU11-E, are equipped with an RS-232C port that can be connected directly to a host computer, another CQM1, or other serial devices. The following diagram shows the system configurations possible with the CQM1. Refer to Section 2 Hardware Considerations for more details on system components and specifications.
Power Supply Unit AC Power Supply Unit (18 W); AC Power Supply Unit (30 W) with 24-VDC service power supply; DC Power Supply Unit (30 W) Input Units DC-input type: (8/16/32 points) AC-input type: (8 pts.) Output Units Contact-output type: (8 or 16 points) Transistor-output type: (8/16/32 points) Triac-output type: (8 points) Peripheral port High-speed Counter pulse output Absolute Encoder interface Analog setting Dedicated I/O Units B7A Interface Unit, I/O Link Unit, etc. Personal computer 1:1 RS-232C Host Link Programming Console Bar Code Reader
CQM1
1-3
CQM1 Features
The CQM1 provides many advanced features, including the following: The CPU Unit provides 16 built-in input terminals. I/O Units can be added to increase I/O capacity. The CQM1 is much faster: about 20 times faster than P-type PCs. High-speed timers and counters are built in. Outputs are processed when instructions are executed (direct outputs).
Main Features
CQM1 Features
Interrupts The CQM1 supports three types of interrupts: Input Interrupts
Section 1-3
Input interrupts are used to process input signals from an external device that are shorter than the program execution time. Input signals with a pulse width as short as 0.1 ms can be used. Scheduled Interrupts Scheduled interrupts can be performed using a high-speed interval timer. High-speed Counter Interrupts Single-phase pulses up to 5 kHz and two-phase pulses up to 2.5 kHz can be input. High-speed counter interrupts can be combined with pulse outputs for applications such as motor control. The CQM1-CPU43-EV1 and CQM1-CPU44-EV1 can accept single-phase pulses up to 50 kHz and twophase pulses up to 25 kHz. The high-speed counter (absolute encoder input for the CPU44-EV1) has two points added. Pulse Output Function Communications Pulses up to 1 kHz can be output from Output Unit contacts. The CQM1-CPU43-EV1 has two dedicated ports for outputting 50 kHz pulses. A peripheral port and RS-232C port are available and are used to communicate with external devices using the following methods. Host Link The CQM1 using the host link can communicate with a personal computer and Programmable Terminal using host link commands. RS-232C 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 PCs status and synchronize processes controlled by the PCs. Analog Setting Function Convenient I/O Instructions The CQM1-CPU42-EV1 provides volume controls with four channels for adjusting analog settings. A single instruction can be used to input or output data, simplifying the program. The TEN KEY INPUT instruction can be used to read 8-digit BCD data input from a ten-key. The HEXADECIMAL KEY INPUT instruction can be used to read 8-digit hexadecimal key input data from I/O Units. The DIGITAL SWITCH instruction can be used to read 4 or 8-digit BCD data from digital switches. The 7-SEGMENT DISPLAY OUTPUT instruction can be used to output 4 or 8-digit data to 7-segment displays. Macros The MACRO instruction can be used to call and execute subroutines, designating the I/O word for the subroutine as an argument. Using an argument to specify a subroutine I/O words allows subroutines to be used more easily in different locations, simplifying the program. Up to now, differentiation monitoring was available only in top-of-the-line PCs. Differentiation monitoring indicates when a bit goes from OFF to ON or from ON to OFF. It can be used to monitor the status of inputs or bits that turn on and off in very short intervals.
Differentiation Monitoring
2-2
2-3
2-4
2-5
2-6
CPU Unit
Section 2-1
2-1
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 components lock together at the sides, allowing simple changes in the size and capacity of the PC. There are six types of CPU Unit, shown in the table below. All of the CPU Units except for the CQM1-CPU11-E have a built-in RS-232C interface.
Model Maximum I/O points 128 pts (7 Units max.) 256 pts p (11 Units max.) max ) Program capacity (words) 3.2K 7.2K DM capacity (Words) 1K 6K RS-232C port --Yes Analog setting ------Yes ----Pulse I/O --------Yes --ABS interface ----------Yes AD/DA conversion -------------
CQM1-CPU11-E and CQM1-CPU21-E CPU Units provide a maximum of 128 I/O points. The only difference between the two models is the RS-232C port that is added to the CQM1-CPU21-E. The CQM1-CPU42-EV1 CPU Unit provides a built-in analog setting function. It has four dedicated volume controls, and their respective values (0 to 200 BCD) appear in words 220 to 223. This function can be used for operations such as changing timer and counter set values during operation. The CQM1-CPU43-EV1 CPU Unit provides a built-in pulse input and output function. It has two dedicated ports for high-speed counting of up to 25-kHz two-phase pulse inputs from a device such as a rotary encoder and outputting up to 50-kHz pulses to a device such as a stepping motor. The CQM1-CPU44-EV1 has two ABS interfaces (absolute encoder interfaces) that can directly receive inputs from absolute-type rotary encoders.
Note In this manual, CQM1-CPU11-E/21-E CPU Units are referred to as standard CPU Units, and CQM1-CPU41-EV1/42-EV1/43-EV1/44-EV1 CPU Units are referred to as highly functional, large-capacity CPU Units.
CPU Unit
Section 2-1
Analog setting controls (CQM1-CPU42-EV1 only) RS-232C Port (except CQM1-CPU11-E) Used for communications with external devices or other PCs. DIP switch Peripheral Port Used to connect to Peripheral Units such as a Programming Console, Data Access Console, or a computer running LSS/SSS.
CPU Unit
Section 2-1
ON OFF
ON
OFF
ON OFF
Note
1. All DIP switch pins except pin 3 are turned OFF at the factory. 2. The above settings apply to CPU Units manufactured from July 1995 (lot number jj75 for July 1995). For CPU Units manufactured before July 1995 (lot number jj65 for June 1995), only 1 stop bit will be set and the baud rate will be 2,400 bps. 3. Pin 6 can be used to control the status of AR 0712 in memory to provide optional control of program execution.
CPU Unit
Section 2-1
2-1-3 Indicators
CPU Unit indicators provide visual information on the general operation of the PC. Although not substitutes for proper error programming using the flags and other error indicators provided in the data areas of memory, these indicators provide ready confirmation of proper operation. CPU Unit indicators are shown below and are described in the following table.
RUN indicator (Green) The indicator here depends on the Unit: CPU43-EV1: Pulse I/O CPU44-EV1: ABS interface
CPU21-E
Input Status Indicators Output inhibited indicator (Orange) Peripheral port (COM1) (Orange) RS-232C port (COM2) (Orange)
Function Lights when the CPU Unit is operating normally. Flashes when there is a non-fatal error. The CPU Unit will continue operating. Lit when there is a fatal error. When this indicator lights, the RUN indicator will go off, CPU Unit operation will be stopped, and all outputs will be turned OFF.
COM1 COM2
Flashes then the CPU Unit is communicating with another device via the peripheral port. Flashes when the CPU Unit is communicating with another device via the RS-232C port. (CQM1-CPU21-E only) Lights when the Output OFF Bit, SR 25215, is turned ON. All PC outputs will be turned OFF. Indicate the ON and OFF status of input bits in IR 000.
OUT INH 0, 1, 2 . . .
CPU Unit
Section 2-1
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 Programming Console.
Mode selector MONITOR RUN PROGRAM
The key cannot be removed when the mode selector is set to PROGRAM.
Note Some Programming Devices (e.g., the Programming Console) will clear the current display and display the new operating mode when the mode selector is changed. You can change the mode without changing the display by first pressing the SHIFT Key and then changing the setting of the mode selector. The function of each mode is described briefly below. PROGRAM Mode PROGRAM mode is used when making basic changes to the PC program or settings, such as transferring, writing, editing, or checking the program, or changing the PC Setup. The program cannot be executed in PROGRAM mode. Output points at Output Units will remain OFF, even when the corresponding output bit is ON. MONITOR mode is used when monitoring program execution, such as making a trial run of a program. The program is executed just as it is in RUN mode, but bit status, timer and counter SV/PV, and the data content of most words can be changed online. Output points at Output Units will be turned ON when the corresponding output bit is ON. RUN mode is used when operating the PC in normal control conditions. Bit status cannot be force set or reset, and SVs, PVs, and data cannot be changed online. Note When a program section is displayed on the Programming Console and the PC is in RUN or MONITOR Mode, the ON/OFF status of bits in that program section will be displayed in the upper-right corner of the display. Mode Changes 1, 2, 3... The factors that determine the initial operating mode of the PC (the mode when the PC is turned on) are listed below in order of importance. 1. No Devices mounted: If no Peripheral Devices are mounted to the PC, the PC will enter RUN mode when turned ON unless the startup mode setting in the PC Setup (DM 6600) has been set to MONITOR or PROGRAM Mode. 2. Programming Console mounted: If the Programming Console is connected to the PC when PC power is applied, the PC will enter the mode set on the Programming Consoles mode selector. 3. Other Peripheral Device mounted: If a Programming Console is not mounted to the PC, but another Peripheral Device is connected to the PC, the PC will enter PROGRAM mode. If the PC power supply is already turned on when a Peripheral Device is attached to the PC, the PC will stay in the same mode it was in before the peripheral
MONITOR Mode
RUN Mode
10
CPU Unit
Section 2-1
device was attached. If the Programming Console is connected, the PC will enter the mode set on the Programming Consoles mode selector once the password has been entered.
110
115.7
120
107
13.5
Note The depth is the same for all Units. Weights The CQM1-CPU11-E weighs 520 g max.; the CQM1-CPU21-E and CQM1-CPU41-EV1, 530 g max. All the other CPU Units weigh 600 g max.
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 Cassette.
1, 2, 3...
1. Remove the mounting bracket from inside the memory cassette compartment.
11
CPU Unit
Section 2-1
2. Slide the Memory Cassette into the CPU Unit on the tracks provided. Press the Memory Cassette in so that the connectors fit securely.
Memory cassette
Mounting bracket
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. Always turn off the CQM1 and remove the Memory Cassette when changing the write-protect switch setting.
! Caution
Read/write
Read-only (writeprotected)
Note Flag AR 1302 will be ON when the write-protect switch is ON. EPROM Version The four EPROM chips listed below can be used in the Memory Cassettes.
EPROM Version 27128 27256 27512 Capacity 8K words 16K words 32K words Access Speed 150 ns 150 ns 150 ns Model Number ROM-ID-B ROM-JD-B ROM-KD-B
12
CPU Unit
Section 2-1
Install an EPROM chip onto the memory cassette as shown in the following diagram.
Be sure that the EPROM version set with the switch on the Memory Cassette agrees with the EPROM version of the installed chip. Refer to the following diagram and table for the location of the switch and its settings.
ON
OFF
off.
Note If power is not turned on for at least one minute before replacing the battery, the capacitor that backs up memory when the battery is
13
CPU Unit
Section 2-1
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. Connect the new battery, place it into the compartment, and close the cover.
The battery error will automatically be cleared when a new battery is inserted. ! WARNING Never short-circuit the battery terminals; never charge the battery; never disassemble the battery; and never heat or incinerate the battery. Doing any of these may cause the battery to leak, burn, or rupturing resulting in injury, fire, and possible loss of life or property.
Power restored
14
CPU Unit
Section 2-1
The value for this control is stored in word 220. The value for this control is stored in word 221. The value for this control is stored in word 222. The value for this control is stored in word 223.
! Caution
While the power is turned on for CQM1-CPU42-EV1 CPU Units, words 220 through 223 are constantly refreshed with the values from these volume controls. Be sure that writing is not executed within this range by the program or peripheral devices.
These two ports can be used to perform the functions described below. Pulse Output Pulses from 10 Hz to 50 kHz can be output. In comparison with pulse output from a contact, wide-frequency band pulses can be output more smoothly while changing frequencies. High-speed pulses input to the port (up to 50 kHz for single phase and 25 kHz for two-phase) can be counted, and processing can be executed according to the count. There are three kinds of count mode: Phase-difference pulse input mode Pulse and direction input mode Increment/Decrement input mode
15
CPU Unit
! Caution
Section 2-1
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. Error (red) Lit when there is an error in the PC Setup for the pulse I/O function, or when operation is interrupted during pulse output.
RDY ERR A1 B1 Z1 A2 B2 Z2 CW1 CCW1 CW2 CCW2
Function Lit during pulse output to port 1 CW. Lit during pulse output to port 1 CCW. Lit during pulse output to port 2 CW. Lit during pulse output to port 2 CCW.
Port 1 A1 B1 Z1
Port 2 A2 B2 Z2
Function Lit when pulse input is ON at phase A for each port. Lit when pulse input is ON at phase B for each port. Lit when pulse input is ON at phase Z for each port.
16
CPU Unit
Section 2-1
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. LED Indicators
Ready (green) Lit when the ABS interface function is ready. Turns off in Program Mode or when an error occurs. Error (red) Lit when there is an error in the PC Setup for the ABS interface function.
RDY IN1 INC1 DEC1 ERR IN2 INC2 DEC2
Function Lit when input bit 0 of each port is ON. Lit when value input for each port is incremented. Lit when value input for each port is decremented.
17
Section 2-2
2-2
External terminals
Crimp connectors should be used for Power Supply Unit wiring and should be less than 7 mm wide. The wires should be 1.04 to 2.63 mm2.
7.0 mm max. 7.0 mm max.
2-2-2 Dimensions
The following diagrams show the dimensions of the four Power Supply Units. All dimensions are in millimeters. CQM1-PA203 CQM1-PA206/PA216/PD026
110 113.7
110 113.7
53.5
85.5
Note The CQM1-PA203 weighs 460 g max. and the CQM1-PA206, CQM1-PA216, and CQM1-PD026 each weigh 560 g max.
18
Section 2-2
The following table shows the current consumption of the CPU Unit and I/O Units:
Unit CPU Units Model Number CQM1-CPU11-E CQM1-CPU21-E CQM1-CPU41-EV1 CQM1-CPU42-EV1 CQM1-CPU43-EV1 CQM1-CPU44-EV1 DC Input Units p CQM1-ID111 CQM1-ID112 CQM1-ID211 CQM1-ID212 CQM1-ID213 CQM1-ID214 AC Input Units Contact Output Units p CQM1-IA121/221 CQM1-OC221 CQM1-OC222 CQM1-OC224 Transistor Output Units p CQM1-OD211 CQM1-OD212 CQM1-OD213 CQM1-OD214 CQM1-OD215 CQM1-OD216 Triac Output Unit p B7A Interface Units I/O Link Unit Analog Input Unit Analog Output Unit Power Supply Units pp y Sensor Unit Linear Sensor Interface Unit Temperature Control Units p G730 Interface Units CQM1-OA221 CQM1-OA222 CQM1-B7Ajj CQM1-LK501 CQM1-AD041 CQM1-DA021 CQM1-IPS01 CQM1-IPS02 CQM1-SEN01 CQM1-LSE01 CQM1-LSE02 CQM1-TC00j/10j CQM1-TC20j/30j CQM1-G7M21 (Master) CQM1-G7N11/01 Expansion Master CQM1-SRM21 CQM1-DRT21 Current Consumption (5 VDC) 800 mA 820 mA 820 mA 820 mA 980 mA 980 mA 85 mA 170 mA 50 mA 85 mA 170 mA 170 mA 50 mA 430 mA 850 mA 440 mA 90 mA 170 mA 240 mA 170 mA 110 mA 240 mA 110 mA 250 mA 100 mA 150 mA 80 mA 90 mA 420 mA 950 mA 600 mA max. 380 mA 450 mA 220 mA 190 mA 250 mA 80 mA 180 mA 80 mA
CompoBus Units p
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 2) + (0.85 3) = 3.54 A 3.6 A
19
I/O Units
Section 2-3
2-3
I/O Units
There are two basic types of I/O Units available: Terminal block types and connector 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 Transistor Output Units (32 pts.) are connector-type I/O Units.
Unit DC Input Unit p Model number CQM1-ID111 CQM1-ID112 CQM1-ID211 CQM1-ID212 CQM1-ID213 CQM1-ID214 AC Input Unit p Contact Output Unit CQM1-IA121 CQM1-IA221 CQM1-OC221 CQM1-OC222 CQM1-OC224 Transistor Output Unit CQM1-OD211 CQM1-OD212 CQM1-OD213 CQM1-OD214 CQM1-OD215 CQM1-OD216 Triac Output Unit p CQM1-OA221 CQM1-OA222 Specifications 16 input points, 12 V 32 input points, 12 V 8 input points, 12 to 24 V, independent commons 16 input points, 24 V 32 input points, 24 V 32 input points, 24 V 8 input pts., 100 to 120 V 8 input pts., 200 to 240 V 8 output points, 2 A (independent commons, 16 A per Unit) 16 output points, 2 A (8 A per Unit) 8 output points, 2 A (independent commons, 16 A per Unit) 8 output points, 2A (5 A per Unit) 16 output points, 0.3 A 32 output points, 0.1 A 16 output points, 0.3 A, PNP output 8 output points, 1 A (4 A/Unit), PNP output, with short-circuit protection 32 output points, 0.5 A (5 A/ Unit), PNP output, with shortcircuit protection 8 output pts., 0.4 A 6 output pts., 0.4 A Weight 180 g max. 160 g max. 180 g max. 180 g max. 160 g max. 160 g max. 210 g max. 210 g max. 200 g max. 230 g max. 270 g max. 200 g max. 180 g max. 160 g max. 210 g max. 240 g max. 210 g max. 240 g max. 240 g max.
Terminals Terminal Block Type (CQM1-OC224) Terminal Block Type (other than CQM1-OC224) Connector Type
20
I/O Units
Section 2-3
Max. No. of I/O points 128 pts (8 words) max. 256 pts (16 words) max. 192 pts (12 words) max.
Model CQM1-CPU11/21-E CQM1-CPU11/21-E CQM1-CPU41-EV1 CQM1-CPU42-EV1 CQM1-CPU43-EV1 CQM1-CPU44-EV1 (CQM1-CPU41-E) (CQM1-CPU42-E) (CQM1-CPU43-E) (CQM1-CPU44-E)
Max. No. of I/O points 128 p max. (8 words) pts ( ) 256 pts (16 words) p ( ) max.
I/O and Special I/O Units 7 Units max. (16 pts/Unit x 7 Units = 7 words) / 11 Units max. (I/O or Special I/O Units can be /O S /O connected until the total number of words for I/O and Special I/O Units is 15 words or less) 11 Units max. (16-pt Units x 11 Units = 11 words max ) max.)
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 exceeds the maximum number of I/O Units specified above for the CQM1-CPU4j-EV1 as long as the maximum number of I/O points is not exceeded. Be sure to confirm that the number of Units mounted does not exceed the specified maximum number of I/O Units.
21
I/O Units
Section 2-3
To remove the terminal block, push the connector tabs to the sides and lift the terminal block off of the connector, as shown in the following diagram.
Crimp connectors for I/O Unit wiring should be less than 6.2 mm wide (M3), and the wire should be AWG22 to 18 (0.3 to 1.75 mm2).
6.2 mm max. 6.2 mm max.
! Caution
107 mm Approx. 140 mm* *Approximately 120 mm when pressure-welded connectors are used.
107 mm 131.7 mm
22
I/O Units
Section 2-3
110 115.7
32
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 Supply Unit, as indicated.
115.7
107
Note The I/O capacity of CQM1-CPU4j-EV1 CPU Unit has been increased to
23
Section 2-4
2-4
PC Orientation
Correct
Wrong Wrong
2. The yellow locking tabs at the top and bottom of each Unit lock the Units together. Slide these locking tabs towards the back of the Units as shown below.
Slider Lock Release
24
Section 2-4
3. Attach the End Cover to the Unit on the far right side of the PC.
End Cover
! Caution
Be sure to attach the End Cover to the Unit on the far right side of the PC. The PC will not operate properly if the End Cover is not connected.
Use the following procedure to install a CQM1 PC on DIN Track. 1, 2, 3... 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.
3. Fit the back of the PC onto the DIN Track by inserting the top of the track and then pressing in at the bottom of the PC, as shown below.
Din track
25
Section 2-5
5. Install a DIN Track Bracket on each side of the PC. To install a bracket, hook the bottom of the Bracket on the bottom of the track, rotate the Bracket to hook the top of the Bracket on the top of the track, and then tighten the screw to lock the Bracket in place.
2-5
An insulating transformer greatly reduces the noise that may be induced between the power line and ground. Do not ground the secondary side of the insulating transformer.
! 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.
26
Section 2-5
The following diagram shows the terminal blocks for the two AC Power Supply Units.
CQM1-PA206 CQM1-PA216 Use an AC power supply between 100 and 240 VAC. Noise filter neutral terminal Protective earth terminal Use the 24 VDC, 0.5 A terminals to supply power to DC Input Units. Use an AC power supply of 100 or 230 VAC. Voltage selector Short: 100 VAC Open: 230 VAC Protective earth terminal Use the 24 VDC, 0.5 A terminals to supply power to DC Input Units.
AC input
AC input
AC input
LG GR
The wire used should be at least 2 mm2. Provide the grounding point as close to the CQM1 PC as possible. ): ! WARNING LG ( or Noise filter neutral terminal. Short-circuit the LG ( or ) terminal and GR ( ) terminals using the attached short-circuit bar and ground them at a resistance of less than 100 to reduce noise and prevent electric shock. ! WARNING GR ( ): Protective earth terminal. Connect to a separate ground wire of at least 2 mm2 to ground the terminal at a resistance of less than 100 to prevent electric shock. ! Caution Avoid sharing the grounding wire with other equipment or attaching to the beam of a building, otherwise it may cause an adverse effect.
Correct
CQM1 Other equipment
Incorrect
CQM1 Other equipment
Twist
27
Section 2-5
Be sure that the DC power supply voltage remains within the allowed fluctuation range of 20 to 28 VDC. The following diagram shows the terminal blocks for the DC Power Supply Unit.
CQM1-PD026 Provide a 24-VDC power supply.
Terminal Block
DC input
The wire used should be at least 2 mm2. Provide the grounding point as close to the CQM1 PC as possible. Note To satisfy the EC directives (low-voltage directive), provide reinforced insulation or double insulation for the power supply. ): ! WARNING LG ( or 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 to reduce noise and prevent electric shock.
! WARNING GR ( ): Protective earth terminal. Connect to a separate ground wire of at least 2 mm2 to ground the terminal at a resistance of less than 100 to prevent electric shock.
! Caution
Avoid sharing the grounding wire with other equipment or attaching to the beam of a building, otherwise it may cause an adverse effect.
Correct
CQM1 Other equipment
Incorrect
CQM1 Other equipment
28
Section 2-5
In order to improve the electromagnetic compatibility (EMC), connect the LG ( or ) terminal to the screw on the end plate using the supplied DIN-track connecting cable.
Short-circuit bar (Supplied with the CQM1 PC) Grounding wire (Use a wire of at least 2 mm2 to ground at a resistance of less than 100 .)
Note Definition of EMC: The EMC refers to the capacity of equipment represented in terms of emission, which indicates the degree to which electromagnetic waves produced by equipment do not affect other communications equipment, and also in terms of immunity, which indicates the degree of resistance against electromagnetic disturbance.
! WARNING Do not apply voltages exceeding the input voltages to Input Units nor voltages exceeding the switching capacity to Output Units. Doing so may result in damage or destruction of the I/O Unit or result in fire.
29
Section 2-5
A leakage current can cause false inputs when using 2-wire sensors (proximity switches or photoelectric switches) or limit switches with LEDs on 24 VDC. If the leakage current exceeds 1.3 mA, insert a bleeder resistor in the circuit to reduce the input impedance, as shown in the following diagram.
Input power supply 2-wire method sensor, etc. Bleeder resistor R SYSMAC
R = 7.2/(2.4I- k max. -3) W = 2.3/R W min. Input voltage (24) R Input current (10) Input voltage (24) R + Input current (10)
I: Devices leakage current (mA) R: Bleeder resistance (k) W: Bleeder resistors power rating (W)
The equations above were derived from the following equation: I OFF voltage (3)
Inrush Current
The following diagram shows two methods that can be used to reduce the large inrush current caused by certain loads, such as incandescent light bulbs.
Example 1 OUT R COM Generating a dark current (about 1/3 of the rated current) through the incandescent bulb. COM Inserting a regulating resistance. OUT R Example 2
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. Leave at least 300 mm between the power cables and the I/O wiring, as shown in the following diagram.
Low current cables 300 mm min. Control cables and CQM1 power lines 300 mm min. Power cables
30
Section 2-5
If the I/O wiring and power cables must be placed in the same duct (for example, where they are connected to the equipment), shield them from each other using grounded metal plates. In addition, use shielded cables for the I/O signal lines to improve noise immunity. Also, connect the shielded cables to the GR terminal of the PC.
Low current cables Control cables and CQM1 power lines Power cables Metal plate (iron)
200 mm min.
When connecting an inductive load to an I/O Unit, connect a diode in parallel with the load. The diode should satisfy the following requirements: 1. Peak reverse-breakdown voltage must be at least 3 times the load voltage. 2. Average rectified current must be 1 A.
Inputs IN Diode COM DC input Contact output Transistor output COM Outputs OUT Diode
! Caution
Do not apply a voltage exceeding the maximum permissible input voltage of the Input Unit or the maximum switching capacity of the Output Unit, otherwise the Units may be damaged, a malfunction may occur, or a fire may result. When connecting an external device with a DC output to a DC Input Unit, wire the device as shown in the following table.
Circuit Diagram
Input Devices
Device Contact output
Relay
IN
COM(+)
IN COM(+)
0V
31
Section 2-5
Circuit Diagram
Use the same power supply for the input and sensor. + Output 0V
Sensor power supply
IN + COM(+)
+ Output 0V
IN COM(-)
Voltage output
IN
The following conditions must be met when using a 2-wire DC sensor input from a 12-/24-VDC input device. Malfunctions will occur if these connections are not met. 1. The relationship between the PCs ON voltage and the sensors residual voltage must be as follows: VON VCC -- VR 2. The relationship between the PCs ON current and the sensors control output (load current) must be as follows: IOUT (min.) ION IOUT (max.) Where, ION = (VCC -- VR -- 1.5 (residual voltage in PC))/RIN If ION is less than IOUT (min.), connect a bleeder resistor, R. The resistance constant of the bleeder resistor can be calculated as follows: R (VCC -- VR)/(IOUT (min.) -- ION) Power W (VCC -- VR)2/R x 4 (tolerance) 3. The relationship between the PCs OFF current and the sensors residual current must be as follows: IOFF Ileak Refer to Leakage Current (24 VDC) earlier in this section for details.
1, 2, 3...
32
Section 2-5
The value of IOFF is different for different Units, and is 1.3 mA for all Units for which the OFF current is not listed in the Unit specifications.
DC Input Unit
2-wire sensor
VR VCC
RIN
Power supply voltage PCs ON voltage PCs ON current PCs OFF current PCs input impedance
Sensors output residual voltage Sensors control output (load current) Sensors leakage current Bleeder resistor
Requirement
Examples
Inductive Load Surge Suppressor
33
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
C 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. Here, the reset time will be increased even more than for the CR method. The reverse dielectric strength of the diode must be 10 times the circuit voltage and the forward current must be at least as high as that of the load. If the circuit voltage is low enough, as it is for most electronic circuits, then the reverse dielectric strength of the diode can be as low as 2 to 3 times the circuit voltage.
Inductive load
Power supply
Varistor (AC or DC) The method uses the fixed voltage characteristics of a varistor to prevent high voltages from being applied to the contacts. Here, as well, the reset time will be increase somewhat. Connect the varistor between the load connections for 24-V and 48-V power supply voltages and between the contact connections for 100 to 200-V power supply voltages.
Inductive load
Power supply
When connecting an output device having a high surge current (such as an incandescent lamp), use one of the following circuit configurations to protect the Output Unit. The following circuit lets the load draw a small current (about one third the rated current) while the output is OFF, significantly reducing the surge current.
OUT R COM L +
34
Section 2-5
The following circuit reduces the surge current by employing a current-limiting resistor.
R
OUT COM
A soldered-type socket and connector cover are provided with each I/O Unit. Recommended Wire Use AWG26 to 24 (0.2 to 0.13 mm2) 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 soldertype connectors. First pass the electrical wires through heat-contraction tubes and solder them to the socket pins.
Connector
After soldering all of the necessary pins, slide the heat-contraction tubes over the soldered areas of the respective wires. Then shrink the tubes by heating them with a jet of hot air.
Heat-contraction tube
35
Section 2-5
Finally, assemble the socket and connector cover as shown below.
Connector cover Small screws (3)
Small screws (2) Socket Cable clamp Connector lock screw Nuts (3) Nuts (2)
1 mm Soldering iron Fold back the shield. Heat-contraction tube Inner diameter: 1.5 mm, l = 10
After soldering all of the necessary pins, slide the heat-contraction tubes over the soldered areas of the respective wires. Then shrink the tubes by heating them with a jet of hot air.
Heat-contraction tube
36
Section 2-5
Assemble the socket and hood as shown in the illustration below. At the connector on the CQM1 side, wrap aluminum tape around the twisted wire as shown in the illustration, and secure the wire to the hood.
CQM1-CIF02
Peripheral port
The CQM1 CPU Unit can be connected to a C200H-PRO27-E Programming Console with a standard C200H-CN222 (2 m) or C200H-CN422 (4 m) Connecting Cable. The CQM1 CPU Unit can be also connected to a CQM1-PRO01-E. The CQM1-PRO01-E is provided with a 2-m Connecting Cable.
CQM1
Programming Console
Peripheral port
37
Section 2-5
Host link
RS-232C
1 to 1 link
Personal computer
Printer
CQM1-CPU21-E/4j-EV1
RS-232C Specifications
The specifications for the RS-232C port are given below. Devices that meet these specifications can be connected. Connector Pin Assignments Pin assignments for the RS-232C port are given in the following table.
Pin 1 Abbreviation FG SD (TXD) RD (RXD) RS (RTS) CS (CTS) ------SG FG Send data Receive data Request to send Clear to send Not used. Not used. Not used. Signal ground Field ground Name Field ground --Output Input Output Input ----------Direction
2 3 4
5 6 7 8 9 Connector fitting
38
Section 2-5
Connections The connections between the CQM1 and a personal computer are illustrated below as an example.
CQM1 Signal FG SD RD RS CS SG Pin No. 1 2 3 4 5 6 7 8 9 Shielded cable Personal Computer Pin No. 1 2 3 4 5 6 7 8 9 Signal RD SD DTR SG DSR RS CS -
Applicable Connectors The following connectors are applicable. One plug and one hood are included with the CPU Unit. Plug: XM2A-0901 (OMRON) or equivalent Hood: XM2S-0901 (OMRON) or equivalent Port Specifications
Item Communications method Sync Baud rate Transmission method Transmission distance Interface Half duplex Start-stop 1,200, 2,400, 4,800, 9,600, or 19,200 bps Point to point 15 m max. EIA RS-232C Specification
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 Signal Abb. FG SD RD RS CS SG Pin No. 1 2 3 4 5 6 7 8 9 Pin No. 1 2 3 4 5 6 7 8 9 CQM1 Signal Abb. FG SD RD RS CS SG
39
Unit Specifications
Section 2-6
2-6
Unit Specifications
Item CQM1-PA203 100 to 240 VAC, 50/60 Hz 85 to 264 VAC 47 to 63 Hz 60 VA max. 30 A max. 5 VDC: 3.6 A (18 W) 5 VDC: 6 A 24 VDC: 0.5 A (30 W total) 20 M min. (at 500 VDC) between AC external terminals and GR terminals (see note 1) 5 VDC: 6 A (30 W) 120 VA max. CQM1-PA206 CQM1-PA216 100 or 230 VAC (selectable), 50/60 Hz 85 to 132 VAC or 170 to 264 VAC CQM1-PD026 24 VDC 20 to 28 VDC --50 W max.
Dielectric strength
20 M min. (at 500 VDC) between AC external terminals and GR terminals (see note 1) 2,300 VAC 50/60 Hz for 1 min between AC external and GR terminals, (see note 1) leakage current: 10 mA max. 1,000 VAC 50/60 Hz for 1 min between DC external and GR terminals, (see note 1) leakage current: 20 mA max. 1,500 Vp-p, pulse width: 100 ns to 1 s, rise time: 1 ns (via noise simulation) 10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s2 (see note 2) in X, Y, and Z directions for 80 minutes each (Time coefficient; 8 minutes coefficient factor 10 = total time 80 minutes) 147 m/s2 (21.8 m/s2 for Contact Output Units) 3 times each in X, Y, and Z directions Operating: 0 to 55C Storage: --20 to 75C (except battery) 10% to 90% (with no condensation) Must be free from corrosive gasses Less than 100 Mounted in a panel 5 kilograms max. 219 to 443 110 107 mm (WHD)
Noise immunity Vibration resistance Shock resistance Ambient temperature Humidity Atmosphere Grounding Enclosure rating Weight Dimensions (without cables)
Note
1. Disconnect the LG terminal of the Power Supply Unit from the GR terminal when performing insulation and dielectric strength tests. If the tests are repeatedly performed with the LG and GR terminals short-circuited, the internal components may be damaged. 2.
9.8
Acceleration (m/s2)
40
Unit Specifications
Item Instruction length Types of instructions Execution time Program capacity Input bits Output bits Work bits CQM1-CPU11-E/21-E
CQM1-CPU41 -EV1 CQM1-CPU42 -EV1
Section 2-6
CQM1-CPU43-EV1 /44-EV1
1 step per instruction, 1 to 4 words per instruction 117 instructions (14 basic types) Basic instructions: Special instructions: 3.2K words 00000 to 01115 10000 to 11115 2720 bits min. I/O total within 128 points (8 words) 01200 to 09515 11200 to 19515 21600 to 21915 22400 to 22915 Analog SV area Used as work bits. High-speed Counter 1,2 PV Pulse output 1, 2 volume (CPU43-EV1 only) 137 instructions (14 basic types) 0.50 to 1.50 s 24 s (MOV instruction) 7.2K words I/O total within 256 points (12 words)
20000 to 21515: Used as work bits. 22000 to 22315: Used as work bits. 23200 to 23515: Used as work bits. 23600 to 23915: Used as work bits.
24000 to 24315: Used as work bits. MACRO instruction bits High-speed Counter 0 PV Special bits (SR area)
Temporary bits (TR area)
Inputs: 64 bits (IR 09600 to IR 09915) Outputs: 64 bits (IR 19600 to IR 19915) 32 bits (IR 23000 to IR 23115) 192 bits (IR 24400 to IR 25515) 8 bits (TR0 to TR7) 1,600 bits (HR 0000 to HR 9915) 448 bits (AR0000 to AR 2715) 1,024 bits (LR 0000 to LR6315) 512 timers/counters (TIM/CNT 000 to TIM/CNT 511).Interrupt refreshing possible for TIM 000 to TIM 015 (high-speed timer only).Interval timers 0 to 2 (interval timer 2 is used with the high-speed counter 0). High-speed counter input. In addition to the specifications on the left, high-speed counter 1, 2 inputs (2 pts.)
Holding bits (HR area) Auxiliary bits (AR area) Link bits (LR area) Timers/counters
Data memory
6,144 words (DM 0000 to DM 6143) plus DM 6144 to DM 6655 (read-only) In addition to the specifications on the left, high-speed counter 1, 2 interrupts (2 pts.)
Interrupt processing
External interrupts: 4 Scheduled interrupts: 3 (one of which can be used as a high-speed counter interrupt and one of which can be used as pulse output)
HR, AR, and DM area contents; counter values; and clock (RTC) values maintained during power interruptions. Battery life is 5 years regardless of presence or absence of clock (RTC). Backup time varies with ambient temperature. If BAT ERR indicator lights, replace the battery with a new one within 1 week. Connect new battery within 5 min of removing battery. CPU Unit failure (watchdog timer), I/O bus error, memory failure, battery error, and host link error No END instruction, programming errors (continuously checked during operation)
41
Unit Specifications
Section 2-6
Specifications CQM1-CPU43-EV1 (Built-in pulse function type) 24 VDC 10% Encoder inputs A, B; pulse input Z
20.4 VDC min. 4.0 VDC max. Pulse input Z: A minimum pulse width of 0.1 ms is required.
0.1 ms min.
ON 50% OFF
3 s max. 3 s max.
ON 50% OFF
A minimum of 4.5 s must be allowed for changing between phase A and phase B.
42
Unit Specifications
Item Pulse output p Signals Output frequency Max. switching capacity Min. switching capacity Leakage current Residual voltage External power supply Pulse output specifications Pulse output CW, CCW 50 kHz (20 kHz max. when stepping motor is connected) NPN open collector, 30 mA, 5 to 24 VDC 10% NPN open collector, 7 mA, 5 to 24 VDC 10% 0.1 mA max. 0.4 V max. 5 VDC 10%, 30 mA min. 24 VDC +10%/ --15%, 30 mA min. Minimum pulse width
ON OFF tOFF tON 90% 10%
Section 2-6
Specifications
Switching current/Load power supply voltage Pulse frequency 7 to 30 mA/5 VDC 10% t ON 10 kpps max. 30 kpps max. 50 kpps max. t OFF 7 to 30 mA/24 VDC +10/ --15% t ON t OFF
49.5 s min. 48.5 s min. 49.6 s min. 46.0 s min. 19.5 s min. 18.5 s min. 19.6 s min. 16.0 s min. 9.5 s min. 8.5 s min. 9.6 s min. 6.0 s min.
Rectifier
B: 24 VDC B: 12 VDC
2 . . . . . Pulse input
Rectifier
Z: 24 VDC Z: 12 VDC
43
Unit Specifications
Pulse Output Section
Pin no.
Low voltage circuit
Section 2-6
15 . . . . Power supply input for output 7 . . . . . Power supply input for output 8 . . . . . Power supply input for output
1.6 k (1/2 W)
Provide either one of these power supplies. Do not provide both, or the circuits will be damaged.
1.6 k (1/2 W)
14 . . . . CW pulse output / PWM output (with 1.6-k resistance) 6 . . . . . CW pulse output / PWM output 12 . . . . Output common (0 V)
Signals Input common Pulse input Encoder input Encoder input Z: 24 VDC A: 24 VDC B: 24 VDC
4
15
5 6 7 8 9 10
CCW pulse output CW pulse output / PWM output Power supply input for output: 5 VDC Power supply input for output: 5 VDC Pulse input Encoder input Encoder input Z: 12 VDC A: 12 VDC B: 12 VDC
11 12 13 14 15
Output common (0 V) CCW pulse output (with 1.6- resistance) CW pulse output / PWM output (with 1.6- resistance) Power supply input for output: 24 VDC
44
Unit Specifications
Wiring Examples
Section 2-6
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 Pin no. 3, 10 4, 11 Signal name Encoder input A Encoder input B Phase-difference input mode Encoder phase A output Encoder phase B output Encoder outputs Pulse + direction input mode Direction signal output Pulse output Inc/Dec pulse input mode Decrement pulse output Increment pulse output
Encoder input B 1 2 3 2 1
Decrement
Encoder input A
Encoder input B 1 2 3 2 1
Increment
Decrement
45
Unit Specifications
Section 2-6
For example, the following diagram shows the connection of an encoder with phases A, B, and C.
(Do not share the power supply with other I/O.) 12-VDC 12 VDC (+) power supply 0V (--) Power provided here Encoder
CQM1-CPU43-EV1
24 V 12 V
Rectifier
IA
IA Encoder output
24 V 12 V
Rectifier
4 11
IR
IR
24 V 12 V
Rectifier
2 9 1
IZ E
IZ
COM
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 power supply
15 7 8 1.6 k 13 5 CCW pulse output + -
CQM1-CPU43-EV1
24-VDC power supply input
Motor driver (for 5-V input) Example: R = 220 (+) (--) Approx. 15 mA CCW input
Twisted-pair wire
46
Unit Specifications
When a 24-VDC Power Supply is Used
Section 2-6
CQM1-CPU43-EV1
24-VDC power supply input 15 7 8 1.6 k 13 5 CCW pulse output
Motor driver (for 5-V input) Example: R = 220 (+) (--) CCW input
Approx. 12 mA
1.6 k 14 6
CW pulse output 12
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.
! Caution
Be careful when connecting the power supply inputs for the output section. If both 5-VDC and 24-VDC power supplies are provided, and if they are accidentally reversed, the CPU Unit and the power supply may be damaged. For the pulse output, connect a 7-mA to 30-mA load. (If using a load smaller than 7 mA, install a bypass resistor.) Two 1.6-k (1/2 W) resistors are built into the internal circuitry (pin numbers 13 and 14) for the pulse output. Use either one of the following outputs, to conform with the power supply, motor driver, and so on, that are used.
7 to 30 mA
Output
7 to 30 mA
Output transistor
Output transistor
47
Unit Specifications
Section 2-6
The built-in 1.6-k resistors can be used as bypass resistors as shown in the example diagram below. In this example, the output-section transistor current of 7 mA equals the load current of 4 mA plus the bypass current of 3 mA.
CQM1-CPU43-EV1
24-VDC power supply input 15 7 8 1.6 k 13
Motor driver (for 5-V input) When load current = approx. 4 mA (+) (--) Approx. 4 mA (+) Approx. Approx. 4 mA Twisted-pair wire (--) CW input CCW input
1.6 k 14 6 3 mA
Approx. 7 mA
CW pulse output
12
The pulse output sections internal circuit transistor is off while pulse output is stopped.
ON Output transistor OFF During pulse output
48
Unit Specifications
Internal Circuit Configuration
Section 2-6
Bit no.
2 . . . . . Encoder input
10 . . . . Encoder input
Signals Input common Encoder input, grey code 211 bit Encoder input, grey code 29 bit Encoder input, grey code 27 bit Encoder input, grey code 25 bit Encoder input, grey code 23 bit Encoder input, grey code 21 bit NC Input common Encoder input, grey code 210 bit Encoder input, grey code 28 bit Encoder input, grey code 26 bit Encoder input, grey code 24 bit Encoder input, grey code 22 bit Encoder input, grey code 20 bit
5 6 7 8 9 10 11 12 13 14 15
! Caution
The only absolute-type encoder that can be connected is the grey binary code output type.
49
Unit Specifications
Wiring Example
Section 2-6
(Do not share the power supply with other I/O.) 24-VDC 24 VDC (+) power supply 0V (--) Twisted-pair wire with shield CQM1-CPU44-EV1 211 2 Power provided here Encoder
210
10
21
20
COM
15 1 9 E
COM
50
Unit Specifications
Section 2-6
CQM1-CPU11-E/21-E/41-EV1/42-EV1/43-EV1/44-EV1 24 VDC +10%/ --15% IN4 and IN5: 2.2 k; other inputs: 3.9 k IN4 and IN5: 10 mA typical; other inputs: 6 mA typical (at 24 VDC) 14.4 VDC min. 5.0 VDC max. Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup; see note) Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup; see note) 16 points (16 inputs/common, 1 circuits)
Input LED
COM
Internal Circuits
Note Figures in parentheses are for IN4 and IN5. The input power supply polarity may be connected in either direction. Terminal Connections
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 COM COM 0 A0 B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8 B0
Note IN0 through IN3 can be set for use as input interrupts in the PC Setup. The ON and OFF delays for input interrupts are fixed at 0.1 ms max. and 0.5 ms max., respectively. IN4 through IN6 can be set for use as high-speed counter interrupts. The delays for high-speed counter interrupts are shown in the following table.
Input IN4 (A) IN5 (B) IN6 (Z) Increment input mode 5 KHz Normal input ON: 100 s min. required; OFF delay: 500 s min. required Differential phase mode 2.5 KHz
51
Unit Specifications
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. ON Phase A OFF 90 s min.
Section 2-6
T1
T2
T3
T4
Input Z (IN6)
100 s min. ON Phase Z OFF 500 s min.
52
Unit Specifications
Section 2-6
CQM1-ID111
Note The input power supply polarity may be connected in either direction. Terminal Connections
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 COM COM A0 B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8 B0
53
Unit Specifications
Item Input Voltage Input Impedance Input Current ON Voltage OFF Voltage ON Delay OFF Delay No. of Inputs Internal current consumption Weight Circuit Configuration 12 VDC 2.2 k 4 mA typical (at 12 VDC) 8.0 VDC min. 3.0 VDC max. Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup) Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup) 32 points (32 inputs/common, 1 circuit) 5 VDC, 170 mA max. 160 g max.
COM IN00 A IN07 COM IN08 IN15 COM IN00 B IN07 COM IN08 IN15 750 2.2 k Input LED 750 2.2 k Input LED Internal Circuit
+10%/ --15%
Section 2-6
CQM1-ID112
Terminal Connections
A 1 2 3 4 5 6 7 8 9 11
B 1 2 3 4 5 6 7 8 9 11
10 10 12 12 13 13 14 15 16 17 18
The polarity of the input power supply can be either plus or minus. The polarity of all the commons, however, must match. The respective COMs are internally connected, but they all must be wired.
12 14 13 15 14 16 15 17 COM 18 NC NC
19 19 20 20
54
Unit Specifications
Section 2-6
CQM1-ID211 12 to 24 VDC 2.4 k 10 mA typical (at 24 VDC) 10.2 VDC min. 3.0 VDC max. Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup, see note) Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup, see note) 8 points (independent commons) 50 mA max. at 5 VDC 180 grams max.
Input LED
+10%/ --15%
CQM1-ID212 24 VDC 3.9 k 6 mA typical (at 24 VDC) 14.4 VDC min. 5.0 VDC max. Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup, see note) Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup, see note) 16 points (16 points/common, 1 circuit) 85 mA max. at 5 VDC 180 grams max.
IN0 to IN15 COM Input LED 3.9 k 560 Internal Circuits
+10%/ --15%
INc
Note The input power supply polarity may be con- Note The input power supply polarity may be connected in either direction. nected in either direction. Terminal Connections
+ + + + + + + + + + + + + + + 0 c0 1 c1 2 c2 3 c3 4 c4 5 c5 6 c6 7 c7 NC A0 B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8 B0 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 COM COM A0 B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8 B0
+ NC
55
Unit Specifications
Section 2-6
Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup) Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup) 32 points (32 inputs/common, 1 circuit) 32 points (32 inputs/common, 1 circuit) Number of simultaneously ON inputs is limited by ambient temperature. See diagrams after table. 5 VDC, 170 mA max.
160 g max.
COM IN00 A IN07 COM IN08 IN15 COM IN00 B IN07 COM IN08 IN15 620 5.6 k Input LED 620
160 g max.
COM IN00 A 5.6 k Input LED Internal Circuit B IN07 COM IN08 IN15 COM IN00 IN07 COM IN08 IN15
0 1 2 3 4 A 1 2 3 4 5 6 7 8 9 11 B 1 2 3 4 5 6 7 8 9 11 Wd (m+1) 0 1 2 3 4 5 6 7 COM 8 9 10 11 + 24 VDC 24 VDC + + 24 VDC 24 VDC + Wd m 0 1 2 3 4 5 6 7 COM 8 9 10 11 12 13 14 15 COM NC NC A 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 B 1 2 3 4 5 6 7 8 9 10 11 12 13 Wd (m+1) 0 1 2 3 4 5 6 7 COM 8 9 10 11 + 24 VDC + 24 VDC
620 3.9 k Input LED Internal Circuit 620 3.9 k Input LED
Terminal Connections
Wd m
24 VDC +
5 6 7 COM 8 9 10
10 10 12 12 13 13 14 15 16 17 18
24 VDC +
11 12 13 14 15 COM NC NC
12 14 13 15 14 16 15 17 COM 18 NC NC
12 14 13 15 14 16 15 17 COM 18 19 20 NC NC
19 19 20 20
The polarity of the input power supply can be either plus or minus. The polarity of all the commons, however, must be the same. The COMs are internally connected, but they all must be wired.
The polarity of the input power supply can be either plus or minus. The polarity of all the commons, however, must be the same. The COMs are internally connected, but they all must be wired.
56
Unit Specifications
Number of Simultaneously ON Inputs for CQM1-ID214
Ambient Temperature for Simultaneously ON Points Input voltage: 24.0 VDC 35 Simultaneously ON points 30 25 20 15 10 5 0 0 5 10 15 20 25 30 35 40 45 50 55 60 Ambient temperature (C) Input voltage: 26.4 VDC
Section 2-6
57
Unit Specifications
Section 2-6
50/60 Hz
50/60 Hz
20 k (50 Hz), 17 k (60 Hz) 5 mA typical (at 100 VAC) 60 VAC min. 20 VAC max. 35 ms max. 55 ms max. 8 points (8 points/common, 1 circuit) 50 mA max. at 5 VDC 210 grams max.
IN IN 470 68 k Internal Circuits 0.15 F 2.7 k Input LED
38 k (50 Hz), 32 k (60 Hz) 6 mA typical (at 200 VAC) 150 VAC min. 40 VAC max. 35 ms max. 55 ms max. 8 points (8 points/common, 1 circuit) 50 mA max. at 5 VDC 210 grams max.
IN IN 820 220 k Internal Circuits 0.082 F 8.2 k
0 1 B1 2 3 B2 4 5 B3 6 7 B4 NC NC B5 NC NC B6 NC NC NC NC B8 COM COM 200 to 240 VAC A8 A7 B8 A4 B5 A5 B6 A6 B7 A0 B1 A1 B2 A2 B3 A3 B4
Input LED
COM
COM
Terminal Connections
B0
B0
A1
A2
A3
A5
A6 B7
58
Unit Specifications
Section 2-6
CQM1-OC222 2 A, 250 VAC (cos= 1) 2 A, 250 VAC (cos= 0.4) 2 A, 24 VDC (8 A/Unit) 10 mA, 5 VDC G6D-1A Electrical: 300,000 operations (resistive load) 100,000 operations (inductive load) Mechanical: 20,000,000 operations 10 ms max. 5 ms max. 16 points (16 points/common, 1 circuit)) 850 mA max. at 5 VDC 230 grams max.
Output LED Internal Circuits COM Maximum 250 VAC: 2 A 24 VDC: 2 A OUT0 OUT15
Terminal Connections
0 c0 1 c1 2 c2 3 c3 4 c4 5 c5 6 c6 7 c7 NC NC A0
B0 B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8
B0
59
Unit Specifications
Item Max. Switching Capacity Min. Switching Capacity Relay Service Life of Relay ON Delay OFF Delay No. of Outputs Internal Current Consumption Weight Circuit Configuration 2 A, 250 VAC (cos= 1) 2 A, 250 VAC (cos= 0.4) 2 A, 24 VDC (16 A/Unit) 10 mA, 5 VDC G6R-1A or G6RN-1A Electrical: 300,000 operations Mechanical: 10,000,000 operations 15 ms max. 5 ms max. 8 points (independent commons) 440 mA max. at 5 VDC 270 grams max.
Output LED OUT Internal Circuits OUTc Maximum 250 VAC: 2 A 24 VDC: 2 A
Section 2-6
CQM1-OC224
Terminal Connections
0 c0 1 c1 2 c2 3 c3 4 c4 5 c5 6 c6 7 c7 NC NC A0
B0 B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8
60
Unit Specifications
Section 2-6
CQM1-OD211
Terminal Connections
1
0 2 3 4 5 6 7 NC NC NC NC NC NC NC NC +DC COM A0
B0 B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8
Note Do not reverse the connections for +DC and the common. If +DC and the common are connected incorrectly, internal circuits may be damaged.
61
Unit Specifications
16-point Transistor Output Unit
Item Max. Switching Capacity Leakage Current Residual Voltage ON Delay OFF Delay No. of Outputs Internal Current Consumption Fuse Service Power Supply Weight Circuit Configuration 0.1 mA max. 0.8 V max. 0.1 ms max. 0.4 ms max. 16 points (16 points/common, 1 circuit) 170 mA max. at 5 VDC 5 A (one per common), one only Fuse is not user replaceable. 40 mA min. at 5 to 24 VDC 10% (2.5 mA number of ON points) 180 grams max.
Output LED Internal Circuits +V OUT0 to OUT15 COM Fuse 5A 4.5 to 26.4 VDC
Section 2-6
Terminal Connections
62
Unit Specifications
32-point Transistor Output Unit
Item Max. Switching Capacity Leakage Current Residual Voltage ON Delay OFF Delay No. of Outputs Internal Current Consumption Fuse Service Power Supply Weight Circuit Configuration Units manufactured on or before December 28th, 1999 (manufacturing numbers 28Z9 or earlier*)
4.5 to 26.4 VDC OUT00 OUT07 COM 4.5 to 26.4 VDC OUT08 OUT15 COM 4.5 to 26.4 VDC OUT00 OUT07 COM 4.5 to 26.4 VDC OUT08 OUT15 COM B Output LED A Internal Circuit Output LED
Section 2-6
CQM1-OD213 16 mA at 4.5 VDC to 100 mA at 26.4 V (see diagram below) 0.1 mA max. 0.8 V max. 0.1 ms max. 0.4 ms max. 32 points (32 points/common, 1 circuit) 240 mA max. at 5 VDC 3.5 A (one per common), one only Fuse is not user replaceable. 110 mA min. at 5 to 24 VDC 10% (3.4 mA number of ON points) 180 grams max. Units manufactured on or after January 5th, 2000 (manufacturing numbers 0510 or later*)
4.5 to 26.4 VDC OUT00 OUT07 COM 4.5 to 26.4 VDC OUT08 OUT15 COM 4.5 to 26.4 VDC OUT00 OUT07 COM 4.5 to 26.4 VDC OUT08 OUT15 COM B A
Internal Circuit
Output LED
Output LED
Fuse 3.5 A
Fuse 3.5 A
*Manufacturing Numbers jjZ9 Year. Last digit of calendar year, e.g., 19999, 20000 Month: 1 to 9 (January to September), X (October), Y (nOVEMBER), Z(December) Day: 01 to 31 Max. Switch Capacity (per Point)
100 Ic max. (mA)
50
63
Unit Specifications
Item Terminal Connections
Wd m L L L + L L L L 0 1 2 3 4 5 6 A 1 2 3 4 5 6 7 8 9 11 B 1 2 3 4 5 6 7 8 9 11 0 1 2 3 4 5 6 7 L L L L L L L + 4.5 to 26.4 VDC
Section 2-6
CQM1-OD213
Wd (m+1)
7 L COM +DC L L L + L L L L 8 9 10 11 12 13 14
10 10 12 12 13 13 14 14 15 15 16 16 17 17
L COM +DC L L L L L L +
8 9 10 11 12 13 14
The respective COMs are internally connected, but they all must be wired.
Note Be sure to wire the external power supply with the correct polarity. Wiring with the wrong polarity may result in malfunction of the load.
64
Unit Specifications
16-point Transistor PNP Output Unit
Item Max. Switching Capacity Leakage Current Residual Voltage ON Delay OFF Delay No. of Outputs Internal Current Consumption Fuse Service Power Supply Weight Circuit Configuration 0.1 mA max. 0.8 V max. 0.1 ms max. 0.4 ms max. 16 points (16 points/common, 1 circuit) 170 mA max. at 5 VDC 3.5 A (one per common), two only used. Fuse is not user replaceable. 60 mA min. at 5 to 24 VDC 10% (3.5 mA number of ON points) 210 grams max.
Output LED Fuse 3.5 A COM +V OUT0 Internal Circuits Fuse 3.5 A OUT15 0V
Section 2-6
3.6
Terminal Connections
65
Unit Specifications
8-point Transistor Output Unit
Item Max. Switching Capacity Leakage Current Residual Voltage ON Delay OFF Delay No. of Outputs Internal Current Consumption Service Power Supply Weight Alarm Output 1.0 A at 24 VDC +10%/ --15% 4 A/Unit 0.1 mA max. 1.2 V max. 0.2 ms max. 0.8 ms max. 8 points (8 points/common, 1 circuit) 110 mA max. at 5 VDC max. 24 mA min. at 24 VDC +10% / --15% (3 mA number of ON points) 240 grams max. No. of outputs CQM1-OD215
Section 2-6
Reset Input
2 outputs ALM0: Alarm output OUT 0 to 3 ALM1: Alarm output OUT 4 to 7 Output Max. switching capacity: 100 mA at 24 VDC +10%/ --15% specifications Leakage current: 0.1 mA max. Residual voltage: 0.7 V max. No. of inputs 2 inputs RST0: Reset input OUT 0 to 3 RST1: Reset input OUT 4 to 7 Input Input voltage: 24 VDC +10%/ --15% specifications Input current: 7 mA, typical (24 VDC) ON voltage: 16.0 VDC min. OFF voltage: 5.0 VDC max. Detection current: 2 A (minimum value), 1.6 A (typical)
Output LED
Overcurrent detection circuit
COM +V OUT0
Internal Circuits
OUT07
ALM0 ALM1 RST0 3.3 k 560 RST1 0V Reset output Alarm output
66
Unit Specifications
Item Terminal Connections
1 2 3 4 5 6 7 RST0 ALM0 RST1 ALM1 NC NC COM 0V COM 0V A8
Section 2-6
CQM1-OD215
0 A0 B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 B0
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. At the same time, the alarm output (ALM0 or ALM 1) will turn ON and the alarm indicator will light. If an alarm output turns ON, first eliminate the problem that caused the detection current to be exceeded. Then turn from ON to OFF the reset input (RST0 or RST1) on the side where the alarm output turned ON. The alarm output indicator will then turn off, the alarm output will return to OFF, and the contacts output will be restored.
67
Unit Specifications
Item Name Max. Switching Capacity Leakage Current Residual Voltage ON Delay OFF Delay No. of Outputs Internal Current Consumption Fuse Service Power Supply Weight Alarm Output 0.5 A at 24 V DC +10%/ --15% 5 A/Unit 0.1 mA max. 0.8 V max. 0.1 ms max. 0.3 ms max. 32 points (32 points/common, 1 circuit) 240 mA max. at 5 V DC max. 7 A (one per common), one used Fuse is not user replaceable. 160 mA min. at 24 V DC +10% / --15% (5 mA number of ON points) 210 grams max. No. of outputs CQM1-OD216 32-point PNP Transistor Output Unit
Section 2-6
1 output (PNP): Turns ON when output short-circuit or overcurrent is detected. Output Max. switching capacity: 50 mA at 24 V DC +10%/ --15% specifications Leakage current: 0.1 mA max. Residual voltage: 0.8 V max. Detection current: 0.7 to 2.5 A (Operation restored automatically after error cleared.)
Fuse 7-A
Internal Circuits
Output LED
(Alarm output)
Output LED
68
Unit Specifications
Item Terminal Connections
Wd m
Section 2-6
CQM1-OD216
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. At the same time, the alarm output (ALM) will turn ON (Low). If an alarm output turns ON, eliminate the problem that caused the detection current to be exceeded. The internal temperature of the element will drop and the alarm will automatically be cleared.
69
Unit Specifications
8-point Triac Output Unit
Item Max. Switching Capacity Leakage Current Residual Voltage ON Delay OFF Delay No. of Outputs Internal Current Consumption Fuse Weight Circuit Configuration 0.4 A at 100 to 240 VAC 1 mA max. at 100 VAC and 2 mA max. at 200 VAC 1.5 V max. (0.4 A) 6 ms max. 1/2 cycle + 5 ms max. 8 points (4 points/common, 2 circuits) 110 mA max. at 5 VDC 2 A (one per common), two only used. Fuse is not user replaceable. 240 grams max.
Output LED OUT00 OUT03 COM0 Internal Circuits Fuse 2 A OUT04 OUT07 COM1 Fuse 2 A 100 to 240 VAC 100 to 240 VAC
Section 2-6
CQM1-OA221
Terminal Connections
COM0
0 A0
B0
B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8
70
Unit Specifications
6-point Triac Output Unit
Item Max. Switching Capacity Min. Switching Capacity 0.4 A at 100 to 240 VAC (50/60 Hz) 100 mA at 10 VAC 50 mA at 24 VAC 10 mA at 100 VAC 10 mA at 240 VAC 1 mA max. at 100 VAC and 2 mA max. at 200 VAC 1.5 V max. (0.4 A) 1 ms max. Load frequency of 1/2 cycle + 1 ms max. 6 points (4 points/common, 1 circuit; 2 points/common, 1 circuit) 6 A at 100 ms 15 A at 10 ms 250 mA max. at 5 VDC 5 A at 250 V (one per common), two only used. Fuse is not user replaceable. Weight Circuit Configuration 240 grams max.
Output LED OUT00
Section 2-6
CQM1-OA222
Leakage Current Residual Voltage ON Delay OFF Delay No. of Outputs Inrush current Internal Current Consumption Fuse
Terminal Connections
COM0
0 A0
B0
B1 A1 B2 A2 B3 A3 B4 A4 B5 A5 B6 A6 B7 A7 B8 A8
71
3-2
3-3
73
LSS Capabilities
Section
3-1
3-1
LSS Capabilities
The LSS is a complete programming and control package designed for C-series PCs. It provides not only programming capabilities, but also advanced debugging, monitoring, and program/data management. The following tables provide only a brief introduction to the capabilities of the 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.
Checks whether the user program contains syntax errors. The check can be performed in three levels. DM operations are used to edit DM data in hexadecimal or ASCII form. There are also features for copying, filling and printing DM data, as well as data disk save and retrieve operations. I/O TABLE is used to edit, check, and print I/O tables. It also provides data disk save and retrieve operations. DATA AREA LISTS Displays lists of such items as used areas and cross-references (i.e., instructions that use specified operands). CHANGE ADDRESS Globally changes bit and word addresses in the user program. PRINT LISTS EPROM FUNCTIONS C500 C2000H NETWORK DATA LINKS CREATE LIBRARY FILE TIME CHART MONITOR INSTRUCTION TRACE DATA TRACE SET INSTRUCTIONS RETRIEVE/SAVE INSTR PC SETUP Prints lists, ladder diagrams, and mnemonics. Writes, reads, and compares the user program between the PROM Writer and system work disk. Converts the program format from C500 to C2000H Creates a data link table. Formats a floppy disk or hard disk for use with the LSS. Accesses the time chart monitor displays produced online. Accesses the instruction trace displays produced online. Accesses the data trace displays produced online. Used to assign instructions to function codes in instructions tables and to save/retrieve instructions tables to/from data disk files. Used to save and retrieve expansion instruction sets to and from data disk files. Used to set the PC operating parameters in the PC Setup and to save and retrieve PC Setups to and from data disk files.
74
Section
3-6
Displays the used capacity of program memory area, comments, and internal memory. Operations are also available to change display modes and search for instructions and comments. DM I/O TABLE UTILITY DM area operations are available to transfer and compare DM data between the PC, LSS, and data disks, and to monitor DM contents in the PC. I/O TABLE operations are used to write, transfer, and compare I/O tables between the PC and LSS. FILE MEMORY Displays file memory lists; transfers file memory contents between PC and LSS; clears file memory; transfers file memory contents between PC and File Memory Unit; saves or retrieves file memory contents to or from floppy disk; and edits file memory data. Used monitor up 12 bits and 3 words in time chart form and to display, save, or retrieve results. Used to trace instruction execution status during program execution and to display, save, or retrieve results. Used to trace up 12 bits and 3 words during program execution in time chart form and to display, save, or retrieve results. Similar to TIME CHART MONITOR, but can run with a shorter sample time and has different trigger conditions. Used to execute the execution instructions one at a time or in blocks while displaying execution results to debug programs. Transfers and compares data link tables between the PC and computer. Used to read and set the internal clock in the PC. Used to transfer the expansion instruction set from the PC to the LSS. Used to transfer the PC Setup between the PC and the LSS
DEBUG XFER DATA LINK TBL CLOCK TRANSFER INSTR TRANSFER PC SETUP
FILE MANAGEMENT
3-2
SSS Capabilities
The SSS is a complete programming and control package designed for C-series and CVM1 PCs. It provides not only programming capabilities, but also advanced debugging, monitoring, and program/data management. The following tables provide only a brief introduction to the capabilities of the SSS. For further information and actual operating procedures, please refer to the SYSMAC Support Software Operation Manual: C-series.
75
LSS Capabilities
Section
3-1
Search I/O comment Instr comment (C-series PCs only) Block comment Edit ladder
Edit comments Retrieve comments Memory usage Clear memory Check program Edit interrupt program (CVM1 PCs only) Program input mode (CVM1 PCs only)
76
Section
3-6
Displays the contents of the data memory in the system work area in pages (units of 160 words). The data can be altered with this function. Copies the contents of the DM area of the system work area (data memory information). Writes the same data to more than one data word in the system work area data memory area. Prints a specified range of DM words. Specifies the display mode for the data memory contents when the work disk data memory contents are to be altered. The display mode can be hexadecimal or ASCII. Writes the contents of a specified range of system work area data memory to the data disk. Retrieves the saved data disk data memory to the system work area DM area. Used to display DM data from the work disk up to 160 words at a time. Displayed data can be modified. Used to specify the Expansion DM bank on the work disk. Used to save file data (with an .IOM) extension from the work disk to a data disk. Use to retrieve file data (with an .IOM extension) from a data disk to the work disk. Edits the I/O table in the system work area. Checks the contents of the I/O table in the system work area. Writes the I/O table in the system work area to a data disk. Retrieves the I/O table data stored on a data disk to the system work area. Used to delete the I/O table from the work disk. Used to specify CPU Bus Unit classifications. Prints an I/O table list.
I/O Table /
77
LSS Capabilities
Group Utility Name Data Area Lists Change Addresses Print Lists EPROM/Memory Card Program Conversion Description
Section
3-1
Displays lists (such as used areas and cross-references) in accordance with the contents of the user program in the system work area. Globally changes bit and word addresses in the user program in the system work area. Prints lists, ladder diagrams, and mnemonics in accordance with the contents of the user program in the system work area. Writes, reads, and compares the user program between the PROM Writer/Memory Card and system work area. C500 C2000H: Converts C500-family programs to C2000H programs. C2000H CVM1: Converts C2000H-family programs to CVM1 programs
Create Library File Time Chart Monitor (C-series PCs only) Instruction Trace (C-series PCs only) Data trace Set Instructions (C-series PCs only) Retrieve/Save Instr (C-series PCs only) PC Setup Allocate UM (C-series PCs only) Edit PC ID (CVM1 PCs only) Compare Programs (CVM1 PCs only) Customization (CVM1 PCs only) Network Support Table Directory Copy File Change File Name Delete File LSS File Management
Creates a library on a floppy disk or hard disk for use as an LSS data disk. Accesses the time chart monitor data produced online.
Accesses the instruction trace data produced online. Accesses the data trace data produced online. Used to assign instructions to function codes in the instructions table and to save and retrieve instructions tables to and from data disk files. Used to save and retrieve expansion instruction sets to and from data disk files.
Used to set the PC operating parameters in the PC Setup and to save and retrieve PC Setups to and from data disk files. Used to allocate parts of the user memory area for used as a Fixed DM Area and/or I/O Comment Area. Used to create, edit, search for, or print PC IDs (names). Used to compare a program in a data disk with the program in the work file in the computer. Used to change bit/word names, to define custom data areas, or to register HIS instructions. Used to edit data link tables and routing tables for the SYSMAC NET and SYSMAC LINK Systems. Displays a file list. Wildcard names can be used to display only desired files. Copies files on the same floppy disk or between different disks. Changes the name of a specified file. Deletes a specified file. Used to change between LSS-style data files and DOS-style data files.
File Management
78
Section
3-6
Online Edit Read Cycle Time Clear Area Search I/O Comments Block Comments Memory Usage Monitor Interrupt Program (CVM1 PCs only) Program Input Mode (CVM1 PCs only) Monitor Other Node (CVM1 PCs only)
79
LSS Capabilities
Group DM Name Transfer PC > Computer (C-series PCs only) Transfer Computer>PC (C-series PCs only) Transfer Verify (C-series PCs only) Monitor (C-series PCs only) Go To Page (C-series PCs only) Read DM Addr (CVM1 PCs only) Copy (CVM1 PCs only) Fill (CVM1 PCs only) Print (CVM1 PCs only) HEX <-> ASCII (CVM1 PCs only) Switch Bank Number (CVM1 PCs only) Save DM data (CVM1 PCs only) Retrieve DM data (CVM1 PCs only) Transfer DM (CVM1 PCs only) Transfer I/O Table Create I/O Table Verify I/O Table Clear I/O Table (CVM1 PCs only) Description Retrieves PC DM data to the system work area. Writes system work area DM data to the PC. Compares DM data between the system work area and PC. Used to monitor DM area contents in the PC.
Section
3-1
Reads a specified page from the DM list of the DM area in the system work area or PC. Reads the contents of the DM area, including the specified DM address, from the work disk and displays it in the DM table. Copies multiple, consecutive words of DM data to a specified destination DM address. Places a specified value into multiple, consecutive words of the DM area. Filling with 0000 clears the DM words. Prints multiple, consecutive words of DM data. Specified inputs using hexadecimal or ASCII. The mode set will be displayed in the top-right of the screen. Switches editing between the standard DM and EM banks. Saves the DM data from the work disk to the data disk or hard disk. Retrieves the DM data on the data disk or hard disk to the work disk. Transfers and compares DM data between the SSS and the PC. Transfers and compares the I/O table data between the computer and PC. Registers into the PC the I/O Units mounted on the PC and then assigns the words to the Units. Compares the I/O table registered in the PC against the I/O Units actually mounted on the PC. Deletes the I/O tables (C200H and C200HS only)
I/O Table /
80
Section
3-6
Time Chart Monitor (C-series PCs only) Instruction Trace Used to execute instruction traces and used to display, save, or retrieve results. (C-series PCs only) Data Trace Used to execute data traces and used to display, save, or retrieve results.
Displays a file memory list; transfers the file memory contents between the PC and computer or the PC and File Memory Unit; clears the file memory; saves or retrieves the file memory contents to or from a floppy disk; and edits file memory contents Used to execute time chart monitoring and to display, save, or retrieve results.
Debug 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 (C-series PCs only) Custom data (CVM1 PCs only) CPU Bus Unit Setup (CVM1 PCs only) PC Setup SYSMAC BUS/2 (CVM1 PCs only) Read Error Log (CVM1 PCs only) Protect UM (CVM1 PCs only) Network Support Tables Used to transfer expansion instruction set from the PC to the SSS. Used to transfer customized settings from the SSS to the PC. Used to set parameters for SYSMAC NET, SYSMAC LINK, and SYSMAC BUS/2 communications. Changes the PC Setup in the PC and in the system work area and used to transfer the PC Setup between the PC the disk (save/retrieve). Used to manipulate SYSMAC BUS/2 Remote I/O Master Units. Used to read the current error and error logs. Also used to force-release the access right to a PC. Used to protect all or part of the user program by creating passwords. Program access will not be possible to protected sections without the proper password. C-series PCs: Used to input data link tables for SYSMAC NET. CVM1 PCs: Used to transfer data link tables and routing tables between Link Units, the PC, and the SSS and to compare these tables. Also used to start and start data links. Used to run tests between nodes, to read node status, and to read error logs from Units for the SYSMAC NET and SYSMAC LINK Systems. Also used for SYSMAC LINK Systems to run broadcast tests and set network parameters.
81
LSS Capabilities
Section
3-1
Network address
Specifies the network address, node number, and data code type of the SYSMAC NET Link Unit communicating with the SSS on the SYSMAC NET System. The address determines the PC to be connected to for online operations. With CVM1 PCs this setting is also used to specify the PC being communicated with through networks when connected via a peripheral or Host Link interface. Specifies which messages are to be displayed on the SSS from messages programmed in the PC with the MESSAGE instruction. Specifies whether the I/O table and data link tables are transferred to the user program area when the user program is transferred between the computer and PC or PROM Writer. Specifies the baud rate and port number of the PROM Writer connected to the computer
Message No. (CVM1 PCs only) I/O table UM transfer (C-series PCs only) EPROM interface (C-series PCs only) Printer model Data disk drive Out Bit Comment Type (C-series PCs only) Exit to DOS
Specifies the printer model. Specifies the data disk drive. Specifies whether I/O comments or instruction comments are displayed at the TIM/CNT, DIFU/DIFD, KEEP, and STEP/SNXT comment display positions.
Note When the SSS is operating in online mode, the only functions available on the System Setup Menu are I/O table - UM transfer, Data disk drive, and Exit to DOS.
3-3
SYSMAC-CPT Precautions
The CQM1 does not contain an I/O table in the CPU Unit and is designed to operated 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 displayed for input words/bits and Q displayed for output words/bits. The screen displays and printing functions of the SYSMAC-CPT, however, have not yet been upgraded to support the expanded I/O capacity of the CQM1-CPU4j-EV1 CPU Unit. The following restrictions thus apply to the current version of the SYSMAC-CPT.
82
Section
3-6
table, even though it has an I/O capacity of 256 pts (16 words). You will not be able to display or print IR 012 to IR 015.
I/O Table Display 0 I 1 I 2 I 3 I 4 I 5 I 6 Q 7 Q 8 Q 9 Q 10 I 11 Q 12 13 14 15
Note 1
3-4
LCD display
Mode selector CQM1 operating mode Instruction keys Numeric keys Operation keys Cassette recorder jacks (Not used with the CQM1.)
! Caution
When turning on the CQM1, set it to PROGRAM mode using the mode selector as described in 2-1-4 Operating Modes. If the PC is set to RUN or MONITOR mode, the program will be executed when it is turned on, possibly causing a PCcontrolled system to begin operation.
83
LSS Capabilities
Section
3-1
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 identical.
CQM1-PRO01-E Keys
AR HR SET
C200H-PRO27-E Keys
HR
RESET
3-5
Peripheral port
The basic operations required to prepare for programming are listed below. 1. Set the Programming Consoles mode selector to PROGRAM mode. 2. Enter the password by pressing the CLR and then the MONTR Key. At this point, the SHIFT and then the 1 key can be pressed to turn on and off the Programming Consoles buzzer. Refer to page 88. 3. Clear the CQM1s memory by pressing the CLR, SET, NOT, RESET, and then the MONTR Key. Refer to page 87. 4. Display and clear error messages by pressing the CLR, FUN, and then the MONTR Key. Continue pressing the MONTR Key until all error messages have been cleared. Refer to page 88. 5. Press the CLR Key to bring up the initial programming display (program address 00000).
84
Section
3-6
The following diagram shows which keys to press in order to change Programming Console displays.
Example mode display (connected to PC)
{PROGRAM}
BZ
CLR
SHIFT
CLR
00000
CLR
Note When cancelling an operation or beginning operation, press the CLR Key several times to return to the initial display. After the SHIFT Key is pressed, changing the mode by means of the modechange switch will cause the mode to change while retaining the current display. When switching between RUN and PROGRAM, first go into MONITOR and press the SHIFT Key again.
85
LSS Capabilities
Section
3-1
3-6
IR/SR area
LR
MONTR
CLR
SHIFT
AR HR SHIFT
AR area
LD
OUT
Note: When the instructions SV is entered, the designation of bit or word can be abbreviated.
TIM
CNT
DM
CH * CONT #
Value Value
SHIFT TR NOT
(See note 2)
Value
SET
SHIFT
TR
(+) (-)
WRITE
RESET
86
Section
3-6
Before beginning to program for the first time or when installing a new program, clear all areas. All Clear 1, 2, 3... The following procedure is used to clear memory completely. 1. Bring up the initial display by pressing the CLR key repeatedly. 2. Press the SET, NOT, and then the RESET Key to begin the operation.
SET NOT RESET
Partial Clear
It is possible to retain the data in specified areas or part of the Program Memory. To retain the data in the HR, TC, or DM Areas, press the appropriate key after pressing SET, NOT, and RESET. Any data area that still appears on the display will be cleared when the MONTR Key is pressed. 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 specify the DM Area. ! Caution The PC Setup (DM 6600 through DM 6655) will be cleared along with the rest of the DM area if the DM area is specified for clearing. The error log, however, will not be cleared. It is also possible to retain a portion of the Program Memory from the first memory address to a specified address. After designating the data areas to be retained, specify the first Program Memory address to be cleared. For example, input 030 to leave addresses 000 to 029 untouched, but to clear addresses from 030 to the end of Program Memory.
Example 1, 2, 3...
As an example, follow the procedure below to retain the timer/counter area and Program Memory addresses 000 through 122: 1. Bring up the initial display. 2. Press the SET, NOT, and then the RESET Key to begin the operation. 3. Press the CNT Key to remove the timer/counter area from the data areas shown on the display.
CNT
00000 MEM CLR ? HR DM 00123 MEM CLR ? HR DM 00000 MEM CLR END HR DM
87
LSS Capabilities
Section
3-1
Before inputting a new program, any error messages recorded in memory should be cleared. It is assumed here that the causes of any of the errors for which error messages appear have already been taken care of. 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 Programming Manual for troubleshooting information). Key Sequence 1, 2, 3... Follow the procedure below to display and clear messages. 1. Bring up the initial display. 2. Press the FUN and then the MONTR Key to begin the operation. If there are no messages, the following display will appear:
FUN MONTR
00000ERR CHK OK
If there are messages, the most serious message will be displayed when the MONTR Key is pressed. Pressing MONTR again will clear the present message and display the next most serious error message. Continue pressing MONTR until all messages have been cleared. These are some examples of error messages: A fatal error:
MONTR
MEMORY ERR
A non-fatal error:
MONTR
A message:
MONTR
MATERIAL USED UP
00000ERR CHK OK
88
Section
3-6
Follow the procedure below to turn the key-input buzzer on and off. 1. Press the CLR, SHIFT, and then the CLR Key to bring up the mode display. In this case the PC is in PROGRAM mode and the buzzer is on. {PROGRAM} BZ
2. Press the SHIFT and then the 1 Key to turn off the buzzer.
SHIFT B
{PROGRAM}
3. Press the SHIFT and then the 1 Key again to turn the buzzer back on.
SHIFT B
{PROGRAM}
BZ
Note It is possible to adjust the buzzer volume on the C200H-PRO27-E using the volume control lever on the side of the Programming Console.
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. 2. Be sure that pin 4 of the CPU Units DIP switch is ON when changing function codes. Follow the procedure below to read out function code assignments. 1. Bring up the initial display. 2. Press the EXT Key.
EXT
3. Use the Up and Down Arrow Keys to scroll through the function codes and read their corresponding instructions. Changing Function Codes 1, 2, 3... INST TBL READ FUN18:TKY
Follow the procedure below to change function code assignments. The assignments can be changed in PROGRAM mode only. 1. Follow the procedure above to read out the function code which will be changed. 2. Press the CHG Key. The following display will appear.
CHG
3. Use the Up and Down Arrow Keys to scroll through the available instructions. INST TBL CHG? FUN18:TKY HKY
89
LSS Capabilities
Section
3-1
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.
WRITE
Note It is not possible to change to an instruction which is already assigned to a different function code.
Follow the procedure below to read the clock. 1. Bring up the initial display. 2. Press the FUN, SHIFT, and then the MONTR Key. The current clock setting will be displayed.
FUN SHIFT MONTR
Follow the procedure below to change the clock setting. The clock setting cannot be changed in RUN mode. 1. Follow the procedure above to display the current clock setting. 2. Press the CHG Key. The following display will appear.
CHG
3. Use the Up and Down Arrow Keys to move the cursor to the unit that will be changed. In this case, the day of the week is being changed. TIM CHG?93-03-17 10:58:00 TUE(~)
4. Input the new value and press the WRITE Key. The new setting will appear on the display.
D
WRITE
Note The days of the week correspond to the following numbers: Sun.=0, Mon.=1, Tue.=2, Wed.=3, Thu.=4, Fri.=5, and Sat.=6.
When inputting a program for the first time, it is generally written to Program Memory starting from address 000. Because this address appears when the display is cleared, it is not necessary to specify it. When inputting a program starting from other than 000 or to read or modify a program that already exists in memory, the desired address must be designated.
90
Section
3-6
1. Bring up the initial display. 2. Input the desired address. It is not necessary to input leading zeroes.
C
00200
Note The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode. 4. Press the Up and Down Arrow Keys to scroll through the program. 00201READ AND 00200READ LD ON 00001 OFF 00000
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode. 1, 2, 3... 1. Bring up the initial display. 2. Input the address from which the search will begin and press the Down Arrow Key. It is not necessary to input leading zeroes.
B
00100 TIM
001
3. Input the instruction to be found and press the SRCH Key. In this case, the search is for LD instructions. (The LD Key and then the SRCH Key were pressed.) In this case, the next LD instruction is at address 200, as shown below.
LD A
SRCH
00200SRCH LD
00000
4. Press the Down Arrow Key to display the instructions operands or press the SRCH Key to search for the next occurrence of the instruction. 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 address 6000.
SRCH
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or MONITOR mode.
91
LSS Capabilities
1, 2, 3...
Section
3-1
1. Bring up the initial display. 2. Input the operand address. It is not necessary to input leading zeroes.
SHIFT CONT # F
4. Press the SRCH Key to search for the next occurrence of the operand bit. 5. The search will continue until an END instruction or the end of Program Memory is reached. In this case, an END instruction was reached.
SRCH
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
00100 00101 00103 00104 10000 00201 00102
Address
Instruction
Operands
Delete
00105
Delete
Insert END(01)
Insert
Insertion 1, 2, 3...
Follow the procedure below to insert the IR 00105 NO condition at address 00206. 1. Bring up the initial display. 2. Input the address where the NO condition will be inserted and press the Down Arrow Key. It is not necessary to input leading zeroes.
C
00104
INS
4. Press the Down Arrow Key to insert the new instruction. Note For instructions that require more operands, input the operands and then press the WRITE Key. Deletion 1, 2, 3... 00207INSERT END AND NOT 00104
Follow the procedure below to delete the IR 00103 NO condition at address 00205. 1. Bring up the initial display.
92
Section
3-6
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.
C
00205READ AND
00103
4. Press the Up Arrow Key to delete the specified instruction. If the instruction has more operands, the operands will be deleted automatically with the instruction. 00205DELETE END AND 00105
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
00100 00101 00105 00104 10000 00201 00102
Address
Instruction
Operands
END(01)
The same procedure is used to either input a program for the first time or to change a program that already exists. In either case, the current contents of Program Memory is overwritten. The program shown in the following diagram will be entered to demonstrate this operation.
00002 TIM 000 #0123 12.3 s
MOV(21) #0100 LR 10
LR 00203 ADB(50)
93
LSS Capabilities
1, 2, 3... 1. Bring up the initial display. 2. Input the address where the program will begin.
C
Section
3-1
00200
00200 LD
00002
4. Press the WRITE Key to write the instruction to Program Memory. The next program address will be displayed.
WRITE
If a mistake was made inputting the instruction, press the Up Arrow Key to return to the previous program address and input the instruction again. The mistaken instruction will be overwritten. 5. Input the second instruction and operand. (In this case it isnt necessary to enter the timer number, because its 000.) Press the WRITE Key to write the instruction to Program Memory.
TIM
Timer number
WRITE
6. Input the second operand (123 to specify 12.3 seconds) and press the WRITE Key. The next program address will be displayed.
B
WRITE
If a mistake was made inputting the operand, press the Up Arrow Key to return to display the mistaken operand, press the CONT/# Key and 123 again. The mistaken operand will be overwritten. Note Counters are input in the same basic way as timers except the CNT Key is pressed instead of the TIM Key. 7. Input the third instruction and its operands. First input the instruction by pressing the FUN Key and then the function code (21 in this case).
FUN C
Note To input a differentiated instruction, press the NOT Key after entering the function code. The @ symbol will be displayed next to differentiated instructions. Press the NOT Key again to change back the instruction back to a non-differentiated instruction. The @ symbol will disappear. To change an instruction after it has been entered, simply scroll through the program until the desired instruction is displayed and press the NOT Key. The @ symbol should be displayed next to the instruction. 8. Press the WRITE Key to write the instruction to Program Memory. The input display for the first operand will be displayed.
WRITE
Writing Hexadecimal, BCD Constant 9. Input the first operand and press the WRITE Key to write the instruction to Program Memory. The input display for the second operand will appear.
CONT # B
WRITE
94
Section
3-6
Writing the Word Number 10. Input the second operand and press the WRITE Key to write the instruction to Program Memory. The next program address will be displayed.
LR B
WRITE
Note When an instruction operand is input, the designation of bit or word can be abbreviated. 11. Write the application instruction.
FUN F
WRITE
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).
CONT # SHIFT TR NOT
Note If an erroneous input is made, press the CLR Key to restore the status prior to the input. Then enter the correct input. 14. Restore the hexadecimal display.
SHIFT TR
Note If an input is made outside of the permissible range, a buzzer will sound and the hexadecimal display will not be displayed.
WRITE
16. Write a value 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.
REC RESET B
Note If an erroneous input is made, press the CLR Key to restore the status prior to the input. Then enter the correct input. 17. Restore the hexadecimal display.
SHIFT TR
Note If an input is made outside of the permissible range, a buzzer will sound and the hexadecimal display will not be displayed.
WRITE
95
LSS Capabilities
18. Input the final operand and then press the WRT Key.
DM WRITE
Section
3-1
1, 2, 3...
1. Bring up the initial display. 2. Press the SRCH Key. An input prompt will appear requesting the desired check level.
SRCH
3. Input the desired check level (0, 1, or 2). The program check will begin when the check level is input, and the first error found will be displayed.
A
Note Refer to 4-3 Programming Errors for details on check levels. 4. Press the SRCH Key to continue the search. The next error will be displayed. Continue pressing the SRCH Key to continue the search. The search will continue until an END instruction or the end of Program Memory is reached. A display like this will appear if the end of Program Memory is reached:
SRCH
Note The search can be cancelled at any time by pressing the CLR Key.
When a program address is being displayed, the status of the bit or word in that address can be monitored by pressing the MONTR Key. 1. Bring up the initial display. 2. Input the desired program address and press the Down Arrow Key.
B
00100READ TIM
000
96
Section
3-6
T000 1234
If the status of a bit is being monitored, that bits 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 words value can be changed using the Hexadecimal/BCD Data Modification operation. Refer to page 103 for details. 4. Press the CLR Key to end monitoring.
CLR
00100 TIM
000
Follow the procedure below to monitor the status of a particular bit. 1. Bring up the initial display. 2. Input the bit address of the desired bit and press the MONTR Key.
SHIFT CONT # B
MONTR
00001 ^ ON
The Up or Down Arrow Key can be pressed to display the status of the previous or next bit. Note a) If the PC is in PROGRAM or MONITOR mode, the displayed bits status can be changed using the Force Set/Reset operation. Refer to page 106 for details. b) Bit IR 00001 can also be specified by pressing the LD and 1 Keys, reducing the number of keystrokes. 3. Press the CLR Key to end monitoring.
CLR
00000 CONT
00001
Follow the procedure below to monitor the status of a particular word. 1. Bring up the initial display. 2. Input the word address of the desired word.
SHIFT CH * LR B
00000 CHANNEL LR
01
Note a) If the PC is in PROGRAM or MONITOR mode, the displayed words status can be changed using the Hexadecimal/BCD Data Modification operation. Refer to page 103 for details. b) The status of SR 25503 to SR 25507 and TR 00 to TR 07 cannot be monitored. 3. Press the MONTR Key to begin monitoring.
MONTR
cL01 FFFF
The Up or Down Arrow Key can be pressed to display the status of the previous or next word. 4. Press the CLR Key to end monitoring. Multiple Address Monitoring 1, 2, 3... The status of up to six bits and words can be monitored simultaneously, although only three can be shown on the display at any one time. 1. Bring up the initial display. 2. Input the address of the first bit or word and press the MONTR Key.
TIM MONTR
T000 0100
97
LSS Capabilities
Section
3-1
MONTR
00001 T000 ^ OFF 0100 D0000 00001 T000 1234 ^ 0FF 0100
DM
MONTR
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. If the MONTR Key is pressed alone, the display will shift to the right. If more than six bits and words are input, monitoring of the bit or word input first will be canceled. 4. Press the CLR Key to stop monitoring the leftmost bit or word and clear it from the display.
CLR
00001
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 2 or more bits are being monitored, the desired bit should be leftmost on the display. In this case the differentiation status of LR 00 will be monitored. L000000108H2315 ^ OFF^ OFF^ ON 2. To specify up-differentiation monitoring, press the SHIFT and then the Up Arrow Key. The symbols U@ will appear.
SHIFT
To specify down-differentiation monitoring, press the SHIFT and then the Down Arrow Key. The symbols D@ will appear.
SHIFT
3. The buzzer will sound when the specified bit goes from off to on (for up-differentiation) or from on to off (for down-differentiation). L000000108H2315 ^ ON ^ OFF^ ON 4. Press the CLR Key to end differentiation monitoring and return to the normal monitoring display.
CLR
98
Section
3-6
1, 2, 3...
1. Monitor the status of the desired word according to the procedure described in 3-6-13 Bit, Digit, Word Monitor. The desired word should be leftmost on the display if 2 or more words are being monitored. 2. Press the SHIFT and then the MONTR Key to begin binary monitoring. The ON/OFF status of the selected words 16 bits will be shown along the bottom of the display. A 1 indicates a bit is on, and a 0 indicates it is off.
SHIFT MONTR
The status of force-set bits is indicated by S, and the status of a force-reset bits is indicated by R, as shown below. C100 MONTR 0000S0100R0110SR
Force-set bit Force-reset bit
Note a) The status of displayed bits can be changed at this point. Refer to 3-6-22 Binary Data Modification for details. b) The Up or Down Arrow Key can be pressed to display the status of the previous or next words bits. 3. Press the CLR Key to end binary monitoring and return to the normal monitoring display. Press the SHIFT+CLR Keys to end monitoring altogether.
1, 2, 3...
1. Monitor the status of the first of the three words according to the procedure described in 3-6-13 Bit, Digit, Word Monitor. If 2 or more words are being monitored, the desired first word should be leftmost on the display. 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.
EXT
Note The status of the displayed words can be changed at this point. Refer to 3-6-19 3-word Data Modification. 3. The Up and Down Arrow Keys can be used to shift one address up or down. D0003D0002D0001 ABCD 0123 4567
99
LSS Capabilities
Section
3-1
4. Press the CLR Key to end 3-word monitoring and return to the normal monitoring display. The rightmost word on the 3-word monitor display will be monitored.
CLR
D0002 0123
Note Just one word will be monitored, even if 2 or more words were displayed when 3-word monitoring was initiated.
Note In PROGRAM or MONITOR mode, it is possible to change word data by means of a decimal-with-sign input. Refer to 3-6-23 Decimal Data Modification (With Sign).
RUN OK OK MONITOR OK PROGRAM
1, 2, 3...
1. Monitor the word that is to be used for decimal monitor with sign. During multiple address monitoring, the word on the left is the object. Multiple address monitoring cL01 cL0200001 FFF0 F000^ OFF
2. Decimal monitor with sign is executed. When the SHIFT and TR keys are pressed here, I/O monitor, multiple address monitoring, or 3-word data modification is restored.
SHIFT TR
cL01 -00016
Double-length Display 3. The word that was monitored is taken as the rightmost four digits of eight digits hexadecimal, and the next word as the leftmost four digits, and they are converted to a decimal number with sign for display.
EXT
4. When the decimal monitoring with sign has been completed, I/O monitor, multiple address monitoring, or 3-word data modification is restored.
SHIFT TR
Note I/O monitor, multiple address monitoring, or 3-word data modification can also be restored by means of the CLR Key.
100
Section
3-6
Note In PROGRAM or MONITOR mode, it is possible to change word data by means of a decimal-with-sign input. Refer to 3-6-24 Decimal Data Modification (Without Sign).
RUN OK OK MONITOR OK PROGRAM
1, 2, 3...
1. Monitor the word that is to be used for decimal monitor without sign. During multiple address monitoring, the word on the left is the object. Multiple address monitoring cL01 cL0200001 FFF0 F000^ OFF
2. Decimal monitor without sign is executed. When the SHIFT and TR Keys are pressed here, the I/O monitor, multiple address monitoring, or 3-word data modification display is restored.
SHIFT TR NOT
cL01 65520
Double-length Display 3. The word that was monitored is taken as the rightmost four digits of eight digits hexadecimal, and the next word as the leftmost four digits, and they are converted to a decimal number with sign for display.
EXT
4. When the decimal monitoring without sign has been completed, the I/O monitor, multiple address monitoring, or 3-word data modification display is restored.
SHIFT TR
Note The I/O monitor, multiple address monitoring, or 3-word data modification display can also be restored by means of the CLR Key.
1, 2, 3...
1. Monitor the status of the desired words according to the procedure described 3-6-16 3-Word Monitor.
101
LSS Capabilities
Section
3-1
2. Press the CHG Key to begin 3-word data modification. The cursor will appear next to the contents of the leftmost word.
CHG
3. Input the new value for the leftmost word on the display and press the CHG Key if more changes will be made. Input the new value and press the WRITE Key to write the changes in memory if no more changes will be made.
B
CHG
4. Input the new value for the middle word on the display and press the CHG Key if the rightmost word will be changed. Input the new value and press the WRITE Key to write the changes in memory if the rightmost word will not be changed. (In this case, it will not.)
C
WRITE
Note If the CLR Key is pressed before the WRITE Key, the operation will be cancelled and the 3-word monitor display will return without any changes in data memory.
The timer or counter SV can be changed either by inputting a new value or by incrementing or decrementing the current SV. Inputting a New SV Constant This operation can be used to input a new SV constant, as well as to change an SV from a constant to a word address designation and visa verse. The following examples show how to input a new SV constant and how to change the SV from a constant to an address. 1, 2, 3... 1. Bring up the initial display. 2. Display the desired timer or counter.
TIM B
SRCH
00201SRCH TIM
001
3. Press the Down Arrow Key and then the CHG Key.
CHG
4. At this point a new SV constant can be input or the SV constant can be changed to a word address designation a) To input a new SV constant, input the constant and press the WRITE Key.
B
WRITE
b) To change to a word address designation, input the word address and press the WRITE Key.
SHIFT CH * B
WRITE
102
Section
3-6
This operation can be used to increment and decrement an SV constant. It is possible only when the SV has been entered as a constant. 1. Bring up the initial display. 2. Display the desired timer or counter.
TIM SRCH
00201SRCH TIM
000
3. Press the Down Arrow, CHG, and then the EXT Key.
CHG EXT
The constant on the left is the old SV and the constant on the right will become the new SV constant in step 5. 4. Press the Up and Down Arrow Keys to increment and decrement the constant on the right. 5. Press the CLR Key twice to change the timers SV to the new value.
CLR CLR
Words SR 253 to SR 255 cannot be changed. 1, 2, 3... 1. Monitor the status of the desired word according to the procedure described in 3-6-13 Bit, Digit, Word Monitor. If two or more words are being monitored, the desired word should be leftmost on the display. 2. Press the CHG Key to begin hexadecimal, BCD data modification.
CHG
If a timer or counter is leftmost on the display, its PV will be displayed and will be the value changed. See 3-6-20 Changing Timer, Counter SV for the procedure to change SV. In MONITOR mode, the timers PV will be counting down if the timer is on. 3. Input the new PV and press the WRITE Key to change the PV. Be sure to input timer or counter PVs in BCD only. The operation will end and the normal monitoring display will return when the WRITE Key is pressed.
C
WRITE
D0000 0200
The timers PV will continue counting down from the new PV if the timer is on.
103
LSS Capabilities
1, 2, 3...
Section
3-1
1. Monitor the status of the desired word according to the procedure described 3-6-15 Binary Monitor. 2. Press the CHG Key to begin binary data modification.
CHG
A flashing cursor will appear over bit 15. The cursor indicates which bit can be changed. 3. Three sets of keys are used to move the cursor and change bit status: a) Use the Up and Down Arrow Keys to move the cursor to the left and right. b) Use the 1 and 0 keys to change a bits status to on or off. The cursor will move one bit to the right after one of these keys is pressed. c) Use the SHIFT+SET and SHIFT+RESET Keys to force-set or force-reset a bits status. The cursor will move one bit to the right after one of these keys is pressed. The NOT Key will clear force-set or force-reset status.
B
SHIFT
PLAY SET
Note Bits in the DM Area cannot be force-set or force-reset. 4. Press the WRITE Key to write the changes in memory.
WRITE
1, 2, 3...
1. Monitor (decimal, with sign) the status of the word for which the present value is to be changed. cL01 -00016 2. Press the CHG Key to begin decimal data modification.
CHG
3. Input the new PV and press the WRITE Key to change the PV. The operation will end and the decimal-with-sign monitoring display will return when the WRITE Key is pressed. The PV can be set within a range of --32,768 and 32,767. Use the SET Key to input a positive number, and use the RESET Key to input a negative number.
104
Section
3-6
To return to the I/O monitor, multiple address monitor, or 3-word data modification display, either press the SHIFT and TR Keys, or else press the CLR Key.
SET D
WRITE
cL01 -32768
Note If an erroneous input is made, press the CLR Key to restore the status prior to the input. Then enter the correct input. If an input is made outside of the permissible range, a buzzer will sound. Double-length Change 1. The PV is displayed in double length by decimal-with-sign monitoring.
EXT
3. Input the new PV and press the WRITE Key to change the PV. The operation will end and the double length display will return when the WRITE Key is pressed. The PV can be set within a range from --2,147,483,648 to 2,147,483,647.
SET B
WRITE
cL02 cL01 +1234567890 Note If an erroneous input is made, press the CLR Key to restore the status prior to the input. Then enter the correct input. If an input is made outside of the permissible range, a buzzer will sound. 4. When the decimal monitoring with sign has been completed, the I/O monitor, multiple address monitoring, or 3-word data modification display is restored.
SHIFT TR
Note The I/O monitor, multiple address monitoring, or 3-word data modification display can also be restored by means of the CLR Key.
105
LSS Capabilities
1, 2, 3...
Section
3-1
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.
CHG
3. Input the new PV and press the WRITE Key to change the PV. The operation will end and the decimal-without-sign monitoring display will return when the WRITE Key is pressed. The PV can be set within a range of 0 to 65,535. To return to the I/O monitor, multiple address monitor, or 3-word data modification display, either press the SHIFT and TR Keys, or else press the CLR Key.
D
WRITE
cL01 32768
Note If an erroneous input is made, press the CLR Key to restore the status prior to the input. Then enter the correct input. If an input is made outside of the permissible range, a buzzer will sound. Double-length Change 1. The PV is displayed in double length by decimal-without-sign monitoring.
EXT
3. Input the new PV and press the WRITE Key to change the PV. The operation will end and the double length display will return when the WRITE Key is pressed. The PV can be set within a range of 0 to 4,294,967,295.
7
A
WRITE
Note If an erroneous input is made, press the CLR Key to restore the status prior to the input. Then enter the correct input. If an input is made outside of the permissible range, a buzzer will sound. 4. When the decimal monitoring with sign has been completed, the I/O monitor, multiple address monitoring, or 3-word data modification display is restored.
SHIFT TR
Note The I/O monitor, multiple address monitoring, or 3-word data modification display can also be restored by means of the CLR Key.
106
Section
3-6
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. Press the SET Key to force the bit ON or press the RESET Key to turn the bit OFF.
SET
The cursor in the lower left corner of the display indicates that the force set/ reset is in progress. Bit status will remain ON or OFF only as long as the key is held down; the original status will return one cycle after the key is released. If a timer or counter is force reset in MONITOR mode, it will begin operation again after completion if its input is on and will stop when the time is up. 3. Press the SHIFT+SET or SHIFT+RESET Keys to maintain the status of the bit after the key is released. In this case, the force-set status is indicated by an S and the force-reset status is indicated by an R. To return the bit to its original status, press the NOT key or perform the Clear Force Set/Reset operation. (Refer to 3-6-26 Clear Force Set/Reset for details.) Forced status will also be cleared when the PCs operating mode is changed (unless SR 25211 is ON, in which case forced status will not be cleared when changing from PROGRAM to MONITOR mode) or when operation stops as the result of an error or power interruption.
1, 2, 3...
1. Bring up the initial display. 2. Press the SET and then the RESET Key. A confirmation message will appear.
SET RESET
00000FORCE RELE?
Note If you mistakenly press the wrong key, press CLR and start again from the beginning. 3. Press the NOT Key to clear the force-set/reset status of bits in all data areas.
NOT
1, 2, 3...
1. Monitor the status of the desired word according to the procedure described in 3-6-13 Bit, Digit, Word Monitor. If two or more words are being monitored, the desired word should be leftmost on the display.
107
LSS Capabilities
Section
3-1
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.
TR
TR
1, 2, 3...
1. Bring up the initial display. 2. Press the MONTR Key to display the cycle time.
MONTR
There might be differences in displayed values when the MONTR Key is pressed repeatedly. These differences are caused by changing execution conditions.
00000 00000 FUN (? ?) 00000 ADB (50) 00000 ADB DATA A 000 00000 ADB DATA A #0000 00000 ADB DATA A #+00000 00000 ADB DATA A #+12345 00000 ADB DATA A #3039 00000 ADB DATA B 000
FUN
WRITE
CONT #
SHIFT
TR
SHIFT
TR
WRITE
108
Section
3-6
00000 00000 CHANNEL DM 0000 00000 CHANNEL DM 1000 D1000 0000 D1000 +00000 PRES VAL? D1000+00000 PRES VAL? D1000+22334 D1000 +22334 D1000 573E
DM
MONTR
SHIFT
TR
CHG
WRITE
CLR
00000 00000 CHANNEL DM 0000 00000 CHANNEL DM 1234 D1234 0000 D1234 +00000 D1235D1234 +0000000000 PRES VAL? D1235+0000000000 PRES VAL? D1235-0000000000 PRES VAL? D1235-1234567890
DM
MONTR
SHIFT
TR
EXT
CHG
REC RESET B C D E F
1 6
2 7
3 8
4 9
5 0
WRITE
D1235D1234 -1234567890
109
LSS Capabilities
D1234 -00722 D1234 FD2E D0000D1234 FD2E D1235D1234 FD2E D1235D1234 B669 FD2E
Section
3-1
CLR
CLR
DM
MONTR
00000 INST TBL READ FUN17:ASFT INST TBL READ FUN18:SCAN INST TBL READ FUN19:MCMP INST TBL CHG? FUN19:MCMP~???? INST TBL CHG? FUN19:MCMP~ADBL INST TBL READ FUN19:ADBL 00000
EXT
CHG
CLR
110
SECTION 4 Troubleshooting
This section describes how to diagnose and correct the hardware and software errors that can occur during PC operation. 4-1 4-2 4-3 4-4 4-5 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming Console Operation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . User-defined Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5-1 Non-fatal Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5-2 Fatal Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 113 113 114 115 115 116 117
4-6
111
Introduction
Section 4-1
4-1
Introduction
PC errors can be divided broadly into the following four categories: 1, 2, 3... 1. Program Input Errors These errors occur when inputting a program or attempting an operation used to prepare the PC for operation. 2. Programming Errors These errors will occur when the program is checked using the Program Check operation. 3. User-defined Errors There are three instructions that the user can use to define his own errors or messages. The instructions will be executed when a particular condition (defined by the user) has occurred during operation. 4. Operating Errors These errors occur after self-diagnostic program execution has been started. a) Non-fatal Operating Errors PC operation and program execution will continue after one or more of these errors have occurred. b) Fatal Operating 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. The PCs indicators will indicate when a PC error has occurred and an error message or code will be displayed on the Programming Console or host computer if one is connected. The error code is also contained in SR 25300 to SR 25307. For the most recent errors, both the type of error and time of occurrence will be recorded in the PCs error log area (DM 6570 to DM 6599). Details are provided in the CQM1 Programming Manual. There are flags and other information provided in the SR and AR areas that can be used in troubleshooting. 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. Program checks also do not cover DM 1024 to DM 6143 for PCs that do not support this part of the DM area (e.g., CQM1-CPU11-E and CQM1-CPU21-E). Data will not be written even if these areas are specified and data read from these areas will always be 0000.
112
Programming Errors
Section 4-3
4-2
4-3
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. Check level 0 checks for type A, B, and C errors; check level 1, for type A and B errors; and check level 2, for type A errors only.
Level A Errors
Meaning and appropriate response The program has been damaged, creating a non-existent function code. Re-enter the program. The number of logic blocks and logic block instructions does not agree, i.e., either LD or LD NOT has been used to start a logic block whose execution condition has not been used by another instruction, or a logic block instruction has been used that does not have the required number of logic blocks. Check your program. A constant entered for the instruction is not within defined values. Change the constant so that it lies within the proper range. There is no END(01) in the program. Write END(01) at the final address in the program. An instruction is in the wrong place in the program. Check instruction requirements and correct the program. A JME(04) instruction is missing for a JMP(05) instruction. Correct the jump number or insert the proper JME(04) instruction. The same jump number or subroutine number has been used twice. Correct the program so that the same number is only used once for each. The SBS(91) instruction has been programmed for a subroutine number that does not exist. Correct the subroutine number or program the required subroutine. STEP(08) with a section number and STEP(08) without a section number have been used incorrectly. Check STEP(08) programming requirements and correct the program.
OPERAND ERR NO END INSTR LOCN ERR JME UNDEFD DUPL SBN UNDEFD STEP ERR
113
User-defined Errors
Level B Errors
Message IL-ILC ERR
Section 4-4
Meaning and appropriate response 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. Make sure your program is written as desired before proceeding. JMP(04) 00 and JME(05) 00 are not used in pairs. Although this error message will appear if more than one JMP(04) 00 is used with the same JME(05) 00, the program will be executed as written. Make sure your program is written as desired before proceeding. If the displayed address is that of SBN(92), two different subroutines have been defined with the same subroutine number. Change one of the subroutine numbers or delete one of the subroutines. If the displayed address is that of RET(93), RET(93) has not been used properly. Check requirements for RET(93) and correct the program. Meaning and appropriate response The same bit is being controlled (i.e., turned ON and/or OFF) by more than one instruction (e.g., OUT, OUT NOT, DIFU(13), DIFD(14), KEEP(11), SFT(10)). Although this is allowed for certain instructions, check instruction requirements to confirm that the program is correct or rewrite the program so that each bit is controlled by only one instruction. JME(05) has been used with no JMP(04) with the same jump number. Add a JMP(04) with the same number or delete the JME(05) that is not being used. A subroutine exists that is not called by SBS(91). Program a subroutine call in the proper place, or delete the subroutine if it is not required.
JMP-JME ERR
SBN-RET ERR
Level C Errors
4-4
User-defined Errors
There are three instructions that the user can use to define his own errors or messages. These instructions are used to send messages to the Programming Console connected to the PC, cause a non-fatal or a fatal error.
FAL(06) is an instruction that causes a non-fatal error. The following will occur when an FAL(06) instruction is executed: 1. The ERR/ALM indicator on the CPU Unit will flash. PC operation will continue. 2. The instructions 2-digit BCD FAL number (01 to 99) will be written to SR 25300 to SR 25307. 3. The FAL number and time of occurrence will be recorded in the PCs error log area if a Memory Cassette with a clock (RTC) is used. The FAL numbers can be set arbitrarily to indicate particular conditions. The same number cannot be used as both an FAL number and an FALS number. To clear an FAL error, correct the cause of the error, execute FAL 00, and then clear the error using the Programming Console. FALS(07) is an instruction that causes a fatal error. The following will occur when an FALS(07) instruction is executed: 1. Program execution will be stopped and outputs will be turned OFF. 2. The ERR/ALM indicator on the CPU Unit will be lit. 3. The instructions 2-digit BCD FALS number (01 to 99) will be written to SR 25300 to SR 25307. 4. The FALS number and time of occurrence will be recorded in the PCs error log area if a Memory Cassette with a clock (RTC) is used. The FALS numbers can be set arbitrarily to indicate particular conditions. The same number cannot be used as both an FAL number and an FALS number.
114
Operating Errors
Section 4-5
To clear an FALS error, switch the PC to PROGRAM Mode, correct the cause of the error, and then clear the error using the Programming Console.
MESSAGE - MSG(46)
MSG(46) is used to display a message on the Programming Console. The message, which can be up to 16 characters long, is displayed when the instructions execution condition is ON.
FPD can be used to generate a non-fatal error (FAL) and to display any message at a peripheral device.
4-5
Operating Errors
There are two kinds of operating errors, non-fatal and fatal. PC operation will continue after a non-fatal error occurs, but operation will be stopped if a fatal error occurs.
9C
115
Operating Errors
Message SYS FAIL FAL** (see note) FAL No. 9B Meaning and appropriate response
Section 4-5
An error has been detected in the PC Setup. Check flags AR 2400 to AR 2402, and 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. Correct the settings in PROGRAM Mode and turn on the power again. AR 2401 ON: An incorrect setting was detected in the PC Setup (DM 6615 to DM 6644) when switching to RUN Mode. Correct the settings in PROGRAM Mode and switch to RUN Mode again. AR 2402 ON: An incorrect setting was detected in the PC Setup (DM 6645 to DM 6655) during operation. Correct the settings and clear the error.
F8
Watchdog timer has exceeded 100 ms. (SR 25309 will be ON.) This indicates that the program cycle time is longer than recommended. Reduce cycle time if possible.
BATT LOW
F7
Backup battery is missing or its voltage has dropped. (SR 25308 will be ON.) Check the battery and replace if necessary. Check the PC Setup (DM 6655) to see whether a low battery will be detected.
Note ** is 01 to 99, 9D, 9C, or 9B. Communication Errors If an error occurs in communications through the peripheral port or RS-232C port the corresponding indicator (COM1 or COM2) will stop flashing. Check the connecting cables as well as the programs in the PC and host computer. Reset the communications ports with the Port Reset Bits, SR 25208 and SR 25209. When the OUT INH indicator is lit, the Output Inhibit Bit (SR 25215) is ON and all outputs from the CPU Unit will be turned off. If it is not necessary to have all outputs off, turn OFF SR 25215.
Output Inhibit
F0 C0 E1
116
Troubleshooting Flowcharts
Message SYS FAIL FALS** (see note) FALS No. 01 to 99 9F Meaning and appropriate response
Section 4-6
An FALS(07) instruction has been executed in the program. Check the FALS number to determine the conditions that would cause execution, correct the cause, and clear the error. The cycle time has exceeded the FALS 9F Cycle Time Monitoring Time (DM 6618). Check the cycle time and adjust the Cycle Time Monitoring Time if necessary.
4-6
Troubleshooting Flowcharts
Use the following flowcharts to troubleshoot errors that occur during operation.
Main Check
Error
No
RUN indicator lit? Yes ERR/ALM indicator flashing? Yes Is I/O sequence normal? Yes Operating environment normal? Yes Replace the CPU Unit.
No
No
No
No
Note Always turn off the power to the PC before replacing Units, batteries, wiring, or cables.
117
Troubleshooting Flowcharts
Power Supply Check
Power indicator not lit.
Section 4-6
No
No
Yes
No
No
Yes
Yes
No
Yes
End
Note The allowable voltage ranges for the CQM1 are as follows. CQM1-PA203/PA206: CQM1-PD026: 85 to 264 VAC 20 to 28 VDC
118
Troubleshooting Flowcharts
Fatal Error Check
Section 4-6
The following flowchart can be used to troubleshoot fatal errors that occur while the Power indicator is lit.
RUN indicator not lit.
No
Is the ERR/ALM indicator lit? Yes Yes Determine the cause of the error with a Peripheral Device. Is PC mode displayed on Peripheral Device? No
No
Yes
Identify the error, eliminate its cause, and clear the error.
No
119
Troubleshooting Flowcharts
Non-fatal Error Check
Section 4-6
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.
ERR/ALM indicator flashing.
Yes
Identify the error (See page 115.), eliminate its cause, and clear the error.
Flashing
End
120
Troubleshooting Flowcharts
I/O Check
Section 4-6
The I/O check flowchart is based on the following ladder diagram section.
(LS1) 00002 (LS2) 00003 10500
SOL1
10500
SOL1 malfunction.
Start
Is the IR 10500 output indicator operating normally? Yes Check the voltage at the IR 10500 terminals.
No
Wire correctly.
No Operation O.K.? Yes No Is output wiring correct? Yes Disconnect the external wires and check the conductivity of each wire.
To next page
Yes
Operation O.K.?
No
121
Troubleshooting Flowcharts
Section 4-6
Are the IR 00002 and IR 00003 input indicators operating normally? Yes Check the voltage at the IR 00002 and IR 00003 terminals.
No
No
Yes
Yes
No
Check operation by using a dummy input signal to turn the input ON and OFF.
Return to start.
122
Troubleshooting Flowcharts
Environmental Conditions Check
Environmental conditions check
Section 4-6
Is the ambient temperature below 55C? Yes Is the ambient temperature above 0C? Yes Is the ambient humidity between 10% and 90%? Yes Is noise being controlled? Yes
No
No
No
No
Install surge protectors or other noise-reducing equipment at noise sources. Consider constructing an instrument panel or cabinet.
No
123
Appendix A
Standard Models
CPU Units
Model number CQM1-CPU11-E Appearance Communications Peripheral only Memory 3.2K-word Program Memory, 1K-word DM I/O capacity 128 points (8 words) Up to 7 Units can be connected. CQM1-CPU21-E Peripheral and RS-232C
CQM1-CPU41-EV1
CQM1-CPU42-EV1
CQM1-CPU43-EV1
CQM1-CPU44-EV1
Power supply: 100 to 240 VAC; 24 VDC with output terminals, 0.5 A Power supplied to I/O Units: 6 A at 5 VDC, 0.5 A at 24 VDC (30 W total) Power supply: 100 or 230 VAC (selectable); 24 VDC with output terminals, 0.5 A Power supplied to I/O Units: 6 A at 5 VDC, 0.5 A at 24 VDC (30 W total) Power supply: 24 VDC Power supplied to I/O Units: 6 A at 5 VDC (30 W total)
125
Standard Models
Appendix A
Input Units
Name DC Input Units p DC Input Units p Model number CQM1-ID111 CQM1-ID112 CQM1-ID211 CQM1-ID212 CQM1-ID213 CQM1-ID214 AC Input Units p CQM1-IA121 CQM1-IA221 16 points, 12 VDC 32 points, 12 VDC 8 points, 12 to 24 VDC (independent commons) 16 points, 24 VDC 32 points, 24 VDC 32 points, 24 VDC 8 points, 100 to 120 VAC 8 points, 200 to 240 VAC Specifications
Output Units
Name Contact Output Units p Model number CQM1-OC221 CQM1-OC222 CQM1-OC224 Transistor Output Units p CQM1-OD211 CQM1-OD212 CQM1-OD213 CQM1-OD214 CQM1-OD215 CQM1-OD216 Triac Output Unit p CQM1-OA221 CQM1-OA222 Specifications 8 points, 250 VAC/24 VDC, 2 A (independent commons, 16 A per Unit) 16 points, 250 VAC/24 VDC, 2 A (8 A per Unit) 8 points, 250 VAC/24 VDC, 2 A (independent commons, 16 A per Unit) 8 points, 24 VDC, 2 A (5 A per Unit) 16 points, 4.5 to 26.4 V, 0.3 A 32 points, 4.5 to 26.4 V, 0.1 A 16 points, 4.5 to 26.4 V, 0.3 A, PNP output 8 points, 24 VDC, 1 A (4 A/Unit), PNP output, with short-circuit protection 32 points, 24 VDC, 0.5 A (5 A/Unit), PNP output, with short-circuit protection 8 points, 100 to 240 VAC, 0.4 A 6 points, 100 to 240 VAC, 0.4 A
126
Standard Models
Name Remote Console Model number CQM1-TU001 Specifications
Appendix A
The Remote Console is connected to a Sensor Unit for the adjustment of the sensitivities of the modules incorporated by the Sensor Unit, reading and changing of the set value, and teaching. Cable length: 3 m Master: 32 inputs and 32 outputs Expansion Master: 32 outputs Expansion Master: 32 inputs Thermocouple input, transistor (NPN) output, 2 loops Thermocouple input, transistor (PNP) output, 2 loops Platinum resistance thermometer, transistor (NPN) output, 2 loops Platinum resistance thermometer, transistor (PNP) output, 2 loops 128 points (64 inputs and 64 outputs); 64 points (32 inputs and 32 outputs); 32 points (16 inputs and 16 outputs) Switchable 16 inputs and 16 outputs (total: 32 points)
CQM1-SRM21 CQM1-DRT21
Peripheral Devices
Name Programming Console g g Model number CQM1-PRO01-E C200H-PRO27-E Ladder Support Software pp (see note) SYSMAC Support Software Connecting Cable g C500-SF312-EV3 C500-SF711-EV3 C500-ZL3AT1-E CQM1-CIF02 C200H-CN222 C200H-CN422 Specifications 2-m Connecting Cable attached Hand-held, w/backlight; requires the C200H-CN222 or C200H-CN422, see below 3.5, 2HD for IBM PC/AT compatible 5.25, 2D for IBM PC/AT compatible 3.5, 2HD for IBM PC/AT compatible Connects IBM PC/AT or compatible computers to Peripheral Port Connects C200H Programming Console to Peripheral Port (2 m) Connects C200H Programming Console to Peripheral Port (4 m)
EPROM ICs
Model number ROM-ID-B ROM-JD-B ROM-KD-B EPROM version 27128 27256 27512 Capacity 16K bytes 32K bytes 64K bytes 150 ns 150 ns 150 ns Access speed
127
Appendix B
Battery Service Life
The built-in battery is used for retaining the status of the HR and DM areas, the users 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.
Memory Cassette y with clock No Yes Total hours with no current supplied Guaranteed time (see note 1) 43,000 hrs (Approx. 5 years) 34,500 hrs (Approx. 4 years) Capacity (see note 2) 43,000 hrs ( pp , (Approx. 5 y years) )
Note 1. Total hours with no current supplied, at an ambient temperature of 55C. 2. Total hours with no current supplied, at an ambient temperature of 25C.
Total Time with No Current Supplied (in Years)
5 4 3 2 1 25 40 55
No Memory Cassette with clock function Memory Cassette with clock function
Ambient temperature
Note The effective life of the battery is five years. Replace the battery every five years even if it could be used longer.
129
Appendix C
SYSMAC-CPT Precautions
The SYSMAC-CPT Support Software (model number WS01-CPTB1-E) can be used for the CQM1. This appendix lists precautions when using the SYSMAC-CPT. When displaying or printing ladder programs on the SYSMAC-CPT, symbols are displayed for I/O bits in the program according to the I/O table registered in the SYSMAC-CPT. I is displayed for input words/bits and Q is displayed for output words/bits. The SYSMAC-CPT, however, has not yet been upgraded to support the expanded I/O capacity of the CQM1-CPU4j-EV1 CPU Unit (words IR 012 to IR 015). The following restrictions thus apply when using the 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.
See note
Note Two words are used for Units with 32 I/O points. Displaying or printing will not be possible for more than the first 12 words (192 points).
I002 I004 Q100 Q102 Q006 007 105 I001 I003 I005 Q101 Q103 Q104 008 106 Can be used as output words/bits Can be used as input words/bits
131
Glossary
*DM 1:1 link ACP add count input address AND Indirectly addressed DM area. See indirect address and DM area. A link created between two PCs to create common data in their LR areas. See add count input. An input signal used to increment a counter when the signal changes from OFF to ON. A number used to identify the location of data or programming instructions in memory. A logic operation whereby the result is true if and only if both premises are true. In ladder-diagram programming the premises are usually ON/OFF states of bits or the logical combination of such states called execution conditions. See data area and memory area. A one or two letter prefix used to identify a memory area in the PC. All memory areas except the IR and SR areas require prefixes to identify addresses in them. A shift operation wherein the carry flag is included in the shift. Short for American Standard Code for Information Interchange. ASCII is used to code characters for output to printers and other external devices. A PC data area allocated to flags and control bits. An MS DOS file containing commands automatically executed at startup. A copy made of existing data to ensure that the data will not be lost even if the original data is corrupted or erased. A fundamental instruction used in a ladder diagram. See advanced instruction. The data transmission speed between two devices in a system measured in bits per second. See binary-coded decimal. An arithmetic calculation that uses numbers expressed in binary-coded decimal. A number system where all numbers are expressed in base 2, i.e., numbers are written using only 0s and 1s. Each group of four binary bits is equivalent to one hexadecimal digit. Binary data in memory is thus often expressed in hexadecimal for convenience. An arithmetic calculation that uses numbers expressed in binary. A system used to represent numbers so that every four binary bits is numerically equivalent to one decimal digit. The smallest piece of information that can be represented on a computer. A bit has the value of either zero or one, corresponding to the electrical signals ON and OFF. A bit represents one binary digit. Some bits at particular addresses are allocated to special purposes, such as holding the status of input from external devices, while other bits are available for general use in programming. The location in memory where a bit of data is stored. A bit address specifies the data area and word that is being addressed as well as the number of the bit within the word.
area area prefix arithmetic shift ASCII AR Area AUTOEXEC.BAT back-up basic instruction baud rate BCD BCD calculation binary
bit address
133
Glossary
bit designator bit number bit-control instruction block building-block PC An operand that is used to designate the bit or bits of a word to be used by an instruction. A number that indicates the location of a bit within a word. Bit 00 is the rightmost (least-significant) bit; bit 15 is the leftmost (most-significant) bit. An instruction that is used to control the status of an individual bit as opposed to the status of an entire word. See logic block and instruction block. A PC that is constructed from individual components, or building blocks. With building-block PCs, there is no one Unit that is independently identifiable as a PC. The PC is rather a functional assembly of Units. A communications path used to pass data between any of the Units connected to it. The line leading down the left and sometimes right side of a ladder diagram. Instruction execution proceeds down the bus bar, which is the starting point for all instruction lines. A unit of data equivalent to 8 bits, i.e., half a word. A process by which instruction execution shifts from the main program to a subroutine. The subroutine may be called by an instruction or by an interrupt. A flag that is used with arithmetic operations to hold a carry from an addition or multiplication operation, or to indicate that the result is negative in a subtraction operation. The carry flag is also used with certain types of shift operations. A device that is capable of storing programs and data, and executing the instructions contained in the programs. In a PC System, the central processing unit executes the program, processes I/O signals, communicates with external devices, etc. See word. See word. A numeric (usually binary) code used to represent an alphanumeric character. A sum transmitted with a data pack in communications. The checksum can be recalculated from the received data to confirm that the data in the transmission has not been corrupted. A pulse available at specific bits in memory for use in timing operations. Various clock pulses are available with different pulse widths, and therefore different frequencies. A bit in memory that supplies a pulse that can be used to time operations. Various clock pulse bits are available with different pulse widths, and therefore different frequencies. Data that is stored in a memory of a PC and which is shared by other PCs in the same the same system. Each PC has a specified section(s) of the area allocated to it. Each PC writes to the section(s) allocated to it and reads the sections allocated to the other PCs with which it shares the common data. Cable used to transfer data between components of a control system and conforming to the RS-232C or RS-422 standards. An instruction used to compare data at different locations in memory to determine the relationship between the data.
clock pulse
common data
134
Glossary
Completion Flag condition 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. A symbol placed on an instruction line to indicate an instruction that controls the execution condition for the terminal instruction. Each condition is assigned a bit in memory that determines its status. The status of the bit assigned to each condition determines the next execution condition. Conditions correspond to LOAD, LOAD NOT, AND, AND NOT, OR, or OR NOT instructions. An MS DOS file containing environment settings for a personal computer. An input for an operand in which the actual numeric value is specified. Constants can be input for certain operands in place of memory area addresses. Some operands must be input as constants. A bit in a memory area that is set either through the program or via a Programming Device to achieve a specific purpose, e.g., a Restart Bit is turned ON and OFF to restart a Unit. An operand that specifies how an instruction is to be executed. The control data may specify the part of a word is to be used as the operand, it may specify the destination for a data transfer instructions, it may specify the size of a data table used in an instruction, etc. A signal sent from the PC to effect the operation of the controlled system. All of the hardware and software components used to control other devices. A Control System includes the PC System, the PC programs, and all I/O devices that are used to control or obtain feedback from the controlled system. The devices that are being controlled by a PC System. The signal counted by a counter. A dedicated group of digits or words in memory used to count the number of times a specific process has occurred, or a location in memory accessed through a TIM/CNT bit and used to count the number of times the status of a bit or an execution condition has changed from OFF to ON. See central processing unit. An acronym for clear-to-send, a signal used in communications between electronic devices to indicate that the receiver is ready to accept incoming data. See Carry Flag. One unit of processing performed by the CPU Unit, including ladder program execution, peripheral servicing, I/O refreshing, etc. The time required to complete one cycle of CPU Unit processing. See scheduled interrupt. An area in the PCs memory that is designed to hold a specific type of data. The highest address available within a data area. When designating an operand that requires multiple words, it is necessary to ensure that the highest address in the data area is not exceeded. A floppy disk used to same user programs, DM area contents, comments, and other user data. In communications, the number of bits that is to be treated as one unit in data transmissions.
CONFIG.SYS constant
control bit
control data
CPU Unit CTS CY cycle cycle time cyclic interrupt data area data area boundary
135
Glossary
data link data link area data movement instruction data sharing data trace data transfer debug An automatic data transmission operation that allows PCs or Units within PC to pass data back and forth via common data areas. A common data area established through a data link. An instruction used to move data from one location in memory to another. The data in the original memory location is left unchanged. The process in which common data areas or common data words are created between two or more PCs. A process in which changes in the contents of specific memory locations are recorded during program execution. Moving data from one memory location to another, either within the same device or between different devices connected via a communications line or network. A process by which a draft program is corrected until it operates as intended. Debugging includes both the removal of syntax errors, as well as the fine-tuning of timing and coordination of control operations. A number system where numbers are expressed to the base 10. In a PC all data is ultimately stored in binary form, four binary bits are often used to represent one decimal digit, via a system called binary-coded decimal. Decreasing a numeric value, usually by 1. A value automatically set by the PC when the user does not specifically set another value. Many devices will assume such default conditions upon the application of power. A number used as an operand for an instruction but that serves to define the instruction itself, rather that the data on which the instruction is to operate. Definers include jump numbers, subroutine numbers, etc. The location where an instruction places the data on which it is operating, as opposed to the location from which data is taken for use in the instruction. The location from which data is taken is called the source. An instruction that is executed only once each time its execution condition goes from OFF to ON. Non-differentiated instructions are executed for each scan as long as the execution condition stays ON. An instruction used to ensure that the operand bit is never turned ON for more than one scan after the execution condition goes either from OFF to ON for a Differentiate Up instruction or from ON to OFF for a Differentiate Down instruction. A unit of storage in memory that consists of four bits. An operand that is used to designate the digit or digits of a word to be used by an instruction. A rail designed to fit into grooves on various devices to allow the devices to be quickly and easily mounted to it. Dual in-line package switch, an array of pins in a signal package that is mounted to a circuit board and is used to set operating parameters. A method in which program execution results are output immediately to eliminate the affects of the cycle time. A automation concept in which control of each portion of an automated system is located near the devices actually being controlled, i.e., control is decentralized
decimal
decrement default
definer
destination
differentiated instruction
differentiation instruction
digit digit designator DIN track DIP switch direct output distributed control
136
Glossary
and distributed over the system. Distributed control is a concept basic to PC Systems. DM area DM word downloading A data area used to hold only word data. Words in the DM area cannot be accessed bit by bit. A word in the DM area. The process of transferring a program or data from a higher-level or host computer to a lower-level or slave computer. If a Programming Device is involved, the Programming Device is considered the host computer. Electrically erasable programmable read-only memory; a type of ROM in which stored data can be erased and reprogrammed. This is accomplished using a special control lead connected to the EEPROM chip and can be done without having to remove the EEPROM chip from the device in which it is mounted. Random variations of one or more electrical characteristics such as voltage, current, and data, which might interfere with the normal operation of a device. Erasable programmable read-only memory; a type of ROM in which stored data can be erased, by ultraviolet light or other means, and reprogrammed. A numeric code generated to indicate that an error exists, and something about the nature of the error. Some error codes are generated by the system; others are defined in the program by the operator. An area used to store records indicating the time and nature of errors that have occurred in the system. A communication setting that adjusts the number of ON bits so that it is always even. See parity. Processing that is performed in response to an event, e.g., an interrupt signal. A logic operation whereby the result is true if both of the premises are true or both of the premises are false. In ladder-diagram programming, the premises are usually the ON/OFF states of bits, or the logical combination of such states, called execution conditions. A logic operation whereby the result is true if one, and only one, of the premises is true. In ladder-diagram programming the premises are usually the ON/OFF states of bits, or the logical combination of such states, called execution conditions. The ON or OFF status under which an instruction is executed. The execution condition is determined by the logical combination of conditions on the same instruction line and up to the instruction currently being executed. The cycle used to execute all processes required by the CPU Unit, including program execution, I/O refreshing, peripheral servicing, etc. The time required for the CPU Unit to execute either an individual instruction or an entire program. A counter created in a program by using two or more count instructions in succession. Such a counter is capable of counting higher than any of the standard counters provided by the individual instructions. A timer created in a program by using two or more timers in succession. Such a timer is capable of timing longer than any of the standard timers provided by the individual instructions.
EEPROM
exclusive OR
execution condition
extended timer
137
Glossary
FA factory computer FAL error FALS error fatal error FCS flag Factory automation. A general-purpose computer, usually quite similar to a business computer, that is used in automated factory control. An error generated from the user program by execution of an FAL(06) instruction. An error generated from the user program by execution of an FALS(07) instruction or an error generated by the system. An error that stops PC operation and requires correction before operation can continue. See frame checksum. A dedicated bit in memory that is set by the system to indicate some type of operating status. Some flags, such as the carry flag, can also be set by the operator or via the program. A bit that is programmed to turn ON and OFF at a specific frequency. A decimal number expressed as a number (the mantissa) multiplied by a power of 10, e.g., 0.538 x 10--5. The process of forcibly turning OFF a bit via a programming device. Bits are usually turned OFF as a result of program execution. The process of forcibly turning ON a bit via a programming device. Bits are usually turned ON as a result of program execution. The status of bits that have been force reset or force set. The results of exclusive ORing all data within a specified calculation range. The frame checksum can be calculated on both the sending and receiving end of a data transfer to confirm that data was transmitted correctly. A two-digit number used to input an instruction into the PC. An error originating in the hardware structure (electronic components) of the PC, as opposed to a software error, which originates in software (i.e., programs). A code in an instruction that specifies what the instruction is to do. A number system where all numbers are expressed to the base 16. In a PC all data is ultimately stored in binary form, however, displays and inputs on Programming Devices are often expressed in hexadecimal to simplify operation. Each group of four binary bits is numerically equivalent to one hexadecimal digit. A computer that is used to transfer data to or receive data from a PC in a Host Link system. The host computer is used for data management and overall system control. Host computers are generally small personal or business computers. An interface that allows communications with a host computer. An interface connecting a PC to a host computer to enable monitoring or program control from the host computer. A memory area that preserves bit status during power interrupts and used as work bits in programming. A bit in memory used to hold I/O status. Input bits reflect the status of input terminals; output bits hold the status for output terminals.
flicker bit floating-point decimal force reset force set forced status frame checksum
host computer
138
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. 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. A device connected to the I/O terminals on I/O Units. I/O devices may be either part of the Control System, if they function to help control other devices, or they may be part of the controlled system. An interrupt generated by a signal from I/O. The place at which an input signal enters the PC System, or at which an output signal leaves the PC System. In physical terms, I/O points correspond to terminals or connector pins on a Unit; in terms of programming, an I/O points correspond to I/O bits in the IR area. The process of updating output status sent to external devices so that it agrees with the status of output bits held in memory and of updating input bits in memory so that they agree with the status of inputs from external devices. The time required for an output signal to be sent from the PC in response to an input signal received from an external device. The Units in a PC that are physically connected to I/O devices to input and output signals. I/O Units include Input Units and Output Units, each of which is available in a range of specifications. A word in the IR area that is allocated to a Unit in the PC System and is used to hold I/O status for that Unit. A computer that has similar architecture to, that is logically compatible with, and that can run software designed for an IBM PC/AT computer. Increasing a numeric value, usually by 1. An address whose contents indicates another address. The contents of the second address will be used as the actual operand. An error that occurs either in hardware or software during the PC System startup, i.e., during initialization. Part of the startup process whereby some memory areas are cleared, system setup is checked, and default values are set. The signal coming from an external device into the PC. The term input is often used abstractly or collectively to refer to incoming signals. A bit in the IR area that is allocated to hold the status of an input. An external device that sends signals into the PC System. The point at which an input enters the PC System. Input points correspond physically to terminals or connector pins. A change in the status of a connection entering the PC. Generally an input signal is said to exist when, for example, a connection point goes from low to high voltage or from a nonconductive to a conductive state. The preparation necessary to use a program or software package, such as the LSS or SSS, on a computer.
I/O delay
I/O device
I/O refreshing
I/O word IBM PC/AT or compatible increment indirect address initialization error initialize input input bit input device input point input signal
install
139
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. A group of instructions that is logically related in a ladder-diagram program. A logic block includes all of the instruction lines that interconnect with each other from one or more line connecting to the left bus bar to one or more right-hand instructions connecting to the right bus bar. The time required to execute an instruction. The execution time for any one instruction can vary with the execution conditions for the instruction and the operands used in it. A group of conditions that lie together on the same horizontal line of a ladder diagram. Instruction lines can branch apart or join together to form instruction blocks. Also called a rung. An interface is the conceptual boundary between systems or devices and usually involves changes in the way the communicated data is represented. Interface devices perform operations like changing the coding, format, or speed of the data. A programming method used to treat a number of instructions as a group so that the entire group can be reset together when individual execution is not required. An interlocked program section is executed normally for an ON execution condition and partially reset for an OFF execution condition. A signal that stops normal program execution and causes a subroutine to be run or other processing to take place. A program that is executed in response to an interrupt. See normally closed condition. An acronym for Japanese Industrial Standards. A type of programming where execution moves directly from one point in a program to another, without sequentially executing any instructions in between. A definer used with a jump that defines the points from and to which a jump is to be made. A form of program arising out of relay-based control systems that uses circuittype diagrams to represent the logic flow of programming instructions. The appearance of the program is similar to a ladder, and thus the name. A symbol used in drawing a ladder-diagram program. An instruction that represents the conditions on a ladder-diagram program. The other instructions in a ladder diagram fall along the right side of the diagram and are called terminal instructions. A software package installed on a IBM PC/AT or compatible computer to function as a Programming Device. See rightmost (bit/word). Acronym for light-emitting diode; a device used as for indicators or displays. The highest numbered bits of a group of bits, generally of an entire word, or the highest numbered words of a group of words. These bits/words are often called most-significant bits/words.
instruction block
instruction line
interface
interlock
interrupt (signal) interrupt program inverse condition JIS jump jump number ladder diagram (program)
140
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 connection created to data existing at another location (i.e., data links). 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. Also, an output device connected to the PC is called a load. A group of instructions that is logically related in a ladder-diagram program and that requires logic block instructions to relate it to other instructions or logic blocks. An instruction used to locally combine the execution condition resulting from a logic block with a current execution condition. The current execution condition could be the result of a single condition, or of another logic block. AND Load and OR Load are the two logic block instructions. Instructions used to logically combine the content of two words and output the logical results to a specified result word. The logic instructions combine all the same-numbered bits in the two words and output the result to the bit of the same number in the specified result word. A data area that is used in data links. See Ladder Support Software. All of a program except for subroutine and interrupt programs. A process in which changes in the contents of specific memory locations are recorded during program execution. A bit whose status has been temporarily made ineffective. Covering an interrupt signal so that the interrupt is not effective until the mask is removed. A unit of storage equal to one million bytes. Any of the areas in the PC used to hold data or programs. A number assigned to a message generated with the MESSAGE instruction. A form of a ladder-diagram program that consists of a sequential list of the instructions without using a ladder diagram. A mode of PC operation in which normal program execution is possible, and which allows modification of data held in memory. Used for monitoring or debugging the PC. See leftmost (bit/word). An input that is normally closed, i.e., the input signal is considered to be present when the circuit connected to the input opens. A delay set for a data trace in which recording data begins before the trace signal by a specified amount. Programming one loop within another loop, programming a call to a subroutine within another subroutine, or programming one jump within another. An input that is normally open, i.e., the input signal is considered to be present when the circuit connected to the input closes. Disturbances in signals caused by electrical noise.
load
logic block
logic instruction
LR area LSS main program mark trace masked bit masking megabyte memory area message number mnemonic code MONITOR mode
141
Glossary
nonfatal error normal condition normally closed condition normally open condition NOT A hardware or software error that produces a warning but does not stop the PC from operating. See normally open 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. A condition that produces an ON execution condition when the bit assigned to it is ON, and an OFF execution condition when the bit assigned to it is OFF. A logic operation which inverts the status of the operand. For example, AND NOT indicates an AND operation with the opposite of the actual status of the operand bit. The status of an input or output when a signal is said not to be present. The OFF state is generally represented by a low voltage or by non-conductivity, but can be defined as the opposite of either. The delay between the time when a signal is switched OFF (e.g., by an input device or PC) and the time when the signal reaches a state readable as an OFF signal (i.e., as no signal) by a receiving party (e.g., output device or PC). A positive or negative value added to a base value such as an address to specify a desired value. The status of an input or output when a signal is said to be present. The ON state is generally represented by a high voltage or by conductivity, but can be defined as the opposite of either. The delay between the time when an ON signal is initiated (e.g., by an input device or PC) and the time when the signal reaches a state readable as an ON signal by a receiving party (e.g., output device or PC). A bit that is turned ON or OFF for a specified interval of time which is longer than one scan. See 1:1 link. The process of changed the program directly in the PC from a Programming Device. Online editing is possible in PROGRAM or MONITOR mode. In MONITOR mode, the program can actually be changed while it is being The values designated as the data to be used for an instruction. An operand can be input as a constant expressing the actual numeric value to be used or as an address to express the location in memory of the data to be used. A bit designated as an operand for an instruction. A word designated as an operand for an instruction. One of three PC modes: PROGRAM mode, MONITOR mode, and RUN mode. An error that occurs during actual PC operation as opposed to an initialization error, which occurs before actual operations can begin. A logic operation whereby the result is true if either of two premises is true, or if both are true. In ladder-diagram programming the premises are usually ON/OFF states of bits or the logical combination of such states called execution conditions. The signal sent from the PC to an external device. The term output is often used abstractly or collectively to refer to outgoing signals.
OFF
OFF delay
offset ON
ON delay
operand
output
142
Glossary
output bit output device output point output signal A bit in the IR area that is allocated to hold the status to be sent to an output device. An external device that receives signals from the PC System. The point at which an output leaves the PC System. Output points correspond physically to terminals or connector pins. A signal being sent to an external device. Generally an output signal is said to exist when, for example, a connection point goes from low to high voltage or from a nonconductive to a conductive state. The state where the capacity of a data storage location has been exceeded. Part of the processing performed by the CPU Unit that includes general tasks required to operate the PC. Changing the content of a memory location so that the previous content is lost. Adjustment of the number of ON bits in a word or other unit of data so that the total is always an even number or always an odd number. Parity is generally used to check the accuracy of data after being transmitted by confirming that the number of ON bits is still even or still odd. Checking parity to ensure that transmitted data has not been corrupted. See Programmable Controller. The arrangement and interconnections of the Units that are put together to form a functional PC. With building-block PCs, all of the Units connected up to, but not including, the I/O devices. The boundaries of a PC System are the PC and the program in its CPU Unit at the upper end; and the I/O Units at the lower end. See printed circuit board. A group of operating parameters set in the PC from a Programming Device to control PC operation. Devices connected to a PC System to aid in system operation. Peripheral devices include printers, programming devices, external storage media, etc. Processing signals to and from peripheral devices, including refreshing, communications processing, interrupts, etc. A connector on a PC or computer that serves as a connection to an external device. A delay set for a data trace in which recording data begins after the trace signal by a specified amount. A Unit that connected to a PC that provides power at the voltage required by the other Units. The current value registered in a device at any instant during its operation. Present value is abbreviated as PV. The use of this term is generally restricted to timers and counters. A board onto which electrical circuits are printed for mounting into a computer or electrical device. A mode of operation that allows inputting and debugging of programs to be carried out, but that does not permit normal execution of the program.
PCB PC Setup Peripheral Device peripheral servicing port positive delay Power Supply Unit present value
143
Glossary
Programmable Controller A computerized device that can accept inputs from external devices and generate outputs to external devices according to a program held in memory. Programmable 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. Such Programmable Controllers are formed only when enough of these separate components are assembled to form a functional assembly. An alarm given as a result of execution of an instruction designed to generate the alarm in the program, as opposed to one generated by the system. An error arising as a result of the execution of an instruction designed to generate the error in the program, as opposed to one generated by the system. A message generated as a result of execution of an instruction designed to generate the message in the program, as opposed to one generated by the system. The portable form of Programming Device for a PC. A Peripheral Device used to input a program into a PC or to alter or monitor a program already held in the PC. There are dedicated programming devices, such as Programming Consoles, and there are non-dedicated devices, such as a host computer. Programmable read-only memory; a type of ROM into which the program or data may be written after manufacture, by a customer, but which is fixed from that time on. A message or symbol that appears on a display to request input from the operator. The parameters and procedures that are standardized to enable two devices to communicate or to enable a programmer or operator to communicate with a device. See present value. Random access memory; a data storage media. RAM will not retain data when power is disconnected. An acronym for reliability, assurance, safety. A memory area from which the user can read status but to which data cannot be written. The process of updating output status sent to external devices so that it agrees with the status of output bits held in memory and of updating input bits in memory so that they agree with the status of inputs from external devices. The forerunner of PCs. In relay-based control, groups of relays are interconnected to form control circuits. In a PC, these are replaced by programmable circuits. A bit that is not available for user application. A word in memory that is reserved for a special purpose and cannot be accessed by the user. The process of turning a bit or signal OFF or of changing the present value of a timer or counter to its set value or to zero. A code sent with the response to a data transmission that specifies how the transmitted data was processed.
programmed alarm programmed error programmed message Programming Console Programming Device
PROM
prompt protocol
relay-based control
144
Glossary
response format response monitoring time Restart Bit result word retrieve A format specifying the data required in a response to a data transmission. The time a device will wait for a response to a data transmission before assuming that an error has occurred. A bit used to restart part of a PC. A word used to hold the results from the execution of an instruction. 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. Also, an output device connected to the PC is called a load. The process whereby a device will re-transmit data which has resulted in an error message from the receiving device. The process by which instruction execution shifts from a subroutine back to the main program (usually the point from which the subroutine was called). A counter that can be both incremented and decremented depending on the specified conditions. A shift register that can shift data in either direction depending on the specified conditions. See terminal instruction. The lowest numbered bits of a group of bits, generally of an entire word, or the lowest numbered words of a group of words. These bits/words are often called least-significant bits/words. The point where a signal actually changes from an OFF to an ON status. Read only memory; a type of digital storage that cannot be written to. A ROM chip is manufactured with its program or data already stored in it and can never be changed. However, the program or data can be read as many times as desired. A shift register in which the data moved out from one end is placed back into the shift register at the other end. An industry standard for serial communications. The operating mode used by the PC for normal control operations. See instruction line. The process used to execute a ladder-diagram program. The program is examined sequentially from start to finish and each instruction is executed in turn based on execution conditions. See cycle time. An interrupt that is automatically generated by the system at a specific time or program location specified by the operator. Scheduled interrupts result in the execution of specific subroutines that can be used for instructions that must be executed repeatedly at a specified interval of time. See subtract count input. See self-maintaining bit. A process whereby the system checks its own operation and generates a warning or error if an abnormality is discovered.
retry return reversible counter reversible shift register right-hand instruction rightmost (bit/word)
145
Glossary
self-maintaining bit series servicing set set value A bit that is programmed to maintain either an OFF or ON status until set or reset by specified conditions. A wiring method in which Units are wired consecutively in a string. The process whereby the PC checks a connector or Unit to see if special processing is required. The process of turning a bit or signal ON. The value from which a decrementing counter starts counting down or to which an incrementing counter counts up (i.e., the maximum count), or the time from which or for which a timer starts timing. Set value is abbreviated SV. An input signal whose OFF to ON transition causes data to be shifted one bit. One or more words in which data is shifted a specified number of units to the right or left in bit, digit, or word units. In a rotate register, data shifted out one end is shifted back into the other end. In other shift registers, new data (either specified data, zero(s) or one(s)) is shifted into one end and the data shifted out at the other end is lost. A binary value that is stored in memory along with a bit that indicates whether the value is positive or negative. An error that originates in a software program. A means of protecting data from being changed that uses software as opposed to a physical switch or other hardware setting. The location from which data is taken for use in an instruction, as opposed to the location to which the result of an instruction is to be written. The latter is called the destination. An instruction input with a function code that handles data processing operations within ladder diagrams, as opposed to a basic instruction, which makes up the fundamental portion of a ladder diagram. A memory area containing flags and other bits/words with specific functions. See SYSMAC Support Software. The process of recording a program written into a display buffer permanently in memory. A group of instructions placed separate from the main program and executed only when called from the main program or activated by an interrupt. A definer used to identify the subroutine that a subroutine call or interrupt activates. An input signal used to decrement a counter when the signal changes from OFF to ON. See set value. The maximum voltage/current that a relay can safely switch on and off. Execution of programs and servicing operations in which program execution and servicing are synchronized so that all servicing operations are executed each time the programs are executed. The form of a program statement (as opposed to its meaning).
special instruction
SR area SSS store subroutine subroutine number subtract count input SV switching capacity synchronous execution
syntax
146
Glossary
syntax error An error in the way in which a program is written. Syntax errors can include spelling mistakes (i.e., a function code that does not exist), mistakes in specifying operands within acceptable parameters (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). A software package installed on a IBM PC/AT or compatible computer to function as a Programming Device. The arrangement in which Units in a System are connected. This term refers to the conceptual arrangement and wiring together of all the devices needed to comprise the System. An error generated by the system, as opposed to one resulting from execution of an instruction designed to generate an error. An error message generated by the system, as opposed to one resulting from execution of an instruction designed to generate a message. Operating environment settings for a Programming Device, e.g., the LSS or SSS. An instruction placed on the right side of a ladder diagram that uses the final execution conditions of an instruction line. A location in memory accessed through a TIM/CNT bit and used to time down from the timers set value. Timers are turned ON and reset according to their execution conditions. A data area used to store execution conditions so that they can be reloaded later for use with other instructions. A bit in the TR area. An operation whereby the program is executed and the resulting data is stored to enable step-by-step analysis and debugging. A memory area used to store the results of trace operations. The process of moving data from one location to another within the PC, or between the PC and external devices. When data is transferred, generally a copy of the data is sent to the destination, i.e., the content of the source of the transfer is not changed. The distance that a signal can be transmitted. A signal used to activate some process, e.g., the execution of a trace operation. An address in the program that defines the beginning point for tracing. The actual beginning point can be altered from the trigger by defining either a positive or negative delay. The memory area used to hold the active program, i.e., the program that is being currently executed. In OMRON PC terminology, the word Unit is capitalized to indicate any product sold for a PC System. Most of the names of these products end with the word Unit. A number assigned to some Units to facilitate identification when assigning words or other operating parameters. A bit whose status is effective. See masked bit.
system error system error message system setup terminal instruction timer
UM area Unit
147
Glossary
unsigned binary uploading A binary value that is stored in memory without any indication of whether it is positive or negative. The process of transferring a program or data from a lower-level or slave computer to a higher-level or host computer. If a Programming Devices is involved, the Programming Device is considered the host computer. A timer within the system that ensures that the scan time stays within specified limits. When limits are reached, either warnings are given or PC operation is stopped depending on the particular limit that is reached. See watchdog timer. A unit of data storage in memory that consists of 16 bits. All data areas consists of words. Some data areas can be accessed only by words; others, by either words or bits. The location in memory where a word of data is stored. A word address must specify (sometimes by default) the data area and the number of the word that is being addressed. A part of memory containing work words/bits. A bit in a work word. A word that can be used for data calculation or other manipulation in programming, i.e., a work space in memory. A large portion of the IR area is always reserved for work words. Parts of other areas not required for special purposes may also be used as work words. A switch used to write-protect the contents of a storage device, e.g., a floppy disk. If the hole on the upper left of a floppy disk is open, the information on this floppy disk cannot be altered. A state in which the contents of a storage device can be read but cannot be altered.
watchdog timer
WDT word
word address
write-protect
148
Index A
ABS, specifications, 48 ABS interface function, 6, 17 absolute encoder interfaces. See ABS interface function AC Input Units, specifications, 58 analog setting function, 4, 6, 15 ASCII, converting displays, Programming Console, 107 assembly, PC, 24
D
data, modifying, Programming Console, 101102, 103, 104, 105 date, reading and changing, Programming Console, 90 DC Input Units, specifications, 53, 55, 56 decimal data with sign, modifying, Programming Console, 104 decimal data without sign, modifying, Programming Console, 105 Dedicated I/O Units, standard models, 126 differentiated instructions, entering, 94
B
battery, service life, 129 Battery Set, replacement, 13 binary data, modifying, Programming Console, 103 bit status, force-set/reset, Programming Console, 106 bits, searching, Programming Console, 91 buzzer operation, Programming Console, 88
dimensions assembled PC, 23 CPU Unit, 11 CQM1-OC224, 22 End Plate, 11 I/O Units, 22, 23 DIN Track, 127 DIP switch, 8 displays converting between hex and ASCII, Programming Console, 107 cycle time, Programming Console, 108
C
check levels, program checks, 113 checking, program syntax, Programming Console, 96 clearing, memory areas, Programming Console, 87 clock, 11 reading and changing, Programming Console, 90 communication errors, 116 configuration, 3 Contact Output Units, specifications, 59 counters, changing SV, Programming Console, 102 CPU Unit, 7 components, 7 dimensions, 11 indicators, 9 specifications, 40 weight, 11 CPU Units, standard models, 125 CQM1-OC224, dimensions, 22 current consumption, 19 cycle time, displaying, Programming Console, 108
E
EC Directives, xiv, 33 EEPROM, write protection, 12 EMC, 29 encoder input indicators, 17 End Cover, dimensions, 11 EPROM chips, 12 installation, 12 EPROM ICs, 127 error log area, 114 errors communications, 116 fatal, 116 general, 112 non-fatal, 115 programming, 113 Programming Console operations, 113 reading/clearing messages, Programming Console, 88 types, 112 user-defined errors, 114 expansion instructions, reading and changing, Programming Console, 89
149
Index
F
FAL(06), 114 FALS(07), 114 features, 3 force resetting, Programming Console, 106 force setting, Programming Console, 106 force-set/reset clearing, Programming Console, 107 Programming Console, 106 function codes, reading and changing, Programming Console, 89
M
maintenance, battery replacement, 13 memory areas clearing, Programming Console, 87 partial clear, 87 Memory Cassette, installation, 11 Memory Cassettes, 11, 127 mode selector, Programming Console, 10 modifying binary data, Programming Console, 103 data, Programming Console, 101 decimal data with sign, Programming Console, 104 decimal data without sign, Programming Console, 105 hexadecimal/BCD data, Programming Console, 103 SV, Programming Console, 102 MONITOR mode, description, 10 monitoring 3-word monitor, Programming Console, 99100 binary monitor, Programming Console, 99 decimal monitor with sign, Programming Console, 100 decimal monitor without sign, Programming Console, 101 differentiation monitor, Programming Console, 98 status, Programming Console, 96 MSG(46), 115
G-H
ground, precautions, 27, 28 grounding, during PC installation, 31 hexadecimal data, converting displays, Programming Console, 107
I
I/O line noise, 30 I/O Unit components, 20 types, 20 I/O Units dimensions, 22, 23 models, 20 terminal block removal, 21 weight, 20 indicators CPU Unit. See CPU Unit indicators encoder input, 17 pulse input, 16 pulse output, 16 inductive loads, 31 input devices, wiring, 31 Input Units, standard models, 126 inrush current, 30 installation, DIN Track, 25 instructions inserting and deleting, Programming Console, 92 searching, Programming Console, 91 interrupts, 4
N-O
noise, 30 one-to-one link, wiring, 39 operating modes, PC, 10 Output Units, standard models, 126 outputs, turning OFF, 116
P
Peripheral Devices, 127 peripheral port, 4 connecting devices, 37 power cables, 30 power interruptions, Programmable Controller, 14 power supply, wiring, precautions, 28 Power Supply Units components, 18 dimensions, 18 specifications, 40 standard models, 125
L
Ladder Support Software. See LSS leakage current, 30
150
Index
precautions 2-wire sensors, 32 general, xi ground, 27, 28 SYSMAC-CPT, 82, 131 program, automatic transfer, 11 Program Memory, setting address and reading content, Programming Console, 9091 PROGRAM mode, description, 10 programming checks for syntax, Programming Console, 96 errors, 113 inserting and deleting instructions, Programming Console, 9293 searching, Programming Console, 9192 setting and reading a memory address, Programming Console, 90 Programming Console connecting, 37 connecting to PC, 84 designating operands, 86 displays, 85 keys, 83 mode selector, 10 models, 83 programs checking, check levels, 113 entering and editing, Programming Console, 93 pulse I/O function, 4, 6, 15 pulse input, specifications, 42 pulse input indicators, 16 pulse output indicators, 16
S
search instruction, Programming Console, 91 operands, Programming Console, 9192 sensors, 2-wire sensors, precautions, 32 signed binary data, inputting using decimal values, 108 signed binary instructions, using, 110 specifications ABS, 48 AC Input Units, 58 Contact Output Units, 59 CPU Unit, 40 CPU Unit inputs, 51 DC Input Units, 53, 55, 56 Power Supply Units, 40 pulse input, 42 Units, 40 SSS, 75 status, monitoring, Programming Console, 96 SV, modifying, Programming Console, 102 switches, DIP. See DIP switch syntax, checking the program, Programming Console, 96 SYSMAC Support Software. See SSS SYSMAC-CPT, precautions, 82, 131 system configuration, 3
T
time, reading and changing, Programming Console, 90 timers, changing SV, Programming Console, 102 Transistor Output Unit, specifications, 61 troubleshooting, 117
R
RS-232C port, 4, 6 connecting devices, 38 one-to-one link, 39 specifications, 38, 39 wiring example, 39 RUN mode, description, 10
W
weight, CPU Unit, 11 wiring AC Power Supply Units, 26 DC Power Supply Units, 27 I/O Units, 29 precautions inductive load surge suppressor, 33 output surge current, 34
151
Revision History
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
Revision code
1 1A
Date
August 1993 October 1993 Original production
Revised content
The new LSS version which was to be released soon has been released.
Page 3: Minor alteration to the Main Features. Page 9: MONITOR Mode and RUN Mode corrected. Page 10: Table comments corrected. Page 18: Diagrams and note corrected for Power Supply Unit Wiring. Page 19: Surge current changed to inrush current. Corrections made to the diagram text and to I/O Line Noise text. Page 20: Minor correction to middle diagram. Page 21: Circuit diagrams corrected. Page 22: Peripheral Device Connection rewritten. Page 23: Minor correction to diagram. Page 25: Output capacity and vibration resistance specifications clarified. Page 26: MACRO instruction words, Timers/Counters, and Data memory specifications clarified. Page 28: Internal current consumption clarified, CQM1-ID212 Terminal Connections corrected, and note added. Page 29: Internal current consumption clarified. Page 30: Internal current consumption and Service Power Supply clarified, and Circuit Configuration corrected. Page 31: Internal current consumption clarified, Service Power Supply and Circuit Configuration corrected. Page 36: Cable length for the CQM1-PRO01-E corrected. Keypad for the C200H-PRO27-E changed. Page 38: Minor change to the diagram. Page 39: Header changed to Reading/Clearing Error Messages. Step 2 display of the key sequence for Reading/Clearing Error Messages corrected. Page 40: Step 1 of the key sequence for Buzzer Operation corrected. Pages 41, 42: Displays for Reading and Changing Expansion Instructions and Reading and Changing the Clock have been corrected. Page 43: Steps 3 and 5 displays of the key sequence for Instruction Search corrected. Page 45: Step 5 display of the key sequence for Entering or Editing Programs corrected. Pages 48, 49: Steps 3 and 5 displays for Multiple Address Monitoring corrected. Page 49: Step 2 display for Binary Monitor corrected. Page 51: Steps 3 and 4b displays for Changing Timer, Counter SV corrected. Page 52: Steps 3 and 5 displays for Multiple Address Monitoring corrected. Page 53: Bits in SR words corrected. Page 54: Step 2 text addition for Force Set, Reset. Page 58: Text addition to Operating Errors. Page 59: REPL ROM Programming Console operation error rewritten. Pages 61, 62: Note added to the bottom of both pages. Pages 63 to 65: Minor corrections to the flowcharts.
2 2A 2B
The manual was extensively rewritten to incorporate information on the new CPUs, I/O Units, and Dedicated I/O Units.
Page 34: Computational speed specifications corrected for the Pulse Input Port (CQM1-CPU43-E) table. Pages 2, 3, 7, 29, 87: SYSMAC Support Software (SSS) added. Page 15: The 1 kHz corrected to 4 kHz in the first sentence of 2-1-10 ABS Interface Function. Page 13: A section on Programmable Controller Power Instructions added. Page 17: New Dedicated I/O Units added. Page 33: Data for Types of Instructions, Input Bits, Output Bits, and Work Bits corrected. Page 40: Computational speed changed from 1 kHz corrected to 4 kHz in the table. Pages 43, 45, 46, 47, 48, 49, 50, 52, 53, 55: Corrections made to the Terminal Connections. Page 35: Output frequency row added to the table. Page 47: Terminal connections corrected. Page 59: 3-2 SSS Capabilities added. Pages 65, 74, 75: SET Key corrected to SHIFT Key. Page 66: Text after the table deleted and SET Key corrected to SHIFT Key in 3-4-6 Reading and Changing the Clock. Page 73: 6 bits corrected to 16 bits in the first sentence of 3-4-13 Bit, Digit, Word Monitor. SET Key corrected to SHIFT Key for the Bit Monitor sequence. Page 84: DM data corrected to word data in 3-4-27 Hex-ASCII Display Change. 3-5-29 Inputting Signed Binary Data Using Decimal Values and 3-5-30 Using Signed Binary Instructions added. Page 101: Output Units specifications corrected. New Dedicated I/O Units and SSS added. Page 18: DC Input Unit models added. Pages 45 and 46 : CQM1-ID111 and CQM1-ID112 added (new pages). Page 102: Note corrected. Page 115: Appendix B Battery Service Life added. Page 56: Circuit configuration corrected for CQM1-OD215. Pages 77, 83: Set Key corrected to Shift Key for the top display. Page 80: The program addresses corrected from 00202 to 00203. Page 105: ERR/ALM corrected to RUN at the bottom of the flowchart. Page 28: 2-5-5 Compliance with EC Directives added.
2C
July 1995
2D
July 1996
Pages 16, 17, 20, 23, 32, 111: CQM1-PA216 added. Pages 17, 18, 59, 112: CQM1-OA222 added. Pages 17, 113: DeviceBus/S Units added. Pages 23, 24: Terminal Block rewritten and Wiring Precautions for Ground Wires added. Page 51: Circuit configuration corrected for CQM1-OD211. Pages 17, 18, 19, 52, 116: CQM1-OC224 added.
3 4 5
CQM1-CPU4j-E CPU Unit model numbers changed to CQM1-CPU4j-EV1 throughout the manual.
Page 6: Maximum I/O points for CQM1-CPU4j-EV1 CPU Units changed from 192 to 256.
Page 30: Precautions in Connecting 2-wire DC Sensors added. Page 38: Vibration resistance and shock resistance specifications corrected in 2-6-1 Power Supply Units. Pages 18, 19, 54, 120: Information for the new C200H-ID214 added. Page 62: Changes made to circuit configuration diagrams. Page 63: Note added. Page 67: CQM1-OD216 specifications added.
February 2000
Page xiv: Application precautions information added. Page 7: Information added to table. Pages 18, 19, 122: Information about CQM1-OD216 added to tables.
September 2000
Page 23: Description about PC orientation added. Page 86: Captions added in 2 places.
153