Professional Documents
Culture Documents
Symac CQM1 Omron Operation Manual
Symac CQM1 Omron Operation Manual
W226–E1–5
SYSMAC
CQM1
Programmable Controllers
OPERATION MANUAL
CQM1 Programmable Controllers
Operation Manual
Revised February 1999
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator
and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed
the information provided with them. Failure to heed precautions can result in injury to people or dam-
age to property.
! DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury.
! WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury.
! Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
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 permis-
sion 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 informa-
tion contained in this publication.
v
TABLE OF CONTENTS
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
6 Conformance to EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
SECTION 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1-3 CQM1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
SECTION 2
Units and Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2-1 CPU Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
2-2 Power Supply Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2-3 I/O Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2-4 PC Assembly and Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2-5 Wiring and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2-6 Unit Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
SECTION 3
The LSS, SSS, SYSMAC-CPT, and Programming Consoles . .
............................................. 69
3-1 LSS Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
3-2 SSS Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71
3-3 SYSMAC-CPT Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
3-4 Compatible Programming Consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
3-5 Preparation for Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80
3-6 Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
SECTION 4
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
4-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108
4-2 Programming Console Operation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
4-3 Programming Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
4-4 User-defined Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110
4-5 Operating Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
4-6 Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Appendices
A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
B Battery Service Life . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
C SYSMAC-CPT Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
vii
About this Manual:
The CQM1 is a compact, high-speed Programmable Controller (PC) designed for advanced control
operations in systems requiring from 16 to 256 I/O points per PC. There are two manuals describing the
setup and operation of the CQM1: The CQM1 Operation Manual (this manual) and the CQM1 Program-
ming Manual. Also available is the CQM1-series Dedicated I/O Units Operation Manual.
This manual describes the system configuration and installation of the CQM1 and provides an basic
explanation of operating procedures for the Programming Consoles and introduces the capabilities of the
Ladder Support Software (LSS) and SYSMAC Support Software (SSS). Read this manual first to acquaint
yourself with the CQM1.
The CQM1 Programming Manual provides detailed descriptions of the CQM1’s programming functions.
The Ladder Support Software Operation Manual and the SYSMAC Support Software Operation Manual:
C-series PCs provides descriptions of LSS and SSS operations for the CQM1 and C-series PCs. Use
Version-3 LSS or a later version for CQM1 operation.
Please read this manual carefully and be sure you understand the information provide before attempting
to install and operate the CQM1.
Section 1 gives a brief overview of the steps involved in developing of a CQM1 System, describes the
possible system configurations, and describes the CQM1’s special features and functions.
Section 2 describes the Units that go together to create a CQM1 PC and provides information on switch
settings, installation, and hardware maintenance. Technical specifications of the Units are also provided.
Section 3 describes LSS/SSS capabilities, how to connect the Programming Console, and how to per-
form the various Programming Console operations.
Section 4 describes how to diagnose and correct the hardware and software errors that can occur during
PC operation.
The Appendix provides tables of CQM1 Units and related products.
! 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 Con-
troller. You must read this section and understand the information contained before attempting to set up or operate a
PC system.
xi
Conformance to EC Directives 6
1 Intended Audience
This manual is intended for the following personnel, who must also have knowl-
edge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
2 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.
3 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 malfunc-
tion.
xii
Conformance to EC Directives 6
! Caution Take appropriate and sufficient countermeasures when installing systems in the
following locations:
! Caution The operating environment of the PC System can have a large effect on the lon-
gevity 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 installa-
tion and remains within the specified conditions during the life of the system.
5 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 class-3 ground (to 100 Ω or less) when installing the Units.
Not connecting to a class-3 ground may result in electric shock.
• Always turn OFF the power supply to the PC before attempting any of the fol-
lowing. Not turning OFF the power supply may result in malfunction or electric
shock.
• Mounting or dismounting 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 pre-
cautions.
xiii
Conformance to EC Directives 6
• Install external breakers and take other safety measures against short-circuit-
ing 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 installa-
tion 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 dissipa-
tion. 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 wir-
ing 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.
6 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
overall machine to fail to meet the Standard. If this occurs, surge killers must
be connected or other measures taken external to the PC.
The following methods represent typical methods for reducing noise, and
may not be sufficient in all cases. Required countermeasures will vary
depending on the devices connected to the control panel, wiring, the config-
uration of the system, and other conditions.
xiv
Conformance to EC Directives 6
Countermeasure Examples
When switching an inductive load, connect an surge protector, diodes, etc., in
parallel with the load or contact as shown below.
Circuit Current Characteristic Required element
AC DC
CR method Yes Yes If the load is a relay or solenoid, there The capacitance of the capacitor must
is a time lag between the moment the be 1 to 0.5 µF per contact current of
circuit is opened and the moment the 1 A and resistance of the resistor must
load is reset. be 0.5 to 1 Ω per contact voltage of
Inductive
Power insert the surge protector in parallel the load and the characteristics of the
supply
with the load. If the supply voltage is relay. Decide these values from
100 to 200 V, insert the surge testing, and take into consideration
protector between the contacts. 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 No Yes The diode connected in parallel with The reversed dielectric strength value
the load changes energy accumulated of the diode must be at least 10 times
by the coil into a current, which then as large as the circuit voltage value.
Inductive
flows into the coil so that the current The forward current of the diode must
will be converted into Joule heat by be the same as or larger than the load
load
xv
Conformance to EC Directives 6
When switching a load with a high inrush current, such as an incandescent lamp,
suppress the inrush current as shown below.
Countermeasure 1 Countermeasure 2
R
OUT OUT
R
COM COM
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 CQM1’s special features and functions.
1-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1-3 CQM1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1
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.
2
CQM1 Features Section 1-3
Output Units
Contact-output type:
(8 or 16 points)
Transistor-output type:
(8/16/32 points)
Triac-output type:
(8 points)
Ladder Support Software,
SYSMAC Support Software High-speed Counter Dedicated I/O Units
Peripheral pulse output
port Absolute Encoder B7A Interface Unit,
interface I/O Link Unit, etc.
Analog setting
Personal computer
1:1 RS-232C
Host Link Bar Code Reader
Programming Console
CQM1
3
CQM1 Features Section 1-3
Pulse Output Function 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.
Communications 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 PC’s status and synchronize processes controlled by the PCs.
Analog Setting Function The CQM1-CPU42-EV1 provides volume controls with four channels for adjust-
ing analog settings.
Convenient I/O Instructions 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 hexa-
decimal 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, designat-
ing 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.
Differentiation Monitoring 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.
4
SECTION 2
Units and Installation
This section describes the Units that go together to create a CQM1 PC and provides information on switch settings, installa-
tion, and hardware maintenance. Technical specifications of the Units are also provided.
5
CPU Unit Section 2-1
CQM1-CPU11-E and CQM1-CPU11-E and CQM1-CPU21-E CPU Units provide a maximum of 128
CQM1-CPU21-E CPU Units I/O points. The only difference between the two models is the RS-232C port
that is added to the CQM1-CPU21-E.
Built-in Analog Setting The CQM1-CPU42-EV1 CPU Unit provides a built-in analog setting function.
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.
Built-in Pulse I/O Function 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 output-
ting up to 50-kHz pulses to a device such as a stepping motor.
Built-in ABS Interface The CQM1-CPU44-EV1 has two ABS interfaces (absolute encoder inter-
Function faces) that can directly receive inputs from absolute-type rotary encoders.
6
CPU Unit Section 2-1
Battery
Memory Indicators
cassette
(optional) Pulse I/O connectors (CQM1-CPU43-EV1 only);
ABS interface connectors (CQM1-CPU44-EV1 only)
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.
7
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 pro-
vide 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
Error/alarm
indicator (Red) Input Status
Indicators
8
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 Program-
ming Console.
Mode selector
MONITOR
RUN PROGRAM
Note Some Programming Devices (e.g., the Programming Console) will clear the cur-
rent display and display the new operating mode when the mode selector is
changed. You can change the mode without changing the display by first press-
ing 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 set-
tings, 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 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 corre-
sponding output bit is ON.
RUN Mode RUN mode is used when operating the PC in normal control conditions. Bit sta-
tus 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 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, 2, 3... 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 Console’s 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.
9
CPU Unit Section 2-1
CPU Unit Front View CPU Unit Side View End Cover Front View
2
110 115.7
13.5
120 107
Memory Cassette Installation Follow the procedure below to install a Memory Cassette in the CPU Unit.
! Caution Always turn off power to the CQM1 before installing or removing a Memory Cas-
sette.
1, 2, 3... 1. Remove the mounting bracket from inside the memory cassette compart-
ment.
10
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
EEPROM Write Protection Turn on the write-protect switch on the EEPROM Memory Cassette to prevent
the program or PC Setup from being deleted accidentally. Turn the switch off
when writing to the Memory Cassette.
! Caution Always turn off the CQM1 and remove the Memory Cassette when changing the
write-protect switch setting.
Read/write Read-only
(write-
protected)
EPROM Version The four EPROM chips listed below can be used in the Memory Cassettes.
EPROM Version Capacity Access Speed Model Number
27128 8K words 150 ns ROM-ID-B
27256 16K words 150 ns ROM-JD-B
27512 32K words 150 ns ROM-KD-B
11
CPU Unit Section 2-1
Install an EPROM chip onto the memory cassette as shown in the following dia-
gram.
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 dia-
gram and table for the location of the switch and its settings.
ON
OFF
! Caution Replace the battery within one week after the first indication that the battery
requires replacement. Always keep a spare Battery Set on hand. It will be highly
unlikely that you will be able to obtain a replacement Battery Set in time other-
wise. If the battery is not replaced in time, the user program and other data may
be lost.
Use the following procedure to replace the battery. You must complete this pro-
cedure within five minutes after turning off the power to the CQM1 to ensure
memory backup.
1, 2, 3... 1. Turn off the power to the CQM1.
or If the CQM1 is not turned on, turn it on for at least one minute and then turn it
off.
Note If power is not turned on for at least one minute before replacing the
battery, the capacitor that backs up memory when the battery is
12
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 Power
interrupted restored
Power supply
Time lapse until
Power failure detection detection
+5 V
CPU Unit operating voltage
0.5 s
Program RUN
13
CPU Unit Section 2-1
! 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 con-
trols. 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 Counter High-speed pulses input to the port (up to 50 kHz for single phase and
Interrupts 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
14
CPU Unit Section 2-1
! Caution The following instructions cannot be used when the CQM1-CPU43-EV1 is set to
high-speed counter mode by PC Setup (DM 6611): PLS2 and ACC mode 0.
LED Indicators
Ready (green)
Lit when the pulse I/O function is ready.
Error (red)
Lit when there is an error in the PC Setup for the pulse I/O func-
tion, or when operation is interrupted during pulse output.
107 mm
Approx. 180 mm
15
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 ERR
IN1 IN2
Encoder input (orange)
INC1 INC2 Refer to the table below.
DEC1 DEC2
107 mm
Approx. 180 mm
16
Power Supply Unit Section 2-2
Power Indicator
Lit when power is being supplied.
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.
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
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.
17
Power Supply Unit Section 2-2
Current Consumption of The following table shows the current consumption of the CPU Unit and I/O
Components Units:
The total current consumption of the components in a PC must be less than the
capacity of the Power Supply Unit being used. For example, a CQM1-PA203
Power Supply Unit (capacity: 3.6 A) can be used with a CQM1-CPU21-E CPU
Unit, two 16-point DC Input Units, and three 16-point Contact Output Units, as
shown below:
18
I/O Units Section 2-3
Indicators
Indicate the ON/OFF status
of I/O terminals. The RDY
indicator lights when power
is turned on.
Terminals
19
I/O Units Section 2-3
CQM1-CPU11/21-E:
7 Units max.
CPU Unit
Power Supply Unit
Model Max. No. of I/O points I/O points on I/O and Special I/O Units
CPU Unit
CQM1-CPU11/21-E 128 pts max. (8 words) 16 pts (1 word) 7 Units max.
CQM1-CPU11/21-E (16 pts/Unit x 7 Units = 7 words)
CQM1-CPU41-EV1 256 pts (16 words) 11 Units max.
CQM1-CPU42-EV1 max. (I/O or Special I/O Units can be
connected until the total number
CQM1-CPU43-EV1 of words for I/O and Special I/O
CQM1-CPU44-EV1 Units is 15 words or less)
(CQM1-CPU41-E) 192 pts (12 words) 11 Units max.
(CQM1-CPU42-E) max. (16-pt Units x 11 Units =
11 words max.)
(CQM1-CPU43-E)
(CQM1-CPU44-E)
Note When the number of I/O points for the CQM1 exceeds the maximum number of
I/O points specified above, an “I/O UNIT OVER” message will be displayed and
operation will stop. Operation will not stop, however, if the number of I/O Units
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.
20
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).
107 mm
107 mm
131.7 mm
21
PC Assembly and Installation Section 2-4
110 115.7
32
Note Refer to the table on page 19 for the weights of I/O Units.
Assembled Dimensions The following diagram shows the dimensions of a CQM1 PC consisting of a CPU
Unit, 4 I/O Units, and a Power Supply Unit. The width varies with the Power Sup-
ply Unit, as indicated.
115.7
W 107
CQM1-PA203: W = 315
CQM1-PA206: W = 347
CQM1-PA216: W = 347
CQM1-PD026: W = 347
Note The I/O capacity of CQM1-CPU4j-EV1 CPU Unit has been increased to
256 points, but only 11 Units can be connected in the PC.
22
PC Assembly and Installation Section 2-4
1, 2, 3... 1. The following diagram shows the connection of two Units that make up a
CQM1 PC. Join the Units so that the connectors fit exactly.
Connector
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
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.
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.
23
PC Assembly and Installation Section 2-4
2. Release the pins on the backs of the CQM1 Units. These pins lock the PC to
the DIN Track.
Unlock
DIN track
mounting
pin
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
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.
24
Wiring and Connections Section 2-5
Insulating transformer
Breaker
AC power supply
! Caution Be sure that the AC power supply voltage remains within the allowed fluctuation
range of 85 to 264 VAC.
Use an AC Use an AC
AC Use an AC AC AC
power supply power supply of
input power supply input input 100
between 100 or
between 100
and 240 VAC. 230 VAC.
and 240 VAC.
Noise filter Voltage selector
Noise filter
LG neutral Short: 100 VAC
neutral
terminal Open: 230 VAC
terminal
GR Protective Protective
Protective earth terminal earth terminal
earth ter-
minal Use the 24 VDC, Use the 24 VDC,
0.5 A terminals 0.5 A terminals
to supply power to supply power
to DC Input to DC Input
Units. Units.
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.
25
Wiring and Connections Section 2-5
! 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 Incorrect
Other Other
CQM1 CQM1
equipment equipment
Breaker
DC power supply
Twist
! Caution Be sure that the DC power supply voltage remains within the allowed fluctuation
range of 20 to 28 VDC.
Terminal Block The following diagram shows the terminal blocks for the DC Power Supply Unit.
CQM1-PD026
DC Provide a 24-VDC
input power supply.
NC
NC
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.
26
Wiring and Connections Section 2-5
! 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 Incorrect
Other Other
CQM1 CQM1
equipment equipment
Short-circuit bar
(Supplied with the CQM1 PC)
DIN-track cable
(Supplied with
the CQM1 PC) Grounding wire
(Use a wire of at least 2 mm2
to ground at a resistance of
less than 100 Ω.)
27
Wiring and Connections Section 2-5
! 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.
Leakage Current (24 VDC) 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
Bleeder resistor R SYSMAC
2-wire method
sensor, etc.
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 Example 2
OUT OUT
R
R
COM COM
28
Wiring and Connections Section 2-5
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.
300 mm min.
300 mm min.
Power cables
Grounding at resistance
of 100 W max.
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.
200 mm min.
Grounding at resistance
of100 W max.
Inductive Loads When connecting an inductive load to an I/O Unit, connect a diode in parallel with
the load. The diode should satisfy the following requirements:
1, 2, 3... 1. Peak reverse-breakdown voltage must be at least 3 times the load voltage.
2. Average rectified current must be 1 A.
Inputs Outputs
IN OUT
! 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.
29
Wiring and Connections Section 2-5
Input Devices When connecting an external device with a DC output to a DC Input Unit, wire
the device as shown in the following table.
Device Circuit Diagram
Contact output
Relay
IN
COM(+)
Sensor
+ Sensor power
supply
Output
IN
COM(+)
0V
Constant current
circuit +
Output
IN
+
Sensor power COM(+)
0V supply
+ Sensor power
supply
Output
IN
0V
COM(–)
Voltage output
COM (+)
Output
IN
0V Sensor power
supply
Precautions in Connecting The following conditions must be met when using a 2-wire DC sensor input from
2-wire DC Sensors a 12-/24-VDC input device. Malfunctions will occur if these connections are not
met.
1, 2, 3... 1. The relationship between the PC’s ON voltage and the sensor’s residual
voltage must be as follows:
VON ≤ VCC – VR
30
Wiring and Connections Section 2-5
2. The relationship between the PC’s ON current and the sensor’s control out-
put (load current) must be as follows:
IOUT (min.) x ION x 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 x (VCC – VR)/(IOUT (min.) – ION)
Power W y (VCC – VR)2/R x 4 (tolerance)
3. The relationship between the PC’s OFF current and the sensor’s residual
current must be as follows:
IOFF y Ileak
Refer to Leakage Current (24 VDC) earlier in this section for details.
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
2-wire sensor VR R RIN Unit
VCC
Requirement
The following conditions can be used to determine if measures to reduce noise
are necessary. Refer to the EN50081-2 Standard for details.
• If the loads of the devices into which the PC is built are switched less than 5
times a minute, then no measures need to be taken.
• If the loads of the devices into which the PC is built are switched 5 times or
more a minute, then measures need to be taken.
31
Wiring and Connections Section 2-5
Examples
Inductive Load Surge Connect a surge suppressor or diode in parallel with the load, as shown in the
Suppressor following diagrams, when switching inductive loads.
CR Method (AC or DC)
The reset time will be increased if the load is a relay, solenoid, or similar device.
Connect the CR 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.
The capacitor and resistors can be based on the following guidelines.
C: 0.5 to 1 µF for each amp of contact current
R: 0.5 to 1 Ω for each volt of contact voltage.
You will need to adjust the above values depending on the characteristics of the
load, relay, etc., based on the discharge suppression of the capacitor when the
contacts are open and the current control effect of the resistor the next time the
circuit is closed.
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 R
Power supply
Inductive load
Power supply
32
Wiring and Connections Section 2-5
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
Output Surge Current 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 L
+
R
COM
R
OUT L
+
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.
33
Wiring and Connections Section 2-5
Wiring and Assembly The following illustrations show the procedure for wiring and assembly of solder-
type connectors. First pass the electrical wires through heat-contraction tubes
and solder them to the socket pins.
Heat-contraction tube
Electrical wire
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
Connector cover
Small screws (3)
Nuts (3)
Nuts (2)
Applicable Connectors Use the following products or equivalents for the connector on the cable side.
(Cable Side)
Socket: XM2D-1501 (OMRON)
Hood: XM2S-1511 (OMRON)
34
Wiring and Connections Section 2-5
Wiring and Assembly The following illustrations show the procedure for wiring and assembly of the
connectors. First pass the signal wires through heat-contraction tubes and sol-
der them to the socket pins.
1 mm
Soldering iron
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
Assemble the socket and hood as shown in the illustration below. At the connec-
tor on the CQM1 side, wrap aluminum tape around the twisted wire as shown in
the illustration, and secure the wire to the hood.
End connected to FG
Personal computer
RS-232C COM1
connector
35
Wiring and Connections Section 2-5
Peripheral Device The CQM1 CPU Unit can be connected to a C200H-PRO27-E Programming
Connection Console with a standard C200H-CN222 (2 m) or C200H-CN422 (4 m) Connect-
ing 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
RS-232C Connections The RS-232C port on the CQM1-CPU21-E/4j-EV1 can be connected to vari-
ous devices for communications with the PC via PORT INPUT and PORT OUT-
PUT instructions or for automatic data links with other CQM1 PCs (also
CQM1-CPU21-E/4j-EV1), as shown in the following diagram.
36
Wiring and Connections Section 2-5
RS-232C Specifications The specifications for the RS-232C port are given below. Devices that meet
these specifications can be connected.
Connections
The connections between the CQM1 and a personal computer are illustrated
below as an example.
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 Specification
Communications method Half duplex
Sync Start-stop
Baud rate 1,200, 2,400, 4,800, 9,600, or 19,200 bps
Transmission method Point to point
Transmission distance 15 m max.
Interface EIA RS-232C
37
Wiring and Connections Section 2-5
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 CQM1
Signal Pin Pin Signal
Abb. No. No. Abb.
FG 1 1 FG
SD 2 2 SD
RD 3 3 RD
RS 4 4 RS
CS 5 5 CS
– 6 6 –
– 7 7 –
– 8 8 –
SG 9 9 SG
38
Unit Specifications Section 2-6
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.
Acceleration (G)
Amplitude (0.075)
Frequency (Hz)
39
Unit Specifications Section 2-6
40
Unit Specifications Section 2-6
10 µs min. 10 µs min.
ON ON
50% 50%
OFF OFF
3 µs max. 3 µs max.
Relation between phases A and B when phase-difference inputs are used.
20 ms min.
ON
Phase A 50%
OFF
ON
Phase B 50%
OFF
T1 T2 T3 T4
T1, T2, T3, T4: 4.5 µs max.
A minimum of 4.5 µs must be allowed for changing between phase A and
phase B.
41
Unit Specifications Section 2-6
Item Specifications
Pulse output Signals Pulse output CW, CCW
Output frequency 50 kHz (20 kHz max. when stepping motor is connected)
Max. switching capacity NPN open collector, 30 mA, 5 to 24 VDC ± 10%
Min. switching capacity NPN open collector, 7 mA, 5 to 24 VDC ± 10%
Leakage current 0.1 mA max.
Residual voltage 0.4 V max.
External power supply 5 VDC ± 10%, 30 mA min.
24 VDC +10%/–15%, 30 mA min.
Pulse output tON
specifications Minimum pulse width
ON 90%
10%
OFF
tOFF
1 . . . . . Input common
42
Unit Specifications Section 2-6
1.6 kΩ (1/2 W)
14 . . . . CW pulse output / PWM output (with 1.6-kΩ resistance)
12 . . . . Output common (0 V)
43
Unit Specifications Section 2-6
1 2 3 4 5 6 7 8 7 6 5 4 3 2 1 2 3 2 1
Encoder input A
Encoder input B
1 2 3 2 1
Increment Decrement
44
Unit Specifications Section 2-6
For example, the following diagram shows the connection of an encoder with
phases A, B, and C.
24 V 3
12 V IA IA
10
Rectifier Encoder
output
24 V 4
IR IR
12 V 11
Rectifier
24 V 2
IZ IZ
12 V 9
Rectifier
COM 1 E
5-VDC (Do not share the power supply with other I/O.)
power
CQM1-CPU43-EV1 supply
15 + –
24-VDC power
supply input 7
Motor driver (for 5-V input)
8
5-VDC power Example: R = 220Ω
supply input
1.6 kΩ 13 (+)
CCW
5 (–) input
CCW pulse Approx.
output 15 mA
1.6 kΩ 14
(+)
CW
6 (–) input
CW pulse Approx.
output
15 mA
12 Twisted-pair wire
45
Unit Specifications Section 2-6
24-VDC (Do not share the power supply with other I/O.)
power
CQM1-CPU43-EV1 supply
15 + –
24-VDC power
supply input 7
Motor driver (for 5-V input)
8
5-VDC power Example: R = 220Ω
supply input
1.6 kΩ 13 (+)
CCW
5 (–) input
CCW pulse Approx.
output 12 mA
1.6 kΩ 14
(+)
CW
6 (–) input
CW pulse Approx.
output
12 mA
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 acciden-
tally 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.
Output
Output
7 to 30 mA 7 to 30 mA
46
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.
5-VDC (Do not share the power supply with other I/O.)
power
CQM1-CPU43-EV1 supply
15 + –
24-VDC power
supply input 7
Motor driver (for 5-V input)
8
5-VDC power When load current
supply input = approx. 4 mA
1.6 kΩ 13 (+)
Approx. CCW
5 3 mA (–) input
CCW pulse
output Approx. Approx. 4 mA
7 mA
1.6 kΩ 14
(+)
Approx. CW
6 3 mA (–) input
CW pulse
output Approx. Approx. 4 mA
7 mA 12
Twisted-pair wire
The pulse output section’s internal circuit transistor is off while pulse output is
stopped.
ON
Output transistor
OFF
During pulse output
47
Unit Specifications Section 2-6
2.7 kΩ
10 . . . . Encoder input Grey code 210 bit
2.7 kΩ
2.7 kΩ
7 . . . . . Encoder input Grey code 21 bit
2.7 kΩ
2.7 kΩ
15 . . . . Encoder input Grey code 20 bit
2.7 kΩ
1 . . . . . Input common
9 . . . . . Input common
! Caution The only absolute-type encoder that can be connected is the grey binary code
output type.
48
Unit Specifications Section 2-6
Wiring Example
211 2
210 10
21 7
20 15
COM 1 E
9
COM
49
Unit Specifications Section 2-6
Item CQM1-CPU11-E/21-E/41-EV1/42-EV1/43-EV1/44-EV1
Input Voltage 24 VDC +10%/–15%
Input Impedance IN4 and IN5: 2.2 kΩ; other inputs: 3.9 kΩ
Input Current IN4 and IN5: 10 mA typical; other inputs: 6 mA typical (at 24 VDC)
ON Voltage 14.4 VDC min.
OFF Voltage 5.0 VDC max.
ON Delay Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup; see note)
OFF Delay Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup; see note)
No. of Inputs 16 points (16 inputs/common, 1 circuits)
Circuit Configuration
Input
IN0 LED
to 3.9 kΩ
IN15 (2.2 kΩ)
Internal
560 Ω Circuits
COM
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 inter-
rupts. The delays for high-speed counter interrupts are shown in the following
table.
50
Unit Specifications Section 2-6
90 µs min.
ON
Phase A
OFF
90 µs min.
ON
Phase A 50%
OFF
ON
Phase B 50%
OFF
T1 T2 T3 T4
Input Z (IN6)
100 µs min.
ON
Phase Z
OFF
500 µs min.
51
Unit Specifications Section 2-6
Internal
620 W Circuits
COM
52
Unit Specifications Section 2-6
Item CQM1-ID112
Input Voltage 12 VDC +10%/
–15%
Input Impedance 2.2 kΩ
Input Current 4 mA typical (at 12 VDC)
ON Voltage 8.0 VDC min.
OFF Voltage 3.0 VDC max.
ON Delay Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup)
OFF Delay Default: 8 ms max. (can be set between 1 and 128 ms in PC Setup)
No. of Inputs 32 points (32 inputs/common, 1 circuit)
Internal current 5 VDC, 170 mA max.
consumption
Weight 160 g max.
Circuit Configuration COM
IN00 750 Ω
A IN07
COM Input
IN08 2.2 kΩ LED
IN15
Inter-
nal
COM Circuit
IN00 750 Ω
B IN07
COM Input
IN08 2.2 kΩ LED
IN15
53
Unit Specifications Section 2-6
Note The input power supply polarity may be con- Note The input power supply polarity may be con-
nected in either direction. nected in either direction.
Terminal 0 0
B0 B0
Connections + –
c0 1
+ A0 A0
– 1 2
B1 B1
+ –
c1 3
+ A1 A1
– 4
2 B2 B2
+ –
c2 5
– + A2 A2
3 6
B3 B3
+ –
c3 7
A3 A3
– + 4 8
+ – B4 B4
c4 9
A4 A4
– + 10
5 B5 B5
+ –
c5 11
A5 A5
– + 6 12
+ – B6 B6
c6 13
– + A6 A6
7 14
+ – B7 B7
c7 15
A7 A7
– + NC COM
B8 B8
NC – COM
A8 A8
54
Unit Specifications Section 2-6
The polarity of the input power supply can be either The polarity of the input power supply can be either
plus or minus. The polarity of all the commons, plus or minus. The polarity of all the commons,
however, must be the same. The COMs are inter- however, must be the same. The COMs are inter-
nally connected, but they all must be wired. nally connected, but they all must be wired.
55
Unit Specifications Section 2-6
Simultaneously ON points
30 26.4 VDC
25
20
15
10
5
0
0 5 10 15 20 25 30 35 40 45 50 55 60
Ambient temperature (°C)
56
Unit Specifications Section 2-6
Internal Internal
Circuits Circuits
COM COM
0.15 µF 2.7 kΩ 0.082 µF 8.2 kΩ
Terminal 0 0
Connections B0 B0
1 1
A0 A0
2 2
B1 B1
3 3
A1 A1
4 4
B2 B2
5 5
A2 A2
6 6
B3 B3
7 7
A3 A3
NC B4 NC B4
NC NC
A4 A4
NC NC
B5 B5
NC NC
A5 A5
NC NC
B6 B6
NC NC
A6 A6
NC NC
B7 B7
NC NC
A7 A7
COM B8 COM B8
COM COM
A8 A8
100 to 120 VAC 200 to 240 VAC
57
Unit Specifications Section 2-6
58
Unit Specifications Section 2-6
Item CQM1-OC224
Max. Switching Capacity 2 A, 250 VAC (cosφ= 1)
2 A, 250 VAC (cosφ= 0.4)
2 A, 24 VDC (16 A/Unit)
Min. Switching Capacity 10 mA, 5 VDC
Relay G6R-1A or G6RN-1A
Service Life of Relay Electrical: 300,000 operations
Mechanical: 10,000,000 operations
ON Delay 15 ms max.
OFF Delay 5 ms max.
No. of Outputs 8 points (independent commons)
Internal Current 440 mA max. at 5 VDC
Consumption
Weight 270 grams max.
Circuit Configuration Output
LED
OUT
Internal
Circuits
OUTc
Maximum
250 VAC: 2 A
24 VDC: 2 A
Terminal Connections 0
B0
c0
A0
1
B1
c1
A1
2 B2
c2
A2
3
B3
c3
A3
4
B4
c4
A4
5 B5
c5
A5
6
B6
c6
A6
7
B7
c7
A7
NC B8
NC
A8
59
Unit Specifications Section 2-6
24 VDC
COM
Fuse
7A
Terminal Connections 0
B0
1
A0
2
B1
3
A1
4
B2
5
A2
6
B3
Note Do not reverse the connections
7 for +DC and the common. If
A3
NC B4
+DC and the common are con-
NC nected incorrectly, internal cir-
A4
NC cuits may be damaged.
B5
NC
A5
NC
B6
NC
A6
NC
B7
NC
A7
+DC B8
COM
A8
–
60
Unit Specifications Section 2-6
4.5
COM to
Fuse 26.4
5A VDC
Max. Switch Capacity (per Point) Max. Switch Capacity (Total for Unit)
5.0
300
4.8
Ic max. (mA)
Ic max. (A)
3.0
2.8
50
Terminal Connections 0
B0
1
A0
2
B1
3
A1
4
B2
5
A2
6
B3
7
A3
8
B4
9
A4
10
B5
11
A5
12
B6
13
A6
14
B7
15
A7
+DC B8
COM
A8
–
61
Unit Specifications Section 2-6
OUT00
OUT07
A
COM
4.5 to 26.4 VDC
Output OUT08
LED
OUT15
Inter- COM
nal 4.5 to
Circuit 26.4 VDC
OUT00
OUT07
B
COM
4.5 to 26.4 VDC
Output Fuse OUT08
LED 3.5 A OUT15
COM
100
Ic max. (mA)
50
16
62
Unit Specifications Section 2-6
Item CQM1-OD213
Terminal Connections Wd m
A B
Wd (m+1)
0 0
L 1 1 L
1 1
L 2 2 L
2 2
L 3 3 L 4.5 to
3 3
4 4 26.4 VDC
+ L L +
4 4
L 5 5 L
5 5
L 6 6 L
6 6
L 7 7 L
7 7
L 8 8 L
COM COM
+DC
9 9
+DC
The respective COMs are internally
8
10 10
8
connected, but they all must be wired.
L 11 11 L
9 9
L 12 12 L
10 10
L 13 13 L
11 11
L 14 14 L
+ 12 12 +
L 15 15 L
13 13
L 16 16 L
14 14
L 17 17 L
15 15
L 18 18 L
COM 19 19 COM
+DC +DC
20 20
63
Unit Specifications Section 2-6
Item CQM1-OD214
Max. Switching Capacity 50 mA at 4.5 VDC to 300 mA at 26.4 V (see diagram below)
Leakage Current 0.1 mA max.
Residual Voltage 0.8 V max.
ON Delay 0.1 ms max.
OFF Delay 0.4 ms max.
No. of Outputs 16 points (16 points/common, 1 circuit)
Internal Current 170 mA max. at 5 VDC
Consumption
Fuse 3.5 A (one per common), two only used.
Fuse is not user replaceable.
Service Power Supply 60 mA min. at 5 to 24 VDC ±10% (3.5 mA number of ON points)
Weight 210 grams max.
Circuit Configuration Fuse
Output COM
LED 3.5 A +V
(+) 4.5
to
OUT0
(–) 26.4
VDC
Internal Fuse
Circuits 3.5 A
OUT15
0V
Max. Switch Capacity (per Point) Max. Switch Capacity (Total for Unit)
5.0
300
4.8
Ic max. (mA)
Ic max. (A)
3.6
50
Terminal Connections 0
B0
1
A0
2
B1
3
A1
4
B2
5
A2
6
B3
7
A3
8
B4
9
A4
10
B5
11
A5
12
B6
13
A6
14
B7
15
A7
– + COM B8
0V
A8
64
Unit Specifications Section 2-6
ALM0
ALM1 Alarm output
RST0
3.3 kΩ RST1 Reset output
560 Ω 0V
65
Unit Specifications Section 2-6
Item CQM1-OD215
Terminal Connections 0
B0
1
A0
2
B1
3
A1
4
B2
5
A2
6
B3
7
A3
RST0
B4
ALM0
A4
RST1
B5
ALM1
A5
NC
B6
NC
A6
COM
B7
0V
A7
COM B8
– 0V
A8
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 contact’s output will
be restored.
66
Unit Specifications Section 2-6
OUT03
COM0
Internal Fuse 2 A 100 to 240 VAC
Circuits OUT04
OUT07
COM1
Fuse 2 A 100 to 240 VAC
Terminal Connections 0
B0
COM0
A0
1
B1
COM0
A1
2
B2
COM0
A2
3
B3
COM0
A3
4
B4 COM0 and COM1 are not con-
COM1 nected internally.
A4
5
B5
COM1
A5
6
B6
COM1
A6
7
B7
COM1
A7
NC B8
NC A8
67
Unit Specifications Section 2-6
Item CQM1-OA222
Max. Switching Capacity 0.4 A at 100 to 240 VAC (50/60 Hz)
Min. Switching Capacity 100 mA at 10 VAC
50 mA at 24 VAC
10 mA at 100 VAC
10 mA at 240 VAC
Leakage Current 1 mA max. at 100 VAC and 2 mA max. at 200 VAC
Residual Voltage 1.5 V max. (0.4 A)
ON Delay 1 ms max.
OFF Delay Load frequency of 1/2 cycle + 1 ms max.
No. of Outputs 6 points (4 points/common, 1 circuit; 2 points/common, 1 circuit)
Inrush current 6 A at 100 ms
15 A at 10 ms
Internal Current 250 mA max. at 5 VDC
Consumption
Fuse 5 A at 250 V (one per common), two only used.
Fuse is not user replaceable.
Weight 240 grams max.
Circuit Configuration Output LED
OUT00
OUT03
100 to 240 VAC
COM0
Fuse
Internal 5A
Circuits OUT04
OUT05
100 to 240 VAC
COM1
Fuse
5A
Terminal Connections 0
B0
COM0
A0
1
B1
COM0
A1
2
B2
COM0
A2
3
B3
COM0
A3
4
B4 COM0 and COM1 are not con-
COM1 nected internally.
A4
5
B5
COM1 A5
NC B6
NC A6
NC B7
NC
A7
NC B8
NC A8
68
SECTION 3
The LSS, SSS, SYSMAC-CPT, and Programming Consoles
This section outlines the operations possible with Ladder Support Software (LSS), SYSMAC Support Software (SSS), the
SYSMAC-CPT, and the Programming Consoles. Actual LSS operating procedures are provided in the LSS Operation
Manual, actual SSS operating procedures are provided in the SSS Operation Manual: C-series PCs, and actual SYSMAC-
CPT operating procedures are provided in the SYSMAC-CPT Support Software User Manual. Programming Console connec-
tion and operating procedures are provided in this section.
69
SYSMAC-CPT Precautions Section 3-3
70
Compatible Programming Consoles Section 3-4
Group Description
SYSTEM SETUP The SYSTEM SETUP provides settings for the operating environment of the LSS, including the
PC that’s being communicated with (including network and interface settings) and disk drive,
comment, printer, PROM Writer, and monitor settings. It also provides settings for transfer of
I/O table and data link tables to UM.
FILE MANAGEMENT FILE MANAGEMENT operations include basic file management features so that files can be
manipulated directly from the LSS. It also provides a feature for merging program files.
71
SYSMAC-CPT Precautions Section 3-3
72
Compatible Programming Consoles Section 3-4
73
SYSMAC-CPT Precautions Section 3-3
74
Compatible Programming Consoles Section 3-4
75
SYSMAC-CPT Precautions Section 3-3
76
Compatible Programming Consoles Section 3-4
77
SYSMAC-CPT Precautions Section 3-3
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.”
78
Compatible Programming Consoles Section 3-4
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 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
I I I I I I Q Q Q Q I Q
Note 1 Note 1
Not displayed.
LCD display
Mode
selector
CQM1 operating mode
Instruction
keys
Numeric
keys
Operation
keys
! 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 PC-
controlled system to begin operation.
79
SYSMAC-CPT Precautions Section 3-3
Note The following three sets of keys are labeled differently on the CQM1-PRO01-E
and the C200H-PRO27-E. The operation of the two keys in each pair are identi-
cal.
PLAY
SET
SET
REC
RESET
RESET
Peripheral port
Preparatory Operations The basic operations required to prepare for programming are listed below.
1, 2, 3... 1. Set the Programming Console’s 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 Console’s buzzer. Refer to page 84.
3. Clear the CQM1’s memory by pressing the CLR, SET, NOT, RESET, and
then the MONTR Key. Refer to page 83.
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 84.
5. Press the CLR Key to bring up the initial programming display (program
address 00000).
80
Compatible Programming Consoles Section 3-4
Changing Displays The following diagram shows which keys to press in order to change Program-
ming Console displays.
Example mode display (connected to PC)
00000
CLR
Press several times.
(See note.)
Note When cancelling an operation or beginning operation, press the CLR Key sev-
eral times to return to the initial display.
After the SHIFT Key is pressed, changing the mode by means of the mode-
change 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.
81
SYSMAC-CPT Precautions Section 3-3
↓
CH
SHIFT LR
*
AR CLR
HR area
HR
AR
SHIFT AR area
HR
LD
CNT
DM
Constant
input display
CH
Value (Indirect DM)
*
CONT
Value (Hexadecimal,
#
BCD constant)
(See note 2) SHIFT TR NOT Value SHIFT TR (Without sign,
decimal constant)
(With sign,
Value SHIFT TR
decimal constant)
Note: Decimal-number
inputs cannot be used with SET (+)
the CQM1-CPU11-E/21-E.
WRITE Go to next
RESET (–) program
input
82
Compatible Programming Consoles Section 3-4
Before beginning to program for the first time or when installing a new program,
clear all areas.
1, 2, 3... 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.
00000 MEM CLR ?
SET NOT RESET
HR CNT DM
3. Press the MONTR Key to clear memory completely.
00000 MEM CLR
MONTR
END HR CNT DM
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 As an example, follow the procedure below to retain the timer/counter area and
Program Memory addresses 000 through 122:
1, 2, 3... 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.
00000 MEM CLR ?
CNT
HR DM
4. Press 123 to specify 123 as the starting program address.
B C D 00123 MEM CLR ?
1 2 3
HR DM
5. Press the MONTR Key to clear the specified regions of memory.
00000 MEM CLR
MONTR
END HR DM
83
SYSMAC-CPT Precautions Section 3-3
Key Sequence Follow the procedure below to display and clear messages.
A non-fatal error:
SYS FAIL FAL01
MONTR
A message:
MATERIAL USED UP
MONTR
84
Compatible Programming Consoles Section 3-4
Key Sequence Follow the procedure below to turn the key-input buzzer on and off.
1, 2, 3... 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.
B {PROGRAM}
SHIFT 1
3. Press the SHIFT and then the 1 Key again to turn the buzzer back on.
B {PROGRAM} BZ
SHIFT 1
Note It is possible to adjust the buzzer volume on the C200H-PRO27-E using the vol-
ume control lever on the side of the Programming Console.
85
SYSMAC-CPT Precautions Section 3-3
4. When the desired instruction is displayed, press the WRITE Key to change
the function code assignment. The following display will appear if the
selected instruction has not been assigned to another function code.
INST TBL READ
WRITE
FUN18:HKY
Note It is not possible to change to an instruction which is already assigned
to a different function code.
Reading the Clock Follow the procedure below to read the clock.
1, 2, 3... 1. Bring up the initial display.
2. Press the FUN, SHIFT, and then the MONTR Key. The current clock setting
will be displayed.
TIM 93Ć03Ć17
FUN SHIFT MONTR
10:56:36 TUE(2)
Changing the Clock Follow the procedure below to change the clock setting. The clock setting cannot
be changed in RUN mode.
1, 2, 3... 1. Follow the procedure above to display the current clock setting.
2. Press the CHG Key. The following display will appear.
TIM CHG?~3Ć03Ć17
CHG
10:57:00 TUE(2)
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 TIM 93Ć03Ć17
3 WRITE
10:58:30 WED(3)
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 desig-
nated.
86
Compatible Programming Consoles Section 3-4
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 A A 00100
1 0 0 ↓ 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 00200SRCH
0 SRCH
LD 00000
4. Press the Down Arrow Key to display the instruction’s 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.
03197SRCH
SRCH
END (01)(03.2KW)
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or
MONITOR mode.
87
SYSMAC-CPT Precautions Section 3-3
Insertion Follow the procedure below to insert the IR 00105 NO condition at address
00206.
1, 2, 3... 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 A 00206READ
2 0 6 ↓ AND NOT 00104
3. Input the new instruction and press the INS Key.
AND B A F 00206INSERT?
1 0 5 INS
AND 00105
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.
00207INSERT END
↓ AND NOT 00104
Deletion Follow the procedure below to delete the IR 00103 NO condition at address
00205.
1, 2, 3... 1. Bring up the initial display.
88
Compatible Programming Consoles Section 3-4
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 A F 00205READ
2 0 5 ↓ AND 00103
3. Press the DEL Key.
00205DELETE?
DEL
AND 00103
4. Press the Up Arrow Key to delete the specified instruction.
If the instruction has more operands, the operands will be deleted automati-
cally with the instruction.
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
00201 00102
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 Address Instruction Operands
#0123 12.3 s 00200 LD IR 00002
00201 TIM 000
MOV(21) 0123
#0100 00202 MOV(21)
LR 10
#0100
LR 10
00203 ADB(50)
ADB(50) #0100
#0100 #FFF6
#FFF6 DM 0000
DM 0000
89
SYSMAC-CPT Precautions Section 3-3
90
Compatible Programming Consoles Section 3-4
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.
00203 ADB DATA A
SHIFT TR
#0100
Note If an input is made outside of the permissible range, a buzzer will
sound and the hexadecimal display will not be displayed.
91
SYSMAC-CPT Precautions Section 3-3
18. Input the final operand and then press the WRT Key.
00204READ
DM WRITE
NOP (00)
Program Read then Monitor 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, 2, 3... 1. Bring up the initial display.
2. Input the desired program address and press the Down Arrow Key.
B A A 00100READ
1 0 0 ↓ TIM 000
92
Compatible Programming Consoles Section 3-4
93
SYSMAC-CPT Precautions Section 3-3
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.
L000000108H2315
SHIFT ↑
U@OFF^ OFF^ ON
To specify down-differentiation monitoring, press the SHIFT and then the
Down Arrow Key. The symbols “D@” will appear.
L000000108H2315
SHIFT ↓ D@OFF^ OFF^ ON
3. The buzzer will sound when the specified bit goes from off to on (for up-dif-
ferentiation) 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.
L000000108H2315
CLR
^ OFF^ OFF^ ON
94
Compatible Programming Consoles Section 3-4
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 word’s 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.
C100 MONTR
SHIFT MONTR
1111111111111111
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
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 word’s bits.
3. Press the CLR Key to end binary monitoring and return to the normal moni-
toring 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 left-
most 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.
D0002D0001D0000
EXT
0123 4567 89AB
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
95
SYSMAC-CPT Precautions Section 3-3
4. Press the CLR Key to end 3-word monitoring and return to the normal moni-
toring display. The rightmost word on the 3-word monitor display will be
monitored.
D0002
CLR
0123
Note Just one word will be monitored, even if 2 or more words were dis-
played when 3-word monitoring was initiated.
! Caution This function cannot be used with CQM1-CPU11-E and CQM1-CPU21-E CPU
Units.
1, 2, 3... 1. Monitor the word that is to be used for decimal monitor with sign. During mul-
tiple address monitoring, the word on the left is the object.
cL01 cL0200001
Multiple address monitoring 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 mod-
ification is restored.
cL01
SHIFT TR
Ć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.
cL02 cL01
EXT
Ć0268369936
4. When the decimal monitoring with sign has been completed, I/O monitor,
multiple address monitoring, or 3-word data modification is restored.
cL01 cL0200001
SHIFT TR
FFF0 F000^ OFF
Note I/O monitor, multiple address monitoring, or 3-word data modification can also
be restored by means of the CLR Key.
96
Compatible Programming Consoles Section 3-4
! Caution This function cannot be used with CQM1-CPU11-E and CQM1-CPU21-E CPU
Units.
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.
cL01 cL0200001
Multiple address monitoring 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.
cL01
SHIFT TR NOT
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.
cL02 cL01
EXT
4026597360
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.
cL01 cL0200001
SHIFT TR
FFF0 F000^ OFF
Note The I/O monitor, multiple address monitoring, or 3-word data modification dis-
play 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.
97
SYSMAC-CPT Precautions Section 3-3
2. Press the CHG Key to begin 3-word data modification. The cursor will
appear next to the contents of the leftmost word.
D0002 3CHCHANG?
CHG
0123 4567 89AB
3. Input the new value for the leftmost word on the display and press the CHG
Key if more changes will be made. Input the new value and press the WRITE
Key to write the changes in memory if no more changes will be made.
B D0002 3CHCHANG?
1 CHG
0001 4567 89AB
4. Input the new value for the middle word on the display and press the CHG
Key if the rightmost word will be changed. 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 D E F D0002D0001D0000
2 3 4 5 WRITE
0001 2345 89AB
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.
98
Compatible Programming Consoles Section 3-4
Incrementing and This operation can be used to increment and decrement an SV constant. It is
Decrementing a Constant possible only when the SV has been entered as a constant.
1, 2, 3... 1. Bring up the initial display.
2. Display the desired timer or counter.
00201SRCH
TIM SRCH
TIM 000
3. Press the Down Arrow, CHG, and then the EXT Key.
00201DATA ? U/D
↓ CHG EXT
T000 #0123 #0123
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 con-
stant on the right.
5. Press the CLR Key twice to change the timer’s SV to the new value.
00201 TIM DATA
CLR CLR
#0124
99
SYSMAC-CPT Precautions Section 3-3
1, 2, 3... 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.
c001 CHG?
CHG
000010101010101
A flashing cursor will appear over bit 15. The cursor indicates which bit can
be changed.
3. Three sets of keys are used to move the cursor and change bit status:
a) Use the Up and Down Arrow Keys to move the cursor to the left and right.
b) Use the 1 and 0 keys to change a bit’s status to on or off. The cursor will
move one bit to the right after one of these keys is pressed.
c) Use the SHIFT+SET and SHIFT+RESET Keys to force-set or force-re-
set a bit’s 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 A c001 CHG?
1 0 ↓ ↑
10 0010101010101
c001 CHG?
↓
PLAY
SHIFT
SET 100S 10101010101
Note Bits in the DM Area cannot be force-set or force-reset.
4. Press the WRITE Key to write the changes in memory.
c001 MONTR
WRITE
100S010101010101
! Caution This operation cannot be used with CQM1-CPU11-E and CQM1-CPU21-E CPU
Units.
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.
PRES VAL?
CHG
cL01Ć00016
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.
100
Compatible Programming Consoles Section 3-4
To return to the I/O monitor, multiple address monitor, or 3-word data modifi-
cation display, either press the SHIFT and TR Keys, or else press the CLR
Key.
D C cL01
SET 3 2 7 6 8 WRITE
Ć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 out-
side of the permissible range, a buzzer will sound.
• Double-length Change
1. The PV is displayed in double length by decimal-with-sign monitoring.
cL02 cL01
EXT
Ć0268402688
2. Press the CHG Key to begin decimal data modification.
PRES VAL?
CHG
cL02Ć0268402688
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.
B C D E F A
SET 1 2 3 4 5 6 7 8 9 0 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 out-
side of the permissible range, a buzzer will sound.
4. When the decimal monitoring with sign has been completed, the I/O moni-
tor, multiple address monitoring, or 3-word data modification display is
restored.
cL01 cL0200001
SHIFT TR
0202 4996^ OFF
Note The I/O monitor, multiple address monitoring, or 3-word data modification dis-
play can also be restored by means of the CLR Key.
! Caution This operation cannot be used with CQM1-CPU11-E and CQM1-CPU21-E CPU
Units.
101
SYSMAC-CPT Precautions Section 3-3
1, 2, 3... 1. Monitor (decimal, without sign) the status of the word for which the present
value is to be changed.
cL01
18838
2. Press the CHG Key to begin decimal data modification.
PRES VAL?
CHG
cL01 18838
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 modifi-
cation display, either press the SHIFT and TR Keys, or else press the CLR
Key.
D C cL01
3 2 7 6 8 WRITE
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 out-
side of the permissible range, a buzzer will sound.
• Double-length Change
1. The PV is displayed in double length by decimal-without-sign monitoring.
cL02 cL01
EXT
1234599936
2. Press the CHG Key to begin decimal data modification.
PRES VAL?
CHG
cL02 1234599936
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.
A A A A cL02 cL01
7 0 0 0 0 WRITE
0000070000
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 out-
side of the permissible range, a buzzer will sound.
4. When the decimal monitoring with sign has been completed, the I/O moni-
tor, multiple address monitoring, or 3-word data modification display is
restored.
cL01 cL0200001
SHIFT TR
1170 0001^ 0FF
Note The I/O monitor, multiple address monitoring, or 3-word data modification dis-
play can also be restored by means of the CLR Key.
102
Compatible Programming Consoles Section 3-4
1, 2, 3... 1. Monitor the status of the desired bit according to the procedure described in
3-6-13 Bit, Digit, Word Monitor. If two or more words are being monitored,
the desired bit should be leftmost on the display.
2. Press the SET Key to force the bit ON or press the RESET Key to turn the bit
OFF.
0010000500
SET
^ ON^ OFF
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 PC’s 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.
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.
00000FORCE RELE
NOT
END
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.
103
SYSMAC-CPT Precautions Section 3-3
2. Press the TR Key to switch to ASCII display. The display will toggle between
hexadecimal and ASCII displays each time the TR Key is pressed.
D0000
TR
"AB"
D0000
TR
4142
00000
FUN
FUN (? ?)
F A 00000
5 0
ADB (50)
00000 ADB DATA A
WRITE
000
CONT 00000 ADB DATA A
# #0000
00000 ADB DATA A
SHIFT TR
#+00000
B C D E F 00000 ADB DATA A
1 2 3 4 5
#+12345
00000 ADB DATA A
SHIFT TR
#3039
00000 ADB DATA B
WRITE
000
104
Compatible Programming Consoles Section 3-4
00000
DM
CHANNEL DM 0000
B A A A 00000
1 0 0 0
CHANNEL DM 1000
D1000
MONTR
0000
D1000
SHIFT TR
+00000
PRES VAL?
CHG
D1000+00000
C C D D E PRES VAL?
2 2 3 3 4
D1000+22334
D1000
WRITE
+22334
D1000
CLR
573E
Example 3: Setting DM 1234 and DM 1235 to –1,234,567,890
00000
CLR
00000
DM
CHANNEL DM 0000
B C D E 00000
1 2 3 4
CHANNEL DM 1234
D1234
MONTR
0000
D1234
SHIFT TR
+00000
D1235D1234
EXT
+0000000000
PRES VAL?
CHG
D1235+0000000000
B C D E F PRES VAL?
1 2 3 4 5
D1235Ć1234567890
A
6 7 8 9 0
D1235D1234
WRITE
Ć1234567890
105
SYSMAC-CPT Precautions Section 3-3
D1234
CLR
Ć00722
D1234
CLR
FD2E
D0000D1234
DM
FD2E
B C D F D1235D1234
1 2 3 5
FD2E
D1235D1234
MONTR
B669 FD2E
Allocating Function Codes The procedure to using the Programming Console to allocate function codes is
shown below. Be sure that pin 4 on the CQM1’s DIP switch is turned ON to
enable use of a user-set instruction table before performing this operation.
Example: Allocating Function Code 19 to ADBL
00000
CLR
106
SECTION 4
Troubleshooting
This section describes how to diagnose and correct the hardware and software errors that can occur during PC operation.
107
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 PC’s indicators will indicate when a PC error has occurred and an error mes-
sage 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 PC’s 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.”
108
Programming Errors Section 4-3
109
User-defined Errors Section 4-4
110
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 mes-
sage, which can be up to 16 characters long, is displayed when the instruction’s
execution condition is ON.
FAILURE POINT DETECT – FPD can be used to generate a non-fatal error (FAL) and to display any mes-
FPD sage at a peripheral device.
111
Operating Errors Section 4-5
112
Troubleshooting Flowcharts Section 4-6
Main Check
Error
Yes
No
RUN indicator lit? Check for fatal errors. (See page 115.)
Yes
ERR/ALM indicator No
flashing? Check for non-fatal errors. (See page 116.)
Yes
Is I/O sequence No
normal? Check I/O. (See page 117.)
Yes
Operating No
environment nor- Check operating environment. (See page 119.)
mal?
Yes
Note Always turn off the power to the PC before replacing Units, batteries, wiring, or
cables.
113
Troubleshooting Flowcharts Section 4-6
Yes
No Yes
Is Power indicator lit?
Yes
Note The allowable voltage ranges for the CQM1 are as follows.
CQM1-PA203/PA206: 85 to 264 VAC
CQM1-PD026: 20 to 28 VDC
114
Troubleshooting Flowcharts Section 4-6
Fatal Error Check The following flowchart can be used to troubleshoot fatal errors that occur while
the Power indicator is lit.
No
Is the ERR/ALM
indicator lit?
Yes
Yes
No
Determine the cause Is PC mode displayed
of the error with a on Peripheral Device?
Peripheral Device.
Is PC mode displayed No
Turn the power
on Peripheral Device?
supply OFF, and
then ON again.
Yes
Switch to RUN or
MONITOR mode.
Yes
115
Troubleshooting Flowcharts Section 4-6
Non-fatal Error Check Although the PC will continue operating during non-fatal errors, the cause of the
error should be determined and removed as quickly as possible to ensure
proper operation. It may to necessary to stop PC operation to remove certain
non-fatal errors.
Flashing
Is the ERR/ALM indi-
cator flashing?
Not lit
End
Replace the CPU Unit.
116
Troubleshooting Flowcharts Section 4-6
I/O Check The I/O check flowchart is based on the following ladder diagram section.
(LS1) (LS2)
00002 00003
10500 SOL1
10500
SOL1 malfunction.
Start
Check the voltage at the Wire correctly. Replace terminal Monitor the ON/OFF
IR 10500 terminals. connector. status of IR 10500
with a Peripheral
Device.
No No
No Is terminal Yes No
Operation Is output wiring block making Operation
O.K.? correct? proper contact? O.K.? A
To
Yes Yes next
Yes page
Yes Operation No
O.K.?
117
Troubleshooting Flowcharts Section 4-6
No
Are the IR 00002
and IR 00003 input indi-
cators operating
A normally?
From
previous Yes
page
No
Operation
No O.K.? Is terminal Yes
Yes block making proper
Operation
O.K.? No contact?
Yes No
No Yes
Is input wiring
correct?
Yes
118
Troubleshooting Flowcharts Section 4-6
Consider
Is the installation envi- No constructing an
ronment okay? instrument panel
or cabinet.
Yes
End.
119
Appendix A
Standard Models
CPU Units
Model number Appearance Communications Memory I/O capacity
CQM1-CPU11-E Peripheral only 3.2K-word Program 128 points
Memory, 1K-word DM (8 words)
Up to 7 Units can
be connected.
CQM1-PA206 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)
CQM1-PA216 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)
CQM1-PD026 Power supply: 24 VDC
Power supplied to I/O Units: 6 A at 5 VDC (30 W total)
121
Standard Models Appendix A
Input Units
Name Model number Specifications
DC Input Units CQM1-ID111 16 points, 12 VDC
CQM1-ID112 32 points, 12 VDC
DC Input Units CQM1-ID211 8 points, 12 to 24 VDC (independent commons)
CQM1-ID212 16 points, 24 VDC
CQM1-ID213 32 points, 24 VDC
CQM1-ID214 32 points, 24 VDC
AC Input Units CQM1-IA121 8 points, 100 to 120 VAC
CQM1-IA221 8 points, 200 to 240 VAC
Output Units
Name Model number Specifications
Contact Output Units CQM1-OC221 8 points, 250 VAC/24 VDC, 2 A (independent commons, 16 A per Unit)
CQM1-OC222 16 points, 250 VAC/24 VDC, 2 A (8 A per Unit)
CQM1-OC224 8 points, 250 VAC/24 VDC, 2 A (independent commons, 16 A per Unit)
Transistor Output Units CQM1-OD211 8 points, 24 VDC, 2 A (5 A per Unit)
CQM1-OD212 16 points, 4.5 to 26.4 V, 0.3 A
CQM1-OD213 32 points, 4.5 to 26.4 V, 0.1 A
CQM1-OD214 16 points, 4.5 to 26.4 V, 0.3 A, PNP output
CQM1-OD215 8 points, 24 VDC, 1 A (4 A/Unit), PNP output, with short-circuit protection
Triac Output Unit CQM1-OA221 8 points, 100 to 240 VAC, 0.4 A
CQM1-OA222 6 points, 100 to 240 VAC, 0.4 A
122
Standard Models Appendix A
Peripheral Devices
Name Model number Specifications
Programming Console CQM1-PRO01-E 2-m Connecting Cable attached
C200H-PRO27-E Hand-held, w/backlight; requires the C200H-CN222 or
C200H-CN422, see below
Ladder Support Software C500-SF312-EV3 3.5”, 2HD for IBM PC/AT compatible
(see note) C500-SF711-EV3 5.25”, 2D for IBM PC/AT compatible
SYSMAC Support Software C500-ZL3AT1-E 3.5”, 2HD for IBM PC/AT compatible
Connecting Cable CQM1-CIF02 Connects IBM PC/AT or compatible computers to Peripheral Port
C200H-CN222 Connects C200H Programming Console to Peripheral Port (2 m)
C200H-CN422 Connects C200H Programming Console to Peripheral Port (4 m)
EPROM ICs
Model number EPROM version Capacity Access speed
ROM-ID-B 27128 16K bytes 150 ns
ROM-JD-B 27256 32K bytes 150 ns
ROM-KD-B 27512 64K bytes 150 ns
123
Appendix B
Battery Service Life
The built-in battery is used for retaining the status of the HR and DM areas, the user’s program, and other specified
status while power is not being supplied to the CQM1. The total number of hours that the battery can provide
backup power will vary as shown below, depending on the ambient temperature and whether or not a Memory
Cassette with a clock is installed.
Memory Cassette Total hours with no current supplied
with clock Guaranteed time (see note 1) Capacity (see note 2)
No 43,000 hrs (Approx. 5 years) 43,000 hrs (Approx. 5 years)
Yes 34,500 hrs (Approx. 4 years)
Ambient temperature
25° 40° 55°
Note The effective life of the battery is five years. Replace the battery every five years even if it could be used
longer.
125
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 pro-
gram 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.
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
I I I I I I Q Q Q Q I Q
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).
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
I I I I I I Q Q Q Q I Q I I Q Q
Words actually I000 I002 I004 Q100 Q102 Q006 007 105
displayed/printed I001 I003 I005 Q101 Q103 Q104 008 106
127
Glossary
129
Glossary
bit designator An operand that is used to designate the bit or bits of a word to be used by an
instruction.
bit number A number that indicates the location of a bit within a word. Bit 00 is the rightmost
(least-significant) bit; bit 15 is the leftmost (most-significant) bit.
bit-control instruction An instruction that is used to control the status of an individual bit as opposed to
the status of an entire word.
block See logic block and instruction block.
building-block PC 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.
bus A communications path used to pass data between any of the Units connected
to it.
bus bar 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.
byte A unit of data equivalent to 8 bits, i.e., half a word.
call A process by which instruction execution shifts from the main program to a sub-
routine. The subroutine may be called by an instruction or by an interrupt.
Carry Flag 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.
central processing unit A device that is capable of storing programs and data, and executing the instruc-
tions contained in the programs. In a PC System, the central processing unit
executes the program, processes I/O signals, communicates with external
devices, etc.
CH See word.
channel See word.
character code A numeric (usually binary) code used to represent an alphanumeric character.
checksum 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.
clock pulse 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 fre-
quencies.
clock pulse bit A bit in memory that supplies a pulse that can be used to time operations. Vari-
ous clock pulse bits are available with different pulse widths, and therefore differ-
ent frequencies.
common data 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 allo-
cated to the other PCs with which it shares the common data.
communications cable Cable used to transfer data between components of a control system and con-
forming to the RS-232C or RS-422 standards.
comparison instruction An instruction used to compare data at different locations in memory to deter-
mine the relationship between the data.
130
Glossary
Completion Flag A flag used with a timer or counter that turns ON when the timer has timed out or
the counter has reached its set value.
condition A symbol placed on an instruction line to indicate an instruction that controls the
execution condition for the terminal instruction. 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.
CONFIG.SYS An MS DOS file containing environment settings for a personal computer.
constant 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.
control bit A bit in a memory area that is set either through the program or via a Program-
ming Device to achieve a specific purpose, e.g., a Restart Bit is turned ON and
OFF to restart a Unit.
control data 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.
control signal A signal sent from the PC to effect the operation of the controlled system.
Control 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.
controlled system The devices that are being controlled by a PC System.
count pulse The signal counted by a counter.
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.
CPU Unit See central processing unit.
CTS An acronym for clear-to-send, a signal used in communications between elec-
tronic devices to indicate that the receiver is ready to accept incoming data.
CY See Carry Flag.
cycle One unit of processing performed by the CPU Unit, including ladder program
execution, peripheral servicing, I/O refreshing, etc.
cycle time The time required to complete one cycle of CPU Unit processing.
cyclic interrupt See scheduled interrupt.
data area An area in the PC’s memory that is designed to hold a specific type of data.
data area boundary 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.
data disk A floppy disk used to same user programs, DM area contents, comments, and
other user data.
data length In communications, the number of bits that is to be treated as one unit in data
transmissions.
131
Glossary
data link An automatic data transmission operation that allows PCs or Units within PC to
pass data back and forth via common data areas.
data link area A common data area established through a data link.
data movement instruction An instruction used to move data from one location in memory to another. The
data in the original memory location is left unchanged.
data sharing The process in which common data areas or common data words are created
between two or more PCs.
data trace A process in which changes in the contents of specific memory locations are
recorded during program execution.
data transfer Moving data from one memory location to another, either within the same device
or between different devices connected via a communications line or network.
debug 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.
decimal 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.
decrement Decreasing a numeric value, usually by 1.
default 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.
definer 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. Defin-
ers include jump numbers, subroutine numbers, etc.
destination 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.
differentiated instruction 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.
differentiation instruction 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 instruc-
tion.
digit A unit of storage in memory that consists of four bits.
digit designator An operand that is used to designate the digit or digits of a word to be used by an
instruction.
DIN track A rail designed to fit into grooves on various devices to allow the devices to be
quickly and easily mounted to it.
DIP switch 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.
direct output A method in which program execution results are output immediately to elimi-
nate the affects of the cycle time.
distributed control 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
132
Glossary
DM area A data area used to hold only word data. Words in the DM area cannot be
accessed bit by bit.
downloading The process of transferring a program or data from a higher-level or host com-
puter to a lower-level or slave computer. If a Programming Device is involved,
the Programming Device is considered the host computer.
electrical noise Random variations of one or more electrical characteristics such as voltage, cur-
rent, and data, which might interfere with the normal operation of a device.
EPROM Erasable programmable read-only memory; a type of ROM in which stored data
can be erased, by ultraviolet light or other means, and reprogrammed.
error code 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.
Error Log Area An area used to store records indicating the time and nature of errors that have
occurred in the system.
even parity A communication setting that adjusts the number of ON bits so that it is always
even. See parity.
event processing Processing that is performed in response to an event, e.g., an interrupt signal.
exclusive NOR 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.
exclusive OR 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 condi-
tions.
execution condition 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.
execution cycle The cycle used to execute all processes required by the CPU Unit, including pro-
gram execution, I/O refreshing, peripheral servicing, etc.
execution time The time required for the CPU Unit to execute either an individual instruction or
an entire program.
extended counter A counter created in a program by using two or more count instructions in suc-
cession. Such a counter is capable of counting higher than any of the standard
counters provided by the individual instructions.
extended timer 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.
133
Glossary
FA Factory automation.
factory computer A general-purpose computer, usually quite similar to a business computer, that
is used in automated factory control.
FAL error An error generated from the user program by execution of an FAL(06) instruc-
tion.
FALS error An error generated from the user program by execution of an FALS(07) instruc-
tion or an error generated by the system.
fatal error An error that stops PC operation and requires correction before operation can
continue.
flag A dedicated bit in memory that is set by the system to indicate some type of oper-
ating status. Some flags, such as the carry flag, can also be set by the operator
or via the program.
flicker bit A bit that is programmed to turn ON and OFF at a specific frequency.
floating-point decimal A decimal number expressed as a number (the mantissa) multiplied by a power
of 10, e.g., 0.538 x 10–5.
force reset The process of forcibly turning OFF a bit via a programming device. Bits are usu-
ally turned OFF as a result of program execution.
force set The process of forcibly turning ON a bit via a programming device. Bits are usu-
ally turned ON as a result of program execution.
forced status The status of bits that have been force reset or force set.
frame checksum 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.
function code A two-digit number used to input an instruction into the PC.
hardware error 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).
header code A code in an instruction that specifies what the instruction is to do.
hexadecimal 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 Pro-
gramming Devices are often expressed in hexadecimal to simplify operation.
Each group of four binary bits is numerically equivalent to one hexadecimal digit.
host computer 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 sys-
tem control. Host computers are generally small personal or business comput-
ers.
HR area A memory area that preserves bit status during power interrupts and used as
work bits in programming.
I/O bit A bit in memory used to hold I/O status. Input bits reflect the status of input termi-
nals; output bits hold the status for output terminals.
134
Glossary
I/O capacity The number of inputs and outputs that a PC is able to handle. This number
ranges from around one hundred for smaller PCs to two thousand for the largest
ones.
I/O delay The delay in time from when a signal is sent to an output to when the status of the
output is actually in effect or the delay in time from when the status of an input
changes until the signal indicating the change in the status is received.
I/O device 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.
I/O point 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 termi-
nals or connector pins on a Unit; in terms of programming, an I/O points corre-
spond to I/O bits in the IR area.
I/O refreshing 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.
I/O response time The time required for an output signal to be sent from the PC in response to an
input signal received from an external device.
I/O Unit 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.
I/O word 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.
IBM PC/AT or compatible A computer that has similar architecture to, that is logically compatible with, and
that can run software designed for an IBM PC/AT computer.
indirect address An address whose contents indicates another address. The contents of the
second address will be used as the actual operand.
initialization error An error that occurs either in hardware or software during the PC System
startup, i.e., during initialization.
initialize Part of the startup process whereby some memory areas are cleared, system
setup is checked, and default values are set.
input The signal coming from an external device into the PC. The term input is often
used abstractly or collectively to refer to incoming signals.
input bit A bit in the IR area that is allocated to hold the status of an input.
input device An external device that sends signals into the PC System.
input point The point at which an input enters the PC System. Input points correspond
physically to terminals or connector pins.
input signal 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 volt-
age or from a nonconductive to a conductive state.
install The preparation necessary to use a program or software package, such as the
LSS or SSS, on a computer.
135
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.
instruction execution time 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.
instruction line A group of conditions that lie together on the same horizontal line of a ladder dia-
gram. Instruction lines can branch apart or join together to form instruction
blocks. Also called a rung.
interface An interface is the conceptual boundary between systems or devices and usu-
ally involves changes in the way the communicated data is represented. Inter-
face devices perform operations like changing the coding, format, or speed of
the data.
interrupt (signal) A signal that stops normal program execution and causes a subroutine to be run
or other processing to take place.
jump A type of programming where execution moves directly from one point in a pro-
gram to another, without sequentially executing any instructions in between.
jump number A definer used with a jump that defines the points from and to which a jump is to
be made.
ladder diagram (program) A form of program arising out of relay-based control systems that uses circuit-
type diagrams to represent the logic flow of programming instructions. The
appearance of the program is similar to a ladder, and thus the name.
ladder instruction 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.
Ladder Support Software A software package installed on a IBM PC/AT or compatible computer to func-
tion as a Programming Device.
LED Acronym for light-emitting diode; a device used as for indicators or displays.
leftmost (bit/word) 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.
136
Glossary
link A hardware or software connection formed between two Units. “Link” can refer
either to a part of the physical connection between two Units or a software con-
nection created to data existing at another location (i.e., data links).
load The processes of copying data either from an external device or from a storage
area to an active portion of the system such as a display buffer. Also, an output
device connected to the PC is called a load.
logic block 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.
logic block instruction 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.
logic instruction 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.
main program All of a program except for subroutine and interrupt programs.
mark trace A process in which changes in the contents of specific memory locations are
recorded during program execution.
masked bit A bit whose status has been temporarily made ineffective.
masking ‘Covering’ an interrupt signal so that the interrupt is not effective until the mask is
removed.
memory area Any of the areas in the PC used to hold data or programs.
message number A number assigned to a message generated with the MESSAGE instruction.
mnemonic code A form of a ladder-diagram program that consists of a sequential list of the
instructions without using a ladder diagram.
MONITOR mode 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 debug-
ging the PC.
NC input An input that is normally closed, i.e., the input signal is considered to be present
when the circuit connected to the input opens.
negative delay A delay set for a data trace in which recording data begins before the trace signal
by a specified amount.
nesting Programming one loop within another loop, programming a call to a subroutine
within another subroutine, or programming one jump within another.
NO input An input that is normally open, i.e., the input signal is considered to be present
when the circuit connected to the input closes.
137
Glossary
nonfatal error A hardware or software error that produces a warning but does not stop the PC
from operating.
normally closed condition A condition that produces an ON execution condition when the bit assigned to it
is OFF, and an OFF execution condition when the bit assigned to it is ON.
normally open condition 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.
NOT 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.
OFF 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.
OFF delay 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).
offset A positive or negative value added to a base value such as an address to specify
a desired value.
ON 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.
ON delay 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).
one-shot bit A bit that is turned ON or OFF for a specified interval of time which is longer than
one scan.
online edit The process of changed the program directly in the PC from a Programming
Device. Online editing is possible in PROGRAM or MONITOR mode. In MON-
ITOR mode, the program can actually be changed while it is being
operand 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.
operating modes One of three PC modes: PROGRAM mode, MONITOR mode, and RUN mode.
operating error An error that occurs during actual PC operation as opposed to an initialization
error, which occurs before actual operations can begin.
OR 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 condi-
tions.
output The signal sent from the PC to an external device. The term output is often used
abstractly or collectively to refer to outgoing signals.
138
Glossary
output bit A bit in the IR area that is allocated to hold the status to be sent to an output
device.
output device An external device that receives signals from the PC System.
output point The point at which an output leaves the PC System. Output points correspond
physically to terminals or connector pins.
output signal 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.
overflow The state where the capacity of a data storage location has been exceeded.
overseeing Part of the processing performed by the CPU Unit that includes general tasks
required to operate the PC.
overwrite Changing the content of a memory location so that the previous content is lost.
parity 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.
parity check Checking parity to ensure that transmitted data has not been corrupted.
PC configuration The arrangement and interconnections of the Units that are put together to form
a functional PC.
PC System 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.
peripheral servicing Processing signals to and from peripheral devices, including refreshing, com-
munications processing, interrupts, etc.
positive delay A delay set for a data trace in which recording data begins after the trace signal
by a specified amount.
Power Supply Unit A Unit that connected to a PC that provides power at the voltage required by the
other Units.
present value The current value registered in a device at any instant during its operation. Pres-
ent value is abbreviated as PV. The use of this term is generally restricted to tim-
ers and counters.
printed circuit board A board onto which electrical circuits are printed for mounting into a computer or
electrical device.
PROGRAM mode A mode of operation that allows inputting and debugging of programs to be car-
ried out, but that does not permit normal execution of the program.
139
Glossary
Programmable Controller A computerized device that can accept inputs from external devices and gener-
ate outputs to external devices according to a program held in memory. Pro-
grammable Controllers are used to automate control of external devices.
Although single-unit Programmable Controllers are available, building-block
Programmable Controllers are constructed from separate components. Such
Programmable Controllers are formed only when enough of these separate
components are assembled to form a functional assembly.
programmed alarm 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.
programmed error An error arising as a result of the execution of an instruction designed to gener-
ate the error in the program, as opposed to one generated by the system.
Programming Device 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.
PROM 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.
prompt A message or symbol that appears on a display to request input from the opera-
tor.
protocol 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.
RAM Random access memory; a data storage media. RAM will not retain data when
power is disconnected.
read-only area A memory area from which the user can read status but to which data cannot be
written.
refresh 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.
relay-based control The forerunner of PCs. In relay-based control, groups of relays are intercon-
nected to form control circuits. In a PC, these are replaced by programmable cir-
cuits.
reserved word A word in memory that is reserved for a special purpose and cannot be accessed
by the user.
reset 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.
response code A code sent with the response to a data transmission that specifies how the
transmitted data was processed.
140
Glossary
response format A format specifying the data required in a response to a data transmission.
response monitoring time The time a device will wait for a response to a data transmission before assum-
ing that an error has occurred.
result word A word used to hold the results from the execution of an instruction.
retrieve 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.
retry The process whereby a device will re-transmit data which has resulted in an
error message from the receiving device.
return The process by which instruction execution shifts from a subroutine back to the
main program (usually the point from which the subroutine was called).
reversible counter A counter that can be both incremented and decremented depending on the
specified conditions.
reversible shift register A shift register that can shift data in either direction depending on the specified
conditions.
rightmost (bit/word) 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.
rising edge The point where a signal actually changes from an OFF to an ON status.
ROM 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.
rotate register A shift register in which the data moved out from one end is placed back into the
shift register at the other end.
RUN mode The operating mode used by the PC for normal control operations.
scheduled interrupt 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.
self diagnosis A process whereby the system checks its own operation and generates a warn-
ing or error if an abnormality is discovered.
141
Glossary
self-maintaining bit A bit that is programmed to maintain either an OFF or ON status until set or reset
by specified conditions.
servicing The process whereby the PC checks a connector or Unit to see if special proces-
sing is required.
set value 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.
shift input signal An input signal whose OFF to ON transition causes data to be shifted one bit.
shift register 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.
signed binary A binary value that is stored in memory along with a bit that indicates whether the
value is positive or negative.
software protect A means of protecting data from being changed that uses software as opposed
to a physical switch or other hardware setting.
source (word) 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.
special instruction An instruction input with a function code that handles data processing opera-
tions within ladder diagrams, as opposed to a basic instruction, which makes up
the fundamental portion of a ladder diagram.
SR area A memory area containing flags and other bits/words with specific functions.
store The process of recording a program written into a display buffer permanently in
memory.
subroutine A group of instructions placed separate from the main program and executed
only when called from the main program or activated by an interrupt.
subroutine number A definer used to identify the subroutine that a subroutine call or interrupt acti-
vates.
subtract count input An input signal used to decrement a counter when the signal changes from OFF
to ON.
switching capacity The maximum voltage/current that a relay can safely switch on and off.
synchronous execution 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.
142
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 specify-
ing 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).
SYSMAC Support Software A software package installed on a IBM PC/AT or compatible computer to func-
tion as a Programming Device.
system configuration 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.
system error An error generated by the system, as opposed to one resulting from execution of
an instruction designed to generate an error.
system error message An error message generated by the system, as opposed to one resulting from
execution of an instruction designed to generate a message.
system setup Operating environment settings for a Programming Device, e.g., the LSS or
SSS.
terminal instruction An instruction placed on the right side of a ladder diagram that uses the final
execution conditions of an instruction line.
timer A location in memory accessed through a TIM/CNT bit and used to time down
from the timer’s set value. Timers are turned ON and reset according to their
execution conditions.
TR area A data area used to store execution conditions so that they can be reloaded later
for use with other instructions.
trace An operation whereby the program is executed and the resulting data is stored to
enable step-by-step analysis and debugging.
trace memory A memory area used to store the results of trace operations.
transfer 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.
trigger A signal used to activate some process, e.g., the execution of a trace operation.
trigger address 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.
UM area The memory area used to hold the active program, i.e., the program that is being
currently executed.
Unit 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.
unit number A number assigned to some Units to facilitate identification when assigning
words or other operating parameters.
143
Glossary
unsigned binary A binary value that is stored in memory without any indication of whether it is
positive or negative.
uploading The process of transferring a program or data from a lower-level or slave com-
puter to a higher-level or host computer. If a Programming Devices is involved,
the Programming Device is considered the host computer.
watchdog timer 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.
word 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.
word address 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.
work word A word that can be used for data calculation or other manipulation in program-
ming, 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.
write protect switch 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.
write-protect A state in which the contents of a storage device can be read but cannot be
altered.
144
Index
145
Index
146
Index
Program Memory, setting address and reading content, Pro- sensors, 2-wire sensors, precautions, 30
gramming Console, 86–87
signed binary data, inputting using decimal values, 104
PROGRAM mode, description, 9
signed binary instructions, using, 106
programming
specifications
checks for syntax, Programming Console, 92
ABS, 47
errors, 109
AC Input Units, 57
inserting and deleting instructions, Programming Console, Contact Output Units, 58
88–89
CPU Unit, 39
searching, Programming Console, 87–88
CPU Unit inputs, 50
setting and reading a memory address, Programming Con-
DC Input Units, 52, 54, 55
sole, 86
Power Supply Units, 39
Programming Console pulse input, 41
connecting, 36 Units, 39
connecting to PC, 80
SSS, 71
designating operands, 82
displays, 81 status, monitoring, Programming Console, 92
keys, 79 SV, modifying, Programming Console, 98
mode selector, 9
models, 79 switches, DIP. See DIP switch
programs syntax, checking the program, Programming Console, 92
checking, check levels, 109 SYSMAC Support Software. See SSS
entering and editing, Programming Console, 89
SYSMAC-CPT, precautions, 78, 127
pulse I/O function, 4, 6, 14
system configuration, 3
pulse input, specifications, 41
pulse input indicators, 15
pulse output indicators, 15 T
time, reading and changing, Programming Console, 86
147
Revision History
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
Revision code
The following table outlines the changes made to the manual during each revision. Page numbers refer to the
previous version.
2 December 1993 The manual was extensively rewritten to incorporate information on the new CPUs, I/O Units, and Dedicated I/O Units.
2A October 1994 Page 34: Computational speed specifications corrected for the Pulse Page 35: Output frequency row added to the table.
Input Port (CQM1-CPU43-E) table. Page 47: Terminal connections corrected.
2B March 1995 Pages 2, 3, 7, 29, 87: SYSMAC Support Software (SSS) added. Page 59: 3-2 SSS Capabilities added.
Page 15: The “1 kHz” corrected to “4 kHz” in the first sentence of Pages 65, 74, 75: SET Key corrected to SHIFT Key.
2-1-10 ABS Interface Function. Page 66: Text after the table deleted and SET Key corrected to
Page 13: A section on Programmable Controller Power Instructions SHIFT Key in 3-4-6 Reading and Changing the Clock.
added. Page 73: “6 bits” corrected to “16 bits” in the first sentence of 3-4-13
Page 17: New Dedicated I/O Units added. Bit, Digit, Word Monitor. SET Key corrected to SHIFT Key for the Bit
Page 33: Data for Types of Instructions, Input Bits, Output Bits, and Monitor sequence.
Work Bits corrected. Page 84: “DM data” corrected to “word data” in 3-4-27 Hex-ASCII
Page 40: Computational speed changed from “1 kHz” corrected to “4 Display Change. 3-5-29 Inputting Signed Binary Data Using Decimal
kHz” in the table. Values and 3-5-30 Using Signed Binary Instructions added.
Pages 43, 45, 46, 47, 48, 49, 50, 52, 53, 55: Corrections made to the Page 101: Output Units specifications corrected. New Dedicated I/O
Terminal Connections. Units and SSS added.
2C July 1995 The following changes and additions were made. Page 18: DC Input Unit models added.
Pages 45 and 46 : CQM1-ID111 and CQM1-ID112 added (new
Page 7: Default communications settings modified and notes added pages).
to table.
Page 102: Note corrected.
Page 12: Reference added to the top paragraph.
Page 115: Appendix B Battery Service Life added.
Pages 17 and 110: DC Input Unit models and Linear Sensor Inter-
face Units added.
2D July 1996 Pages 16, 17, 20, 23, 32, 111: CQM1-PA216 added. Page 56: Circuit configuration corrected for CQM1-OD215.
Pages 17, 18, 59, 112: CQM1-OA222 added. Pages 77, 83: Set Key corrected to Shift Key for the top display.
Pages 17, 113: DeviceBus/S Units added. Page 80: The program addresses corrected from 00202 to
Pages 23, 24: Terminal Block rewritten and Wiring Precautions 00203.
for Ground Wires added. Page 105: ERR/ALM corrected to RUN at the bottom of the flow-
Page 51: Circuit configuration corrected for CQM1-OD211. chart.
3 April 1997 Pages 17, 18, 19, 52, 116: CQM1-OC224 added. Page 28: 2-5-5 Compliance with EC Directives added.
4 June 1997 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.
149