CPM1 Programmable Controllers Operation Manual
CPM1 Programmable Controllers Operation Manual
W262–E1–4
SYSMAC
CPM1
Programmable Controllers
OPERATION MANUAL
CPM1 Programmable Controllers
Operation Manual
Revised February 1998
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, 1995
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
SECTION 1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
1-1 CPM1 Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1-2 System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
1-3 Revised Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
SECTION 2
Unit Specifications and Components . . . . . . . . . . . . . . . . 15
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2-2 Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
SECTION 3
Installation and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3-1 Design Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3-2 Selecting an Installation Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
3-3 Installing the CPM1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
3-4 Wiring and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
SECTION 4
Using Peripheral Devices . . . . . . . . . . . . . . . . . . . . . . . . . . 47
4-1 Support Software Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48
4-2 Using a Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
4-3 Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
4-4 Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
SECTION 5
Test Runs and Error Processing . . . . . . . . . . . . . . . . . . . . 85
5-1 Initial System Checks and Test Run Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
5-2 The CPM1 Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
5-3 Self-diagnosis Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
5-4 Programming Console Operation Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
5-5 Programming Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
5-6 Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
5-7 Maintenance Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
5-8 Handling Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Appendices
A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
B Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131
vii
About this Manual:
The CPM1 is a compact, high-speed Programmable Controller (PC) designed for control operations in
systems requiring from 10 to 50 I/O points per PC. There are two manuals describing the setup and opera-
tion of the CPM1: the CPM1 Operation Manual (this manual) and the CQM1/CPM1/CPM1A/SRM1 Pro-
gramming Manual.
This manual describes the system configuration and installation of the CPM1 and provides a basic
explanation of operating procedures for the Programming Consoles and introduces the capabilities of the
SYSMAC Support Software (SSS). Read this manual first to acquaint yourself with the CPM1.
The CQM1/CPM1/CPM1A/SRM1 Programming Manual (W228) provides detailed descriptions of the
CPM1’s programming functions. The SYSMAC Support Software Operation Manual: C-series PCs pro-
vides descriptions of SSS operations for the CPM1 and C-series PCs. The SYSMAC-CPT Support Soft-
ware Quick Start Guide (W332) and User Manual (W333) provide descriptions of ladder diagram opera-
tions in the Windows environment.
Please read this manual carefully and be sure you understand the information provide before attempting
to install and operate the CPM1.
Section 1 gives a brief overview of the steps involved in developing of a CPM1 System, describes the
possible system configurations, and describes the CPM1’s special features and functions.
Section 2 provides the technical specifications of the Units that go together to create a CPM1 PC and
describes the main components of the Units.
Section 3 describes how to install and wire a CPM1 PC.
Section 4 describes SSS capabilities, how to connect the Programming Console, and how to perform the
various Programming Console operations.
Section 5 describes how to perform a test run and how to diagnose and correct the hardware and soft-
ware errors that can occur during PC operation.
Appendix A provides tables of CPM1 Units and related products.
Appendix B provides the dimensions of CPM1 Units.
! 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
Application Precautions 5
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 ma-
chines, 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 or terminal blocks 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 Execute online edit only after confirming that no adverse effects will be caused
by extending the cycle time. Otherwise, the input signals may not be readable.
! Caution Confirm safety at the destination node before transferring a program to another
node or changing the I/O memory area. Doing either of these without confirming
safety may result in injury.
! Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the
torque specified in the operation manual. The loose screws may result in burning
or malfunction.
xii
Application Precautions 5
! 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 follow-
ing. 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
Application Precautions 5
• Interlock circuits, limit circuits, and similar safety measures in external circuits
(i.e., not in the Programmable Controller) must be provided by the customer.
• Always use the power supply voltage specified in the operation manuals. An
incorrect voltage may result in malfunction or burning.
• Take appropriate measures to ensure that the specified power with the rated
voltage and frequency is supplied. Be particularly careful in places where the
power supply is unstable. An incorrect power supply may result in malfunction.
• 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 the Unit properly as specified in the operation 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 re-
sult 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.
• Resume operation only after transferring to the new CPU Unit the contents of
the DM and HR Areas required for resuming operation. Not doing so may result
in an unexpected operation.
• Do not pull on the cables or bend the cables beyond their natural limit. Doing
either of these may break the cables.
• Do not place objects on top of the cables. Doing so may break the cables.
• When replacing parts, be sure to confirm that the rating of a new part is correct.
Not doing so may result in malfunction or burning.
• Before touching the Unit, be sure to first touch a grounded metallic object in
order to discharge any static built-up. Not doing so may result in malfunction or
damage.
xiv
Application Precautions 5
• Do not touch the Expansion I/O Unit Connecting Cable while the power is
being supplied in order to prevent any malfunction due to static electricity.
! Caution Always clear memory before beginning to program the CPM1. Although
memory is cleared before the CPU Unit is shipped (except for bits with specific
functions), AR 1314, which turns ON when the internal capacitor cannot back up
memory, may have turned ON during shipment.
! Caution If the CPM1 will be turned off for periods exceeding the data backup period of the
internal capacitor, design the system so that it will not be influenced if data in the
DM, HR, and CNT areas is cleared when power is turned off.
! Caution Either switch the CPM1 to RUN or MONITOR mode, or turn off and on power to
the CPM1 after changing from a Programming Device any data that is backed up
in flash memory. This data includes the user program, read-only DM area (DM
6144 to DM 6599), and the PC Setup (DM 6600 to DM 6655).
• The user program and memory area data in the CPM1 are backed up either by
an internal capacitor or in flash memory as shown in the following table.
Backup method Data
Internal capacitor Read/write DM area (DM 0000 to DM 0999, DM 1022, and
DM 1023)
Error log area (DM 1000 to DM 1021)
HR area (HR 00 to HR 19)
Counter area (CNT 000 to CNT 127)
Flash memory User program
Read-only DM area (DM 6144 to DM 6599)
PC Setup (DM 6600 to DM 6655)
Note 1. The IR, TR, LR, and timer areas are not normally backed up when power is
turned off and all contents will be cleared the next time power is turned on.
(The PC Setup setting in DM 6601 can be used to back up this data. Refer to
details on the PC Setup later in this manual for details.)
2. The bits in the AR and SR areas have special functions and are set accord-
ing to these functions when power is turned on.
• The capacitor backup time depends on the ambient temperature, as shown in
the following graph. The backup time, however, assumes that the capacitor is
fully charged, which requires that power be supplied to the CPU Unit continu-
ously for at least 15 minutes.
Backup time (days)
20
10
7
1
25 40 80
Ambient temperature (_C)
xv
Application Precautions 5
If the power remains off for a period exceeding the data backup period,
AR 1314 will turn ON to indicate that the capacitor can no longer back up data
and the data backed up by the capacitor will be cleared. AR 1314 will remain
ON unless it is turned OFF using I/O monitor operations, using memory clear
operations, or from the user program.
If desired, the PC Setup setting in DM 6604 can be set to create a fatal error
and thus stop the system when AR 1314 goes ON.
• The data stored in flash memory will not be lost even if power remains off for a
period exceeding the data backup period, because the data stored in flash
memory will be read to the CPU Unit when the CPM1 is turned on.
• If the power is turned off without changing the mode from PROGRAM mode to
RUN or MONITOR mode after having made changes in the data that is backed
up in flash memory, the changes will not be written to flash memory. If the
power is then left off for more than 20 days (at 25_C), the changes (i.e., the
contents of the RAM) will be erased and the data values will become unde-
fined.
xvi
SECTION 1
Introduction
This section describes the CPM1’s special features and functions and shows the possible system configurations. Refer to the
Programming Manual (W228) for details on programming actual operation.
1
CPM1 Features and Functions Section 1-1
Extra I/O Capacity An Expansion I/O Unit can be connected to the CPU Unit to add an extra 20 I/O
points.
By using the CPM1-30CDR-A-V1 (Available soon) or CPM1-30CDR-D-V1
(Available soon), I/O expansion up to 90 points is possible.
Input Filter Function The CPM1 is equipped with a filter function to prevent incorrect operation
caused by chatter or noise in the input signal. The user can select an input time
constant of 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms.
Low-maintenance Design Flash memory provides memory backup without a battery.
Conforms to EC Directives The CPM1 PCs conform to EC directives (EMC and low-voltage directives), so
they can be incorporated in equipment destined for the EC. Contact your
OMRON representative for more details.
Input Interrupts The CPM1-10CDR-j PCs can handle 2 interrupt inputs; the CPM1-20CDR-j
and CPM1-30CDR-j (CPM1-30CDR-j-V1 (Available soon)) PCs can handle
4 interrupt inputs. In addition to normal input interrupts, the CPM1 has a counter
mode that counts high-speed input signals and triggers interrupts at fixed count
multiples.
Quick-response Inputs Quick-response inputs can detect input signals with a pulse width as short as
0.2 ms regardless of their timing during the PC cycle. Quick-response inputs
and interrupt inputs use the same input terminals.
Interval Timer CPM1 PCs have a high-speed interval timer which can be set from 0.5 ms to
319968 ms. The timer can be set to trigger a single interrupt (one-shot mode) or
repeat scheduled interrupts (scheduled interrupt mode).
2
CPM1 Features and Functions Section 1-1
High-speed Counter CPM1 PCs have a high-speed counter that can be used in incremental mode or
up/down mode. The high-speed counter can be combined with input interrupts
to perform target value control or zone comparison control that isn’t affected by
the PC’s cycle time.
Analog Setting Function The CPM1 PCs have 2 analog volume controls that can be used to make manual
analog settings.
Host Link Communications The CPM1 PCs are compatible with the Host Link, which allows communica-
tions with personal computers. The CPM1 using the Host Link can also commu-
nicate with Programmable Terminal using host link commands.
An RS-232C Adapter is used for 1-to-1 communications and an RS-422 Adapter
is used for 1-to-n communications.
1-to-1 Link A data link can be created with a data area in another CPM1, CQM1, or C200HS
PC. An RS-232C Adapter is used to make the 1-to-1 connection.
NT Link Communications High-speed operations can be achieved by providing a direct access by con-
necting the CPM1 to the Programmable Terminal through the NT Link Interface.
An RS-232 Adapter is used for this connection.
Standard Peripheral Devices The CPM1 uses the same Programming Consoles, SYSMAC Support Software
(SSS), and Ladder Support Software (LSS) as the Mini H-type and CQM1 PCs.
Programming is Possible Programming operation is possible through the PT screen by using an OMRON
Using the PT PT that has a built-in Programming Console function.
Note The Expansion I/O Units consist of models with relay output. The Expansion I/O
Units can also be connected to CPM1A Expansion I/O Units (sink type or source
type) with transistor output. For more information about the transistor-output
Expansion I/O Units of the CPM1A, refer to the CPM1A Operation Manual
(W317).
Number of CPU Unit Terminals Expansion I/O Unit Terminals Power Model Number
I/O Terminals Supply
on the CPU Inputs Outputs Inputs Outputs
Unit
10 6 points: 4 points: 12 points: 8 points: AC CPM1-10CDR-A
00000 to 00005 01000 to 01003 00100 to 00111 01100 to 01107 DC CPM1-10CDR-D
20 12 points: 8 points: 12 points: 8 points: AC CPM1-20CDR-A
00000 to 00011 01000 to 01007 00100 to 00111 01100 to 01107 DC CPM1-20CDR-D
30 18 points: 12 points: 12 points: 8 points: AC CPM1-30CDR-A
00000 to 00011 01000 to 01007 00200 to 00211 01200 to 01207 DC CPM1-30CDR-D
00100 to 00105 01100 to 01103 36 points: 24 points: AC CPM1-30CDR-A-V1
00200 to 00211 01200 to 01207 (Available soon)
3
CPM1 Features and Functions Section 1-1
The following table shows which IR words are allocated to the analog controls on
the CPM1’s CPU Unit.
Control Corresponding IR word Setting range (BCD)
Analog volume control 0 IR 250 0000 to 0200
Analog volume control 1 IR 251
Input Filter Function The input time constant for the CPM1’s external inputs can be set to 1, 2, 4, 8, 16,
32, 64, or 128 ms. Increasing the input time constant can reduce the effects of
chatter or noise in the input signal.
With the CPM1, actual response time for each set input time constant for word
000 is different from that for word 001 or later.
Set value Word 000 Word 001 or later
1 ms 1 to 1.5 ms 0.1 to 0.3 ms
2 ms 2 to 2.5 ms 0.7 to 1.5 ms
4 ms 4 to 4.5 ms 1.5 to 2.5 ms
8 ms 8 to 8.5 ms 3 to 4.5 ms
16 ms 16 to 16.5 ms 6 to 9 ms
32 ms 32 to 32.5 ms 12 to 18 ms
64 ms 64 to 64.5 ms 24 to 35 ms
128 ms 128 to 128.5 ms 50 to 70 ms
The input response time of the CPM1 is obtained with the following:
2 ms max. (hardware performance) + input time constant (see above table)
+ cycle time
4
CPM1 Features and Functions Section 1-1
Input Interrupts The CPM1-10CDR-j PCs have 2 interrupt input terminals and the
CPM1-20CDR-j and CPM1-30CDR-j PCs have 4 interrupt input terminals.
There are two modes for input interrupts: input interrupt mode and counter
mode.
1, 2, 3... 1. When an interrupt occurs in Input Interrupt Mode, the main program is inter-
rupted and the interrupt program is executed immediately, regardless of the
cycle time.
2. In Counter Mode, external input signals are counted at high speed (up to
1 kHz) and an interrupt is generated each time the count reaches the set
value. When an interrupt occurs, the main program is interrupted and the
interrupt program is executed. The set value can be set from 0 to 65,535.
The following diagram shows the program execution when an interrupt occurs.
Main program
SBN00
MOV
END RET
Note When not using as interrupt input terminals, the input bits IR 00003 to IR 00006
can be used as normal input terminals.
Refer to the CQM1/CPM1/CPM1A/SRM1 Programming Manual (W228) for set-
ting and using the input interrupts.
5
CPM1 Features and Functions Section 1-1
Quick-response Inputs The CPM1-10CDR-j PCs have 2 quick-response input terminals and the
CPM1-20CDR-j/30CDR-j PCs have 4 quick-response input terminals. (The
same terminals are used for quick-response inputs and interrupt inputs.)
Quick-response inputs have an internal buffer, so input signals shorter than one
cycle can be detected.
Input signal
(00003)
IR 00003
One cycle
Interval Timer Function CPM1 PCs are equipped with an interval timer which can be set from 0.5 ms to
(Scheduled Interrupts) 319,968 ms in units of 0.1 ms. The timer can be set to trigger a single interrupt
(one-shot mode) or repeat scheduled interrupts (scheduled interrupt mode).
Main program
ADD
Interrupt program
SBN00
MOV
END RET
Mode Function
One-shot Generates a single interrupt the first time that the timer times
out.
Scheduled interrupt Generates an interrupt each time that the timer times out.
6
CPM1 Features and Functions Section 1-1
High-speed Counter CPM1 PCs have a high-speed counter that can be used in incremental mode or
up/down mode. The high-speed counter can be combined with input interrupts
to perform target value control or zone comparison control that isn’t affected by
the PC’s cycle time.
Count input
Reset input
00000
00001
00002
Solenoid
Motor
Motor
controller
Controller
Note In incremental mode, this input (00001) can be used as an regular input.
Refer to the CQM1/CPM1/CPM1A/SRM1 Programming Manual (W228) for set-
ting and using the high-speed counter.
7
System Configuration Section 1-2
Connecting Cable
CPM1 CPU Units The following table describes the six CPM1 CPU Units. All outputs are relay out-
puts.
CPM1 Expansion I/O Unit The following table describes the CPM1 Expansion I/O Unit. All outputs are relay
outputs.
• CPM1A Expansion I/O Units with transistor output can also be connected to a
CPM1 CPU Unit.
• For the CPM1-30CDR-j-V1 (Available soon), a maximum of three Expansion
I/O Units can be connected. For other CPU Units, only one Expansion I/O Unit
can be connected.
Note Do not touch the Expansion I/O Unit Connecting Cable while the power is being
supplied in order to prevent any malfunction due to static electricity.
8
System Configuration Section 1-2
CQM1-CIF02
Connecting to a The following diagram shows the possible methods for a connection between a
Programmable Terminal CPM1 PC and an OMRON Programmable Terminal (a display device).
Programmable Terminal RS-232C Adapter
CPM1 CPU Unit
RS-232C Cable
9
System Configuration Section 1-2
1-to-n Communications The following diagram shows how to connect up to 32 CPM1 PCs to an IBM
PC/AT or compatible computer.
RS-422 Cable
3G2A9-AL004-E
Link Adapter
CPM1 PCs
The maximum cable length of RS-422 should be 500 m. (32 PCs max.)
Adapters and Cables The following table lists some of the Adapters and Cables used in Host Link com-
munications.
10
System Configuration Section 1-2
RS-232C Cable
CQM1-series PC
C200HS-series PC
11
System Configuration Section 1-2
RS-232C Cable
C200H-CN222
CQM1-PRO01-E C200H-PRO27-E
12
System Configuration Section 1-2
SYSMAC Support Software An IBM PC/AT or compatible personal computer running SSS or the SYSMAC-
and SYSMAC-CPT Support CPT Support Software can be connected to the CPM1A as shown in the follow-
Software ing diagram. Refer to 3-4-7 Host Link Connections for a diagram showing the
standard wiring for the RS-232C cable.
Any version of the Support Software may be used. Refer to 4-1 Support Soft-
ware Capabilities for further details on installing and using Support Software.
RS-232C Adapter
CQM1-CIF02
SSS
SYSMAC-
CPT
Note Specify the model number when making a new purchase of a product.
13
Revised Specifications Section 1-3
14
SECTION 2
Unit Specifications and Components
This section provides the technical specifications of the Units that go together to create a CPM1 PC and describes the main
components of the Units.
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2-1-1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
2-1-2 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
2-1-3 I/O Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
2-1-4 Communications Adapter Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
2-2 Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2-2-1 CPU Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2-2-2 Expansion I/O Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
2-2-3 Communications Adapter Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
15
Specifications Section 2-1
2-1 Specifications
2-1-1 General Specifications
Item CPM1-10CDR-j CPM1-20CDR-j CPM1-30CDR-j
CPM1-30CDR-j-V1
(see note 2)
Supply voltage AC type 100 to 240 VAC, 50/60 Hz
DC type 24 VDC
Operating voltage range AC type 85 to 264 VAC
DC type 20.4 to 26.4 VDC
Power consumption AC type 60 VA max.
DC type 20 W max.
Inrush current 60 A max.
External power supply Supply voltage 24 VDC
(AC type only) Output capacity 300 mA (see note)
Insulation resistance 20 MΩ min. (at 500 VDC) between the external AC terminals and
protective earth terminals
Dielectric strength 2,300 VAC 50/60 Hz for 1 min between the external AC and protective
earth terminals, leakage current: 10 mA max.
Noise immunity 1,500 Vp-p, pulse width: 0.1 to 1 µs, rise time: 1 ns (via noise simulation)
Vibration resistance 10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s2
(1G) in X, Y, and Z directions for 80 minutes each
(Time coefficient; 8 minutes × coefficient factor 10 = total time 80 minutes)
Shock resistance 147 m/s2 (15G) three times each in X, Y, and Z directions
Ambient temperature Operating: 0° to 55°C
Storage: –20° to 75°C
Humidity 10% to 90% (with no condensation)
Atmosphere Must be free from corrosive gas
Terminal screw size M3
Grounding Less than 100 W
Power interrupt time AC type: 10 ms min.
DC type: 2 ms min.
(A power interruption occurs if power falls below 85% of the rated voltage
for longer than the power interrupt time.)
CPU Unit weight AC type 600 g max. 800 g max. 900 g max.
DC type 500 g max. 700 g max. 800 g max.
Expansion I/O Unit weight 600 g max.
Note 1. When the external power supply provides an excessive current or is short
circuited, the external power supply voltage drops. The PC will, however,
continue to operate.
2. CPM1-30CDR-j-V1 will be available soon.
16
Specifications Section 2-1
2-1-2 Characteristics
Item CPM1-10CDR-j CPM1-20CDR-j CPM1-30CDR-j
CPM1-30CDR-j-V1
(see note 2)
Control method Stored program method
I/O control method Cyclic scan with direct output; immediate refresh processing
Programming language Ladder diagram
Instruction length 1 step per instruction, 1 to 5 words per instruction
Types of instructions Basic instructions: 14
Special instructions: 77 types, 134 instructions
Execution time Basic instructions: 0.72 to 16.2 µs
Special instructions: 16.3 µs (MOV instruction)
Program capacity 2,048 words
Input bits 00000 to 00915 (Words not used for input bits can be used for work bits.)
Output bits 01000 to 01915 (Words not used for output bits can be used for work bits.)
Work bits 512 bits: 20000 to 23115 (Words IR 200 to IR 231)
Special bits (SR area) 384 bits: 23200 to 25515 (Words IR 232 to IR 255)
Temporary bits (TR area) 8 bits (TR0 to TR7)
Holding bits (HR area) 320 bits: HR 0000 to HR 1915 (Words HR 00 to HR 19)
Auxiliary bits (AR area) 256 bits: AR 0000 to AR 1515 (Words AR 00 to AR 15)
Link bits (LR area) 256 bits: LR 0000 to LR 1515 (Words LR 00 to LR 15)
Timers/Counters 128 timers/counters (TIM/CNT 000 to TIM/CNT 127)
100-ms timers: TIM 000 to TIM 127
10-ms timers (high-speed counter): TIM 000 to TIM 127 (see note 1)
(the timer numbers used are the same as for the 100-ms timers)
Decrementing counters and reversible counters
Data memory Read/Write: 1,024 words (DM 0000 to DM 1023)
Read-only: 512 words (DM 6144 to DM 6655)
Interrupt processing External interrupts: 2 External interrupts: 4
(Response time: 0.3 ms max.) (Response time: 0.3 ms max.)
Input interrupts 2 4
Interval timer interrupts 1 (0.5 to 319,968 ms in Scheduled Interrupt Mode or Single Interrupt Mode)
Memory protection HR and read/write DM area contents; and counter values maintained during power
interruptions.
Memory backup Flash memory:
The program, read-only DM area, and PC Setup area are backed up without a battery.
Capacitor backup:
The read/write DM area, error log area, HR area, and counter values are backed up by a
capacitor for 20 days at 25_C. The capacitor backup time depends on the ambient
temperature. See the graph on the following page for details.
Self-diagnostic functions CPU Unit failure (watchdog timer), I/O bus error, and memory failure
Program checks No END instruction, programming errors (continuously checked during operation)
High-speed counter One high-speed counter: 5 kHz single-phase or 2.5 kHz two-phase (linear count method)
Increment mode: 0 to 65,535 (16 bits)
Up/Down mode: –32,767 to 32,767 (16 bits)
Quick-response inputs The same inputs are used for quick-response inputs and external interrupt inputs.
(Min. input puls width: 0.2 ms)
Input time constant Can be set to 1 ms, 2 ms, 4 ms, 8 ms, 16 ms, 32 ms, 64 ms, or 128 ms.
Analog volume settings 2 controls (0 to 200 BCD)
Note 1. Use TIM 000 to TIM 003 when creating a timer using the high-speed timer
instruction to perform interrupt processing.
2. CPM1-30CDR-j-V1 will be available soon.
17
Specifications Section 2-1
Memory Backup The user program and memory area data in the CPM1 are backed up either by
an internal capacitor or in flash memory as shown in the following table.
Backup method Data
Internal capacitor Read/write DM area (DM 0000 to DM 0999, DM 1022, and
DM 1023)
Error log area (DM 1000 to DM 1021)
HR area (HR 00 to HR 19)
Counter area (CNT 000 to CNT 127)
Flash memory User program
Read-only DM area (DM 6144 to DM 6599)
PC Setup (DM 6600 to DM 6655)
Note 1. The IR, TR, LR, and timer areas are not normally backed up when power is
turned off and all contents will be cleared the next time power is turned on.
(The PC Setup setting in DM 6601 can be used to back up this data. Refer to
details on the PC Setup later in this manual for details.)
2. The bits in the AR and SR areas have special functions and are set accord-
ing to these functions when power is turned on.
The capacitor backup time depends on the ambient temperature, as shown in
the following graph. The backup time, however, assumes that the capacitor is
fully charged, which requires that power be supplied to the CPU Unit continu-
ously for at least 15 minutes.
Backup time (days)
20
10
7
1
25 40 80
Ambient temperature (_C)
If the power remains off for a period exceeding the data backup period,
AR 1314 will turn ON to indicate that the capacitor can no longer back up data
and the data backed up by the capacitor will be cleared. AR 1314 will remain
ON unless it is turned OFF using I/O monitor operations, using memory clear
operations, or from the user program.
If desired, the PC Setup setting in DM 6604 can be set to create a fatal error
and thus stop the system when AR 1314 goes ON.
The data stored in flash memory will not be lost even if power remains off for a
period exceeding the data backup period, because the data stored in flash
memory will be read to the CPU Unit when the CPM1 is turned on.
If the power is turned off without changing the mode from PROGRAM mode to
RUN or MONITOR mode after having made changes in the data that is backed
up in flash memory, the changes will not be written to flash memory. If the power
is then left off for more than 20 days (at 25_C), the changes (i.e., the contents of
the RAM) will be erased and the data values will become undefined.
18
Specifications Section 2-1
Either switch the CPM1 to RUN or MONITOR mode, or turn off and on power to
the CPM1 after changing from a Programming Device any data that is backed up
in flash memory. This data includes the user program, read-only DM area (DM
6144 to DM 6599), and the PC Setup (DM 6600 to DM 6655).
820 Ω Internal
(510 Ω) Circuits
COM
Note Using the PC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected. When
IN00000 through IN00002 are used as high-speed counter inputs, the delays
are as shown in the following table.
200 µs min.
90 µs
min.
ON
A phase
OFF
90 µs
min.
19
Specifications Section 2-1
400 µs min.
ON
Phase A
OFF
ON
Phase B
OFF
T1 T2 T3 T4
T1 T2 T3 T4 : 90 µs min.
IN00002 (Z phase)
100 µs min.
ON
Phase Z
OFF
500 µs
min.
When IN00003 through IN00006 are used as interrupt inputs, the delay is 0.3 ms
max. The delay is measured from the time that the input goes ON until the inter-
rupt subroutine is executed.
Internal
820 Ω Circuits
COM
Note Using the PC Setup, 1, 2, 4, 8, 16, 32, 64, or 128 ms can be selected.
! Caution Do not apply voltage in excess of the rated voltage to the input terminal. It may
result in damage to the product or fire.
20
Specifications Section 2-1
Internal OUT
Circuits
COM Maximum
250 VAC: 2 A
24 VDC: 2 A
! Caution Do not connect loads or apply voltage in excess of the maximum switching
capacity to an output terminal. It may result in damage to the product or fire.
21
Unit Components Section 2-2
8. Input indicators
10. Analog volume controls
7. PC status indicators
9. Output indicators
6. Output terminals
4. Power supply output terminals
(AC type only)
22
Unit Components Section 2-2
CPM1-20CDR-j
CPM1-30CDR-j
CPM1-30CDR-j-V1 (see note)
23
Unit Components Section 2-2
7. PC Status Indicators
These indicators show the operating status of the PC, as shown in the fol-
lowing table.
Indicator Status Meaning
POWER (green) ON Power is being supplied to the PC.
OFF Power isn’t being supplied to the PC.
RUN (green) ON The PC is operating in RUN or MONITOR mode.
OFF The PC is in PROGRAM mode or a fatal error
has occurred.
ERROR/ALARM ON A fatal error has occurred. (PC operation stops.)
(red) Flashing A non-fatal error has occurred. (PC operation
continues.)
OFF Indicates normal operation.
COMM (orange) ON Data is being transferred via the Peripheral Port.
OFF Data isn’t being transferred via the Peripheral
Port.
8. Input Indicators
These indicators are lit when the corresponding input terminal is ON.
When a fatal error occurs, the input indicators change as follows:
Fatal error Input indicators
CPU Unit error or I/O bus error Turn OFF.
Memory error, no END instruction The indicators will change with the
error, or system error status of the input signal, but input
status will not be updated in memory.
9. Output Indicators
These indicators are lit when the corresponding output terminal is ON.
10. Analog Volume Controls
Setting these controls sets the contents of IR 250 and IR 251 from 0 to 200.
11. Peripheral Port
Connects the PC to a Peripheral Device, RS-232C Adapter, or RS-422
Adapter.
12. Expansion I/O Unit Connector
Connects the PC’s CPU Unit to an Expansion I/O Unit to add another 12
input points and 8 output points.
24
Unit Components Section 2-2
3. Input indicators
2. Output terminals
! Caution Do not touch the Expansion I/O Unit Connecting Cable while the power is being
supplied in order to prevent any malfunction due to static electricity.
25
Unit Components Section 2-2
3. RS-232C port
RS-232C Port Pin allocation
FG 1
6 DCD
SD 2
7 DSR
RD 3
8 DTR
RTS 4
9 SG
2. Connector CTS 5
RS-422 Adapter
FG
SG
SDB
SDA
RDB
RDA
2. Connector
26
SECTION 3
Installation and Wiring
This section provides information on installing and wiring a CPM1 PC. Be sure to follow the directions and precautions in this
section when installing the CPM1 in a panel or cabinet, wiring the power supply, or wiring I/O.
27
Design Precautions Section 3-1
01005 MC2
MC1 Motor forward
CPM1
01006 MC1
MC2 Motor reverse
In the interlock circuit above, MC1 and MC2 can’t be ON at the same time even if
CPM1 outputs 01005 and 01006 are both ON (an incorrect PC operation).
28
Selecting an Installation Site Section 3-2
Automatic Restart
When the supply voltage recovers to a value higher than 85% of the rated value,
operations resumes automatically.
Note The CPM1 may repeat stop/start operations if the supply voltage of less than
85% of the rated value gradually goes up or down.
If this affects the equipment, etc., provide a protection circuit which shuts off the
output if the supply voltage is not above the rated value.
! Caution Be sure to install the CPM1 correctly, as outlined in this manual. Failure to do so
may result in Unit malfunction.
29
Installing the CPM1 Section 3-3
Control panel
Fan
CPM1
Air vent
Electrical Noise Power lines and high-voltage equipment can cause electrical noise in the PC.
• Do not install the CPM1 in a panel or cabinet with high-voltage equipment.
• Allow at least 200 mm between the CPM1 and nearby power lines.
200 mm min.
CPM1
200 mm min.
Accessibility Ensure that the CPM1 can be accessed for normal operation and maintenance.
• Provide a clear path to the CPM1 for operation and maintenance. High-voltage
equipment or power lines could be dangerous if they are in the way during rou-
tine operations.
• The PC will be easiest to access if the panel or cabinet is installed about 3 to 5
feet off of the floor.
Correct
30
Installing the CPM1 Section 3-3
Incorrect
Incorrect
Surface Installation Use the following pattern when installing a CPM1 on a horizontal surface.
Four, M4 holes
81 mm
A 8 mm
10 to 10 to
15 mm 15 mm
31
Installing the CPM1 Section 3-3
DIN Track Installation The CPM1 can be installed on a 35-mm DIN Track.
DIN Track
PFP-100N (1 m)
End Plates
PFP-50N (50 cm)
(PFP-M)
PFP-100N2 (1 m)
Installation
Lower the CPM1 so that the notch on the back of the PC catches the top of the
DIN Track. Push the PC forward until the lock snaps into place.
Removal
Pry the lock down with a standard screwdriver and pivot the PC upward to
remove it.
Screwdriver
32
Installing the CPM1 Section 3-3
1, 2, 3... 1. Remove the cover from the CPU Unit’s Expansion I/O Unit Connector.
2. Insert the Expansion I/O Unit’s Connecting Cable into the CPU Unit’s
Expansion I/O Unit Connector.
3. Replace the cover on the CPU Unit’s Expansion I/O Unit Connector.
33
Wiring and Connections Section 3-4
! Caution Attach the dustproof label provided before wiring. If scraps of wire get inside the
Unit, malfunction will result. After completing wiring be sure to remove the label
to avoid overheating.
Hanging Ducts
Leave at least 300 mm between the power cables and the I/O or control wiring,
as shown in the following diagram.
300 mm min.
300 mm min.
Power cables
Floor Ducts
Leave at least 200 mm between the wiring and the top of the duct, as shown in
the following diagram.
Control cables and Metal plate (iron)
CPM1 I/O lines CPM1 power lines Power cables
200 mm min.
Conduit
Separate the CPM1 I/O lines, power and control lines, and power cables, as
shown in the following diagram.
Control cables and
CPM1 I/O lines CPM1 power lines Power cables
ÉÉÉÉÉÉÉÉÉÉÉÉ
34
Wiring and Connections Section 3-4
Grounding Be sure to ground the functional earth and protective earth terminals together to
less than 100 Ω in order to protect against electric shock and incorrect operation
from electrical noise. Be sure to use a wire of at least 1.25 mm2 for grounding.
! Caution When installing the Units, always connect to a class-3 (to 100 Ω or less) ground.
Otherwise, an electric shock may occur.
Note Disconnect the functional earth terminal when performing withstand voltage
tests.
Crimp Connectors Always use crimp connectors for the CPM1’s power lines and I/O lines or else
use a single-wire line (instead of a stranded wire). Stray wire strands could acci-
dentally short out.
Use M3 terminal screws and tighten the screws securely (0.5 N S m).
Recommended Terminal: Use the terminal shown below. Round terminals can-
not be used.
Fork terminal
6.2 mm max.
Breaker
! Caution Tighten the terminal block screws of the AC Power Supply to the torque of
0.5 N S m. Loose screws may result in burning or malfunction.
35
Wiring and Connections Section 3-4
24-VDC Power Supply Use a DC power supply with sufficient capacity and low ripple.
24 VDC
! Caution Do not perform a dielectric test on a DC-type CPU Unit. Use the Power Supply
provided with double insulation or reinforced insulation for conforming to the EC
Directives (Low-voltage Directives).
Input devices
COM
CPM1-20CDR-j CPU Units This diagram shows the input configuration for CPM1-20CDR-j CPU Units and
and CPM1-20EDR CPM1-20EDR Expansion I/O Unit.
Expansion I/O Unit
36
Wiring and Connections Section 3-4
CPM1-30CDR-j CPU Units This diagram shows the input configuration for CPM1-30CDR-j CPU Units.
Input Devices The following table shows how to connect various input devices.
Device Circuit Diagram
Relay output
Relay
IN
5 mA/12 mA CPM1
COM (+)
Constant current
circuit +
Output
IN CPM1
5 mA/12 mA +
COM (+)
0V
37
Wiring and Connections Section 3-4
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.
False inputs won’t occur if the leakage current is less than 1.0 mA (2.5 mA for
IN00000 to IN00002), but if the leakage current exceeds these values, insert a
bleeder resistor in the circuit to reduce the input impedance, as shown in the fol-
lowing diagram.
Input power
supply
Bleeder resistor R CPM1
2-wire sensor, etc.
LC 5.0
R+ kW max. W + 2.3 W min.
I L C–5.0 R
Refer to 2-1-3 I/O Specifications for details on the values LC, IC, and EC.
The input impedance, input current, and OFF voltage may vary depending on the
input being used. (IN00000 through IN00002 have different values.)
Inductive Loads When connecting an inductive load to an input, 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.
IN
Diode CPM1
COM
38
Wiring and Connections Section 3-4
CPM1-10CDR-j CPU Units An AC-type CPU Unit is shown. DC-type CPU Units don’t have power supply
outputs.
Load
Load
Load
Load
CPM1-20CDR-j CPU Units This diagram shows the output configuration for CPM1-20CDR-j CPU Units
and CPM1-20EDR and CPM1-20EDR Expansion I/O Unit.
Expansion I/O Unit
Load
Load
Load
Load
Load
Load
Load
Load
CPM1-30CDR-j This diagram shows the output configuration for CPM1-30CDR-j or
CPM1-30CDR-j-V1 CPU CPM1-30CDR-j-V1 (Available soon) CPU Units.
Units
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Load
Output Wiring Precautions Observe the following precautions to protect the PC’s internal components.
Output Short Protection
The output or internal circuitry might be damaged when the load connected to an
output is short-circuited, so it is recommended to install protective fuses in the
output circuits.
Inductive Loads
When connecting an inductive load to an input, connect a surge protector or
diode in parallel with the load.
The surge protector’s components should have the following ratings:
OUT
39
Wiring and Connections Section 3-4
OUT
Countermeasures
(Refer to EN50081-2 for more details.)
Countermeasures are not required if the frequency of load switching for the
whole system with the PC included is less than 5 times per minute.
Countermeasures are required if the frequency of load switching for the whole
system with the PC included is more than 5 times per minute.
40
Wiring and Connections Section 3-4
Countermeasure Examples
When switching an inductive load, connect an surge protector, diodes, etc., in
parallel with the load or contact as shown below.
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 experiments, and take into
protector between the contacts. consideration that the capacitance
suppresses spark discharge when the
contacts are separated and the
resistance limits the current that flows
into the load when the circuit is closed
again.
The dielectric strength of the capacitor
must be 200 to 300 V. If the circuit is
an AC circuit, use a capacitor with no
polarity.
Diode method 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
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
41
Wiring and Connections Section 3-4
PT
Command
Command
Response
Response
42
Wiring and Connections Section 3-4
The following diagram shows the wiring in the RS-232C cable used to connect a
CPM1 to a host computer or Programmable Terminal.
IBM PC/AT compatible computer
or Programmable Terminal (9-pin) RS-232C Adapter
Note When the CPM1 is connected to a host computer, set the RS-232C Adapter’s
mode setting switch to “HOST.”
1:n Host Link Connection Up to 32 CPU Units (CPM1 only) can be connected to an IBM PC/AT compatible
computer or a Programmable Terminal with a B500-AL004 Link Adapter and
RS-422 Adapters, as shown in the following diagram.
Command
Link Adapter
3G2A9-AL004-E
Response
43
Wiring and Connections Section 3-4
The following diagram shows the wiring in the RS-422 cables used to connect
CPM1 PCs to a B500-AL004 Link Adapter. In both the Link Adapter/RS-422
Adapter connections and the RS-422 Adapter/RS-422 Adapter connections,
connect the SG, RDA, RDB, SDA, and SDB terminals to the same terminals in
the other Adapter.
RDB 1
– 2
SG 3
– 4
25-pin D-sub Connector
SDB 5
RDA 6
FG 7
– 8
Use a straight RS-232C
cable to connect to the SDA 9 RS-422 Adapter CPM1 CPU Unit
host computer’s
RS-232C port.
SG
RDA
RDB
SDA
SDB
44
Wiring and Connections Section 3-4
RS-232C Cable
Note One-to-one PC connections can only be used when the RS-232C Adapter
(CPM1-CIF01) is connected.
Set the DIP switch of the RS-232C Adapter (CPM1-CIF01) to the NT (bottom)
side.
The following diagram shows the wiring in the RS-232C cable used to connect a
CPM1 to another PC.
45
Wiring and Connections Section 3-4
RS-232C Cable
CPM1
CPU Unit
Note The NT Link can only be used when the RS-232C Adapter (CPM1-CIF01) is con-
nected.
Set the DIP switch of the RS-232C Adapter (CPM1-CIF01) to the NT (bottom)
side.
The following diagram shows the wiring in the RS-232C cable used to connect a
CPM1 to a Programmable Terminal.
PT RS-232C Adapter
46
SECTION 4
Using Peripheral Devices
This section outlines the operations possible with the SYSMAC Support Software (SSS) and the Programming Consoles.
Actual SSS operating procedures are provided in the SSS Operation Manual: C-series PCs. Programming Console connec-
tion and operating procedures are provided in this section.
47
Support Software Capabilities Section 4-1
Memory Usage Since the memory of the the CQM1 is larger than that of the CPM1, the displayed
available memory capacity is larger than the actual available memory capacity.
Pay careful attention to the actual available memory capacity when program-
ming.
Expansion Instructions When a program is transferred after changing the assignment of function codes
for the 18 expansion instructions, a message to “Turn on the DIP switch of the
PC and execute again” is displayed. Change the assignment of the function
codes for the expansion instructions to the default settings before programming.
48
Support Software Capabilities Section 4-1
The default settings for the CQM1 are as shown in the following table.
Online Editing If unsupported addresses are set in the program for operands or set values,
error messages will be displayed and the values will not be accepted.
49
Support Software Capabilities Section 4-1
50
Support Software Capabilities Section 4-1
51
Support Software Capabilities Section 4-1
52
Support Software Capabilities Section 4-1
53
Support Software Capabilities Section 4-1
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.”
54
Using a Programming Console Section 4-2
C200H-PRO27-E
CQM1-PRO01-E (Use a C200H-CN222 (2 m) or
(A 2-m connecting cable is attached.) C200H-CN422 (4 m) Connecting
Cable.)
LCD display
Mode
selector
CPM1 operating mode
Instruction
keys
Numeric
keys
Operation
keys
The following keys are labeled differently on the CQM1-PRO01-E and the
C200H-PRO27-E, but the operation of the keys in each pair is identical.
PLAY
SET
SET
REC
RESET
RESET
Note To specify the AR area, use SHIFT + HR Keys for the C200H-PRO27-E and use
SHIFT + AR/HR Keys for the CQM1-PRO01-E.
55
Using a Programming Console Section 4-2
Panel Installation The C200H-PRO27-E Programming Console can be installed in a control panel
as shown in the following diagram. (The C200H-ATT01 Mounting Bracket is sold
separately.)
Two screws
186 +1.1
–0
+0.8
92 –0
Panel thickness: 1.0 to 3.2 mm
Allow at least 80 mm for the cable connector above the Programming Console.
37
15
At least 80 mm is required.
About 70 mm is required.
56
Using a Programming Console Section 4-2
! Caution Always confirm that the Programming Console is in PROGRAM mode when
turning on the PC with a Programming Console connected unless another mode
is desired for a specific purpose. If the Programming Console is in RUN mode
when PC power is turned on, any program in Program Memory will be executed,
possibly causing a PC-controlled system to begin operation.
<PROGRAM>
PASSWORD!
5. Enter the password. See 4-2-4 Entering the Password for details.
6. Clear memory. Skip this step if the program does not need to be cleared.
See 4-3-2 Clearing Memory for details.
<PROGRAM>
PASSWORD!
<PROGRAM> BZ
57
Using a Programming Console Section 4-2
Mode display
Initial display
00000
PROGRAM Mode The CPM1 program isn’t executed in PROGRAM mode. Use PROGRAM mode
to create and edit the program, clear memory, or check the program for errors.
MONITOR Mode The CPM1 program is executed in MONITOR mode and I/O is processed just as
it is in RUN mode. Use MONITOR mode when testing the system by monitoring
the CPM1’s operating status, force-setting and resetting I/O bits, changing the
SV/PV of timers and counters, etc.
RUN Mode This is the CPM1’s normal operating mode. The CPM1’s operating status can be
monitored from a Peripheral Device, but bits can’t be force-set/force-reset and
the SV/PV of timers and counters can’t be changed.
! Caution Be sure to confirm that no adverse effect will occur with the equipment before
changing the operating mode of the PC.
58
Programming Console Operations Section 4-3
59
Programming Console Operations Section 4-3
Before beginning to program for the first time or when installing a new program,
clear all areas.
All Clear The following procedure is used to clear memory completely.
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.
00000MEMORY CLR?
SET NOT RESET
HR CNT DM
3. Press the MONTR Key to clear memory completely.
00000MEMORY CLR
MONTR
END HR CNT DM
! Caution The PC Setup (DM 6600 through DM 6655) will be cleared when this operation is
performed.
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.
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.
As an example, follow the procedure below to retain the timer/counter area and
Program Memory addresses 000 through 122:
1, 2, 3... 1. Press the CLR Key to 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.
00000MEMORY CLR?
CNT
HR DM
4. Press 123 to specify 123 as the starting program address.
B C D 00123MEMORY CLR?
1 2 3
HR DM
5. Press the MONTR Key to clear the specified regions of memory.
00000MEMORY CLR
MONTR
END HR DM
60
Programming Console Operations Section 4-3
Key Sequence Follow the procedure below to display and clear messages.
If there are messages, the most serious message will be displayed when the
MONTR Key is pressed. Pressing MONTR again will clear the present mes-
sage and display the next most serious error message. Continue pressing
MONTR until all messages have been cleared. These are some examples
of error messages:
A memory error:
MEMORY ERR
MONTR
A system error:
SYS FAIL FAL01
MONTR
A message:
MATERIAL USED UP
MONTR
61
Programming Console Operations Section 4-3
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.
<MONITOR> BZ
2. Press the SHIFT and then the 1 Key to turn off the buzzer.
B <MONITOR>
SHIFT 1
3. Press the SHIFT and then the 1 Key again to turn the buzzer back on.
B <MONITOR> BZ
SHIFT 1
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.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Input the desired address. It is not necessary to input leading zeroes.
C A A 00200
2 0 0
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or
MONITOR mode.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
62
Programming Console Operations Section 4-3
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.
In this case, the next LD instruction is at address 200, as shown below.
LD 00200SRCH
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 397.
00397SRCH
SRCH
END(001)(00.4KW)
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or
MONITOR mode.
63
Programming Console Operations Section 4-3
Original Program
Insertion Follow the procedure below to insert the IR 00105 NO condition at address
00206.
AND B A F 00206INSERT?
1 0 5 INS
AND 00105
4. Press the Down Arrow Key to insert the new instruction.
00207INSERT END
↓ AND NOT 00104
Note For instructions that require more operands (such as set values),
input the operands and then press the WRITE Key.
Deletion Follow the procedure below to delete the IR 00103 NO condition at address
00205.
64
Programming Console Operations Section 4-3
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(021) #0123
#0100 00202 MOV(021)
LR 10
#0100
LR 10
00203 ADB(050)
ADB(050) #0100
#0100 #FFF6
#FFF6 DM 0000
DM 0000
65
Programming Console Operations Section 4-3
If a mistake was made inputting the instruction, press the Up Arrow Key to
return to the previous program address and input the instruction again. The
mistaken instruction will be overwritten
6. Input the second instruction and operand. (In this case it isn’t necessary to
enter the timer number, because it’s 000.) Press the WRITE Key to write the
instruction to Program Memory.
00201 TIM DATA
TIM Timer number WRITE
#0000
7. Input the second operand (123 to specify 12.3 seconds) and press the
WRITE Key. The next program address will be displayed.
B C D 00202READ
1 2 3 WRITE
NOP(000)
If a mistake was made inputting the operand, press the Up Arrow Key to
return to display the mistaken operand, press the CONT/# Key and 123
again. The mistaken operand will be overwritten.
Note Counters are input in the same basic way as timers except the CNT
Key is pressed instead of the TIM Key.
8. Input the third instruction and its operands. First input the instruction by
pressing the FUN Key and then the function code (21 in this case).
C B 00202
FUN 2 1
MOV(021)
Note To input a differentiated instruction, press the NOT Key after entering
the function code. The “@” symbol will be displayed next to differen-
tiated instructions. Press the NOT Key again to change back the
instruction back to a non-differentiated instruction. The “@” symbol
will disappear. To change an instruction after it has been entered,
simply scroll through the program until the desired instruction is dis-
played and press the NOT Key. The “@” symbol should be displayed
next to the instruction.
9. Press the WRITE Key to write the instruction to Program Memory. The input
display for the first operand will be displayed.
00202 MOV DATA A
WRITE
000
• Writing Hexadecimal, BCD Constant
10. Input the first operand.
CONT B A A 00202 MOV DATA A
1 0 0
# #0100
Press the WRITE Key to write the instruction to Program Memory. The input
display for the second operand will appear.
00202 MOV DATA B
WRITE
000
• Writing a Word Address
11. Input the second operand.
B A 00202 MOV DATA B
LR 1 0
LR 10
Press the WRITE Key to write the instruction to Program Memory. The next
program address will be displayed.
00203READ
WRITE
NOP(000)
66
Programming Console Operations Section 4-3
Note When an instruction operand is input, the bit or word designation can
be omitted.
12. Input the next instruction.
F A 00203
FUN 5 0
ADB(050)
Press the WRITE Key to write the instruction to Program Memory.
00203 ADB DATA A
WRITE
#0000
• Writing an Unsigned Decimal Number
13. The first operand is input as an unsigned integer.
CONT 00203 ADB DATA A
#00000
SHIFT TR NOT
#
67
Programming Console Operations Section 4-3
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. Press the CLR Key to bring up the initial display.
2. Input the desired program address and press the Down Arrow Key.
C A A 00200READ
2 0 0 ↓ TIM 000
3. Press the MONTR Key to begin monitoring.
T000
MONTR
1234
If the status of a bit is being monitored, that bit’s status can be changed using
the Force Set/Reset operation. Refer to page 77 for details.
68
Programming Console Operations Section 4-3
If the status of a word is being monitored, that word’s value can be changed
using the Hexadecimal/BCD Data Modification operation. Refer to page 74
for details.
4. Press the CLR Key to end monitoring.
00200
CLR
TIM 000
Bit Monitor Follow the procedure below to monitor the status of a particular bit.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Input the bit address of the desired bit and press the MONTR Key.
CONT B 00001
SHIFT 1 MONTR
# ^ ON
The Up or Down Arrow Key can be pressed to display the status of the pre-
vious or next bit.
The displayed bit’s status can be changed using the Force Set/Reset opera-
tion. Refer to page 77 for details.
3. Press the CLR Key to end monitoring.
00000
CLR
CONT 00001
Word Monitor Follow the procedure below to monitor the status of a particular word.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Input the word address of the desired word.
CH B 00000
SHIFT LR 1
* CHANNEL LR 01
3. Press the MONTR Key to begin monitoring.
cL01
MONTR
FFFF
The Up or Down Arrow Key can be pressed to display the status of the pre-
vious or next word.
The displayed word’s status can be changed using the Hexadecimal/BCD
Data Modification operation. Refer to page 74 for details.
4. Press the CLR Key to end monitoring.
00000
CLR
CHANNEL LR 01
Multiple Address The status of up to six bits and words can be monitored simultaneously, although
Monitoring only three can be shown on the display at any one time.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Input the address of the first bit or word and press the MONTR Key.
T000
TIM MONTR
0100
3. Repeat step 2 up to 6 times to display the next addresses to be monitored.
CONT B 00001 T000
SHIFT 1 MONTR
# ^ OFF 0100
D0000 00001 T000
DM MONTR
0000 ^ OFF 0100
If 4 or more bits and words are being monitored, the bits and words that do
not appear on the display can be displayed by pressing the MONTR Key. If
the MONTR Key is pressed alone, the display will shift to the right.
69
Programming Console Operations Section 4-3
If more than six bits and words are input, monitoring of the bit or word input
first will be canceled.
4. Press the CLR Key to stop monitoring the leftmost bit or word and clear it
from the display.
00001 T000
CLR
^ OFF 0100
5. Press the SHIFT+CLR Keys to end monitoring altogether.
00000
SHIFT CLR
CHANNEL DM 0000
Note Press the SHIFT + CLR Keys to return to the display with the multiple address
monitoring state unchanged. Press the SHIFT + MONTR Keys to display the
retained multiple address monitoring state. The monitoring states can be
retained for 6 bits and words.
1, 2, 3... 1. Monitor the status of the desired bit according to the procedure described in
4-3-11 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.
L0000āā00001āāH0000
^OFF ^OFF ^OFF
2. To specify up-differentiation monitoring, press the SHIFT and then the Up
Arrow Key. The symbols “U@” will appear.
L0000āā00001āāH0000
SHIFT ↑
U@OFF ^OFF ^OFF
To specify down-differentiation monitoring, press the SHIFT and then the
Down Arrow Key. The symbols “D@” will appear.
L0000āā00001āāH0000
SHIFT ↓ D@OFF ^OFF ^OFF
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).
L0000āā00001āāH0000
^ON ^OFF ^OFF
4. Press the CLR Key to end differentiation monitoring and return to the normal
monitoring display.
L0000āā00001āāH0000
CLR
^OFF ^OFF ^OFF
70
Programming Console Operations Section 4-3
1, 2, 3... 1. Monitor the status of the desired word according to the procedure described
in 4-3-11 Bit, Digit, Word Monitor. The desired word should be leftmost on
the display if 2 or more words are being monitored.
C000
(Word monitor) 0000
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.
C000 MONTR
SHIFT MONTR
0000000000000000
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.
C000 MONTR
000S0000000R0000
Note a) The status of displayed bits can be changed at this point. Refer to
4-3-20 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.
C000
CLR
0000
71
Programming Console Operations Section 4-3
1, 2, 3... 1. Monitor the word that is to be used for decimal monitor with sign. During mul-
tiple address monitoring, the leftmost word will be converted.
c000 cL00 20000
(Multiple address monitor) FFF0 0000 ^OFF
2. Press the SHIFT+TR Keys to display the leftmost word as signed decimal.
c000
SHIFT TR
Ć00016
At this point, the contents of the displayed word can be changed with a
signed-decimal input. Refer to 4-3-21 Signed Decimal Data Modification.
3. Press the CLR Key or the SHIFT+TR Keys to end the unsigned decimal dis-
play and return to normal monitoring.
c000 cL00 20000
CLR
FFF0 0000 ^OFF
1, 2, 3... 1. Monitor the word that is to be used for decimal monitor without sign. During
multiple address monitoring, the leftmost word will be converted.
c000 cL00 20000
Multiple address monitoring FFF0 0000 ^OFF
72
Programming Console Operations Section 4-3
1, 2, 3... 1. Monitor the status of the desired words according to the procedure
described 4-3-14 3-Word Monitor.
D0002D0001D0000
(3-word monitor) 0123 4567 89AB
2. Press the CHG Key to begin 3-word data modification. The cursor will
appear next to the contents of the leftmost word.
D0002 3CH CHG?
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 3CH CHG?
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 D0002D0001D0000
2 3 4 WRITE
0001 0234 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.
! Caution Check that there is no effect on equipment before changing the set values.
Inputting a New SV This operation can be used to input a new SV constant, as well as to change an
Constant SV from a constant to a word address designation and vice versa. The following
examples show how to input a new SV constant and how to change the SV from
a constant to an address.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. Display the desired timer or counter.
B 00201SRCH
TIM 1 SRCH
TIM 001
73
Programming Console Operations Section 4-3
3. Press the Down Arrow Key and then the CHG Key.
00201DATA?
↓ CHG
T001 #0123 #????
4. At this point a new SV constant can be input or the SV constant can be
changed to a word address designation
a) To input a new SV constant, input the constant and press the WRITE
Key.
B C E 00201 TIM DATA
1 2 4 WRITE
#0124
b) To change to a word address designation, input the word address and
press the WRITE Key.
CH B A 00201 TIM DATA
SHIFT 1 0 WRITE
* 010
Incrementing and This operation can be used to increment and decrement an SV constant. It is
Decrementing a Constant possible only when the SV has been entered as a constant.
1, 2, 3... 1. Press the CLR Key to bring up the initial display.
2. 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. (In this case the SV is incremented once.)
00201DATA ? U/D
↑
T000 #0123 #0124
5. Press the CLR Key twice to change the timer’s SV to the new value.
00201 TIM DATA
CLR CLR
#0124
! Caution Check that there is no effect on equipment before changing the present values.
1, 2, 3... 1. Monitor the status of the desired word according to the procedure described
in 4-3-11 Bit, Digit, Word Monitor. If two or more words are being monitored,
the desired word should be leftmost on the display.
D0000
(Word monitor) 0119
74
Programming Console Operations Section 4-3
! Caution Check that there is no effect on equipment before changing the present values.
1, 2, 3... 1. Monitor the status of the desired word according to the procedure described
4-3-13 Binary Monitor.
c001 MONTR
(BInary monitor) 1000010101010101
2. Press the CHG Key to begin binary data modification.
c001 MONTR
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.
c001 CHG?
↓ ↓ 10 0010101010101
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.
B c001 CHG?
1
101 010101010101
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.
Note Bits in the DM Area cannot be force-set or force-reset.
4. Press the WRITE Key to write the changes in memory and return to the
binary monitor.
c001 MONTR
WRITE
1010010101010101
75
Programming Console Operations Section 4-3
! Caution Check that there is no effect on equipment before changing the current values.
1, 2, 3... 1. Monitor (signed decimal) the status of the word for which the present value
is to be changed.
c000
(Signed decimal monitor) Ć00016
2. Press the CHG Key to begin decimal data modification.
PRES VAL?
CHG
c000 Ć00016
3. Input the new PV and press the WRITE Key to change the PV. The operation
will end and the signed-decimal 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.
REC D C c000
3 2 7 6 8 WRITE
RESET Ć32768
Press the CLR Key or the SHIFT and TR Keys to return to the normal moni-
toring display.
If an erroneous input has been made, press the CLR Key to restore the sta-
tus prior to the input. Then enter the correct input.
! Caution Check that there is no effect on equipment before changing the current values.
1, 2, 3... 1. Monitor (unsigned decimal) the status of the word for which the present
value is to be changed.
c000
(Unsigned decimal monitor) 65520
2. Press the CHG Key to begin decimal data modification.
PRES VAL?
CHG
c000 65520
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.
D C c000
3 2 7 6 8 WRITE
32768
76
Programming Console Operations Section 4-3
Press the CLR Key or the SHIFT and TR Keys to return to the normal moni-
toring display.
If an erroneous input has been made, press the CLR Key to restore the sta-
tus prior to the input. Then enter the correct input.
! Caution Check that there is no effect on equipment before using force set/reset.
1, 2, 3... 1. Monitor the status of the desired bit according to the procedure described in
4-3-11 Bit, Digit, Word Monitor. If two or more words are being monitored,
the desired bit should be leftmost on the display.
00000 20000
(Multiple address monitor) ^OFF ^ON
2. Press the SET Key to force the bit ON or press the RESET Key to force the
bit OFF.
00000 20000
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.
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 4-3-24 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 a fatal error or power interruption.
! Caution Check that there is no effect on equipment before using clear force set/reset.
77
Programming Example Section 4-4
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(s) according to the procedure
described in 4-3-11 Bit, Digit, Word Monitor.
D0000 D0001
(Multiple address monitor) 4142 3031
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 D0001
TR
"AB" 3031
D0000 D0001
TR
4142 3031
78
Programming Example Section 4-4
1, 2, 3... 1. Set the Programming Console’s mode switch to PROGRAM mode and turn
on the CPM1’s power supply. The password input display will appear on the
Programming Console.
MONITOR
RUN PROGRAM
<PROGRAM>
PASSWORD!
2. Enter the password by pressing the CLR and then the MONTR Key.
<PROGRAM>
CLR MONTR
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 61.
3. Clear the CPM1’s memory by pressing the CLR, SET, NOT, RESET, and
then the MONTR Key. Press the CLR Key several times if memory errors are
displayed.
00000
CLR
00000MEMORY CLR?
SET NOT RESET
HR CNT DM
00000MEMORY CLR
MONTR
END HR CNT DM
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.
00000
CLR
00000
FUN
FUN(0??)
ERR/MSG CHK OK
MONTR
5. Press the CLR Key to bring up the initial programming display (program
address 00000). The new program can be written at this point.
00000
CLR
! Caution Be sure that the mode selector is set to PROGRAM before entering the pass-
word. Check the system thoroughly before executing the CPM1 program to pre-
vent any accidents that might occur when the program is first started.
79
Programming Example Section 4-4
20000 T002
00004 TIM 001
#0010 1-second timer
20000 T002
00007 TIM 002
2-second timer
#0020
20000 T001
Count signal CP
00010 CNT 000
20000 10-count counter
R #0010
Reset signal
1S
00017 END(001)
The mnemonic list for the example program is shown in the following table. The
steps required to enter this program from a Programming Console are described
in 4-4-3 Programming Procedure.
Address Instruction Data Programming example
procedures in 4-4-3
Programming Procedures
00000 LR 00000 (1) Self-holding bit
00001 OR 20000
00002 AND NOT C 000
00003 OUT 20000
00004 LD 20000 (2) 1-second timer
00005 AND NOT T 002
00006 TIM 001
# 0010
00007 LD 20000 (3) 2-second timer
00008 AND NOT T 002
00009 TIM 002
# 0020
00010 LD 20000 (4) 10-count counter
00011 AND T 001
00012 LD NOT 20000
00013 CNT 000
# 0010
00014 LD 20000 (5) Flicker output (10 counts)
00015 AND NOT T 001
00016 OUT 01000
00017 END (001) --- (6) END(001) instruction
80
Programming Example Section 4-4
81
Programming Example Section 4-4
82
Programming Example Section 4-4
2. Press the SRCH Key. An input prompt will appear requesting the desired
check level.
00000PROG CHK
SRCH
CHK LBL (0Ć2)?
83
Programming Example Section 4-4
3. Input the desired check level (0, 1, or 2). The program check will begin when
the check level is input, and the first error found will be displayed.
A 00178CIRCUIT ERR
0
OUT 00200
Note Refer to 5-5 Programming Errors for details on check levels.
4. Press the SRCH Key to continue the search. The next error will be dis-
played. Continue pressing the SRCH Key to continue the search.
The search will continue until an END instruction or the end of Program
Memory is reached.
If errors are displayed, edit the program to correct the errors and check the pro-
gram again. Continue checking the program until all errors have been corrected.
<MONITOR> BZ
3. Force-set the start input bit (IR 00000) from the Programming Console to
start the program.
LD 00000
LD 00000
00000
MONTR
^ OFF
00000
SET
ON
The cursor in the lower left corner of the display indicates that the force set is
in progress. The bit will remain ON as long as the Set Key is held down.
4. The output indicator for output 01000 will flash ten times if the program is
operating correctly. The indicator should go OFF after ten one-second
flashes.
There is a mistake in the program if the output indicator doesn’t flash. In this
case, check the program and force set/reset bits to check operation.
84
SECTION 5
Test Runs and Error Processing
This section describes procedures for test runs of CPM1 operation, self-diagnosis functions, and error processing to identify
and correct the hardware and software errors that can occur during PC operation.
85
Initial System Checks and Test Run Procedure Section 5-1
Note 1. Always clear memory before beginning to program the CPM1. Although
memory is cleared before the CPU Unit is shipped (except for bits with spe-
cific functions), AR 1314, which turns ON when the internal capacitor cannot
back up memory, may have turned ON during shipment.
2. If the CPM1 will be turned off for periods exceeding the data backup period
of the internal capacitor, design the system so that it will not be influenced if
data in the DM, HR, and CNT areas is cleared when power is turned off.
3. Either switch the CPM1 to RUN or MONITOR mode, or turn off and on power
to the CPM1 after changing from a Programming Device any data that is
backed up in flash memory. This data includes the user program, read-only
DM area (DM 6144 to DM 6599), and the PC Setup (DM 6600 to DM 6655).
86
Initial System Checks and Test Run Procedure Section 5-1
87
The CPM1 Cycle Section 5-2
Power application
No Check OK?
Overseeing
processes
Yes
Set error flags and Preset cycle time
activate indicators. monitoring time.
ALARM
(flashing) Execute user program.
ERROR or ALARM?
No Program
ERROR End of program?
execution
(lit)
Yes
Check cycle time set-
ting. Cycle
time
Minimum No
cycle time set?
Cycle time
Yes processing
Wait until minimum cycle
time expires.
Service
Service peripheral port. peripheral
port.
Note Initialization processes include clearing the IR, SR, and AR areas, presetting
system timers, and checking I/O Units.
88
Self-diagnosis Functions Section 5-3
89
Self-diagnosis Functions Section 5-3
90
Programming Errors Section 5-5
SEVERE FAILURE ALARM – FALS(07) is an instruction that causes a fatal error. The following will occur when
FALS(07) an FALS(07) instruction is executed:
1, 2, 3... 1. Program execution will be stopped and outputs will be turned OFF.
2. The ERR/ALM indicator on the CPU Unit will be lit.
3. The instruction’s 2-digit BCD FALS number (01 to 99) will be written to
SR 25300 to SR 25307.
4. The FALS number and time of occurrence will be recorded in the PC’s error
log area if a Memory Cassette with a clock (RTC) is used.
The FALS numbers can be set arbitrarily to indicate particular conditions. The
same number cannot be used as both an FAL number and an FALS number.
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.
91
Programming Errors Section 5-5
level 0 checks for type A, B, and C errors; check level 1, for type A and B errors;
and check level 2, for type A errors only.
B IL-ILC ERR IL(002) and ILC(003) are not used in pairs. Correct the
program so that each IL(002) has a unique ILC(003).
Although this error message will appear if more than one
IL(002) is used with the same ILC(003), the program will
executed as written. Make sure your program is written as
desired before proceeding.
JMP-JME ERR JMP(004) and JME(005) are not used in pairs. Make sure
your program is written as desired before proceeding.
SBN-RET ERR If the displayed address is that of SBN(092), two different
subroutines have been defined with the same subroutine
number. Change one of the subroutine numbers or delete
one of the subroutines. If the displayed address is that of
RET(093), RET(093) has not been used properly. Check
requirements for RET(093) and correct the program.
C COIL DUPL The same bit is being controlled (i.e., turned ON and/or
OFF) by more than one instruction (e.g., OUT, OUT NOT,
DIFU(13), DIFD(14), KEEP(11), SFT(10)). Although this is
allowed for certain instructions, check instruction
requirements to confirm that the program is correct or
rewrite the program so that each bit is controlled by only
one instruction.
JMP UNDEFD JME(005) has been used with no JMP(004) with the same
jump number. Add a JMP(004) with the same number or
delete the JME(005) that is not being used.
SBS UNDEFD A subroutine exists that is not called by SBS(091).
Program a subroutine call in the proper place, or delete
the subroutine if it is not required.
92
Troubleshooting Flowcharts Section 5-6
Yes
Yes
ERR/ALM indicator No
flashing? Check for non-fatal errors. (See page 96.)
Yes
Is I/O sequence No
normal? Check I/O. (See page 97.)
Yes
Operating No
environment nor- Check operating environment. (See page 99.)
mal?
Yes
93
Troubleshooting Flowcharts Section 5-6
Yes
No Yes
Is Power indicator lit?
Yes
94
Troubleshooting Flowcharts Section 5-6
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
95
Troubleshooting Flowcharts Section 5-6
No
Flashing
Is the ERR/ALM indi-
cator flashing?
Not lit
End
Replace the CPU
Unit.
96
Troubleshooting Flowcharts Section 5-6
I/O Check The I/O check flowchart is based on the following ladder diagram section.
(LS1) (LS2)
00002 00003
01003 SOL1
01003
SOL1 malfunction.
Malfunction of SOL1
Yes
No
No No
Operation Is output wiring Operation
O.K.? correct? O.K.? A
To
Yes Yes next
Yes page
Yes Operation No
O.K.?
97
Troubleshooting Flowcharts Section 5-6
No
Are the IR 00002
and IR 00003 input indi-
cators operating
A normally?
From
previous Yes
page
Operation
No O.K.? Yes
Operation
O.K.? No
Yes
No Yes
Is input wiring
correct?
Yes
98
Troubleshooting Flowcharts Section 5-6
Consider
Is the installation envi- No constructing an
ronment okay? instrument panel
or cabinet.
Yes
End.
99
Troubleshooting Flowcharts Section 5-6
No
No
No
No
End
100
Maintenance Inspections Section 5-7
Inspection Items The main system components of a SYSMAC system are semiconductors, and it
contains few components with limited lifetimes. Environmental conditions, how-
ever, can lead to electrical element deterioration, making regular maintenance
necessary.
The standard period for maintenance checks is 6 months to 1 year, but depend-
ing on the environment checks may need to be more regular.
If the criteria are not met, adjust to within the specified ranges.
101
Handling Precautions Section 5-8
102
Appendix A
Standard Models
CPU Units
Description Input points Output points Power Supply Model Number
CPU Units with 10 I/O points 6 points 4 points 100 to 240 VAC, 50/60 Hz CPM1-10CDR-A
24 VDC CPM1-10CDR-D
CPU Units with 20 I/O points 12 points 8 points 100 to 240 VAC, 50/60 Hz CPM1-20CDR-A
24 VDC CPM1-20CDR-D
CPU Units with 30 I/O points 18 points 12 points 100 to 240 VAC, 50/60 Hz CPM1-30CDR-A
24 VDC CPM1-30CDR-D
100 to 240 VAC, 50/60 Hz CPM1-30CDR-A-V1
(Available soon)
24 VDC CPM1-30CDR-D-V1
(Available soon)
Communications Adapters
Description Output points Model Number
RS-232C Adapter Converts data communications between CPM1-CIF01
the peripheral port and RS-232C devices.
The CPM1-CIF01/CIF11 are used with the CPM1A, CPM1, and SRM1 only. Do not use them with a C200HS PC or
other PC.
103
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 Connecting Cable, see below
SYSMAC Support Software C500-ZL3AT1-E 3.5”, 2HD for IBM PC/AT compatible
SYSMAC-CPT WS01-CPTB1-E For IBM PC/AT or compatible computers
(3.5” disks (2HD) and CDROM)
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)
104
Appendix B
Dimensions
CPM1-10CDR-j
81 90
121
85
130
105
Dimensions Appendix B
CPM1-20CDR-j
81 90
171 85
180
CPM1-30CDR-j
CPM1-30CDR-j-V1 (Available soon)
81
90
221 85
230
106
Dimensions Appendix B
CPM1-20EDR
81 90
171
85
180
107
Dimensions Appendix B
CPM1-CIF01
30 56
21 50
90 81
205
CPM1-CIF11
30 61
21 50
90 81
205
108
Dimensions Appendix B
Approx. 125
CPM1-CIF01
When the RS-232C connector is attached.
Approx. 120
109
Glossary
111
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.
112
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.
113
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
114
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.
115
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.
116
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.
117
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.
118
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.
119
Glossary
non-fatal 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.
120
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.
121
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.
122
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.
123
Glossary
self-maintaining bit A bit that is programmed to maintain either an OFF or ON status until set or reset
by specified conditions.
series A wiring method in which Units are wired consecutively in a string.
servicing The process whereby the PC checks a connector or Unit to see if special proces-
sing is required.
set The process of turning a bit or signal ON.
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.
signed decimal One-word signed hexadecimal values stored in the two’s complement format
can be displayed at the Programming Console as decimal values from –32,768
to 32,767.
software error An error that originates in a software program.
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.
SSS See SYSMAC Support Software.
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.
SV See set value.
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.
124
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.
125
Glossary
unsigned binary A binary value that is stored in memory without any indication of whether it is
positive or negative.
unsigned decimal One-word hexadecimal values can be displayed at the Programming Console
as decimal values from 0 to 65,535.
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.
126
Index
Numbers configuration, 8
Counter Mode, 5
1-to-1 communications, 9, 42 countermeasures, EMC Directives, 40
1-to-n communications, 10, 43 counters
changing SV, Programming Console, 73
example of inputting, 82
A CPM1 installation, 31
CPU Units, standard models, 103
Adapters, list of communications adapters, 10 cycle, CPM1 operating cycle, 88
analog setting function, 3, 4 cycle time
analog volume controls, 4 displaying, Programming Console, 78
location, 24 processing, 88
C 78
cycle time, Programming Console, 78
127
Index
FAL(06), 90 instructions
inserting and deleting, Programming Console, 63
FALS numbers, 89
searching, Programming Console, 62
FALS(07), 91 interlock circuit, example, 28
false inputs, 38 interrupt inputs, 2, 5
fatal errors, troubleshooting, 95 Interrupt Mode, 5
features, CPM1 features, 2 interval timer, 2, 6
filter function, 2 IR bit allocation, 3
flash memory, precautions, 87
flicker output, example, 83
L
force-set/reset
clearing, Programming Console, 77 leakage current, 38
Programming Console, 77 limit circuit, 28
functions, CPM1 functions, 4 limit switches, preventing false inputs, 38
G-H M
maintenance, 101
grounding, 16, 23
memory
hexadecimal data, converting displays, Programming Console,
backup, 2, 17
78
protection, 17
high-speed counter, 3, 7 memory areas
Host Link clearing, Programming Console, 60
communications, 9 partial clear, 60
connections, 42 messages, reading/clearing, 61
mode, changing the PC mode, 58
I
Mode Setting Switch, RS-232C Adapter, 26
modifying
binary data, Programming Console, 75
I/O errors, troubleshooting, 97
data, Programming Console, 72
I/O line noise, preventing, 34 hexadecimal/BCD data, Programming Console, 74
signed decimal data, Programming Console, 75
I/O terminals, IR bit allocation, 3
SV, Programming Console, 73
incremental mode, 7 unsigned decimal data, Programming Console, 76
indicators MONITOR mode
flashing ERR/ALM indicator, 89 description, 58
lit ERR/ALM indicator, 89 example test run, 84
PC status indicators, 24 monitoring
inductive loads, 38, 39 3-word monitor, Programming Console, 71
binary monitor, Programming Console, 70–71
initialization processes, 88 differentiation monitor, Programming Console, 70
signed decimal monitor, Programming Console, 72
input devices, connecting, 37
status, Programming Console, 68
input filter function, 4 unsigned decimal monitor, Programming Console, 72
input interrupts, 2, 5 MSG(46), 91
input specifications, 19
input time constant, 4
N
inputs, wiring, 36
noise, preventing electrical noise, 30, 34
inspections, 101
non–fatal errors, troubleshooting, 96
installation
NPN current output, connecting, 37
CPM1 installation, 31
site, selecting, 29 NPN open collector, connecting, 37
128
Index
NT Link programming
communications, 12 checking the program, 83–84
connections, 46 checks for syntax, Programming Console, 68
errors, 91
inserting and deleting instructions, Programming Console,
63–65
O preparation for, 78
searching, Programming Console, 62–63
one-shot mode, 6 setting and reading a memory address, Programming Con-
sole, 62
operating conditions, troubleshooting, 99
Programming Console
operation, preparations, 57 connecting, 12, 42, 56
keys, 55
operations, internal processing, flowchart, 88
models, 55
output short protection, 39 operations, 59
output specifications, 21 programming example, 78
P
panel, Programming Console installation, 56
Q-R
panel installation, precautions, 30 quick-response inputs, 2, 6
relay outputs, connecting, 37
password, entering on Programming Console, 57
response time, for interrupt inputs, 5
PC mode, changing, 58
restrictions, SSS, 48
PC Status, indicators, 24
RS-232C Adapter
Peripheral Devices, 104 components, 26
connecting, 12, 42 specifications, 21
using, 47
RS-422 Adapter
photoelectric switches, preventing false inputs, 38 components, 26
PNP current output, connecting, 37 specifications, 22
RUN mode, description, 58
power, consumption, 16
power cables, 34
power interruptions, CPM1, 28 S
power supply
scheduled interrupt mode, 6
capacity, 16
troubleshooting, 94, 100 scheduled interrupts, 2, 6
wiring, 35
search
precautions instruction, Programming Console, 62–63
design precautions, 28 operands, Programming Console, 63
general, xi self-diagnosis functions, 17, 89
handling, 102
SSS, 48 self-holding bit, example, 81
129
Index
T W
weight
temperature CPU Unit, 16
effect on capacitor backup, 18 Expansion I/O Unit, 16
operating, storage, 16
wiring, 34
Termination Resistance Switch, RS-422 Adapter, 26 power supply, 35
130
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.
131
Revision History
132