Omron Video Game Controller CPM2B User Manual

Cat.No. W371–E1–1  
SYSMAC  
CPM2B  
Programmable Controller  
OPERATION MANUAL  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SYSMAC CPM2B  
Programmable Controller  
Operation Manual  
Produced February 2000  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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  
Caution  
Indicates a potentially hazardous situation which, if not avoided, could result in death or  
serious injury.  
Indicates a potentially hazardous situation which, if not avoided, may result in minor or  
moderate injury, or property damage.  
OMRON Product References  
All OMRON products are capitalized in this manual. The word Unitis also capitalized when it refers  
to an OMRON product, regardless of whether or not it appears in the proper name of the product.  
The abbreviation Ch,which appears in some displays and on some OMRON products, often means  
wordand is abbreviated Wdin documentation in this sense.  
The abbreviation PCmeans Programmable Controller and is not used as an abbreviation for any-  
thing else.  
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, 2000  
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
Download from Www.Somanuals.com. All Manuals Search And Download.  
TABLE OF CONTENTS  
PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
xi  
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6 EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
xii  
xii  
xii  
xiii  
xiii  
xv  
SECTION 1  
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1
1-1 CPM2B Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2 System Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3 Structure and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2
6
13  
SECTION 2  
Board Specifications and Components . . . . . . . . . . . . . . .  
21  
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-2 Board Components and their Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-3 I/O Connector and Terminal Pin Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
22  
29  
33  
SECTION 3  
Installation and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . .  
35  
3-1 Design Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-2 Selecting an Installation Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-3 Assembling the CPM2B Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-4 Installing the CPM2B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-5 Wiring and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
36  
36  
38  
39  
40  
SECTION 4  
Memory Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
53  
4-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-2 I/O Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-3 SR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-4 AR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-5 PC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-6 Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
54  
55  
58  
60  
64  
69  
SECTION 5  
Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
71  
72  
73  
76  
5-1 CPM2B Function Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-2 Alphabetic List by Mnemonic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-3 Expansion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
SECTION 6  
Using Programming Devices . . . . . . . . . . . . . . . . . . . . . . .  
77  
6-1 Using a Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2 Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-3 Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
78  
84  
106  
vii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
TABLE OF CONTENTS  
SECTION 7  
Test Runs and Error Processing . . . . . . . . . . . . . . . . . . . . 113  
7-1 Initial System Checks and Test Run Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-2 CPM2B Test Run Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3 Self-diagnostic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4 Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5 Maintenance Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6 Battery Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
114  
114  
115  
118  
125  
126  
Appendices  
A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
B Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
129  
133  
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135  
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139  
viii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
About this Manual:  
This manual describes the installation and operation of the CPM2B and includes the sections described  
below.  
The CPM2B is a compact, high-speed board Programmable Controller (PC) designed for control opera-  
tions. There are two manuals describing the setup and operation of the CPM2B: The CPM2B Operation  
Manual (this manual) and the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual  
(W353). (The CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual is referred to as simply  
the Programming Manual in this manual.)  
This manual describes the system configuration and installation of the CPM2B and provides a basic  
explanation of operating procedures for the Programming Consoles. Read this manual first to acquaint  
yourself with the CPM2B.  
The Programming Manual (W353) provides detailed descriptions of the CPM2Bs programming func-  
tions. The SYSMAC Support Software Operation Manuals: Basics and C-series PCs (W247 and W248)  
provide descriptions of SSS operations for the CPM2B and other SYSMAC C-series PCs. The SYSMAC-  
CPT Support Software Quick Start Guide (W332) and User Manual (W333) provide descriptions of ladder  
diagram operations in the Windows environment. The WS02-CXPC1-E CX-Programmer User Manual  
(W361) and the CX-Server User Manual (W362) provide details of operations for the WS02-CXPC1-E  
CX-Programmer.  
Please read this manual carefully and be sure you understand the information provided before attempting  
to install and operate the CP2MB.  
Section 1 describes the CPM2Bs special features and functions, shows the possible system configura-  
tions, and outlines the steps required before operation. Read this section first when using the CPM2B for  
the first time. Refer to the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual (W353) for  
details on programming.  
Section 2 provides the technical specifications of the CPM2B Boards and describes the main compo-  
nents of the Boards.  
Section 3 provides information on installing and wiring a CPM2B PC. Be sure to follow the directions and  
precautions in this section when installing the CPM2B in a panel or cabinet, wiring the power supply, or  
wiring I/O.  
Section 4 describes the structure of the PC memory areas and explains how to use them.  
Section 5 provides a brief summary of the instruction set. Refer to the CPM1/CPM1A/CPM2A/  
CPM2C/SRM1(-V2) Programming Manual (W353) for details on specific instructions.  
Section 6 provides information on Programming Console operations.  
Section 7 describes procedures for trial CPM2B operation, self-diagnosis functions, and error processing  
to identify and correct the hardware and software errors that can occur during PC operation.  
Appendices provides lists of standard models and Board dimensions.  
!
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  
Download from Www.Somanuals.com. All Manuals Search And Download.  
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.  
1 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2 General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3 Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4 Operating Environment Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5 Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6 EC Directives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
xii  
xii  
xii  
xiii  
xiii  
xv  
xi  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Safety Precautions  
3
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 board apart while the power is being supplied. Doing  
!
so may result in electric shock.  
WARNING Do not touch any of the terminals, terminal blocks or, for the CPM2B, the CPU  
board or expansion I/O board while the power is being supplied. Doing so may  
result in electric shock.  
!
WARNING When handling the Memory Backup Battery, never drop, disassemble, distort,  
short-circuit, heat to a high temperature, or throw into fire. Otherwise the Battery  
may explode, catch fire, or leak fluid.  
!
WARNING Do not attempt to disassemble, repair, or modify any Units. Any attempt to do so  
!
!
may result in malfunction, fire, or electric shock.  
WARNING Provide safety measures in external circuits (i.e., not in the Programmable  
Controller), including the following items, in order to ensure safety in the system  
if an abnormality occurs due to malfunction of the PC or another external factor  
affecting the PC operation. Not doing so may result in serious accidents.  
xii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Application Precautions  
5
Emergency stop circuits, interlock circuits, limit circuits, and similar safety  
measures must be provided in external control circuits.  
The PC will turn OFF all outputs when its self-diagnosis function detects any  
error or when a severe failure alarm (FALS) instruction is executed. As a coun-  
termeasure for such errors, external safety measures must be provided to en-  
sure safety in the system.  
The PC outputs may remain ON or OFF due to deposition or burning of the  
output relays or destruction of the output transistors. As a countermeasure for  
such problems, external safety measures must be provided to ensure safety in  
the system.  
WARNING When transferring programs to other nodes, or when making changes to I/O  
memory, confirm the safety of the destination node before transfer. Not doing so  
may result in injury.  
!
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 Tighten the screws on the terminal block to the torque specified in the operation  
manual. The loose screws may result in burning or malfunction.  
4
Operating Environment Precautions  
Caution Do not operate the control system in the following places:  
!
Locations subject to direct sunlight.  
Locations subject to temperatures or humidity outside the range specified in  
the specifications.  
Locations subject to condensation as the result of severe changes in tempera-  
ture.  
Locations subject to corrosive or flammable gases.  
Locations subject to dust (especially iron dust) or salts.  
Locations subject to exposure to water, oil, or chemicals.  
Locations subject to shock or vibration.  
Caution Take appropriate and sufficient countermeasures when installing systems in the  
!
!
following locations:  
Locations subject to static electricity or other forms of noise.  
Locations subject to strong electromagnetic fields.  
Locations subject to possible exposure to radioactivity.  
Locations close to power supplies.  
Caution The operating environment of the PC System can have a large effect on the 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 turn OFF the power supply to the PC before attempting any of the fol-  
lowing. Not turning OFF the power supply may result in malfunction or electric  
shock.  
xiii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Application Precautions  
5
Mounting or dismounting the CPU board or expansion I/O board.  
Setting 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. Always heed these precautions.  
Fail-safe measures must be taken by the customer to ensure safety in the  
event of incorrect, missing, or abnormal signals caused by broken signal lines,  
momentary power interruptions, or other causes.  
Construct a control circuit so that power supply for the I/O circuits does not  
come ON before power supply for the PC. If power supply for the I/O circuits  
comes ON before power supply for the PC, normal operation may be tempo-  
rarily interrupted.  
If the operating mode is changed from RUN or MONITOR mode to PROGRAM  
mode, with the IOM Hold Bit ON, the output will hold the most recent status. In  
such a case, ensure that the external load does not exceed specifications. (If  
operation is stopped because of an operation error (including FALS instruc-  
tions), the values in the internal memory of the CPU board will be saved, but  
the outputs will all turn OFF.)  
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 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 terminals in excess of the rated input voltage.  
Excess voltages may result in burning.  
Do not apply voltages or connect loads to the output terminals in excess of the  
maximum switching capacity. Excess voltage or loads may result in burning.  
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.  
When wiring the CPM2B, take countermeasures to prevent wiring cuttings  
from coming into contact with the product, such as covering the whole product  
with a dustproof cover. If wiring cuttings adhere to the PCB or circuit elements  
they may cause short-circuiting.  
Be sure to perform wiring in accordance with the relevant operation manual.  
Incorrect wiring may result in burning.  
Double-check all the wiring before turning ON the power supply. Incorrect wir-  
ing may result in burning.  
Be sure that the terminal blocks, expansion cables, and other items with lock-  
ing devices are properly locked into place. Improper locking may result in mal-  
function.  
Be sure that terminal blocks and connectors are connected in the specified di-  
rection with the correct polarity. Not doing so may result in malfunction.  
Check the user program for proper execution before actually running it on the  
PC. 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.  
xiv  
Download from Www.Somanuals.com. All Manuals Search And Download.  
EC Directives  
6
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 board 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.  
Under no circumstances should batteries be short-circuited between positive  
(+) and negative (–) terminals, charged, disassembled, heated, or thrown into  
fire.  
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.  
When transporting or storing the CPM2B, cover the circuit boards in antistatic  
material to protect them from static electricity and maintain the proper storage  
temperature.  
Before touching the Unit, be sure to first touch a grounded metallic object in  
order to discharge any static build-up. Not doing so may result in malfunction or  
damage.  
Do not touch the expansion I/O connecting cable while the power is being sup-  
plied in order to prevent any malfunction due to static electricity.  
Do not touch CPM2B circuit boards or the components mounted to them with  
your bare hands. There are sharp leads and other parts on the boards that may  
cause injury if handled improperly.  
When disposing the product, observe local ordinances and regulations.  
6
EC Directives  
6-1  
Applicable Directives  
EMC Directives  
Low Voltage Directive  
6-2  
Concepts  
EMC Directives  
OMRON devices that comply with EC Directives also conform to the related  
EMC standards so that they can be more easily built into other devices or the  
overall machine. The actual products have been checked for conformity to EMC  
standards (see the following note). Whether the products conform to the stan-  
dards in the system used by the customer, however, must be checked by the  
customer.  
EMC-related performance of the OMRON devices that comply with EC Direc-  
tives will vary depending on the configuration, wiring, and other conditions of the  
equipment or control panel on which the OMRON devices are installed. The cus-  
tomer must, therefore, perform the final check to confirm that devices and the  
overall machine conform to EMC standards.  
Note Applicable EMC (Electromagnetic Compatibility) standards are as follows:  
EMS (Electromagnetic Susceptibility): EN61131-2  
EMI (Electromagnetic Interference):  
EN50081-2  
(Radiated emission: 10-m regulations)  
Low Voltage Directive  
Always ensure that devices operating at voltages of 50 to 1,000 VAC and 75 to  
1,500 VDC meet the required safety standards for the PC (EN61131-2).  
xv  
Download from Www.Somanuals.com. All Manuals Search And Download.  
EC Directives  
6
6-3  
Conformance to EC Directives  
The CPM2B PCs comply with EC Directives. To ensure that the machine or de-  
vice in which the CPM2B PC is used complies with EC directives, the PC must be  
installed as follows:  
1, 2, 3...  
1. The CPM2B PC must be installed within a control panel.  
2. Reinforced insulation or double insulation must be used for the DC power  
supplies used for the communications and I/O power supplies.  
3. CPM2B PCs complying with EC Directives also conform to the Common  
Emission Standard (EN50081-2). Radiated emission characteristics (10-m  
regulations) may vary depending on the configuration of the control panel  
used, other devices connected to the control panel, wiring, and other condi-  
tions. You must therefore confirm that the overall machine or equipment  
complies with EC Directives.  
6-4  
Relay Output Noise Reduction Methods  
The CPM2B PCs conform to the Common Emission Standards (EN50081-2) of  
the EMC Directives. However, the noise generated when the PC is switched ON  
or OFF using the relay output may not satisfy these standards. In such a case, a  
noise filter must be connected to the load side or other appropriate countermea-  
sures must be provided external to the PC.  
Countermeasures taken to satisfy the standards vary depending on the devices  
on the load side, wiring, configuration of machines, etc. Following are examples  
of countermeasures for reducing the generated noise.  
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 5 times or more per minute.  
xvi  
Download from Www.Somanuals.com. All Manuals Search And Download.  
EC Directives  
6
Countermeasure Examples  
When switching an inductive load, connect a surge protector, diodes, etc., in par-  
allel with the load or contact as shown below.  
Circuit  
CR method  
Current  
AC DC  
Characteristic  
Required element  
Yes  
Yes  
If the load is a relay or solenoid, there The capacitance of the capacitor must  
is a time lag between the moment the be 1 to 0.5 µF per contact current of  
circuit is opened and the moment the  
load is reset.  
1 A and resistance of the resistor must  
be 0.5 to 1 per contact voltage of  
1 V. These values, however, vary with  
the load and the characteristics of the  
relay. Decide these values from  
experiments, and take into  
consideration that the capacitance  
suppresses spark discharge when the  
contacts are separated and the  
resistance limits the current that flows  
into the load when the circuit is closed  
again.  
If the supply voltage is 24 to 48 V,  
insert the surge protector in parallel  
with the load. If the supply voltage is  
100 to 200 V, insert the surge  
Power  
supply  
protector between the contacts.  
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 load changes energy accumulated of the diode must be at least 10 times  
The reversed dielectric strength value  
by the coil into a current, which then  
flows into the coil so that the current  
will be converted into Joule heat by  
the resistance of the inductive load.  
as large as the circuit voltage value.  
The forward current of the diode must  
be the same as or larger than the load  
current.  
Power  
supply  
This time lag, between the moment  
the circuit is opened and the moment  
the load is reset, caused by this  
The reversed dielectric strength value  
of the diode may be two to three times  
larger than the supply voltage if the  
method is longer than that caused by surge protector is applied to electronic  
the CR method.  
circuits with low circuit voltages.  
Varistor method  
Yes  
Yes  
The varistor method prevents the  
imposition of high voltage between the  
contacts by using the constant voltage  
characteristic of the varistor. There is  
time lag between the moment the  
circuit is opened and the moment the  
load is reset.  
---  
Power  
supply  
If the supply voltage is 24 to 48 V,  
insert the varistor in parallel with the  
load. If the supply voltage is 100 to  
200 V, insert the varistor between the  
contacts.  
xvii  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 1  
Introduction  
This section describes the CPM2B’s special features and functions, shows the possible system configurations, and outlines the  
steps required before operation. Read this section first when using the CPM2B for the first time.  
Refer to the CPM1/CPM1A/CPM2A/CPM2C/SRM1(-V2) Programming Manual (W353) for details on programming.  
1-1 CPM2B Features and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-1-1 CPM2B Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-1-2 Overview of CPM2B Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2 System Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2-1 CPU Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2-2 Expansion I/O Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2-3 Connecting a Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2-4 Support Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2-5 One-to-one Computer Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2-6 One-to-N Computer Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2-7 OMRON PT Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-2-8 One-to-one PC Link Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3 Structure and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3-1 CPU Board Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3-2 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3-3 Operating Mode at Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3-4 PC Operation at Startup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
1-3-5 Cyclic Operation and Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2
2
5
6
6
7
8
8
9
10  
11  
12  
13  
13  
14  
14  
15  
16  
1
Download from Www.Somanuals.com. All Manuals Search And Download.  
CPM2B Features and Functions  
Section 1-1  
1-1 CPM2B Features and Functions  
1-1-1 CPM2B Features  
The CPM2B PCs are compact Board PCs that can be incorporated easily into  
control equipment. The PCs are equipped with a variety of advanced features  
including synchronized pulse control, interrupt inputs, high-speed counters,  
pulse outputs, and a clock function.  
The compact Board design is ideal for incorporation into control equipment.  
The CPU Board itself can handle a wide range of machine control applications,  
so it is ideal for use as a built-in control unit in control equipment.  
The CPM2B is equipped with a full complement of communications functions  
to provide communications with personal computers, other OMRON PCs, and  
OMRON Programmable Terminals. These communications capabilities allow  
the user to design a low-cost distributed production system.  
Peripheral Port  
RS-232C Port  
Programming Devices are compatible with other  
models of OMRON PCs. This port can also be used  
for Host Link or no-protocol communications.  
This port can be used for a Host Link,  
no-protocol, 1:1 PC Link, or 1:1 NT Link  
communications.  
Transistor Output Board  
Relay Output Board  
The CPU Board has 32 I/O points and Expansion  
I/O Boards can be added to provide a total I/O ca-  
pacity of up to 128 I/O points.  
Basic Functions  
CPU Board I/O  
The CPM2B CPU Board itself is equipped with 32 I/O points in I/O terminals or  
I/O connectors. There are 2 types of outputs available (relay outputs and sinking  
transistor outputs). The power supply is 24 V DC only.  
Expansion I/O Boards  
Up to 3 Expansion I/O Boards can be connected to the CPU Board to increase  
the PCs I/O capacity to a maximum of 128 I/O points. There are 2 types of  
32-point Expansion I/O Boards available: one with relay outputs and the other  
with sinking transistor outputs.  
Share Programming  
Devices  
The same Programming Devices, such as Programming Consoles and Support  
Software, can be used for the C200H, C200HS, C200HX/HG/HE, CQM1,  
CPM1, CPM1A, CPM2A, CPM2C, and SRM1 (-V2) PCs, so existing ladder pro-  
gram resources can be used effectively.  
Built-in Motor Control Capability  
Synchronized Pulse  
Control  
(Transistor Outputs Only)  
Synchronized pulse control provides an easy way to synchronize the operation  
of a peripheral piece of equipment with the main equipment. The output pulse  
frequency can be controlled as some multiple of the input pulse frequency, al-  
2
Download from Www.Somanuals.com. All Manuals Search And Download.  
CPM2B Features and Functions  
Section 1-1  
lowing the speed of a peripheral piece of equipment (such as a supply conveyor)  
to be synchronized with the speed of the main piece of equipment.  
Motor driver Motor  
Encoder  
CPM2B  
Pulses are output as a fixed multiple of the input frequency.  
High-speed Counters and  
Interrupts  
The CPM2B has a total of five high-speed counter inputs. The one high-speed  
counter input has a response frequency of 20 kHz/5 kHz and the four interrupt  
inputs in counter mode have a response frequency of 2 kHz.  
The high-speed counter can be used in any one of the four input modes: differen-  
tial phase mode (5 kHz), pulse plus direction input mode (20 kHz), up/down  
pulse mode (20 kHz), or increment mode (20 kHz). Interrupts can be triggered  
when the count matches a set value or falls within a specified range.  
The interrupt inputs in counter mode can be used for incrementing counters or  
decrementing counters (2 kHz) and trigger an interrupt (executing the interrupt  
program) when the count matches the target value.  
Easy Position Control  
with Pulse Outputs  
(Transistor Outputs Only)  
CPM2B PCs with transistor outputs have two outputs that can produce 10 Hz to  
10 kHz pulses (single-phase outputs).  
When used as single-phase pulse outputs, there can be two outputs with a fre-  
quency range of 10 Hz to 10 kHz with a fixed duty ratio or 0.1 to 999.9 Hz with a  
variable duty ratio (0 to 100% duty ratio).  
When used as pulse plus direction or up/down pulse outputs, there can be just  
one output with a frequency range of 10 Hz to 10 kHz.  
High-speed Input Capabilities for Machine Control  
High-speed Interrupt  
Input Function  
There are four inputs used for interrupt inputs (shared with quick-response in-  
puts and interrupt inputs in counter mode) with a minimum input signal width of  
50 µs and response time of 0.3 ms. When an interrupt input goes ON, the main  
program is stopped and the interrupt program is executed.  
Quick-response Input  
Function  
There are four inputs used for quick-response inputs (shared with interrupt in-  
puts and interrupt inputs in counter mode) that can reliably read input signals  
with a signal width as short as 50 µs.  
Stabilizing Input Filter  
Function  
The input time constant for all inputs can be set to 1 ms, 2 ms, 3 ms, 5 ms,  
10 ms, 20 ms, 40 ms, or 80 ms. The effects of chattering and external noise can  
be reduced by increasing the input time constant.  
Other Functions  
Interval Timer Interrupts  
The interval timer can be set between 0.5 and 319,968 ms and can be set to gen-  
erate just one interrupt (one-shot mode) or periodic interrupts (scheduled inter-  
rupt mode).  
Analog Settings  
There are two controls on the CPU Board that can be turned to change the ana-  
log settings (0 to 200 BCD) in IR 250 and IR 251. These controls can be used to  
easily change or fine-tune machine settings such as a conveyor belts pause  
time or feed rate.  
DIP Switch Inputs  
Calendar/Clock  
A DIP switch is provided that controls the status of four input bits.  
The built-in clock (accuracy within 1 minute/month) can be read from the pro-  
gram to show the current year, month, day, day of the week, and time. The clock  
can be set from a Programming Device (such as a Programming Console) or the  
time can be adjusted by rounding up or down to the nearest minute.  
Long-term Timer  
TIML(––) is a long-term timer that accommodates set values up to 99,990 sec-  
onds (27 hours, 46 minutes, 30 seconds). When combined with the SECONDS  
3
Download from Www.Somanuals.com. All Manuals Search And Download.  
CPM2B Features and Functions  
Section 1-1  
TO HOURS conversion instruction (HMS(––)), the long-term timer provides an  
easy way to control equipment scheduling.  
Expansion Memory Unit  
The CPM1-EMU01-V1 Expansion Memory Unit is a program loader for small-  
size or micro PCs. Using the CPM1-EMU01-V1, simple on-site transfer of user  
programs and data memory is possible with PCs.  
Peripheral port  
CPM2C-CN111  
(0.1 m) (See note 2.)  
Expansion Memory Unit  
EEPROM  
CS1W-CN114  
(0.05 m)  
Indicator  
UPLOAD+DM Button  
UPLOAD Button  
CPM2B CPU Board  
Note 1. Refer to the CPM 2A Operation Manual (W352) or CPM2C Operation Manu-  
al for details on the CPM1-EMV01-V1.  
2. The CPM2C-CN111 can be connected only to the peripheral port.  
Complete Communications Capabilities  
Host Link  
A Host Link connection can be made through the PCs RS-232C port or Periph-  
eral port. A personal computer or Programmable Terminal connected in Host  
Link mode can be used for operations such as reading/writing data in the PCs  
I/O memory or reading/changing the PCs operating mode.  
1:1 Host Link Communications  
1:N Host Link Communications  
CPM2B  
CPM2B  
(Up to 32 PCs can be connected.)  
No-protocol  
Communications  
The TXD(48) and RXD(47) instructions can be used in no-protocol mode to ex-  
change data with standard serial devices. For example, data can be received  
4
Download from Www.Somanuals.com. All Manuals Search And Download.  
CPM2B Features and Functions  
Section 1-1  
from a bar code reader or transmitted to a serial printer. The serial devices can  
be connected to the RS-232C port or Peripheral port.  
Inputting data from a bar code reader  
CPM2B  
Bar code  
reader  
Outputting data to a serial printer  
Serial  
printer  
CPM2B  
High-speed 1:1 NT Link  
Communications  
In a 1:1 NT Link, an OMRON Programmable Terminal (PT) can be connected  
directly to the CPM2B. The PT must be connected to the RS-232C port; it cannot  
be connected to the Peripheral port.  
CPM2B  
OMRON PT  
One-to-one PC Link  
A CPM2B can be linked directly to another CPM2B, CQM1, CPM1, CPM1A,  
CPM2A, CPM2C, SRM1(-V2), C200HS or C200HX/HG/HE PC. The 1:1 PC Link  
allows automatic data link connections. The PCs must be connected through the  
RS-232C ports; they cannot be connected through the Peripheral ports.  
CPM2B  
CPM2B  
1-1-2 Overview of CPM2B Functions  
Main function  
Variations/Details  
Interrupts  
Interrupt inputs  
4 inputs, see note 1.  
Response time: 50 µs  
Interval timer interrupts  
1 input  
Scheduled interrupts  
One-shot interrupt  
Set value: 0.5 to 319,968 ms  
Precision: 0.1 ms  
5
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Configurations  
Section 1-2  
Main function  
Variations/Details  
No interrupt  
Count-check interrupt  
High-speed counters  
High-speed counter  
1 input, see note 2.  
Differential phase mode (5 kHz)  
Pulse plus direction input mode (20 kHz)  
Up/down input mode (20 kHz)  
Increment mode (20 kHz)  
(An interrupt can be generated when the  
count equals the set value or the count  
lies within a preset range.)  
Interrupt inputs in counter mode  
4 inputs, see note 1.  
No interrupt  
Incrementing counter (2 kHz)  
Decrementing counter (2 kHz)  
Count-up interrupt  
Pulse outputs  
2 outputs:  
Single-phase pulse output without acceleration/deceleration (See note 3.)  
10 Hz to 10 kHz  
2 outputs:  
Variable duty ratio pulse output (See note 3.)  
0.1 to 999.9 Hz, duty ratio 0 to 100%  
1 output:  
Pulse output with trapezoidal acceleration/deceleration (See note 3.)  
Pulse plus direction output, up/down pulse output, 10 Hz to 10 kHz  
Synchronized pulse control 1 point, see notes 2 and 3.  
Input frequency range: 10 to 500 Hz, 20 Hz to 1 kHz, or 300 Hz to 20 kHz  
Output frequency range: 10 Hz to 10 kHz  
Quick-response input  
4 inputs, see note 1.  
Maximum input signal width: 50 µs  
Analog settings  
Input time constant  
Calendar/Clock  
2 controls (setting ranges: 0 to 200 BCD)  
Determines the input time constant for all inputs. (Settings: 1, 2, 3, 5, 10, 20, 40, or 80 ms)  
Shows the current year, month, day of the week, day of the month, hour, minute, and  
second.  
Error log  
Records the time of occurrence and error code.  
Note 1. These four inputs are shared by interrupt inputs, interrupt inputs in counter  
mode, and quick-response inputs, but each input can be used for only one  
purpose.  
2. This input is shared by the high-speed counter and synchronized pulse con-  
trol functions.  
3. This output is shared by the pulse output and synchronized pulse control  
functions. These functions can be used with transistor outputs only.  
1-2 System Configurations  
1-2-1 CPU Boards  
CPU Board with 32 I/O points  
(Relay outputs)  
CPU Board with 32 I/O points  
(Transistor outputs)  
6
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Configurations  
Section 1-2  
CPU Board  
Inputs  
Outputs  
Battery  
Clock  
RS-232C  
port  
Model  
32 I/O points  
16 inputs,  
24 V DC  
16 relay outputs  
(Terminal-block)  
---  
---  
---  
CPM2B-32C1DR-D  
CPM2B-32C2DR-D  
CPM2B-32C1DT-D  
CPM2B-32C2DT-D  
Yes  
---  
Yes  
---  
Yes  
---  
(16 inputs, 16 outputs)  
16 inputs,  
24 V DC  
16 sinking transistor  
outputs (Connector)  
Yes  
Yes  
Yes  
1-2-2 Expansion I/O Boards  
Up to 3 Expansion I/O Boards can be connected to the CPU Board.  
Expansion I/O Board with 32 I/O points  
(Relay outputs)  
Expansion I/O Board with 32 I/O points  
(Transistor outputs)  
CPU Board  
Expansion connector  
Expansion connector  
Expansion I/O Board  
A PC with 128 I/O points (the maximum) can be assembled by connecting three  
Expansion I/O Boards. The following configuration provides 64 inputs and 64  
sinking transistor outputs:  
CPM2B-32C1DT-D  
(16 inputs, 16 outputs)  
CPM2B-32EDT  
(16 inputs, 16 outputs)  
× 1 Board+  
× 3 Boards = 64 inputs, 64 outputs  
Expansion I/O Boards  
Expansion I/O  
Board  
Inputs  
Outputs  
Model  
32 I/O points  
16 inputs, 24 V DC 16 relay outputs  
(Terminal-block)  
CPM2B-32EDR  
CPM2B-32EDT  
(16 inputs,  
16 outputs)  
16 inputs, 24 V DC 16 sinking transistor  
outputs (Connector)  
Note When an NT-AL001-E Adapter is connected to the RS-232C port, only one Ex-  
pansion I/O Board can be connected because of power supply limitations.  
7
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Configurations  
Section 1-2  
1-2-3 Connecting a Programming Console  
A Programming Console can be connected to the CPM2B CPU Boards periph-  
eral port, as shown below.  
CS1W-CN114  
Connecting Cable  
(0.05 m)  
SW201  
(See note 1.)  
Peripheral port  
Attached  
cable (2 m)  
Peripheral port  
connector  
CQM1-PRO01-E  
CPM2C-CN111  
Connecting Cable  
(0.1 m) (See note 2.)  
C200H-CN222 (2 m) or  
C200H-CN422 (4 m)  
Connecting Cable  
CPM2B CPU Board  
CS1W-CN224 (2 m) or  
CS1W-CN624 (4 m)  
Connecting Cable  
C200H-PRO27-E  
Note 1. Always turn OFF SW 201 before connecting the Programming Console.  
2. Only the peripheral port connector can be used when a CPM2C-CN111  
Connecting Cable is connected.  
1-2-4 Support Software  
A personal computer running the CX-Programmer or SYSMAC-CPT Support  
Software (in MS Windows) or the SSS (in MS-DOS) can be connected to the  
CPU Boards Peripheral port or RS-232C port. Refer to 1-2-5 One-to-one Com-  
puter Connections for details on the computer connection.  
Always turn ON Communications Switch SW201 when using Support Software  
instead of a Programming Console. The setting on Communications Switch  
SW202 determines whether the communications settings in the PC Setup or the  
standard settings will be used, as shown in the following table.  
Communications settings  
Peripheral port RS-232C port  
SW202  
setting  
ON  
Standard settings (The standard settings and PC Setup default settings  
are Host Link communications at 9,600 bps with 1 start bit, 7-bit data, 2  
stop bits, and even parity.)  
OFF  
PC Setup settings in DM 6650 and PC Setup settings in DM 6645 and  
DM 6651  
DM 6646  
When using the SSS, set the PC Model to CQM1.When using the SYSMAC-  
CPT, set the PC Model to CQM1with the CPU43CPU version.  
8
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Configurations  
Section 1-2  
1-2-5 One-to-one Computer Connections  
Use one of the connecting cables shown in the following diagram to connect a  
personal computer with Support Software to the CPM2B for a 1:1 Host Link com-  
munications or no-protocol (serial) communications.  
RS-232C Port Connection  
Peripheral Port Connection  
IBM PC/AT or  
compatible computer  
Connecting Cable  
IBM PC/AT or  
compatible computer  
CQM1-CIF02  
(3.3 m)  
XW2Z-200S-V (2 m)  
XW2Z-500S-V (5 m)  
CS1W-CN114  
(0.05 m)  
RS-232C port  
(D-sub 9-pin)  
Peripheral port  
Connecting Cable  
CPM1-CIF01  
RS-232C Adapter  
XW2Z-200S-V (2 m)  
XW2Z-500S-V (5 m)  
CPM2B CPU Board  
CPM2B CPU Board  
Note 1. The CQM1-CIF11 Connecting Cable cannot be used. (If one is connected,  
the CPM2C will not recognize it; the PC will enter RUN mode at startup if  
Communications Switch SW201 is ON and DM 6600 of the PC Setup is set  
to its default setting so that the Programming Consoles mode switch con-  
trols the startup mode.)  
2. Refer to Appendix A Standard Models for details on the Support Software  
that can be used with the CPM2B.  
9
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Configurations  
Section 1-2  
1-2-6 One-to-N Computer Connections  
Up to 32 OMRON PCs, including CPM2B PCs, can be connected to a host com-  
puter.  
Using the RS-232C Port  
Connecting Cable  
XW2Z-j00S-V  
3G2A9-AL004-E or NT-AL001-E (requires +5 V)  
(See notes 1 and 2.)  
RS-422 (Total length: 500 m max.)  
NT-AL001-E  
(See note 1.)  
NT-AL001-E  
(See note 1.)  
NT-AL001-E  
(See note 1.)  
IBM PC/AT or  
compatible computer  
CPM2B CPU Board  
CPM2B CPU Board  
Up to 32 PCs  
CPM2B CPU Board  
Using the Peripheral Port  
3G2A9-AL004-E or NT-AL001-E (requires +5 V)  
(See notes 1.)  
Connecting Cable  
XW2Z-j00S-V  
RS-422 (Total length: 500 m max.)  
CPM1-CIF11  
(See note 3.)  
CPM1-CIF11  
(See note 3.)  
CPM1-CIF11  
(See note 3.)  
IBM PC/AT or  
compatible computer  
CS1W-CN114  
CS1W-CN114  
CS1W-CN114  
CPM2B CPU Board  
CPM2B CPU Board  
CPM2B CPU Board  
Up to 32 PCs  
Note 1. The NT-AL001-E must be supplied externally with 5 V DC. When an NT-  
AL001-E is connected to a CPM2B PC, pin 6 of the CPM2Bs RS-232C port  
supplies +5 V DC and an external power supply is not necessary. When the  
NT-AL001-E is connected to a host computer, it is necessary to supply 5 V  
DC from an external power supply.  
If an NT-AL001-E is connected to the CPM2Bs RS-232C port, only one Ex-  
pansion I/O Board can be connected to the CPU Board because the NT-  
AL001-E draws its 5-V DC power from the CPU Board.  
Use an XW2Z-070T-1 (0.7 m) or XW2Z-200T-1 (2 m) cable to connect the  
NT-AL001-E to the CPM2Bs RS-232C port.  
2. The 3G2A9-AL004-E requires an external AC power supply (110 V AC or  
220 V AC).  
3. The CPM1-CIF11 is supplied +5 V DC from the peripheral port so an exter-  
nal power supply is not necessary.  
10  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Configurations  
Section 1-2  
1-2-7 OMRON PT Connections  
In a 1:1 NT Link, a CPM2B can be connected directly to a Programmable Termi-  
nal through the RS-232C port. (The Programmable Terminal cannot be con-  
nected directly to the peripheral port.)  
An OMRON PT can also be connected to the CPM2B with a host link connection.  
Either the RS-232C port or peripheral port can be used for a host link connection.  
Connecting Cable  
XW2Z-200T (2 m)  
XW2Z-500T (5 m)  
RS-232C port  
(D-sub 9-pin)  
Connecting Cable  
Peripheral port  
XW2Z-200T (2 m)  
XW2Z-500T (5 m)  
OMRON  
Programmable  
Terminal  
RS-422  
connection  
CPM1-CIF01  
RS-232C Adapter  
CPM1-CIF02  
RS-422  
Adapter  
CS1W-CN114  
(0.05 m)  
CPM2B CPU Board  
NT-AL001-E  
RS-232C Adapter  
XW2Z-070T-1 (0.7 m)  
XW2Z-200T-1 (2 m)  
Note The Programmable Terminal cannot be connected through the peripheral port  
for direct access.  
11  
Download from Www.Somanuals.com. All Manuals Search And Download.  
System Configurations  
Section 1-2  
1-2-8 One-to-one PC Link Connections  
A CPM2B can be linked to another CPM2B, a CQM1, CPM1, CPM1A, CPM2A,  
CPM2C, SRM1 (-V2) or a C200HS or C200HX/HG/HE PC. The PCs must be  
connected through the RS-232C ports; they cannot be connected through the  
Peripheral ports.  
1:1 Link Master  
1:1 Link Slave  
RS-232C port  
(D-sub 9-pin)  
RS-232C port  
(D-sub 9-pin)  
Connecting Cable  
XW2Z-200T (2 m)  
XW2Z-500T (5 m)  
CPM2B CPU Board  
CPM2B CPU Board  
OMRON PC (CQM1, CPM1, CPM1A,  
CPM2A, CPM2B, CPM2C, SRM1(-V2),  
C200HS, or C200HX/HG/HE)  
OMRON PC (CQM1, CPM1, CPM1A,  
CPM2A, CPM2B, CPM2C, SRM1(-V2),  
C200HS, or C200HX/HG/HE)  
12  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Structure and Operation  
Section 1-3  
1-3 Structure and Operation  
1-3-1 CPU Board Structure  
The following diagram shows the internal structure of the CPU Board.  
I/O memory  
Program  
External  
output  
devices  
PC Setup  
External  
input  
devices  
Settings  
Settings  
RS-232C  
port  
Settings  
Peripheral  
port  
Communica-  
tions switch  
I/O Memory  
The program reads and writes data in this memory area during execution. Part of  
the I/O memory contains the bits that reflect the status of the PCs inputs and  
outputs. Parts of the I/O memory are cleared when the power is turned ON and  
other parts are retained.  
Note Refer to Section 4 Memory Areas for more details on I/O memory.  
Program  
PC Setup  
This is the program written by the user. The CPM2B executes the program cycli-  
cally. (Refer to 1-3-5 Cyclic Operation and Interrupts for details.)  
The program can be divided broadly into two parts: the main programthat is  
executed cyclically and the interrupt programsthat are executed only when the  
corresponding interrupt is generated.  
The PC Setup contains various startup and operating parameters. The PC Set-  
up parameters can be changed from a Programming Device only; they cannot  
be changed from the program.  
Some parameters are accessed only when PCs power supply is turned on and  
others are accessed regularly while the power is on. It will be necessary to turn  
the power off and then on again to enable a new setting if the parameter is ac-  
cessed only when the power is turned on.  
Note Refer to 4-5 PC Setup for more details.  
Communications  
Switches  
The Communications Switches determine whether the peripheral port and  
RS-232C port operate with the standard communications settings or the com-  
munications settings in the PC Setup. Refer to 2-2 Board Components and their  
Functions for more details.  
13  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Structure and Operation  
Section 1-3  
1-3-2 Operating Modes  
CPM2B CPU Boards have 3 operating modes: PROGRAM, MONITOR, and  
RUN.  
PROGRAM Mode  
The program cannot be executed in PROGRAM mode. This mode is used to  
perform the following operations in preparation for program execution  
Changing initial/operating parameters such as those in the PC Setup  
Writing, transferring, or checking the program  
Checking wiring by force-setting and force-resetting I/O bits  
Caution The PC continues to refresh I/O bits even if the PC is in PROGRAM mode, so  
devices connected to output points on the CPU Board or Expansion I/O Boards  
may operate unexpectedly if the corresponding output bit is turned ON by  
changing the contents of I/O memory from a Programming Device.  
!
MONITOR Mode  
The program is executed in MONITOR mode and the following operations can  
be performed from a Programming Device. In general, MONITOR mode is used  
to debug the program, test operation, and make adjustments.  
Online editing  
Monitoring I/O memory during operation  
Force-setting/force-resetting I/O bits, changing set values, and changing pres-  
ent values during operation  
RUN Mode  
The program is executed at normal speed in RUN mode. Operations such as  
online editing, force-setting/force-resetting I/O bits, and changing set values/  
present values cannot be performed in RUN mode, but the status of I/O bits can  
be monitored.  
1-3-3 Operating Mode at Startup  
The operating mode of the CPM2B when the power is turned ON depends upon  
the PC Setup settings and the Programming Consoles mode switch setting if a  
Programming Console is connected.  
PC Setup setting  
Operating mode  
Word  
DM 6600  
Bits  
Setting  
08 to 15  
00  
01  
See note.  
Startup mode is the same as the operating mode before  
power was interrupted.  
02  
00  
01  
02  
Startup mode is determined by bits 00 to 07.  
PROGRAM mode  
00 to 07  
MONITOR mode  
RUN mode  
Note The startup mode depends upon the setting of Communications Switch SW201  
and the Programming Device connected to the peripheral port.  
Programming  
Device  
SW201 OFF  
SW201 ON  
None  
PROGRAM mode  
Operating mode set on the  
Programming Consoles mode switch (see note 1)  
RUN mode (see note 2)  
PROGRAM mode  
Programming  
Console  
Other device  
PROGRAM mode (see note 1) PROGRAM mode  
Note 1. The CPM2B will not be able to communicate with the Programming Device  
in these cases.  
2. The default setting of bits 08 to 15 of DM 6600 is 00. With this default setting,  
the PC will automatically enter RUN mode if a Programming Console is not  
connected and SW201 is ON. Be sure that it is safe for the PC to operate  
before turning it ON under these conditions.  
14  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Structure and Operation  
Section 1-3  
1-3-4 PC Operation at Startup  
Time Required for  
Initialization  
The time required for startup initialization depends on several factors, such as  
the operating conditions (including power supply voltage, system configuration,  
and ambient temperature) and the program contents.  
Power OFF Operation  
Minimum Power Supply Voltage  
The PC will stop and all outputs will be turned OFF if the power supply voltage  
falls below 85% of the rated value.  
Momentary Power Interruption  
A power interruption will not be detected and CPU Board operation will continue  
if the power interruption lasts less than 2 ms for a DC power supply.  
A power interruption may or may not be detected for power interruptions some-  
what longer than 2 ms for a DC power supply.  
When a power interruption is detected, the CPU Board will stop operating and all  
outputs will be turned OFF.  
Automatic Reset  
Operation will restart automatically when the power supply voltage is restored to  
more than 85% of the rated voltage.  
Timing Chart of Power OFF Operation  
The power interruption detection time is the time required for a power interrup-  
tion to be detected after the power supply voltage drops below 85% of the rated  
value.  
1, 2, 3...  
1. Minimum power interruption detection time  
Power interruptions that are shorter than 2 ms will not be detected.  
2. Undetermined additional time  
Power interruptions only slightly longer than the minimum power interrup-  
tion time may not be detected.  
85% of rated voltage  
Detection of  
power interruption  
1. Minimum time 2. Additional  
time  
Program execution  
CPU reset signal  
Executing  
Stopped  
CPU Board operation  
CPU Board operation  
will continue if voltage is may continue if voltage  
restored in this region. is restored in this region.  
Note If the power supply voltage fluctuates around 85% of the PCs rated voltage, PC  
operation may stop and restart repeatedly. When repeated stopping and starting  
will cause problems with the controlled system, set up a protective circuit such  
as a circuit that shuts off the power supply to sensitive equipment until the power  
supply voltage returns to the rated value.  
15  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Structure and Operation  
Section 1-3  
1-3-5 Cyclic Operation and Interrupts  
Basic CPU Operation  
Initialization processing is performed when the power is turned on. If there are no  
initialization errors, the overseeing processes, program execution, I/O refresh-  
ing, and communications port servicing are performed repeatedly (cyclically).  
S Check hardware.  
S Check memory.  
Startup initialization  
S Read data from flash memory (program,  
read-only DM data, and PC Setup settings).  
S Check for battery error.  
Overseeing  
processes  
S Preset the watch (maximum) cycle time.  
S Check program memory.  
S Refresh bits for expansion functions.  
S Execute the program.  
(Refer to the Programming Manual (W353) for  
details on cycle time and I/O response times.)  
Program execution  
S Wait for minimum cycle time if a minimum  
cycle time has been set in the PC Setup  
(DM 6619).  
Cycle time  
calculation  
S Calculate cycle time.  
S Read input data from input bits.  
I/O refreshing  
S Write output data to output bits.  
RS-232C port  
servicing  
S Perform RS-232C port communications  
processing. (Can be changed in DM 6616.)  
Peripheral port  
servicing  
S Perform Peripheral port communications  
processing. (Can be changed in DM 6617.)  
The cycle time can be read from a Programming Device.  
AR 14 contains the maximum cycle time and AR 15 contains the present cycle  
time in 4-digit BCD.  
16  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Structure and Operation  
Section 1-3  
The cycle time will vary slightly depending on the processing being performed in  
each cycle, so the calculated cycle time will not always match the actual cycle  
time.  
Program Execution in  
Cyclic Operation  
The following diagram shows the cyclic operation of the CPM2B when the pro-  
gram is being executed normally.  
Normally, the results of program execution are transferred to I/O memory just  
after program execution (during I/O refreshing), but IORF(97) can be used to re-  
fresh a specified range of I/O words during program execution. The specified  
range of I/O words will be refreshed when IORF(97) is executed.  
The cycle time is the sum of the time required for program execution, I/O refresh-  
ing, and communications port servicing.  
A minimum cycle time (1 to 9,999 ms) can be set in the PC Setup (DM 6619).  
When a minimum cycle time has been set, CPU operation is paused after pro-  
gram execution until the minimum cycle time is reached. CPU operation will not  
be paused if the actual cycle time is longer than the minimum cycle time set in  
DM 6619.  
Note A fatal error will occur and PC operation will stop if a maximum cycle time has  
been set in the PC Setup (DM 6618) and the actual cycle time exceeds that set-  
ting.  
The default settings for RS-232C port servicing and Peripheral port servicing are  
5% of the cycle time, but these settings can be changed (between 1% and 99%)  
in the PC Setup. The RS-232C ports setting is in DM 6616 and the Peripheral  
ports setting is in DM 6617.  
Overseeing processes  
Main program  
Cycle  
time  
If a minimum cycle time has been  
set in DM 6619, CPU operation is  
paused until the minimum cycle  
time is reached.  
I/O refreshing  
The servicing time can be set  
RS-232C port servicing  
Peripheral port servicing  
in DM 6616.  
The servicing time can be set  
in DM 6617.  
17  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Structure and Operation  
Section 1-3  
Interrupt Program  
Execution  
When an interrupt is generated during execution of the main program, main pro-  
gram execution is interrupted immediately and the interrupt program is execut-  
ed. The following diagram shows the cyclic operation of the CPM2B when an  
interrupt program is executed.  
Normally, the results of interrupt program execution are transferred to I/O  
memory just after program execution (during I/O refreshing), but IORF(97) can  
be used to refresh a specified range of I/O words during execution of the inter-  
rupt program. The specified range of I/O words will be refreshed when IORF(97)  
is executed.  
The normal cycle time is extended by the time required for execution of the inter-  
rupt program.  
Refer to Section 7 PC Operations and Processing Time in the CPM1/CPM1A/  
CPM2A/CPM2C/SRM1(-V2) Programmable Controllers Programming Manual  
(W353) for more details and precautions on the cycle time.  
Overseeing processes  
Main program  
Interrupt generated.  
Interrupt program  
Cycle  
time  
I/O refreshing  
RS-232C port servicing  
Peripheral port servicing  
Caution Although IORF(97) can be used in interrupt subroutines, you must be careful of  
the interval between IORF(97) executions. If IORF(97) is executed too frequent-  
ly, a fatal system error may occur (FALS 9F), stopping operation. The interval  
between executions of IORF(97) should be at least 1.3 ms + total execution time  
of the interrupt subroutine.  
!
Immediate Refreshing  
IORF(97) can be executed in the program to refresh a specified range of I/O  
words. The specified I/O words will be refreshed when IORF(97) is executed.  
IORF(97) can be used to refresh I/O from the main program or the interrupt pro-  
gram.  
18  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Structure and Operation  
Section 1-3  
When IORF(97) is used, the cycle time is extended by the time required to re-  
fresh the specified I/O words.  
Overseeing processes  
Main program  
IORF(97) executed.  
Cycle  
time  
Immediate refreshing  
I/O refreshing  
I/O refreshing  
RS-232C port servicing  
Peripheral port servicing  
19  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 2  
Board Specifications and Components  
This section provides the technical specifications of the CPM2B Boards and describes the main components of the Boards.  
2-1 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-1-1 General Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-1-2 Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-1-3 I/O Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-2 Board Components and their Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-2-1 CPU Board Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-2-2 Expansion I/O Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
2-3 I/O Connector and Terminal Pin Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
22  
22  
23  
25  
29  
29  
32  
33  
21  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Specifications  
Section 2-1  
2-1 Specifications  
2-1-1 General Specifications  
CPU Boards  
With relay outputs  
Expansion I/O Boards  
Item  
With transistor  
outputs  
With relay outputs  
With transistor  
outputs  
Supply voltage  
24 V DC  
(Allowable range: 20.4 to 26.4 V DC)  
Power consumption 20 W max.  
Supplied from CPU Board.  
---  
---  
Inrush current 20 A max.  
Insulation resistance 20 Mmin. (at 500 V DC) between the external DC terminals and non-current carrying metal  
parts  
Dielectric strength  
1,000 V AC 50/60 Hz for 1 min between the external DC terminals and non-current carrying  
metal parts  
Noise immunity  
Conforms to IEC6100-4-4; 2 kV (power lines)  
2
Vibration resistance 10 to 57 Hz, 0.075-mm amplitude, 57 to 150 Hz, acceleration: 9.8 m/s in X, Y, and Z directions  
for 80 minutes each  
(8 minutes of vibration × 10 repetitions= total time 80 minutes)  
2
Shock resistance  
147 m/s three times each in X, Y, and Z directions  
Ambient temperature Operating: 0 to 55°C  
Storage: 25 to 70°C (excluding the battery)  
Operating: 10% to 90% (with no condensation)  
Ambient humidity  
Ambient atmosphere Operating: Must be free from corrosive gas  
I/O configuration  
Inputs: Connector  
Outputs: Terminal block Outputs: Connector  
Inputs: Connector  
Inputs: Connector  
Outputs: Terminal block Outputs: Connector  
Inputs: Connector  
Power supply  
retention time  
2 ms min.  
Weight  
300 g max.  
300 g max.  
22  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Specifications  
Section 2-1  
2-1-2 Characteristics  
CPU Boards  
Item  
With relay outputs  
Stored program method  
With transistor outputs  
Control method  
I/O control method  
Cyclic scan with direct output (Immediate refreshing can be performed with  
IORF(97).)  
Programming language  
Instruction length  
Ladder diagram  
1 step per instruction, 1 to 5 words per instruction  
Instructions  
Basic instructions 14  
Special  
105 instructions, 185 variations  
instructions  
Execution time  
Basic instructions 0.64 µs (LD instruction)  
Special  
instructions  
7.8 µs (MOV instruction)  
Program capacity  
4,096 words  
32 points  
Max. I/O  
capacity  
CPU Board only  
With Expansion  
I/O Boards  
128 points max.  
Input bits  
Output bits  
Work bits  
IR 00000 to IR 00915 (Words not used for input bits can be used for work bits.)  
IR 01000 to IR 01915 (Words not used for output bits can be used for work bits.)  
928 bits: IR 02000 to IR 04915 and IR 20000 to IR 22715  
448 bits: SR 22800 to SR 25515  
Special bits (SR area)  
Temporary bits (TR area)  
Holding bits (HR area)  
Auxiliary bits (AR area)  
Link bits (LR area)  
8 bits (TR0 to TR7)  
320 bits: HR 0000 to HR 1915 (Words HR 00 to HR 19)  
384 bits: AR 0000 to AR 2315 (Words AR 00 to AR 23)  
256 bits: LR 0000 to LR 1515 (Words LR 00 to LR 15)  
256 timers/counters (TIM/CNT 000 to TIM/CNT 255)  
Timers/Counters  
1-ms timers: TMHH(––)  
10-ms timers: TIMH(15)  
100-ms timers: TIM  
1-s/10-s timers: TIML(––)  
Decrementing counters: CNT  
Reversible counters: CNTR(12)  
Data memory  
Read/Write  
2,048 words (DM 0000 to DM 2047) The Error Log is contained in DM 2000 to  
DM 2021.  
Read-only  
PC Setup  
456 words (DM 6144 to DM 6599)  
56 words (DM 6600 to DM 6655)  
Interrupt  
processing  
External interrupts 4 (Also used for external interrupt inputs in counter mode and quick-response  
inputs.)  
Interval timer  
interrupts  
1 (Scheduled Interrupt Mode or Single Interrupt Mode)  
High-speed  
counter  
High-speed counter 1 (20 kHz single-phase or 5 kHz two-phase (linear count method))  
Counter interrupt 1 (set value comparison or set-value range comparison)  
Interrupt Inputs  
(Counter mode)  
4 inputs (Also used for interrupt inputs and quick-response inputs.)  
Counter interrupts 4 (Also used for the external interrupt inputs and quick-response inputs.)  
Pulse output  
2 points with no acceleration/deceleration, 10 Hz to 10 kHz each, and no direction  
control.  
1 point with trapezoidal acceleration/deceleration, 10 Hz to 10 kHz, and direction  
control.  
2 points with variable duty-ratio outputs.  
(Pulse outputs can be used with transistor outputs only, they cannot be used with  
relay outputs.)  
23  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Specifications  
Section 2-1  
Item  
CPU Boards  
With relay outputs  
With transistor outputs  
Synchronized pulse control  
1 point:  
A pulse output can be created by combining the high-speed counter with pulse  
outputs and multiplying the frequency of the input pulses from the high-speed  
counter by a fixed factor.  
(This output is possible with transistor outputs only, it cannot be used with relay  
outputs.)  
Quick-response inputs  
Input time constant  
4 points (Min. input pulse width: 50 µs max.) (Also used for interrupt inputs and for  
interrupt inputs in counter mode.)  
Can be set for all input points.  
(ON response time = OFF response (1 ms, 2 ms, 3 ms, 5 ms, 10 ms, 20 ms, 40 ms, or 80 ms)  
time)  
Clock function  
Shows the year, month, day of the week, day, hour, minute, and second.  
(Backed up by the battery.)  
(The clock function is available only in CPU Boards equipped with a clock.)  
Communications functions  
Built-in peripheral port:  
Supports Host Link, peripheral bus, no-protocol, or Programming Console  
connections.  
Built-in RS-232C port:  
Supports Host Link, no-protocol, 1:1 PC Link (Master/Slave), or 1:1 NT Link  
connections.  
(RS-232C communications are available only in CPU Boards equipped with an  
RS-232C port.)  
Memory protection  
(See notes 1 and 2.)  
HR area, AR area, program contents, read/write DM area contents, and counter  
values maintained during power interruptions.  
Memory backup  
(See notes 1 and 2.)  
Flash memory:  
Program, read-only DM area, and PC Setup  
Battery or capacitor backup:  
The read/write DM area, HR area, AR area, and counter values are backed up by  
a battery.  
CPU Boards with clock: Backup is approximately 5 years at 25°C.  
CPU Boards without clock:Backup is approximately 5 days at 25°C.  
Self-diagnostic functions  
Program checks  
CPU error (watchdog timer), I/O bus error, battery error, and memory error  
No END instruction, programming errors (checked when operation is started)  
Note 1. The DM area, HR area, AR area, and counter values are backed up by the  
CPU Boards built-in battery or capacitor. If the battery or capacitor is dis-  
charged, the contents of these areas will be lost and the data values will re-  
vert to the defaults.  
2. The contents of the program area, read-only DM area (DM 6144 to  
DM 6599), and PC Setup (DM 6600 to DM 6655) are stored in flash  
memory. The contents of these areas will be read from flash memory the  
next time the power is turned ON, even if the backup battery or capacitor is  
discharged.  
When data has been changed in any of these areas, write the new values to  
flash memory by switching the CPM2B to MONITOR or RUN mode, or by  
turning the power OFF and then ON again.  
24  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Specifications  
Section 2-1  
2-1-3 I/O Specifications  
CPU Board Input Specifications  
Item  
Inputs  
Specification  
+10%  
Input voltage  
Input impedance  
All  
24 V DC  
/
15%  
IN00000 to IN00001 2.7 kΩ  
IN00002 to IN00006 3.9 kΩ  
IN00007 and up  
4.7 kΩ  
Input current  
IN00000 to IN00001 8 mA typical  
IN00002 to IN00006 6 mA typical  
IN00007 and up  
5 mA typical  
ON voltage/current  
IN00000 to IN00001 17 V DC min., 5 mA  
IN00002 and up  
OFF voltage/current All  
14.4 V DC min., 3 mA  
5.0 V DC max., 1 mA  
ON delay  
All  
1 to 80 ms max. Default: 10 ms (See note.)  
1 to 80 ms max. Default: 10 ms (See note.)  
OFF delay  
All  
Circuit configuration  
IN00000 to IN00001  
IN  
Input LED  
0.01 µF  
Internal  
circuits  
2.7 k  
3.9 kΩ  
4.7 kΩ  
IN  
COM  
680 Ω  
IN00002 to IN00006  
IN  
IN  
Input LED  
Internal  
circuits  
750 Ω  
COM  
IN00007 and up  
IN  
IN  
Input LED  
Internal  
circuits  
750 Ω  
COM  
Note The input time constant can be set to 1, 2, 3, 5, 10, 20, 40, or 80 ms in the PC  
Setup. See page 66.  
Max. Number of Inputs  
Simultaneously ON  
The maximum number of inputs that can be ON simultaneously depends upon  
the ambient operating temperature and the installation orientation, as shown in  
the following diagrams.  
1, 2, 3...  
1. Installation orientation: Vertical with edge down  
All inputs can be ON simultaneously with this orientation.  
25  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Specifications  
Section 2-1  
2. Installation orientation: Vertical with end down  
Input voltage  
26.4 V DC  
Input voltage  
24 V DC  
16  
14  
16  
14  
(°C)  
(°C)  
0
10 20 30 40  
5055  
49  
0
10 20 30 40  
50 55  
49  
3. Installation orientation: Horizontal  
Input voltage  
26.4 V DC  
Input voltage  
24 V DC  
16  
13  
16  
13  
(°C)  
(°C)  
0
10 20 30 40  
5055  
45  
0
10 20 30 40  
50 55  
45  
High-speed Counter  
Inputs  
Inputs IN00000 through IN00002 can be used as high-speed counter inputs, as  
shown in the following table. The maximum count frequency is 5 kHz in differen-  
tial phase mode and 20 kHz in the other modes.  
Function  
Input  
Differential phase mode  
Pulse plus direction  
input mode  
Up/down input mode  
Increment mode  
IN00000 A-phase pulse input  
IN00001 B-phase pulse input  
Pulse input  
Increment pulse input  
Decrement pulse input  
Increment pulse input  
Normal input  
Direction input  
IN00002 Z-phase pulse input or hardware reset input  
(IN00002 can be used as a normal input when it is not used as a high-speed counter input.)  
The minimum pulse widths for inputs IN00000 (A-phase input) and IN00001 (B-  
phase input) are as follows:  
Pulse plus direction input mode, Up/down input  
mode, Increment mode  
Differential phase mode  
100 µs min.  
50 µs min.  
Phase A  
Phase B  
12.5 µs 12.5 µs  
T
T
T
T
4
1
2
3
min.  
min.  
T T T T : 12.5 µs min.  
1
2
3
4
The minimum pulse width for input IN00002 (Z-phase input) is as follows:  
50 µs min.  
Phase Z  
500 µs  
min.  
26  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Specifications  
Section 2-1  
Interrupt Inputs  
Inputs IN00003 through IN00006 can be used as interrupt inputs (interrupt input  
mode or counter mode) and quick-response inputs. The minimum pulse width  
for these inputs is 50 µs.  
Expansion I/O Board Input Specifications  
Item  
Specification  
+10%  
Input voltage  
Input impedance  
Input current  
ON voltage  
24 V DC  
4.7 kΩ  
/
15%  
5 mA typical  
14.4 V DC min.  
5.0 V DC max.  
OFF voltage  
ON delay  
1 to 80 ms max. Default: 10 ms (See note.)  
1 to 80 ms max. Default: 10 ms (See note.)  
OFF delay  
Circuit configuration  
IN  
4.7 k  
750 Ω  
COM  
Input LED  
Note The input time constant can be set to 1, 2, 3, 5, 10, 20, 40, or 80 ms in the PC  
Setup. See page 66.  
CPU Board and Expansion I/O Board Output Specifications  
Relay Outputs  
Item  
Specification  
Max. switching capacity  
2 A, 250 V AC (cosφ = 1)  
2 A, 24 V DC  
(4 A/common)  
Min. switching capacity  
10 mA, 5 V DC  
Service life of relay  
(See note.)  
Electrical:  
150,000 operations (24-V DC resistive load)  
100,000 operations (240-V AC inductive load, cosφ = 0.4)  
20,000,000 operations  
Mechanical:  
15 ms max.  
15 ms max.  
ON delay  
OFF delay  
Circuit configuration  
OUT  
COM  
Output LED  
27  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Specifications  
Section 2-1  
Note The service life of the CPM2Bs relay output contacts shown in the table as-  
sumes the worst conditions. The following graph shows the results of OMRONs  
service life tests at a switching rate of 1,800 times/hour.  
120 V AC, resistive load  
24 V DC, τ = 7 ms  
120 V AC, cosφ = 0.4  
4
Life (x 10 )  
240 V AC, cosφ = 0.4  
24 V DC/240 V AC, resistive load  
Switching rate:  
1,800 times/hour  
Contact current (A)  
Transistor Outputs (Sinking or Sourcing)  
Item  
Specification  
Max. switching  
capacity  
OUT01000 and OUT01001:  
OUT01002 and up:  
0.1 mA max.  
4.5 to 30 V DC, 0.2 A/output (See note 1.)  
4.5 to 30 V DC, 0.3 A/output (See note 1.)  
Leakage current  
Residual voltage  
ON delay  
1.5 V max.  
OUT01000 and OUT01001:  
OUT01002 and up:  
20 µs max.  
0.1 ms max.  
OFF delay  
OUT01000 and OUT01001:  
40 µs max. for 4.5 to 26.4 V, 10 to 100 mA  
0.1 ms max. for 4.5 to 30 V, 10 to 200 mA  
OUT01002 and up:  
1 ms max. for 4.5 to 30 V, 10 to 300 mA  
Fuse  
1 fuse/output (cannot be replaced by user)  
Sinking Outputs  
Circuit configuration  
Output LED  
OUT  
OUT  
Internal  
circuits  
24 V DC  
COM ()  
Note When using OUT01000 or OUT01001 for pulse outputs, connect a dummy re-  
sistor as required to bring the load current between 0.01 and 0.1 A. If the load  
current is below 0.01 A, the ON-to-OFF response time will be too long and high-  
speed pulses will not be output.  
Caution Do not apply voltage in excess of the maximum switching capacity to an output  
!
terminal. It may result in damage to the product or fire.  
28  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Board Components and their Functions  
Section 2-2  
2-2 Board Components and their Functions  
2-2-1 CPU Board Components  
CPU Boards with Relay Outputs  
9. Communications Switch SW201  
9. Communications Switch SW202  
10. Analog settings  
11. DIP Switch inputs  
8. RS-232C port  
2. Input connector  
7. Peripheral port  
4. PC status indicators  
5. Input indicators  
12. Expansion I/O connector  
6. Output indicators  
3. Output terminals  
1. Power supply terminals  
13. Battery  
CPU Boards with Transistor Outputs  
9. Communications Switch SW201  
9. Communications Switch SW202  
10. Analog settings  
11. DIP Switch inputs  
8. RS-232C port  
7. Peripheral port  
2. Input connector  
4. PC status indicators  
5. Input indicators  
12. Expansion I/O connector  
6. Output indicators  
3. Output connector  
1. Power supply terminals  
13. Battery  
29  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Board Components and their Functions  
Section 2-2  
CPU Board Component Descriptions  
1, 2, 3...  
1. Power Supply Terminals  
Connect the power supply (24 V DC) to these terminals.  
2. Input Connector  
Connects the CPU Board to external input devices.  
3. Output Terminals/Connector  
Connects the CPU Board to external output devices.  
4. PC Status Indicators  
These indicators show the operating status of the PC, as shown in the fol-  
lowing table.  
Indicator Status  
Meaning  
PWR  
Lit  
Power is being supplied to the PC.  
(green)  
Not lit  
Lit  
Power isnt being supplied to the PC.  
The PC is operating in RUN or MONITOR mode.  
RUN  
(green)  
Not lit  
The PC is in PROGRAM mode or a fatal error has  
occurred.  
ERR  
(red)  
Lit  
A fatal error has occurred. (PC operation stops.)  
Flashing A non-fatal error has occurred. (PC operation continues.)  
Not lit Indicates normal operation.  
Flashing Data is being transferred through the peripheral port.  
Not lit The peripheral port is not in use.  
Flashing Data is being transferred through the RS-232C port.  
Not lit The RS-232C port is not in use.  
PERI  
(orange)  
COMM  
(orange)  
5. Input Indicators  
The input indicators are lit when the corresponding input terminal is ON. The  
status of an input indicator will reflect the status of the input even when that  
input is being used for a high-speed counter.  
Note a) When interrupt inputs are used in interrupt input mode, the indica-  
tor may not light even when the interrupt condition is met if the in-  
put is not ON long enough. When a high-speed counter is being  
used, the indicator may not light depending on the speed of the  
pulses.  
b) Input indicators will reflect the status of the corresponding inputs  
even when the PC is stopped, but the corresponding input bits will  
not be refreshed.  
6. Output Indicators  
The output indicators are lit when the corresponding output terminal is ON.  
The indicators are lit during I/O refreshing. When an output is being used as  
a pulse output, the corresponding will remain lit while pulses are being out-  
put.  
7. Peripheral Port  
Connects the PC to a Programming Device (including Programming  
Consoles), host computer, or standard external device.  
8. RS-232C Port  
Connects the PC to a Programming Device (excluding Programming  
Consoles), host computer, Programmable Terminal, or standard external  
device.  
30  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Board Components and their Functions  
Section 2-2  
9. Communications Switches SW201 and SW202  
The Communications Switches control the communications settings for the  
peripheral port and RS-232C port.  
SW201  
SW202  
ON  
ON  
OFF  
OFF  
(OFF when shipped.)  
(OFF when shipped.)  
Switch settings  
SW202 SW201  
Peripheral port  
communications  
RS-232C port  
communications  
The settings in the PC  
Setup (DM 6645 to  
DM 6649) are used.  
OFF  
OFF  
OFF  
ON  
Programming Console connection  
Other Programming Device:  
The settings in the PC Setup  
(DM 6650 to DM 6654) are used.  
The standard settings  
are used.  
ON  
ON  
OFF  
ON  
Programming Console connection  
Other Programming Device:  
The standard settings are used.  
Note a) The standard settings are 1 start bit, 7 data bits, 2 stop bits, even  
parity, and 9,600 bps baud rate.  
b) Be sure that Communications Switch SW201 is OFF when con-  
necting a Programming Console.  
10. Analog Settings  
Turning these controls changes the contents of IR 250 and IR 251. The con-  
tents of these words can be set independently between 0 and 200.  
11. DIP Switch Inputs  
The ON/OFF status of IR 00108 through IR 00111 reflects the ON/OFF sta-  
tus of these DIP switch pins.  
Pin  
Corresponding input bit  
IR 00108  
1
2
3
4
IR 00109  
IR 00110  
IR 00111  
12. Expansion I/O Connector  
Connects the CPU Board to an Expansion I/O Board. Up to 3 Expansion I/O  
Boards can be connected to a CPU Board.  
13. Battery  
This battery backs up memory in CPU Boards equipped with an internal  
clock. The battery is connected when the Unit is shipped.  
31  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Board Components and their Functions  
Section 2-2  
2-2-2 Expansion I/O Boards  
Expansion I/O Boards with Relay Outputs  
1. Input connector  
3. Input indicators  
4. Output indicators  
5. Expansion I/O  
connector  
2. Output terminals  
1. Input connector  
Expansion I/O Boards with Transistor Outputs  
3. Input indicators  
4. Output indicators  
5. Expansion I/O  
connector  
2. Output connector  
1, 2, 3...  
1. Input Connector  
Connects the Expansion I/O Board to external input devices.  
2. Output Terminals/Connector  
Connects the Expansion I/O Board to external output devices.  
3. Input Indicators  
The input indicators are lit when the corresponding input terminal is ON.  
4. Output Indicators  
The output indicators are lit when the corresponding output terminal is ON.  
5. Expansion I/O Connector  
Connects the Expansion I/O Board to the CPU Board or the previous Expan-  
sion Unit or Expansion I/O Unit. Up to 3 Expansion I/O Boards can be con-  
nected to a CPU Board. An Expansion I/O Cable is included with each Ex-  
pansion I/O Board.  
32  
Download from Www.Somanuals.com. All Manuals Search And Download.  
I/O Connector and Terminal Pin Allocation  
Section 2-3  
Note Do not touch the cables during operation to prevent unexpected op-  
eration due to static discharge.  
2-3 I/O Connector and Terminal Pin Allocation  
CPU Boards  
IR 001  
IR 000  
COM  
NC  
COM  
NC  
19 03 02 01 00  
20 07 06 05 04  
03 02 01 00  
07 06 05 04  
1
2
Inputs (24 V DC)  
CPU Board with relay outputs  
CPU Board with transistor outputs  
Sinking transistor  
outputs  
Relay outputs  
IR 010  
IR 011  
COM  
COM  
COM  
COM  
1
00 01 02 03  
04 05 06 07  
10  
1
00 01 02 03  
04 05 06 07  
10  
IR 010  
IR 011  
COM  
COM  
19 00 01 02 03  
20 04 05 06 07  
00 01 02 03  
04 04 06 07  
1
2
COM  
COM  
33  
Download from Www.Somanuals.com. All Manuals Search And Download.  
I/O Connector and Terminal Pin Allocation  
Section 2-3  
Expansion I/O Boards  
Expansion I/O Board #1: IR 002  
Expansion I/O Board #2: IR 003  
Expansion I/O Board #3: IR 004  
COM  
NC  
COM  
19 11 10 09 08  
20 15 14 13 12  
03 02 01 00  
07 06 05 04  
1
2
NC  
Inputs (24 V DC)  
Expansion I/O Board  
with relay outputs  
Expansion I/O Board  
with transistor outputs  
Sinking  
transistor  
outputs  
Relay outputs  
Expansion I/O Board #1: IR 012  
Expansion I/O Board #2: IR 013  
Expansion I/O Board #3: IR 014  
COM  
COM  
COM  
COM  
1
00 01 02 03  
04 05 06 07  
10  
1
08 09 10 11  
12 13 14 15  
10  
Expansion I/O Board #1: IR 012  
Expansion I/O Board #2: IR 013  
Expansion I/O Board #3: IR 014  
COM  
COM  
COM  
19 00 01 02 03  
20 04 05 06 07  
08 09 10 11  
12 13 14 15  
1
2
COM  
34  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 3  
Installation and Wiring  
This section provides information on installing and wiring a CPM2B PC. Be sure to follow the directions and precautions in  
this section when installing the CPM2B in a panel or cabinet, wiring the power supply, or wiring I/O.  
3-1 Design Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-1-1 Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-1-2 Power Supply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-1-3 Interlock and Limit Circuits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-2 Selecting an Installation Site . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-2-1 Installation Site Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-2-2 Panel/Cabinet Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-3 Assembling the CPM2B Boards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-4 Installing the CPM2B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-5 Wiring and Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-5-1 Power Supply Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-5-2 I/O Wiring Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-5-3 Connecting Input Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
3-5-4 Output Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
36  
36  
36  
36  
36  
37  
37  
38  
39  
40  
41  
42  
45  
49  
35  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Selecting an Installation Site  
Section 3-2  
3-1 Design Precautions  
Observe the following precautions when designing a system incorporating a  
CPM2B PC.  
3-1-1 Power Supply Wiring  
Separate the power supply wiring from the power system, control system,  
CPM2B system, and DC I/O system wiring. Separate the control circuits that  
supply power to the main Unit from the main circuits using dedicated circuit pro-  
tectors and fuses.  
3-1-2 Power Supply Voltage  
Caution Use the power supply voltages indicated in Section 2-1 Specification. Failure to  
adhere to the specifications may result in fire.  
!
If the power supply voltage falls below 85% of the rated voltage, the CPM2B will  
stop and all outputs will be turned OFF. If low voltage affects the equipment, etc.,  
provide a protection circuit which shuts off the output until the supply voltage re-  
turns to the rated value.  
In places where power supply conditions are poor, take steps to ensure that  
power is supplied at the rated voltage. Be sure to adhere to safety precautions,  
such as providing breakers to prevent short circuits in external wiring.  
When conducting any of the following operations, turn OFF the power to the PC.  
Electrocution, product damage and malfunction may result.  
Connecting or disconnecting Expansion I/O Boards and CPU Boards.  
Assembling equipment.  
Connecting cables and wiring.  
3-1-3 Interlock and Limit Circuits  
WARNING Emergency stop circuits, interlock circuits, limit circuits, and similar safety  
!
measures must be provided in external control circuits (i.e., not in the  
Programmable Controller) to ensure safety in the system if an abnormality  
occurs due to malfunction of the PC or another external factor affecting the PC  
operation. Not providing proper safety measures may result in serious  
accidents.  
The following diagram shows an example of an interlock circuit.  
Interlock Circuit  
01005  
MC1  
CPM2B  
MC2  
MC1  
Motor forward  
01006  
MC2  
Motor reverse  
In the interlock circuit above, MC1 and MC2 cant be ON at the same time even if  
CPM2B outputs 01005 and 01006 are both ON (an incorrect PC operation).  
3-2 Selecting an Installation Site  
The CPM2B is resistant to harsh conditions and highly reliable, but installing the  
PC in a favorable site will maximize its reliability and operating lifetime.  
36  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Selecting an Installation Site  
Section 3-2  
Caution Be sure to install the CPM2B correctly, as outlined in this manual. Failure to do so  
!
may result in Board malfunction.  
3-2-1 Installation Site Conditions  
Note Do not install the CPM2B under any of the following conditions.  
Locations subject to direct sunlight.  
Locations subject to an ambient temperature below 0°C or over 55°C.  
Locations subject to an ambient humidity below 10% or over 90%.  
Locations subject to condensation as the result of severe changes in tempera-  
ture.  
Locations subject to corrosive or flammable gases.  
Locations subject to dust (especially iron dust) or salts.  
Locations subject to shock or vibration.  
Locations subject to exposure to water, oil, or chemicals.  
Be sure that the conditions at the installation site conform to the CPM2Bs gen-  
eral specifications. Refer to 2-1-1 General Specifications for details.  
Note Provide proper shielding when installing in the following locations:  
Locations subject to static electricity or other sources of noise.  
Locations subject to strong electromagnetic fields.  
Locations subject to possible exposure to radiation.  
Locations near to power supply lines.  
3-2-2 Panel/Cabinet Installation  
Consider PC operation, maintenance, and surrounding conditions when instal-  
ling the CPM2B in a panel or cabinet.  
Overheating  
The ambient operating temperature range for the CPM2B is 0_C to 55_C. Be  
sure that there is adequate ventilation for cooling.  
Allow enough space for air circulation.  
Do not install the CPM2B above equipment that generates a large amount of  
heat, such as heaters, transformers, or large resistors.  
Install a cooling fan or system when the ambient temperature exceeds 55_C.  
Control panel  
Fan  
CPM2B  
Air vent  
Electrical Noise  
Power lines and high-voltage equipment can cause electrical noise in the PC.  
Do not install the CPM2B in a panel or cabinet with high-voltage equipment.  
Allow at least 200 mm between the CPM2B and nearby power lines.  
200 mm min.  
CPM2B  
200 mm min.  
37  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Assembling the CPM2B Boards  
Section 3-3  
Accessibility  
Ensure that the CPM2B can be accessed for normal operation and mainte-  
nance. High-voltage equipment, power lines, and moving machinery could be  
dangerous if they are in the way during routine operations.  
3-3 Assembling the CPM2B Boards  
Board Assembly  
Up to 3 Expansion I/O Boards can be connected to a CPM2B CPU Board. The  
following diagram shows how to assemble the Boards. The screws and stand-  
offs are included with the CPU Board, Expansion I/O Board, and Mounting  
Bracket.  
Note Use M3 screws for the standoffs and tighten to a torque of 0.5 NSm.  
CPM2B-ATT01  
Mounting Bracket  
(See note.)  
Note The CPM2B-ATT01 Mounting Bracket is required  
when the system must meet UL/CSA standards.  
Board or Bracket  
CPU Board  
Hardware and cables included  
Four M3 standoffs (short)  
Four M3 screws  
Expansion I/O Board  
Four M3 standoffs (long)  
One CPM2B-CN601  
Expansion I/O Cable  
Mounting Bracket  
Four M3 screws  
Note Some of the CPM2Bs electrical components such as leads are sharp, so do not  
touch the components or the surface of the circuit board.  
38  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Installing the CPM2B  
Section 3-4  
Installing the Expansion I/O Connecting Cables  
1, 2, 3...  
1. Insert the Expansion I/O Cable into the connectors on the CPU Board and  
Expansion I/O Board.  
CPU Board  
Expansion  
I/O Board  
Expansion I/O Cable  
(included with the Expansion  
I/O Board)  
Install the shorter connector of  
the cable in the lower Board and  
the longer connector in the up-  
per Board.  
The cable from the CPU Board  
connects to the upper Expansion  
I/O Connector (the one with the  
short locks.)  
2. Push the cables connector into the Boards connector until both lock levers  
lock solidly.  
Lock lever  
To remove the Expansion I/O Cable, open the connectors lock levers and  
pull out the cables connector.  
Lock lever  
3-4 Installing the CPM2B  
Install the CPM2B as shown in the following diagram. The CPM2B cannot be  
installed on DIN Track.  
Four M4 screws  
100  
186  
39  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
Example Installations  
Mounting Bracket  
Screw and nut  
installation  
Screw and tapped  
panel installation  
Note 1. Use M4 screws and tighten to a torque of 1.2 NSm.  
2. The CPM2B can be installed without a CPM2B-ATT01 Mounting Bracket,  
but the Mounting Bracket must be used to conform to UL/CSA standards.  
Refer to Appendix B for mounting dimensions.  
3. Installing the CPM2B horizontally or with its narrow edge down affects cool-  
ing and limits the number of inputs that can be ON simultaneously at high  
temperatures. Refer to page 26 for details.  
3-5 Wiring and Connections  
This section provides basic information on power supply wiring and I/O wiring.  
General Precautions for Wiring  
Caution Cover the CPM2B Boards with plastic or use some other method to prevent  
strands of wire from getting on the Board or inside the Boards components dur-  
ing wiring. Wire strands may short circuit the Boards components.  
!
I/O Line Noise  
Do not run CPM2B I/O lines in the same duct or conduit as power lines.  
Hanging Ducts  
Leave at least 300 mm between the power cables and the I/O or control wiring,  
as shown in the following diagram.  
CPM2B I/O lines  
300 mm min.  
Control cables and  
CPM2B power lines  
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  
CPM2B I/O lines CPM2B power lines Power cables  
Metal plate (iron)  
200 mm min.  
40  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
Conduits  
Separate the CPM2B I/O lines, power and control lines, and power cables, as  
shown in the following diagram.  
Control cables and  
CPM2B I/O lines CPM2B power linesPower cables  
3-5-1 Power Supply Wiring  
The power supply terminal specifications are shown below. Supply the power  
supply terminals with 24 V DC.  
24 V DC  
0 V  
(Not connected)  
Terminal Specifications  
Item  
Specifications  
Screw size  
M3  
0.5 to 0.6 NSm  
Recommended torque  
Recommended screwdriver: OMRON XW4E-00C  
Compatible Wires and  
Terminals  
Wire/terminal  
Specification  
2
Solid wire  
0.2 to 2.5 mm (AWG 24 to AWG 12)  
Strip 7 mm (1/4 inch) of insulation.  
2
Stranded wire  
0.2 to 2.5 mm (AWG 24 to AWG 12)  
Strip 7 mm (1/4 inch) of insulation.  
2
Two-condu  
ctor wires  
Solid  
2 × (0.2 to 1.0 mm ) (AWG 24 to AWG 20)  
2
Stranded  
2 × (0.2 to 1.5 mm ) (AWG 24 to AWG 16)  
2
Stranded  
with pin  
terminal  
2 × (0.25 to 1.0 mm ) (AWG 24 to AWG 20)  
without an insulating sleeve  
2
Pin terminals  
0.2 to 2.5 mm diameter, 7-mm long pin terminal  
The following diagram shows how to wire the power supply.  
The power supply terminal  
block is removable.  
24 V DC  
0 V  
Note 1. Do not perform a voltage withstand test on the DC power supply terminals.  
The test might damage the PCs internal components.  
2. When equipment must conform to the EC Directives (Low-voltage Direc-  
tives), use a power supply with double insulation or reinforced insulation.  
41  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
3-5-2 I/O Wiring Procedures  
Removing and Wiring I/O Terminal Blocks  
The following tables provide output terminal block specifications.  
CPU Boards and Expansion I/O Boards  
with relay outputs  
Output terminal blocks  
Terminal Block  
Specifications  
Item  
Specification  
Screw size  
M3  
Recommended tightening  
torque  
0.5 to 0.6 NSm  
Recommended screwdriver: OMRON XW4E-00C  
Recommended Wire and  
Terminals  
Item  
Specification  
2
Solid wire  
0.2 to 2.5 mm (AWG 24 to AWG12) (Strip 7 mm.)  
2
Stranded wire (See notes.) 0.2 to 2.5 mm (AWG 24 to AWG12) (Strip 7 mm.)  
2
Two-cond  
uctor  
wires  
Solid  
2 × (0.2 to 1.0 mm ) (AWG 24 to AWG 20)  
2
Stranded  
2 × (0.2 to 1.5 mm ) (AWG 24 to AWG 16)  
2
Stranded with 2 × (0.25 to 1.0 mm ) (AWG 24 to AWG 20)  
pin terminal  
without an insulating sleeve  
2
Pin terminals  
0.2 to 2.5 mm diameter, 7-mm long pin terminal  
Bridge (shorts terminals)  
Terminal pitch 5.08 mm  
Recommended Bridges:  
OMRON XW4Z-02C (2 pole)  
OMRON XW4Z-03C (3 pole)  
Note 1. When using stranded wire, be sure to avoid stray wire strands that might  
short-circuit an adjacent terminal.  
2. Do not solder the ends of stranded wires. Solder can break and cause wiring  
problems. Also, the solder can cause corrosion on the contact surface.  
3. Be sure to use the correct pin allocation when assembling and wiring con-  
nectors or terminal blocks.  
Removing and Wiring a  
Terminal Block  
Use the following procedure when wiring a terminal block.  
1, 2, 3...  
1. Use a flatblade screwdriver to loosen the screws at the left and right sides of  
the terminal block.  
42  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
2. Pull the terminal block out of the Board.  
3. Insert each lead wire into the terminal block and tighten that terminals  
screw.  
4. After wiring the terminal block, insert the block into the Unit and tighten the  
screws at the left and right sides of the terminal block.  
Removing and Wiring I/O Connectors  
The following tables provide specifications of compatible OMRON I/O connec-  
tors.  
MIL 20P Flat Cable Connector  
XG4T-2004  
Strain Relief  
XG4M-2030  
Set  
XG4M-2030  
Socket  
Flat cable: XY3A-200j  
Note The max. rated current for flat cable is 1 A. Be sure that the  
current at the common terminal does not exceed 1A.  
43  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
OMRON Crimping Tools  
Crimping Tool  
Attachment  
XY2B-0002  
XY2B-1007  
MIL 20P Loose-wire Pressure Connector  
XG5S-2012  
Full Cover*  
XG5S-1001  
Partial Cover*  
Sockets  
For AWG 24: XG5M-2032N  
For AWG 26 to AWG 28: XG5M-2035N  
Note Two Full Covers or Partial Covers are required for each socket.  
OMRON Pressing Tools  
Pressing Tool Set (Handy Press)  
Simple Pressing Tool  
XY2B-2104  
XY2B-7006  
Using Relay Terminal and  
Terminal Blocks  
A G79-AjC (Loose-wire Connecting Cable) can be used to connect to a Relay  
Terminal. (A pressure connector must be attached on the PC side of the cable.)  
A special cable is not provided for connection to the XW2B-20G4 or  
XW2B-20G5 Terminal Blocks, so one must be made. (The Terminal Block re-  
quires the kind of MIL 20P connector described above.)  
Inserting and Removing  
I/O Connectors  
When inserting a cable, first open the lock levers on each side of the connector  
and then insert the cables connector. Press the cables connector firmly until  
both lock levers lock onto the connector.  
To remove the cable, open the lock levers to the left and right before removing  
the cables connector.  
44  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
3-5-3 Connecting Input Devices  
Wire inputs to the CPM2B CPU Board and Expansion I/O Boards as shown in  
the following diagrams.  
Note When equipment must conform to the EC Directives (Low-voltage Directives),  
use a power supply with double insulation or reinforced insulation.  
CPU Boards (All Models)  
Input Connector  
19 17 15 13 11  
9
7
8
5
6
3
4
1
2
20 18 16 14 12 10  
Expansion I/O Boards (All Models)  
Input Connector  
j
j
j
j
j j  
j
j
19 17 15 13 11  
9
7
5
3
1
20 18 16 14 12 10  
j j  
8
6
4
2
j
j
j
j
j
j
45  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
Input Devices  
The following table shows how to connect various input devices.  
Device  
Circuit diagram  
Relay output  
IN  
CPM2B  
5 mA/6 mA/8 mA  
COM (+)  
NPN open collector  
Sensor  
power supply  
Output  
IN  
CPM2B  
5 mA/6 mA/8 mA  
COM (+)  
0 V  
Use the same power supply for  
the input and sensor.  
NPN current output  
Constant  
current  
circuit  
Output  
IN  
CPM2B  
5 mA/6 mA/8 mA  
0 V  
+
COM (+)  
PNP current output  
Sensor power  
supply  
5 mA/6 mA/8 mA  
Output  
CPM2B  
IN  
COM ()  
0 V  
Voltage output  
COM (+)  
IN  
Output  
0 V  
CPM2B  
Sensor power  
supply  
Note Do not use the following wiring with voltage-output devices:  
Sensor power  
supply  
Incorrect Wiring  
Output  
CPM2B  
IN  
0 V  
COM(+)  
46  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
High-speed Counter Inputs  
Using IR 00000 to IR 00002 as High-speed Counter Inputs  
In these examples, Encoders with an external 24-V DC open-collector output  
are connected.  
Differential Phase Mode  
(Count frequency: 5 kHz)  
Pulse Plus Direction Input Mode  
(Count frequency: 20 kHz)  
CPM2B  
CPM2B  
00000 A-phase input  
00000 Pulse input  
Encoder  
Encoder  
00001 B-phase input  
00002 Z-phase input  
00001 Direction input  
00002 Reset input  
Sensor or switch  
Sensor or switch  
COM  
COM  
24 V DC  
24 V DC  
Up/Down Mode  
(Count frequency: 20 kHz)  
Increment Mode  
(Count frequency: 20 kHz)  
CPM2B  
CPM2B  
Encoder  
00000 Pulse input  
00001 Normal input  
00000 CW input*  
Sensor  
00001 CCW input*  
00002 Reset input  
Sensor  
00002 Normal input  
COM  
Sensor or switch  
COM  
24 V DC  
24 V DC  
Note *CW is clockwise and CCW is counter-clockwise.  
Using IR 00003 to IR 00006 as Interrupt Inputs (Counter Mode)  
In these examples, an Encoder with an external 24-V DC open-collector output  
is connected.  
Increment or decrement  
(Count frequency: 2 kHz)  
CPM2B  
Input (00003 to 00006)  
Encoder  
COM  
24 V DC  
PC Setup Settings  
The input bits shown in the following tables can operate as normal inputs or they  
can be assigned special functions in the PC Setup.  
Special functions for input bits IR 00000 through IR 00002 are set in DM 6642:  
PC Setup setting (DM 6642 bits 08 to15)  
Bit  
address  
00  
01  
02, 03, or 04  
Used as normal  
inputs.  
Used as high-speed Used as inputs for  
IR 00000  
IR 00001  
IR 00002  
counter inputs.  
synchronized pulse  
control.  
Used as a normal input.  
47  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
Special functions for input bits IR 00003 through IR 00006 are set in DM 6628:  
PC Setup setting (in DM 6628)  
1
Bit  
Bits in  
address DM 6628  
0
2
Used as normal  
inputs.  
Used as interrupt  
inputs (including  
counter mode).  
Used as  
quick-response  
inputs.  
IR 00003 00 to 03  
IR 00004 04 to 07  
IR 00005 08 to 11  
IR 00006 12 to 15  
High-speed Counter Input Connection Examples  
Differential Phase Mode  
(Count frequency: 5 kHz)  
Pulse Plus Direction Input mode  
(Count frequency: 20 kHz)  
CPM2B  
CPM2B  
E6B2-CWZ6C  
Encoder  
(NPN open-col-  
lector output)  
E6A2-CS5C  
Encoder  
Black  
White  
00000 A-phase input  
00000 Pulse input  
00001 B-phase input  
00002 Z-phase input  
00001 Direction input  
Orange  
Brown  
Blue  
24 V DC  
Sensor or  
switch  
00002 Reset input  
COM  
Sensor  
power  
COM  
Sensor or  
switch  
24 V DC  
Leakage Current  
A leakage current can cause false inputs when using 2-wire sensors (proximity  
switches or photoelectric switches) or limit switches with LEDs. False inputs  
wont occur if the leakage current is less than 1.0 mA (2.5 mA for IN00000 to  
IN00002). If the leakage current exceeds these values, insert a bleeder resistor  
in the circuit to reduce the input impedance, as shown in the following diagram.  
Input power  
supply  
R
CPM2B  
Bleeder  
resistor  
2-wire sensor, etc.  
I: Devices leakage current (mA)  
R: Bleeder resistance (k)  
L : CPM2Bs input impedance (k)  
C
C
I : CPM2Bs input current (mA)  
W: Bleeder resistors power rating (W)  
E : CPM2Bs OFF voltage (V) = 5.0 V  
C
LC   5.0  
2.3  
R
R +  
kW max.  
W +  
W min.  
I   LC5.0  
The equations above were derived from the following equations:  
Input voltage (24)  
R   
Input Current (IC)  
I   
x OFF voltage (EC : 5.0)  
Input voltage (24)  
Input Current (IC)  
R )  
Input voltage (24)  
R
W y  
  Input voltage (24)   tolerance (4)  
Refer to 2-1-3 I/O Specifications for details on the values L , I , and E .  
C
C
C
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.  
48  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
2. Average rectified current must be 1 A.  
IN  
Diode  
CPM2B  
COM  
3-5-4 Output Wiring  
Relay Output Wiring  
Wire the outputs to the CPM2Bs CPU Board and Expansion I/O Boards as  
shown in the following diagrams.  
Dont exceed the output capacity or the maximum common current. Refer to  
2-1-3 I/O Specifications for details.  
WARNING The PC outputs may remain ON or OFF due to fusing or burning of the output  
relays or destruction of the output transistors. External safety measures must be  
provided to ensure safety in the system. Not providing proper safety measures  
may result in serious accidents.  
!
CPU Boards with Relay Outputs  
Terminal Block #1  
Terminal Block #2  
(Right side)  
1
2
3
4
5
6
L
7
L
8
9
L
10  
1
L
2
L
3
L
4
L
5
6
L
7
L
8
L
9
L
10  
(Left side)  
L
L
L
L
L
Output capacity  
2 A (250 V AC or 24 V DC)  
Max. common capacity  
4 A/common  
Expansion I/O Boards with Relay Outputs  
Terminal Block #1  
Terminal Block #2  
(Right side)  
1
L
2
L
3
L
4
5
6
j j  
L
7
8
L
9
L
10  
1
L
2
L
3
L
4
5
6
j j  
L
7
8
L
9
L
10  
(Left side)  
j
j
j
j
j
j
j
j
j
j
j
j
L
L
L
L
Output capacity  
2 A (250 V AC or 24 V DC)  
Max. common capacity  
4 A/common  
49  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
CPU Boards with Sinking Transistor Outputs  
Output connector  
L
L
L
L
L
9
L
L
L
19 17 15 13 11  
7
8
5
3
4
1
2
20 18 16 14 12 10  
6
L
L
L
L
L
L
L
L
Output capacity  
Max. common capacity  
01000, 01001:  
01002 and up:  
200 mA (30 V DC)  
300 mA (30 V DC)  
1.2 A/common  
Expansion I/O Boards with Sinking Transistor Outputs  
Output connector  
L
9
L
L
L
L
L
L
L
j
j
j
j
j
j
j
j
19 17 15 13 11  
7
5
3
1
2
20 18 16 14 12 10  
8
L
6
4
j j  
j
j
j j  
j
j
L
L
L
L
L
L
L
Output capacity  
300 mA (30 V DC)  
Max. common capacity  
1.2 A/common  
50  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
Using Pulse Outputs  
Use the PULS(65), SPED(––), ACC(––), PWM(––), and SYNC(––) instructions  
to produce pulse outputs (rather than normal outputs) from output bits IR 01000  
and IR 01001. Pulse outputs are possible from CPU Boards with transistor out-  
puts only.  
Single-phase pulse output  
(Fixed duty ratio)  
Single-phase pulse output  
(Variable duty ratio)  
CPM2B  
CPM2B  
Motor driver  
Motor driver  
Relay  
Relay  
Pulse output 0: 01000  
Pulse output 0: 01000  
COM  
COM  
Pulse output 1: 01001  
COM  
Pulse output 1: 01001  
COM  
Pulse plus direction output  
Increment pulse output  
CPM2B  
CPM2B  
Motor driver  
Motor driver  
CW input  
Pulse output 0: 01000  
CW* pulse output: 01000  
COM  
COM  
Direction  
input  
Direction output: 01001  
COM  
CCW input  
CCW* pulse output: 01001  
COM  
Note *CW is clockwise and CCW is counter-clockwise.  
Output Wiring  
Precautions  
Observe the following precautions to protect the PCs 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 a protective fuse in each  
output circuit.  
Inductive Loads  
When connecting an inductive load to an input, connect a surge protector or  
diode in parallel with the load.  
The surge protectors components should have the following ratings:  
Relay Output  
OUT  
CPM2B  
Surge protector  
COM  
Relay Output  
OUT  
Transistor Output  
(Sinking)  
CPM2B  
Diode  
COM  
51  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Wiring and Connections  
Section 3-5  
The diode should satisfy the following requirements:  
Peak reverse-breakdown voltage must be at least 3 times the load voltage.  
Average rectified current must be 1 A.  
Inrush Current Considerations  
When a relay or transistor output is used to switch a load with a high inrush cur-  
rent such as an incandescent lamp, suppress the inrush current as shown  
below.  
Countermeasure 1  
Countermeasure 2  
R
OUT  
R
OUT  
COM  
COM  
Providing a dark current of  
approx. one-third of the rated  
value through an incandescent  
lamp  
Providing a limiting resistor  
Fuse Insertion  
The CPM2B with transistor output may burn if the load is short-circuited, there-  
fore, insert a protective fuse in series with the load.  
52  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 4  
Memory Areas  
This section describes the structure of the PC memory areas and explains how to use them.  
4-1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-1-1 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-2 I/O Allocation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-3 SR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-4 AR Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-5 PC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-5-1 Changing the PC Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-5-2 PC Setup Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
4-6 Error Log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
54  
54  
55  
58  
60  
64  
64  
65  
69  
53  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Introduction  
Section 4-1  
4-1 Introduction  
Most data areas in the CPM2B can be accessed as bits or words. (The TR area  
can be accessed by bit address only and the DM area can be accessed by word  
address only.)  
The following diagram shows the structure of the IR area and the relationship  
between bit and word addresses.  
Bit number  
Bit addresses  
15 14 13 12 11 10  
9
8
7
6
5
4
3
2
1
0
IR 000  
IR 001  
IR 00011  
Word  
Bit number  
IR 010  
IR 011  
IR 01107  
Word Bit number  
Data area  
Input area  
Size  
Words  
Bits  
Function  
These bits can be allocated to the external  
I/O terminals.  
160 bits  
(10 words)  
IR 000 to IR 009 IR 00000 to IR 00915  
(See note 1.)  
Output area  
Work area  
SR area  
TR area  
160 bits  
(10 words)  
IR 010 to IR 019 IR 01000 to IR 01915  
928 bits  
IR 020 to IR 049 IR 02000 to IR 04915  
Work bits can be freely used within the  
program.  
(58 words) IR 200 to IR 227 IR 20000 to IR 22715  
448 bits  
(28 words) SR 255  
SR 228 to  
SR 22800 to SR 25515 These bits serve specific functions such as  
flags and control bits.  
8 bits  
TR 0 to TR 7  
HR 00 to HR 19 HR 0000 to HR 1915  
These bits are used to temporarily store  
ON/OFF status at program branches.  
HR area  
AR area  
LR area  
320 bits  
(20 words)  
These bits store data and retain their  
ON/OFF status when power is turned off.  
384 bits  
(24 words)  
AR 00 to AR 23 AR 0000 to AR 2315  
LR 00 to LR 15 LR 0000 to LR 1515  
TIM/CNT 000 to TIM/CNT 255  
These bits serve specific functions such as  
flags and control bits.  
256 bits  
(16 words)  
Used for a 1:1 data link with another PC.  
Timer/Counter  
area  
256 bits  
The same numbers are used for both  
timers and counters.  
DM  
area  
DM area data can be accessed in word  
units only. Word values are retained when  
the power is turned off.  
Read/write 2,026  
DM 0000 to DM 1999  
DM 2022 to DM 2047  
words  
Error log  
22 words  
DM 2000 to DM 2021  
The read-only area and PC Setup cannot  
be overwritten from program. Change  
these settings with a Programming Device.  
Read-only 456 words DM 6144 to DM 6599  
PC Setup 56 words DM 6600 to DM 6655  
Note 1. Input bits IR 00108 to IR 00111 reflect the status of the DIP switch on the  
CPU Board.  
2. The contents of the HR area, AR area, Counter area, and read/write DM  
area are backed up by the CPU Boards backup battery or capacitor. If the  
battery or capacitor discharges completely, memory contents will be re-  
turned to their default settings.  
3. The program and data in DM 6144 to DM 6655 are stored in flash memory.  
4-1-1 Functions  
IR Area  
The functions of the IR area are explained below.  
IR area bits in the input and output areas are allocated to terminals on the CPU  
Board and Expansion I/O Boards. They reflect the ON/OFF status of input and  
output signals. Input bits begin at IR 00000, and output bits begin at IR 01000.  
54  
Download from Www.Somanuals.com. All Manuals Search And Download.  
I/O Allocation  
Section 4-2  
IR words that are not allocated to inputs or outputs can be used as work words.  
Work Bits  
SR Area  
The work bits can be used freely within the program. They can only be used with-  
in the program, however, and not for direct external I/O.  
These bits mainly serve as flags for CPM2B operation or contain present and set  
values for various functions. SR 253 to SR 255 are read-only. Refer to 4-3 SR  
Area for details on the various bit functions.  
TR Area  
When a complex ladder diagram cannot be programmed in mnemonic code just  
as it is, these bits are used to temporarily store ON/OFF execution conditions at  
program branches. They are used only for mnemonic code. When programming  
directly with ladder diagrams using the Support Software, TR bits are automati-  
cally processed for you.  
The same TR bits cannot be used more than once within the same instruction  
block, but can be used again in different instruction blocks. The ON/OFF status  
of TR bits cannot be monitored from a Programming Device.  
HR Area  
AR Area  
LR Area  
These bits retain their ON/OFF status even after the PC power supply has been  
turned off or when operation begins or stops. They are used in the same way as  
work bits.  
These bits mainly serve as flags related to PC operation. These bits retain their  
status even after the PC power supply has been turned off or when operation  
begins or stops. Refer to 4-4 AR Area for details on the various bit functions.  
When the CPM2B is linked 1:1 with another CPM2B or a CPM1/CPM1A/  
CPM2A/CPM2C/SRM1(-V2), a CQM1, a C200HS or a C200HX/HG/HE PC,  
these bits are used to share data.  
LR words can be used as work words when they are not used for a 1:1 PC Link.  
Timer/Counter Area  
This area is used to manage timers and counters created with TIM, TIMH(15),  
TMHH(––), TIML(––), CNT, and CNTR(12). The same numbers are used for  
both timers and counters and each number can be used only once in the user  
program. Do not use the same TC number twice even for different instructions.  
Use TC numbers 000 to 003 for TIMH(15) and TC numbers 004 to 007 for  
TMHH(––). When these timer numbers are used, timing is performed as an in-  
terrupt process and the cycle time is not affected.  
TC numbers are used to create timers and counters, as well as to access  
Completion Flags and present values (PVs). If a TC number is designated for  
word data, it will access the present value (PV); if it is used for bit data, it will ac-  
cess the Completion Flag for the timer/counter.  
DM Area  
DM area data is accessed in word units only. The contents of the DM area are  
retained even after the PC power supply has been turned off or when operation  
begins or stops.  
DM words DM 0000 to DM 1999 and DM 2022 to DM 2047 can be used freely in  
the program; other DM words are allocated specific functions.  
DM 2000 to DM 2021 contain the error log information. Refer to Section 4-6 Error  
Log for details on the error log.  
DM 6600 to DM 6655 contain the PC Setup. Refer to 4-5 PC Setup for details.  
4-2 I/O Allocation  
IR bits are allocated to actual input terminals and output terminals on the CPU  
Board and Expansion I/O Boards. IR words that are not allocated to inputs or  
outputs can be used as work words.  
55  
Download from Www.Somanuals.com. All Manuals Search And Download.  
I/O Allocation  
Section 4-2  
CPU Board I/O Allocation  
CPU Board inputs are allocated input bits starting from IR 00000 and CPU Board  
outputs are allocated output bits starting from IR 01000. Input bits IR 00108 to  
IR 00111 are allocated to the CPU Boards DIP switch inputs.  
16 inputs  
IR 00000 to IR 00007  
IR 00100 to IR 00107  
16 outputs  
IR 01000 to IR 01007  
IR 01100 to IR 01107  
15  
14  
13  
12  
11  
10  
09  
08  
07  
06  
05  
04  
03  
02  
01  
00  
Bits  
IR 000  
IR 001  
IR 010  
IR 011  
Inputs  
Do not use  
Outputs  
Note 1. The unused bits in IR 000 and IR 001 cannot be used as work bits.  
2. IR 00108 to IR 00111 are used as an input DIP switch.  
Expansion I/O Board I/O  
Allocation  
Up to 3 Expansion I/O Boards can be connected.  
Input bits are allocated to Expansion I/O Boards starting from word (m+1), where  
mis the last input word allocated to the CPU Board or to the previous Expan-  
sion I/O Board if one is already connected.  
Output bits are allocated to Expansion I/O Boards starting from word (n+1),  
where nis the last output word allocated to the CPU Board or to the previous  
Expansion I/O Board if one is already connected.  
16 inputs  
Bits 00 to 15 in IR (m+1)  
16 outputs  
Bits 00 to 15 in IR (n+1)  
15  
14  
13  
12  
11  
10  
09  
08  
07  
06  
05  
04  
03  
02  
01  
00  
Bits  
Inputs  
Outputs  
m+1  
n+1  
CPU Board and One  
Expansion I/O Board  
The following example shows the I/O allocation when one Expansion I/O Board  
is connected to the CPU Board. Expansion I/O Board inputs are allocated  
IR 00200 through IR 00215 and the outputs are allocated IR 01200 through  
IR 01215.  
Bits  
15  
14  
13  
12  
11  
10  
09  
08  
07  
06  
05  
04  
03  
02  
01  
00  
IR 000  
Do not use  
as work bits.  
Inputs IR 001  
IR 002  
IR 010  
Outputs IR 011  
IR 012  
56  
Download from Www.Somanuals.com. All Manuals Search And Download.  
I/O Allocation  
Section 4-2  
CPU Board and Three  
Expansion I/O Boards  
The following example shows the I/O allocation when three Expansion I/O  
Boards are connected to the CPU Board.  
CPU Board  
(32 I/O points)  
Expansion I/O Board  
(32 I/O points)  
Expansion I/O Board  
(32 I/O points)  
Expansion I/O Board  
(32 I/O points)  
16 inputs  
IR 00000 to IR 00007  
IR 00100 to IR 00107  
16 inputs  
IR 00200 to IR 00215  
16 inputs  
IR 00300 to IR 00315  
16 inputs  
IR 00400 to IR 00415  
16 outputs  
IR 01000 to IR 01007  
IR 01100 to IR 01107  
16 outputs  
IR 01200 to IR 01215  
16 outputs  
IR 01300 to IR 01315  
16 outputs  
IR 01400 to IR 01415  
15  
14  
13  
12  
11  
10  
09  
08  
07  
06  
05  
04  
03  
02  
01  
00  
Bits  
IR 000  
IR 001  
IR 002  
IR 003  
IR 004  
IR 010  
IR 011  
IR 012  
IR 013  
IR 014  
Do not use  
as work bits.  
Inputs  
Outputs  
57  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SR Area  
Section 4-3  
4-3 SR Area  
These bits mainly serve as flags related to CPM2A/CPM2C operation or contain  
present and set values for various functions. The functions of the SR area are  
explained in the following table.  
Note Read-onlywords and bits can be read as status in controller PC operation, but  
they cannot be written from the ladder program. Bits and words that are Not  
usedare also read-only.  
Word(s)  
Bit(s)  
Function  
Read/  
write  
Read-  
only  
SR 228,  
SR 229  
00 to 15 Pulse Output PV 0  
Contains the pulse output PV (16,777,215 to 16,777,215). SR 22915 acts as the sign  
bit; a negative number is indicated when SR 22915 is ON.  
(The same PV data can be read immediately with PRV(62).)  
Only Pulse Output PV 0 is used for ACC(––).  
SR 230,  
SR 231  
00 to 15 Pulse Output PV 1  
Contains the pulse output PV (16,777,215 to 16,777,215). SR 23115 acts as the sign  
bit; a negative number is indicated when SR 23115 is ON.  
(The same PV data can be read immediately with PRV(62).)  
Read/  
write  
SR 232  
to  
00 to 15 Macro Function Input Area  
Contains the input operands for MCRO(99).  
SR 235  
(Can be used as work bits when MCRO(99) is not used.)  
SR 236  
to  
00 to 15 Macro Function Output Area  
Contains the output operands for MCRO(99).  
SR 239  
(Can be used as work bits when MCRO(99) is not used.)  
SR 240  
SR 241  
SR 242  
SR 243  
00 to 15 Interrupt Input 00003 Counter Mode SV  
SV when interrupt input 00003 is used in counter mode (4 digits hexadecimal).  
(Can be used as work bits when interrupt input 00003 is not used in counter mode.)  
00 to 15 Interrupt Input 00004 Counter Mode SV  
SV when interrupt input 00004 is used in counter mode (4 digits hexadecimal).  
(Can be used as work bits when interrupt input 00004 is not used in counter mode.)  
00 to 15 Interrupt Input 00005 Counter Mode SV  
SV when interrupt input 00005 is used in counter mode (4 digits hexadecimal).  
(Can be used as work bits when interrupt input 00005 is not used in counter mode.)  
00 to 15 Interrupt Input 00006 Counter Mode SV  
SV when interrupt input 00006 is used in counter mode (4 digits hexadecimal).  
(Can be used as work bits when interrupt input 00006 is not used in counter mode.)  
SR 244  
SR 245  
SR 246  
SR 247  
00 to 15 Interrupt Input 00003 Counter Mode PV  
Counter PV when interrupt input 00003 is used in counter mode (4 digits hexadecimal).  
00 to 15 Interrupt Input 00004 Counter Mode PV  
Counter PV when interrupt input 00004 is used in counter mode (4 digits hexadecimal).  
00 to 15 Interrupt Input 00005 Counter Mode PV  
Counter PV when interrupt input 00005 is used in counter mode (4 digits hexadecimal).  
00 to 15 Interrupt Input 00006 Counter Mode PV  
Counter PV when interrupt input 00006 is used in counter mode (4 digits hexadecimal).  
Read-  
only  
SR 248,  
SR 249  
00 to 15 High-speed Counter PV Area  
The PVs can have the following values. The leftmost digit of SR 249 acts as the sign  
indicator; a negative number is indicated when the leftmost digit of SR 249 is F.  
Differential phase input mode:  
Pulse +direction input mode:  
Up/down pulse input mode:  
Increment mode:  
8,388,608 (F838 8608) to 8,388,607  
8,388,608 (F838 8608) to 8,388,607  
8,388,608 (F838 8608) to 8,388,607  
0 to 16,777,215  
Synchronized pulse control:  
0 to 20,000 Hz  
(Can be used as work bits when the high-speed counter is not used.)  
00 to 15 Analog Setting 0  
Used to store the 4-digit BCD set value (0000 to 0200) from analog control 0.  
00 to 15 Analog Setting 1  
SR 250  
SR 251  
Used to store the 4-digit BCD set value (0000 to 0200) from analog control 1.  
58  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SR Area  
Section 4-3  
Word(s)  
Bit(s)  
00  
01 to 03 Not used.  
Function  
Read/  
write  
SR 252  
High-speed Counter Reset Bit  
Read/  
write  
Read/  
write  
04  
Pulse Output 0 PV Reset Bit  
Turn ON to clear the PV of pulse output 0.  
05  
Pulse Output 1 PV Reset Bit  
Turn ON to clear the PV of pulse output 1.  
06, 07  
08  
Not used.  
Read/  
write  
Peripheral Port Reset Bit  
Turn ON to reset the peripheral port. Automatically turns OFF when reset is complete.  
09  
10  
RS-232C Port Reset Bit  
Turn ON to reset the RS-232C port. Automatically turns OFF when reset is complete.  
PC Setup Reset Bit  
Turn ON to initialize PC Setup (DM 6600 through DM 6655). Automatically turns OFF  
again when reset is complete. Only effective if the PC is in PROGRAM mode.  
11  
Forced Status Hold Bit (See note.)  
OFF:The forced status of bits that are forced set/reset is cleared when switching be-  
tween PROGRAM mode and MONITOR mode.  
ON: The status of bits that are forced set/reset are maintained when switching between  
PROGRAM mode and MONITOR mode.  
The PC Setup can be set to maintain the status of this bit when the PC is turned off.  
12  
I/O Hold Bit (See note.)  
OFF:IR and LR bits are reset when starting or stopping operation.  
ON: IR and LR bit status is maintained when starting or stopping operation.  
The PC Setup can be set to maintain the status of this bit when the PC is turned off.  
13  
14  
Not used.  
Error Log Reset Bit  
Read/  
write  
Turn ON to clear error log. Automatically turns OFF again when operation is complete.  
15  
Not used.  
SR 253  
Read-  
only  
00 to 07 FAL Error Code  
The error code (a 2-digit number) is stored here when an error occurs. The FAL number  
is stored here when FAL(06) or FALS(07) is executed. This word is reset (to 00) by  
executing a FAL 00 instruction or by clearing the error from a Programming Device.  
08  
09  
Battery Error Flag  
Turns ON when the CPU Board backup batterys voltage is too low.  
Cycle Time Overrun Flag  
Turns ON when a cycle time overrun occurs (i.e., when the cycle time exceeds the maxi-  
mum cycle time set in the PC Setup).  
10,11  
12  
Not used.  
Changing RS-232C Setup Flag  
Turns ON when the RS-232C ports settings are being changed.  
Read/  
write  
Read-  
only  
13  
14  
15  
Always ON Flag  
Always OFF Flag  
First Cycle Flag  
Turns ON for 1 cycle at the start of operation.  
59  
Download from Www.Somanuals.com. All Manuals Search And Download.  
AR Area  
Section 4-4  
Word(s)  
Bit(s)  
00  
Function  
Read/  
write  
SR 254  
Read-  
only  
1-minute clock pulse (30 seconds ON; 30 seconds OFF)  
0.02-second clock pulse (0.01 second ON; 0.01 second OFF)  
Negative (N) Flag  
01  
02  
Turns ON when the result of a calculation is negative (leftmost bit of binary result ON.)  
03  
04  
Not used.  
Read-  
only  
Overflow (OF) Flag  
Turns ON when an overflow occurs in a signed binary calculation.  
05  
06  
07  
Underflow (UF) Flag  
Turns ON when an underflow occurs in a signed binary calculation.  
Differential Monitor Complete Flag  
Turns ON when differential monitoring is completed.  
STEP(08) Execution Flag  
Turns ON for 1 cycle only at the start of process based on STEP(08).  
08 to 15 Not used.  
SR 255  
Read-  
only  
00  
01  
02  
03  
0.1-second clock pulse (0.05 second ON; 0.05 second OFF)  
0.2-second clock pulse (0.1 second ON; 0.1 second OFF)  
1.0-second clock pulse (0.5 second ON; 0.5 second OFF)  
Instruction Execution Error (ER) Flag  
Turns ON when an error occurs during execution of an instruction.  
04  
05  
06  
Carry (CY) Flag  
Turns ON when there is a carry in the results of an instruction execution.  
Greater Than (GR) Flag  
Turns ON when the result of a comparison operation is greater.”  
Equals (EQ) Flag  
Turns ON when the result of a comparison operation is equal,or when the result of an  
instruction execution is 0.  
07  
Less Than (LE) Flag  
Turns ON when the result of a comparison operation is less.”  
08 to 15 Not used.  
Note DM 6601 in the PC Setup can be set to maintain the previous status of the  
Forced Status Hold Bit (SR 25211) and the I/O Hold Bit (SR 25212) when power  
is turned OFF. Refer to 4-5 PC Setup for details.  
4-4 AR Area  
These bits mainly serve as flags related to CPM2B operation. These bits retain  
their status even after the CPM2B power supply has been turned off or when  
operation begins or stops.  
Word(s)  
Bit(s)  
Function  
AR 00,  
AR 01  
00 to 15 Not used.  
AR 02  
00 to 07 Not used.  
08 to 11 Number of Expansion I/O Boards Connected  
12 to 15 Not used.  
AR 03 to  
AR 07  
00 to 15 Not used.  
60  
Download from Www.Somanuals.com. All Manuals Search And Download.  
AR Area  
Section 4-4  
Word(s)  
Bit(s)  
Function  
AR 08  
00 to 03 RS-232C Port Error Code (1-digit BCD)  
0: Normal completion  
1: Parity error  
2: Frame error  
3: Overrun error  
04  
05  
06  
07  
RS-232C Communications Error Flag  
Turns ON when an RS-232C port communications error occurs.  
RS-232C Transmit Ready Flag  
Turns ON when the PC is ready to transmit data. (No-protocol and Host Link only)  
RS-232C Reception Completed Flag  
Turns ON when the PC has completed reading data. (No-protocol only)  
RS-232C Reception Overflow Flag  
Turns ON when an overflow has occurred. (No-protocol only)  
08 to 11 Peripheral Port Error Code (1-digit BCD)  
0: Normal completion  
1: Parity error  
2: Frame error  
3: Overrun error  
12  
13  
14  
15  
Peripheral Port Communications Error Flag  
Turns ON when a peripheral port communications error occurs.  
Peripheral Port Transmit Ready Flag  
Turns ON when the PC is ready to transmit data. (No-protocol and Host Link only)  
Peripheral Port Reception Completed Flag  
Turns ON when the PC has completed reading data. (No-protocol only)  
Peripheral Port Reception Overflow Flag  
Turns ON when an overflow has occurred. (No-protocol only)  
AR 09  
AR 10  
00 to 15 RS-232C Port Reception Counter (4-digit BCD)  
Valid only when no-protocol communications are used.  
00 to 15 Peripheral Port Reception Counter (4-digit BCD)  
Valid only when no-protocol communications are used.  
61  
Download from Www.Somanuals.com. All Manuals Search And Download.  
AR Area  
Section 4-4  
Word(s)  
AR 11  
Bit(s)  
Function  
00 to 07 High-speed Counter Range Comparison Flags  
00 ON: Counter PV is within comparison range 1  
01 ON: Counter PV is within comparison range 2  
02 ON: Counter PV is within comparison range 3  
03 ON: Counter PV is within comparison range 4  
04 ON: Counter PV is within comparison range 5  
05 ON: Counter PV is within comparison range 6  
06 ON: Counter PV is within comparison range 7  
07 ON: Counter PV is within comparison range 8  
(Note 1)  
08  
High-speed Counter Comparison Operation  
ON:  
Operating  
Stopped  
OFF:  
09  
High-speed Counter PV Overflow/Underflow Flag  
ON:  
An overflow or underflow occurred.  
Normal operation  
OFF:  
10  
11  
Not used.  
Pulse Output 0 Output Status  
ON:  
OFF:  
Pulse output 0 is accelerating or decelerating.  
Pulse output 0 is operating at a constant rate.  
12  
13  
14  
15  
Pulse Output 0 Overflow/Underflow Flag  
ON:  
OFF:  
An overflow or underflow occurred.  
Normal operation  
Pulse Output 0 Pulse Quantity Set Flag  
ON:  
Pulse quantity has been set.  
OFF:  
Pulse quantity has not been set.  
Pulse Output 0 Pulse Output Completed Flag  
ON:  
Completed  
OFF:  
Not completed  
Pulse Output 0 Output Status  
ON:  
OFF:  
Pulses being output.  
Stopped.  
AR 12  
00 to 10 Not used.  
11  
12  
13  
14  
15  
Pulse Output 1 Output Status  
(Note 1)  
ON:  
OFF:  
Pulse output 1 is accelerating or decelerating.  
Pulse output 1 is operating at a constant rate.  
Pulse Output 1 Overflow/Underflow Flag  
ON:  
OFF:  
An overflow or underflow occurred.  
Normal operation  
Pulse Output 1 Pulse Quantity Set Flag  
ON:  
Pulse quantity has been set.  
OFF:  
Pulse quantity has not been set.  
Pulse Output 1 Pulse Output Completed Flag  
ON:  
Completed  
OFF:  
Not completed  
Pulse Output 1 Output Status  
ON:  
OFF:  
Pulses being output.  
Stopped.  
62  
Download from Www.Somanuals.com. All Manuals Search And Download.  
AR Area  
Section 4-4  
Word(s)  
Bit(s)  
00  
Function  
AR 13  
Power-up PC Setup Error Flag  
Turns ON when there is an error in DM 6600 to DM 6614 (the part of the PC Setup area that is  
read at power-up).  
01  
02  
Start-up PC Setup Error Flag  
Turns ON when there is an error in DM 6615 to DM 6644 (the part of the PC Setup area that is  
read at the beginning of operation).  
RUN PC Setup Error Flag  
Turns ON when there is an error in DM 6645 to DM 6655 (the part of the PC Setup area that is  
always read).  
03, 04  
05  
Not used.  
Cycle Time Too Long Flag  
Turns ON if the actual cycle time is longer than the cycle time set in DM 6619.  
06, 07  
08  
Not used.  
Memory Area Specification Error Flag  
Turns ON when a non-existent data area address is specified in the program.  
09  
10  
11  
12  
Flash Memory Error Flag  
Turns ON when there is an error in flash memory.  
Read-only DM Error Flag  
Turns ON when a checksum error occurs in the read-only DM (DM 6144 to DM 6599).  
PC Setup Error Flag  
Turns ON when a checksum error occurs in the PC Setup area.  
Program Error Flag  
Turns ON when a checksum error occurs in the program memory (UM) area, or when an im-  
proper instruction is executed.  
13  
14  
Expansion Instruction Area Error Flag  
Turns ON when a checksum error occurs in the expansion instruction assignments area. The  
expansion instruction assignments will be cleared to their default settings.  
Data Save Error Flag  
Turns ON if data could not be retained with the backup battery or capacitor.  
The following words are normally backed up:  
DM read/write words (DM 0000 to DM 1999 and DM 2022 to DM 2047), Error Log (DM 2000 to  
DM 2021), HR area, counter area, SR 25511, SR 25512 (if DM 6601 is set to hold I/O memory at  
startup), AR 23, operating mode (if DM 6600 is set to use the previous operating mode).  
If the above words cannot be retained, all data will be cleared except that AR 2114 will be turned  
ON in CPU Boards equipped with a clock. The CPU Board will start in PROGRAM mode if DM  
6600 is set to use the previous operating mode. (If DM 6604 is set to generate an error, the PC  
will start in PROGRAM mode regardless.)  
15  
Not used.  
AR 14  
AR 15  
AR 16  
00 to 15 Maximum Cycle Time (4-digit BCD, see note 3)  
The longest cycle time since the beginning of operation is stored. It is not cleared when opera-  
tion stops, but it is cleared when operation starts again.  
00 to 15 Current Cycle Time (4-digit BCD, see note 3)  
The most recent cycle time during operation is stored. The Current Cycle Time is not cleared  
when operation stops.  
00 to 15 Not used.  
AR 17  
00 to 07 Minute (00 to 59, BCD)  
(Note 2)  
08 to 15 Hour (00 to 59, BCD)  
AR 18  
00 to 07 Second (00 to 59, BCD)  
(Note 2)  
08 to 15 Minute (00 to 59, BCD)  
AR 19  
00 to 07 Hour (00 to 23, BCD)  
(Note 2)  
08 to 15 Day of the Month (01 to 31, BCD)  
AR 20  
00 to 07 Month (01 to 12, BCD)  
(Note 2)  
08 to 15 Year (00 to 99, BCD)  
63  
Download from Www.Somanuals.com. All Manuals Search And Download.  
PC Setup  
Section 4-5  
Word(s)  
AR 21  
Bit(s)  
Function  
00 to 07 Day of the Week (00 to 06, BCD)  
00: Sunday  
04: Thursday  
01: Monday  
05: Friday  
02: Tuesday  
06: Saturday  
03: Wednesday  
(Note 2)  
08 to 12 Not used.  
13  
30-second Compensation Bit  
Turn this bit ON to round off to the nearest minute. When the seconds are 00 to 29, the seconds  
are cleared to 00 and the rest of the time setting is left unchanged. When the seconds are 30 to  
59, the seconds are cleared to 00 and the time is incremented by one minute.  
14  
15  
Clock Stop Bit  
Turn this bit ON to stop the clock. The time/date can be overwritten while this bit is ON.  
Clock Set Bit  
To change the time/date, turn ON AR 2114, write the new time/date (being sure to leave AR  
2114 ON), and then turn this bit ON to enable a new time/date setting. The clock will restart and  
both AR 2114 and AR 2115 will be turned OFF automatically.  
AR 22  
AR 23  
00 to 15 Not used.  
00 to 15 Power-off Counter (4-digit BCD)  
This is the count of the number of times that the power has been turned off.  
To clear the count, write 0000from a Programming Device.  
Note 1. The same data can be read immediately with PRV(62).  
2. The time and date can be set while AR 2114 is ON. The new setting be-  
comes effective when AR 2115 is turned ON. (AR 2114 and AR 2115 are  
turned OFF automatically when the new setting goes into effect.)  
3. The units for the maximum and current cycle times are determined by the  
setting in bits 08 to 15 of DM 6618. A setting of 00 specifies 0.1-ms units, 01  
specifies 0.1-ms units, 02 specifies 1-ms units, and 03 specifies 10-ms  
units.  
4-5 PC Setup  
The PC Setup comprises various operating parameters that control PC opera-  
tion. In order to make the maximum use of PC functionality when using interrupt  
processing and communications functions, the PC Setup may be customized  
according to operating conditions.  
After the PC Setup has been changed, be sure to switch the CPM2B to MON-  
ITOR or RUN mode or turn the power OFF and then ON again.  
4-5-1 Changing the PC Setup  
The PC Setup settings in DM 6600 to DM 6655 can be changed from a Program-  
ming Device. The CPM2B must be in PROGRAM mode in order to change the  
settings in DM 6600 to DM 6644. The settings in DM 6645 to DM 6655 can be  
changed in MONITOR or PROGRAM mode, but CPM2Bs cycle time will be long  
if the settings are changed in MONITOR mode.  
All of the PC Setup settings are set to their defaults when the CPM2B is shipped.  
The default values for the PC Setup are 0000 for all words (except for the low  
battery error enable in DM 6655 bits 12 to 15).  
Effectiveness of Changes  
PC Setup settings are accessed at various times depending on the setting, as  
described below.  
Words  
Timing  
DM 6600 to DM 6614 Accessed only when PCs power supply is turned ON.  
DM 6615 to DM 6644 Accessed only when program execution begins.  
DM 6645 to DM 6655 Accessed regularly when the power is ON.  
Since changes in the PC Setup become effective only at the times given above,  
the PC will have to be restarted to make changes in DM 6600 to DM 6614 effec-  
64  
Download from Www.Somanuals.com. All Manuals Search And Download.  
PC Setup  
Section 4-5  
tive, and program execution will have to be restarted to make changes in  
DM 6615 to DM 6644 effective.  
Errors in the PC Setup  
If an incorrect PC Setup setting is accessed, a non-fatal error (error code 9B) will  
be generated, the corresponding error flag (AR 1300 to AR 1302) will be turned  
ON, and the default setting will be used instead of the incorrect setting.  
4-5-2 PC Setup Settings  
Word(s)  
Startup Processing (DM 6600 to DM 6614)  
The following settings are effective after transfer to the PC only after the PC is restarted.  
Bit(s)  
Function  
DM 6600  
00 to 07 Startup mode (effective when bits 08 to 15 are set to 02).  
00: PROGRAM; 01: MONITOR; 02: RUN  
08 to 15 Startup mode designation  
00: According to communications switch SW201 and peripheral port connection  
(See table at the bottom of this page.)  
01: Continue operating mode last used before power was turned OFF.  
02: Setting in 00 to 07  
DM 6601  
DM 6602  
00 to 07 Not used.  
08 to 11 IOM Hold Bit (SR 25212) Status at Startup  
0: Reset to 0; 1: Maintain previous status  
12 to 15 Forced Status Hold Bit (SR 25211) Status at Startup  
0: Reset to 0; 1: Maintain previous status  
00 to 03 Program memory write-protection  
0: Program memory unprotected  
1: Program memory write-protected (except DM 6602 itself)  
04 to 07 Programming Console display language  
0: English; 1: Japanese  
08 to 11 Expansion instruction function code assignments  
0: Default settings  
1: User assignments  
12 to 15 Not used.  
DM 6603  
DM 6604  
00 to 15 Not used.  
00 to 07 00: A memory error will not be generated if data could not be retained by the battery.  
01: A memory error will be generated if data could not be retained by the battery.  
08 to 15 Not used.  
DM 6605 to 00 to 15 Not used.  
DM 6614  
Note The startup operating mode will be as shown in the following table is bits 08 to 15  
of DM 6600 are set to 00.  
Communications switch SW201  
Peripheral port  
connected to  
OFF  
ON  
Nothing  
PROGRAM  
RUN  
Programming  
Console  
Mode set on Programming  
Console mode switch  
PROGRAM (The CPM2B will  
not be able to communicate  
with Programming Console.)  
Other Programming PROGRAM (The CPM2B will PROGRAM  
Device  
not be able to communicate  
with Programming Device.)  
Word(s)  
Cycle Time Settings (DM 6615 to DM 6619)  
The following settings are effective after transfer to the PC the next time operation is started.  
DM 6615 00 to 15 Not used.  
Bit(s)  
Function  
65  
Download from Www.Somanuals.com. All Manuals Search And Download.  
PC Setup  
Section 4-5  
Word(s)  
Bit(s)  
Function  
DM 6616  
00 to 07 Servicing time for RS-232C port (Effective when bits 08 to 15 are set to 01.)  
00 to 99 (BCD): Percentage of cycle time used to service RS-232C port.  
08 to 15 RS-232C port servicing setting enable  
00: 5% of the cycle time  
01: Use time in bits 00 to 07.  
DM 6617  
DM 6618  
00 to 07 Servicing time for peripheral port (Effective when bits 08 to 15 are set to 01.)  
00 to 99 (BCD): Percentage of cycle time used to service peripheral.  
08 to 15 Peripheral port servicing setting enable  
00: 5% of the cycle time  
01: Use time in bits 00 to 07.  
00 to 07 Cycle monitor time (Effective when bits 08 to 15 are set to 01, 02, or 03.)  
00 to 99 (BCD): Setting (See bits 08 to 15, below.)  
A fatal error will be generated and PC operation will stop if the cycle time exceeds the cycle mon-  
itor time set here.  
08 to 15 Cycle monitor enable (Setting in 00 to 07 × units; 99 s max.)  
00: 120 ms (setting in bits 00 to 07 disabled)  
01: Setting units: 10 ms  
02: Setting units: 100 ms  
03: Setting units: 1 s  
DM 6619  
00 to 15 Minimum cycle time  
0000: Variable (no minimum)  
0001 to 9999 (BCD): Minimum time in ms  
Interrupt Processing (DM 6620 to DM 6639)  
The following settings are effective after transfer to the PC the next time operation is started.  
DM 6620  
00 to 03 Input time constant for IR 00000 to IR 00002  
0: 10 ms; 1: 1 ms; 2: 2 ms; 3: 3 ms; 4: 5 ms; 5: 10 ms; 6: 20 ms; 7: 40 ms; 8: 80 ms  
04 to 07 Input time constant for IR 00003 and IR 00004 (Setting same as bits 00 to 03)  
08 to 11 Input time constant for IR 00005 and IR 00006 (Setting same as bits 00 to 03)  
12 to 15 Input time constant for IR 00007 to IR 00011 (Setting same as bits 00 to 03)  
00 to 07 Input time constant for IR 001  
DM 6621  
00: 10 ms  
05: 10 ms  
01: 1 ms  
06: 20 ms  
02: 2 ms  
07: 40 ms  
03: 3 ms  
08: 80 ms  
04: 5 ms  
08 to 15 Input constant for IR 002 (Setting same as for IR 001.)  
00 to 07 Input constant for IR 003 (Setting same as for IR 001.)  
08 to 15 Input constant for IR 004 (Setting same as for IR 001.)  
00 to 07 Input constant for IR 005 (Setting same as for IR 001.)  
08 to 15 Input constant for IR 006 (Setting same as for IR 001.)  
00 to 07 Input constant for IR 007 (Setting same as for IR 001.)  
08 to 15 Input constant for IR 008 (Setting same as for IR 001.)  
00 to 07 Input constant for IR 009 (Setting same as for IR 001.)  
08 to 15 Not used.  
DM 6622  
DM 6623  
DM 6624  
DM 6625  
DM 6626 to 00 to 15 Not used.  
DM 6627  
DM6628  
DM 6629  
00 to 03 Interrupt enable for IR 00003 (0: Normal input; 1: Interrupt input; 2: Quick-response)  
04 to 07 Interrupt enable for IR 00004 (0: Normal input; 1: Interrupt input; 2: Quick-response)  
08 to 11 Interrupt enable for IR 00005 (0: Normal input; 1: Interrupt input; 2: Quick-response)  
12 to 15 Interrupt enable for IR 00006 (0: Normal input; 1: Interrupt input; 2: Quick-response)  
00 to 03 PV coordinate system for pulse output 0  
0: Relative coordinates; 1: Absolute coordinates  
04 to 07 PV coordinate system for pulse output 1  
0: Relative coordinates; 1: Absolute coordinates  
08 to 15 Not used.  
DM 6630 to 00 to 15 Not used.  
DM 6641  
66  
Download from Www.Somanuals.com. All Manuals Search And Download.  
PC Setup  
Section 4-5  
Word(s)  
Bit(s)  
Function  
High-speed Counter Settings (DM 6642 to DM 6644)  
The following settings are effective after transfer to the PC the next time operation is started.  
DM 6642  
00 to 03 High-speed counter mode (Effective only when bits 08 to 15 are not set to 00.)  
0: Differential phase mode (5 kHz)  
1: Pulse + direction input mode (20 kHz)  
2: Up/down input mode (20 kHz)  
4: Increment mode (20 kHz)  
04 to 07 High-speed counter reset mode (Effective only when bits 08 to 15 are set to 01.)  
0: Z phase and software reset; 1: Software reset only  
08 to 15 High-speed counter/Synchronized pulse control for IR 00000 to IR 00002  
00: Dont use either function.  
01: Use as high-speed counters.  
02: Use for synchronized pulse control (10 to 500 Hz).  
03: Use for synchronized pulse control (20 Hz to 1 kHz).  
04: Use for synchronized pulse control (300 Hz to 20 kHz).  
DM 6643,  
DM 6644  
00 to 15 Not used.  
RS-232C Port Communications Settings  
The following settings are effective after transfer to the PC.  
If CPU Board communications switch SW202 is ON, communications through the RS-232C port are governed by the  
default settings (all 0) regardless of the settings in DM 6645 through DM 6649.  
DM 6645  
00 to 03 Port settings  
0: Standard (1 start bit, 7 data bits, even parity, 2 stop bits, 9,600 bps, Host Link unit number: 0)  
1: Settings in DM 6646  
(Any other setting will cause a non-fatal error and AR 1302 will turn ON.)  
04 to 07 CTS control setting  
0: Disable CTS control; 1: Enable CTS control  
(Any other setting will cause a non-fatal error and AR 1302 will turn ON.)  
08 to 11 Link words for 1:1 PC Link  
0: LR 00 to LR 15 (Any other settings are ineffective.)  
12 to 15 Communications mode  
0: Host Link; 1: No-protocol; 2: 1:1 PC Link Slave; 3: 1:1 PC Link Master; 4: NT Link  
(Any other setting causes a non-fatal error and turns ON AR 1302.)  
DM 6646  
00 to 07 Baud rate  
00: 1,200 bps; 01: 2,400 bps; 02: 4,800 bps; 03: 9,600 bps; 04: 19,200 bps  
08 to 15 Frame format  
Start bits  
1 bit  
Data bits  
7 bits  
7 bits  
7 bits  
7 bits  
7 bits  
7 bits  
8 bits  
8 bits  
8 bits  
8 bits  
8 bits  
8 bits  
Stop bits  
1 bit  
Parity  
Even  
Odd  
00:  
01:  
02:  
03:  
04:  
05:  
06:  
07:  
08:  
09:  
10:  
11:  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
2 bits  
2 bits  
2 bits  
1 bit  
1 bit  
1 bit  
2 bits  
2 bits  
2 bits  
None  
Even  
Odd  
None  
Even  
Odd  
None  
Even  
Odd  
None  
(Any other setting specifies standard settings (1 start bit, 7 data bits; even parity, 2 stop bits),  
causes a non-fatal error, and turns ON AR 1302.)  
DM 6647  
00 to 15 Transmission delay (0000 to 9999 BCD sets a delay of 0 to 99,990 ms.)  
(Any other setting specifies a delay of 0 ms, causes a non-fatal error, and turns ON AR 1302.)  
67  
Download from Www.Somanuals.com. All Manuals Search And Download.  
PC Setup  
Section 4-5  
Word(s)  
Bit(s)  
Function  
DM 6648  
00 to 07 Node number (Host Link)  
00 to 31 (BCD)  
(Any other setting specifies a node number of 00, causes a non-fatal error, and turns ON AR  
1302.)  
08 to 11 Start code selection for no-protocol communications  
0: Disables start code; 1: Enables start code in DM 6649  
(Any other setting disables the start code, causes a non-fatal error, and turns ON AR 1302.)  
12 to 15 End code selection for no-protocol communications  
0: Disables end code; 1: Enables end code in DM 6649; 2: Sets end code of CR, LF.  
(Any other setting disables the end code, causes a non-fatal error, and turns ON AR 1302.)  
00 to 07 Start code (00 to FF)  
DM 6649  
(This setting is valid only when bits 8 to 11 of DM 6648 are set to 1.)  
08 to 15 When bits 12 to 15 of DM 6648 set to 0:  
Sets the number of bytes to receive. (00: 256 bytes; 01 to FF: 1 to 255 bytes)  
When bits 12 to 15 of DM 6648 set to 1:  
Sets the end code. (00 to FF)  
Peripheral Port Communications Settings  
The following settings are effective after transfer to the PC.  
If CPU Board Communications Switch SW202 is ON, communications through the peripheral port are governed by the  
default settings (all 0) regardless of the settings in DM 6650 through DM 6654. Communications through the peripheral  
port are governed by the Programming Console protocol if Communications Switch SW201 is OFF.  
DM 6650  
00 to 03 Port settings  
00: Standard (1 start bit, 7 data bits, even parity, 2 stop bits, 9,600 bps, Host Link unit number: 0)  
01: Settings in DM 6651  
(Any other setting specifies standard settings, causes a non-fatal error, and turns ON AR 1302.)  
04 to 11 Not used.  
12 to 15 Communications mode  
0: Host Link or peripheral bus; 1: No-protocol  
(Any other setting specifies Host Link, causes a non-fatal error, and turns ON AR 1302.)  
00 to 07 Baud rate  
00: 1,200 bps; 01: 2,400 bps; 02: 4,800 bps; 03: 9,600 bps; 04: 19,200 bps  
08 to 15 Frame format  
Start bits  
1 bit  
DM 6651  
Data bits  
7 bits  
7 bits  
7 bits  
7 bits  
7 bits  
7 bits  
8 bits  
8 bits  
8 bits  
8 bits  
8 bits  
8 bits  
Stop bits  
1 bit  
Parity  
Even  
Odd  
00:  
01:  
02:  
03:  
04:  
05:  
06:  
07:  
08:  
09:  
10:  
11:  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
1 bit  
2 bits  
2 bits  
2 bits  
1 bit  
1 bit  
1 bit  
2 bits  
2 bits  
2 bits  
None  
Even  
Odd  
None  
Even  
Odd  
None  
Even  
Odd  
None  
(Any other setting specifies standard settings (1 start bit, 7 data bits; even parity, 2 stop bits),  
causes a non-fatal error, and turns ON AR 1302.)  
68  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Error Log  
Section 4-6  
Word(s)  
Bit(s)  
00 to 15 Transmission delay (0000 to 9999 BCD sets a delay of 0 to 99,990 ms.)  
(Any other setting specifies a delay of 0 ms, causes a non-fatal error, and turns ON AR 1302.)  
00 to 07 Node number (Host Link)  
Function  
DM 6652  
DM 6653  
00 to 31 (BCD)  
(Any other setting specifies a node number of 00, causes a non-fatal error, and turns ON AR  
1302.)  
08 to 11 Start code selection for no-protocol communications  
0: Disables start code; 1: Enables start code in DM 6654  
(Any other setting disables the start code, causes a non-fatal error, and turns ON AR 1302.)  
12 to 15 End code selection for no-protocol communications  
0: Disables end code; 1: Enables end code in DM 6654; 2: Sets end code of CR, LF.  
(Any other setting disables the end code, causes a non-fatal error, and turns ON AR 1302.)  
00 to 07 Start code (00 to FF)  
DM 6654  
(This setting is valid only when bits 8 to 11 of DM 6653 are set to 1.)  
08 to 15 When bits 12 to 15 of DM 6653 set to 0:  
Sets the number of bytes to receive. (00: 256 bytes; 01 to FF: 1 to 255 bytes)  
When bits 12 to 15 of DM 6653 set to 1:  
Sets the end code. (00 to FF)  
Error Log Settings (DM 6655)  
The following settings are effective after transfer to the PC.  
DM 6655  
00 to 03 Style  
0: Shift after 7 records have been stored  
1: Store only first 7 records (no shifting)  
2 to F: Do not store records  
04 to 07 Not used.  
08 to 11 Cycle time monitor enable  
0: Generate a non-fatal error for a cycle time that is too long.  
1: Do not generate a non-fatal error.  
12 to 15 Low battery error enable  
0: Generate a non-fatal error for low battery voltage.  
1: Do not generate a non-fatal error.  
Low battery error detection is disabled (i.e., set to 1) by default in CPU Boards that do not have a  
clock. If the PC Setup is cleared, the setting will changed to 0 and a low battery error will occur.  
4-6 Error Log  
The error log function registers the error code of any fatal or non-fatal error that  
occurs in the PC. The date and time at which the error occurred are registered  
along with the error code. The error code is also stored in AR 253.  
The error log is stored in DM 2000 through DM 2021. Up to 7 error records can be  
stored.  
Error log pointer  
Indicates the number of records stored in the log (0 to 7). A 0 indi-  
cates no records.  
DM 2000  
DM 2021  
DM 2022  
DM 2023  
Error log record 1  
(3 words used.)  
Each error log record is configured as follows:  
15  
8 7  
0
Leading word  
Error classification  
Error code  
Sec  
to  
Leading word + 1  
Leading word + 2  
Min  
Each stored in  
2 digits BCD.  
Day  
Hour  
Error classification: 00: Non-fatal  
80: Fatal  
DM 2019  
DM 2020  
DM 2021  
Error log record 7  
(3 words used.)  
Note 1. An error record with an error code of 00 will be stored in the error log for pow-  
er interruptions. Refer to 7-3 Self-diagnostic Functions for tables listing error  
codes.  
69  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Error Log  
Section 4-6  
2. In CPU Boards without a clock, the time that the error occurred will be set to  
all zeroes.  
Error Log Storage Methods  
The error log storage method is set in the PC Setup (bits 00 to 03 of DM 6655).  
Set any of the following methods.  
1, 2, 3...  
1. DM 6655 bits 00 to 03 set to 0:  
Stores the most recent 7 error log records and discard older records. This is  
achieved by shifting the records as shown below so that the oldest record  
(record 0) is lost whenever a new record is generated.  
Lost  
Error log record 1  
Error log record 2  
All records shifted  
Error log record 6  
Error log record 7  
New record added  
2. DM 6655 bits 00 to 03 set to 1:  
Stores only the first 7 error log records, and ignores any subsequent errors  
beyond those 7.  
3. DM 6655 bits 00 to 03 set to any value other than 0 or 1:  
Disables the log so that no records are stored.  
The default setting is the first method. Refer to the preceding page for details on  
the error log settings in DM 6655.  
Clearing the Error Log  
To clear the entire error log, turn ON SR 25214 from a Programming Device. (Af-  
ter the error log has been cleared, SR 25214 will turn OFF again automatically.)  
70  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 5  
Instruction Set  
The CPM2B PCs have large a programming instruction set that allows for easy programming of complicated control pro-  
cesses. This section provides a brief summary of the instruction set.  
5-1 CPM2B Function Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-2 Alphabetic List by Mnemonic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
5-3 Expansion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
72  
73  
76  
71  
Download from Www.Somanuals.com. All Manuals Search And Download.  
CPM2B Function Codes  
Section 5-1  
5-1 CPM2B Function Codes  
The following table lists the CPM2B instructions that have fixed function codes.  
Each instruction is listed by mnemonic and by instruction name. Use the num-  
bers in the leftmost column as the left digit and the number in the column heading  
as the right digit of the function code.  
Left  
Right digit  
digit  
0
1
2
3
4
5
6
7
8
9
NOP  
NO  
OPERATION  
END  
END  
IL  
ILC  
INTERLOCK  
CLEAR  
JMP  
JUMP  
JME  
JUMP END  
(@) FAL  
FALS  
STEP  
STEP  
DEFINE  
SNXT  
STEP START  
0
1
INTERLOCK  
FAILURE  
ALARM AND  
RESET  
SEVERE  
FAILURE  
ALARM  
SFT  
SHIFT  
REGISTER  
KEEP  
KEEP  
CNTR  
REVERS-  
IBLE  
DIFU  
DIFFER-  
ENTIATE UP  
DIFD  
TIMH  
(@) WSFT  
WORD  
SHIFT  
(@) ASFT  
---  
---  
DIFFER-  
ENTIATE  
DOWN  
HIGH-  
SPEED  
TIMER  
ASYNCHRO-  
NOUS SHIFT  
REGISTER  
COUNTER  
CMP  
COMPARE  
(@) MOV  
MOVE  
(@) MVN  
MOVE NOT  
(@) BIN  
BCD TO  
BINARY  
(@) BCD  
BINARY TO  
BCD  
(@) ASL  
SHIFT LEFT  
(@) ASR  
SHIFT  
RIGHT  
(@) ROL  
ROTATE  
LEFT  
(@) ROR  
ROTATE  
RIGHT  
(@) COM  
COMPLE-  
MENT  
2
3
4
5
(@) ADD  
BCD ADD  
(@) SUB  
BCD  
SUBTRACT  
(@) MUL  
BCD  
MULTIPLY  
(@) DIV  
BCD  
DIVIDE  
(@) ANDW  
LOGICAL  
AND  
(@) ORW  
LOGICAL OR EXCLUSIVE  
OR  
(@) XORW  
(@) XNRW  
EXCLUSIVE  
NOR  
(@) INC  
INCREMENT  
(@) DEC  
DECRE-  
MENT  
(@) STC  
SET CARRY  
(@) CLC  
CLEAR  
CARRY  
---  
---  
---  
---  
(@) MSG  
MESSAGE  
DISPLAY  
(@) RXD  
RECEIVE  
(@) TXD  
TRANSMIT  
---  
(@) ADB  
BINARY ADD  
(@) SBB  
BINARY  
SUBTRACT  
(@) MLB  
BINARY  
MULTIPLY  
(@) DVB  
BINARY  
DIVIDE  
(@) ADDL  
DOUBLE  
BCD ADD  
(@) SUBL  
DOUBLE  
BCD  
(@) MULL  
DOUBLE  
BCD  
(@) DIVL  
DOUBLE  
BCD  
(@) BINL  
DOUBLE  
BCD-TO-  
DOUBLE  
BINARY  
(@) BCDL  
DOUBLE  
BINARY-TO-  
DOUBLE  
BCD  
SUBTRACT  
MULTIPLY  
DIVIDE  
CMPL  
DOUBLE  
COMPARE  
(@) INI  
MODE CON-  
TROL  
(@) PRV  
HIGH-  
SPEED  
COUNTER  
PV READ  
(@) CTBL  
COMPARI-  
SON TABLE  
LOAD  
(@) SPED  
(@) PULS  
(@) SCL  
(@) BCNT  
BIT COUNT-  
ER  
(@) BCMP  
BLOCK  
COMPARE  
(@) STIM  
INTERVAL  
TIMER  
6
SPEED OUT- SET PULSES SCALING  
PUT  
(@) XFER  
BLOCK  
TRANSFER  
(@) BSET  
BLOCK SET  
---  
(@) XCHG  
DATA  
EXCHANGE  
(@) SLD  
ONE DIGIT  
SHIFT LEFT  
(@) SRD  
ONE DIGIT  
SHIFT  
(@) MLPX  
4-TO-16  
DECODER  
(@) DMPX  
16-TO-4  
ENCODER  
(@) SDEC  
7-SEGMENT  
DECODER  
---  
7
8
9
RIGHT  
(@) DIST  
SINGLE  
WORD  
(@) COLL  
DATA  
COLLECT  
(@) MOVB  
MOVE BIT  
(@) MOVD  
MOVE DIGIT  
(@) SFTR  
REVERS-  
IBLE SHIFT  
REGISTER  
(@) TCMP  
TABLE  
COMPARE  
(@) ASC  
ASCII  
CONVERT  
---  
---  
(@) INT  
INTERRUPT  
CONTROL  
DISTRIBUTE  
---  
(@) SBS  
SUBROU-  
TINE  
SBN  
SUBROU-  
TINE  
RET  
SUBROU-  
TINE  
---  
---  
---  
(@) IORF  
I/O  
REFRESH  
---  
(@) MCRO  
MACRO  
ENTRY  
DEFINE  
RETURN  
Note 1. The shaded areas are function codes to which expansion instructions are  
allocated by default or to which the user can allocate expansion instructions.  
Refer to 5-3 Expansion Instructions for more details.  
2. Instruction execution times are the same as those for the CPM2A and  
CPM2C. Refer to the Programming Manual (W353) for details.  
72  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Alphabetic List by Mnemonic  
Section 5-2  
5-2 Alphabetic List by Mnemonic  
Dashes (“––”) in the Code column indicate expansion instructions, which do not  
have fixed function codes. Noneindicates instructions for which function  
codes are not used.  
Mnemonic  
ACC (@)  
ADB (@)  
ADD (@)  
Code  
Words  
Name  
ACCELERATION CONTROL  
BINARY ADD  
––  
50  
30  
4
4
4
4
1
1
1
4
4
4
2
2
4
3
3
4
4
3
3
4
1
3
4
2
3
4
2
4
2
2
2
4
4
4
4
4
1
2
2
4
4
4
1
1
BCD ADD  
ADDL (@) 54  
DOUBLE BCD ADD  
AND  
AND  
None  
None  
None  
AND LD  
AND NOT  
AND LOAD  
AND NOT  
ANDW (@) 34  
LOGICAL AND  
ASC (@)  
ASFT(@)  
ASL (@)  
ASR (@)  
AVG  
86  
17  
25  
26  
––  
24  
ASCII CONVERT  
ASYNCHRONOUS SHIFT REGISTER  
ARITHMETIC SHIFT LEFT  
ARITHMETIC SHIFT RIGHT  
AVERAGE VALUE  
BINARY TO BCD  
BCD (@)  
BCDL (@) 59  
BCMP (@) 68  
BCNT (@) 67  
DOUBLE BINARY-TO-DOUBLE BCD  
BLOCK COMPARE  
BIT COUNTER  
BIN (@)  
23  
58  
BCD-TO-BINARY  
BINL (@)  
DOUBLE BCD-TO-DOUBLE BINARY  
BLOCK SET  
BSET (@) 71  
CLC (@)  
CMP  
41  
CLEAR CARRY  
20  
COMPARE  
CMPL  
CNT  
60  
DOUBLE COMPARE  
COUNTER  
None  
12  
CNTR  
REVERSIBLE COUNTER  
DATA COLLECT  
COLL (@) 81  
COM (@)  
CTBL(@)  
DEC (@)  
DIFD  
29  
63  
39  
14  
13  
80  
33  
57  
COMPLEMENT  
COMPARISON TABLE LOAD  
BCD DECREMENT  
DIFFERENTIATE DOWN  
DIFFERENTIATE UP  
SINGLE WORD DISTRIBUTE  
BCD DIVIDE  
DIFU  
DIST (@)  
DIV (@)  
DIVL (@)  
DOUBLE BCD DIVIDE  
16-TO-4 ENCODER  
BINARY DIVIDE  
DMPX (@) 77  
DVB (@)  
END  
53  
01  
06  
07  
––  
––  
––  
02  
03  
END  
FAL (@)  
FALS  
FAILURE ALARM AND RESET  
SEVERE FAILURE ALARM  
FCS CALCULATE  
FCS (@)  
HEX (@)  
HMS  
ASCII-TO-HEXADECIMAL  
SECONDS TO HOURS  
INTERLOCK  
IL  
ILC  
INTERLOCK CLEAR  
73  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Alphabetic List by Mnemonic  
Section 5-2  
Mnemonic  
INC (@)  
INI (@)  
INT (@)  
IORF (@)  
JME  
Code  
Words  
Name  
38  
61  
89  
97  
05  
04  
11  
2
4
4
3
2
2
2
1
1
4
4
4
4
4
3
4
4
2
4
4
3
4
1
1
1
1
4
2
2
4
4
4
4
1
2
2
2
4
4
2
2
4
4
4
4
4
2
3
4
INCREMENT  
MODE CONTROL  
INTERRUPT CONTROL  
I/O REFRESH  
JUMP END  
JMP  
JUMP  
KEEP  
KEEP  
LD  
None  
None  
––  
LOAD  
LD NOT  
MAX (@)  
LOAD NOT  
FIND MAXIMUM  
MACRO  
MCRO (@) 99  
MIN (@)  
MLB (@)  
––  
FIND MINIMUM  
BINARY MULTIPLY  
4-TO-16 DECODER  
MOVE  
52  
MLPX (@) 76  
MOV (@) 21  
MOVB (@) 82  
MOVD (@) 83  
MOVE BIT  
MOVE DIGIT  
MESSAGE  
MSG (@)  
MUL (@)  
46  
32  
BCD MULTIPLY  
DOUBLE BCD MULTIPLY  
MOVE NOT  
2S COMPLEMENT  
NO OPERATION  
OR  
MULL (@) 56  
MVN (@)  
NEG (@)  
NOP  
22  
––  
00  
OR  
None  
None  
None  
35  
OR LD  
OR NOT  
ORW (@)  
OUT  
OR LOAD  
OR NOT  
LOGICAL OR  
OUTPUT  
None  
None  
––  
OUT NOT  
PID  
OUTPUT NOT  
PID CONTROL  
PRV (@)  
62  
HIGH-SPEED COUNTER PV READ  
SET PULSES  
PULS (@) 65  
PWM (@)  
RET  
––  
93  
27  
28  
None  
47  
51  
92  
91  
66  
––  
––  
PULSE WITH VARIABLE DUTY RATIO  
SUBROUTINE RETURN  
ROTATE LEFT  
ROL (@)  
ROR (@)  
RSET  
ROTATE RIGHT  
RESET  
RXD (@)  
SBB (@)  
SBN  
RECEIVE  
BINARY SUBTRACT  
SUBROUTINE DEFINE  
SUBROUTINE ENTRY  
SCALING  
SBS (@)  
SCL (@)  
SCL2 (@)  
SCL3 (@)  
SIGNED BINARY TO BCD SCALING  
BCD TO SIGNED BINARY SCALING  
7-SEGMENT DECODER  
HOURS TO SECONDS  
SET  
SDEC (@) 78  
SEC  
SET  
SFT  
––  
None  
10  
SHIFT REGISTER  
SFTR (@) 84  
REVERSIBLE SHIFT REGISTER  
74  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Alphabetic List by Mnemonic  
Section 5-2  
Mnemonic  
SLD (@)  
SNXT  
Code  
Words  
Name  
ONE DIGIT SHIFT LEFT  
STEP START  
74  
09  
3
2
4
4
3
1
2
4
3
4
4
4
4
4
2
3
4
4
4
3
3
4
4
4
4
4
SPED (@) 64  
SPEED OUTPUT  
DATA SEARCH  
SRCH (@) ––  
SRD (@)  
STC (@)  
STEP  
75  
40  
08  
69  
––  
31  
ONE DIGIT SHIFT RIGHT  
SET CARRY  
STEP DEFINE  
STIM (@)  
STUP  
INTERVAL TIMER  
CHANGE RS-232C SETUP  
BCD SUBTRACT  
DOUBLE BCD SUBTRACT  
SUM  
SUB (@)  
SUBL (@) 55  
SUM (@) ––  
SYNC (@) ––  
SYNCHRONIZED PULSE CONTROL  
TABLE COMPARE  
TCMP (@) 85  
TIM  
None  
TIMER  
TIMH  
TIML  
15  
––  
––  
48  
HIGH-SPEED TIMER  
LONG TIMER  
TMHH  
TXD (@)  
VERY HIGH-SPEED TIMER  
TRANSMIT  
WSFT (@) 16  
XCHG (@) 73  
XFER (@) 70  
XNRW (@) 37  
XORW (@) 36  
WORD SHIFT  
DATA EXCHANGE  
BLOCK TRANSFER  
EXCLUSIVE NOR  
EXCLUSIVE OR  
ZCP  
––  
––  
AREA RANGE COMPARE  
DOUBLE AREA RANGE COMPARE  
ZCPL  
75  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Expansion Instructions  
Section 5-3  
5-3 Expansion Instructions  
A set of expansion instructions is provided to aid in special programming needs.  
Function codes can be assigned to up to 18 of the expansion instructions to en-  
able using them in programs. This allows the user to pick the instructions needed  
by each program to more effectively use the function codes required to input  
instructions.  
The mnemonics of expansion instructions are followed by (––)as the function  
code to indicate that they must be assigned function codes by the user in the  
instructions table before they can be used in programming (unless they are used  
under their default settings).  
Refer to the 6-2-5 Assigning Expansion Instruction Function Codes for a de-  
scription of the Programming Console operations used to change expansion in-  
struction allocations.  
Refer to the SYSMAC Support Software Operation Manuals: C-series PCs  
(W248), the SYSMAC-CPT Support Software User Manual (W333), or the  
WS02-CXPC1-E CX-Programmer User Manual (W361) for a description of the  
corresponding Support Software operations.  
Function Codes for  
Expansion Instructions  
The following 18 function codes can be used for expansion instructions:  
17, 18, 19, 47, 48, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 87, 88, and 89  
The 35 expansion instructions that can be used are listed below, along with the  
default function codes that are assigned when the CPM2B is shipped.  
Mnemonic  
ASFT (@)  
(open)  
Code  
Mnemonic  
BCMP (@)  
STIM (@)  
(open)  
Code  
Mnemonic  
PID  
Code  
17  
18  
19  
47  
48  
60  
61  
62  
63  
64  
65  
66  
67  
68  
69  
87  
88  
89  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
---  
PWM (@)  
SCL2 (@)  
SCL3 (@)  
SEC (@)  
SRCH (@)  
STUP (@)  
SUM (@)  
SYNC (@)  
TIML  
(open)  
RXD (@)  
TXD (@)  
CMPL  
(open)  
INT (@)  
ACC (@)  
AVG  
INI (@)  
PRV (@)  
CTBL (@)  
SPED (@)  
PULS (@)  
SCL (@)  
BCNT (@)  
FCS (@)  
HEX (@)  
HMS (@)  
MAX (@)  
MIN (@)  
NEG (@)  
TMHH  
ZCP  
ZCPL  
76  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 6  
Using Programming Devices  
This section outlines the operations possible with the Programming Consoles.  
6-1 Using a Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-1 Compatible Programming Consoles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-2 Changing the CPM2Bs Mode with the Mode Switch . . . . . . . . . . . . . . . . . . . . .  
6-1-3 Connecting the Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-4 Preparation for Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-1-5 Entering the Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2 Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-2 Clearing Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-3 Reading/Clearing Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-4 Buzzer Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-5 Assigning Expansion Instruction Function Codes . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-6 Setting and Reading a Program Memory Address and Monitoring I/O Bit Status  
6-2-7 Entering or Editing Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-8 Instruction Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-9 Bit Operand Search . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-10 Inserting and Deleting Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-11 Checking the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-12 Bit, Digit, Word Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-13 Differentiation Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-14 Binary Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-15 Three-Word Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-16 Signed Decimal Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-17 Unsigned Decimal Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-18 Three-Word Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-19 Changing Timer, Counter SV . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-20 Hexadecimal, BCD Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-21 Binary Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-22 Signed Decimal Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-23 Unsigned Decimal Data Modification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-24 Force Set, Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-25 Clear Force Set/Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-26 Hex-ASCII Display Change . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-27 Displaying the Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-2-28 Reading and Setting the Clock . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-3 Programming Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-3-1 Preparatory Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-3-2 Example Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-3-3 Programming Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-3-4 Checking the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
6-3-5 Test Run in MONITOR Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
78  
78  
80  
81  
82  
83  
84  
84  
85  
86  
86  
87  
88  
88  
91  
92  
93  
94  
94  
96  
97  
98  
98  
99  
99  
100  
101  
101  
102  
103  
104  
104  
105  
105  
106  
106  
106  
108  
109  
111  
112  
77  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Using a Programming Console  
Section 6-1  
6-1 Using a Programming Console  
This section provides information on connecting and using a Programming Con-  
sole.  
6-1-1 Compatible Programming Consoles  
There are two Programming Consoles that can be used with the CPM2B: The  
CQM1-PRO01-E and the C200H-PRO27-E. The key functions for these Pro-  
gramming Consoles are identical.  
Press and hold the Shift Key to input a letter shown in the upper-left corner of the  
key or the upper function of a key that has two functions. For example, the  
CQM1-PRO01-Es AR/HR Key can specify either the AR or HR Area; press and  
release the Shift Key and then press the AR/HR Key to specify the AR Area.  
CQM1-PRO01-E  
LCD display  
Attached Connecting  
Cable (2 m)  
Mode switch  
Operation keys  
C200H-PRO27-E  
LCD display  
Mode switch  
Operation keys  
Cassette recorded jack  
(Cannot be used with the CPM2B).  
Connecting Cables  
C200H-CN222 (2 m)  
C200H-CN422 (4 m)  
78  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Using a Programming Console  
Section 6-1  
Different Keys  
The following keys are labeled differently on the CQM1-PRO01-E and the  
C200H-PRO27-E, but the operation of the keys in each pair is identical.  
CQM1-PRO01-E Keys  
C200H-PRO27-E Keys  
AR  
HR  
HR  
PLAY  
SET  
SET  
REC  
RESET  
RESET  
Note To specify the AR area, use SHIFT and HR Keys for the C200H-PRO27-E and  
use SHIFT and AR/HR Keys for the CQM1-PRO01-E.  
A shift symbol will be displayed in the upper-right corner of the screen when the  
Shift Key is pressed. The shift input can be cleared by pressing the Shift Key  
again.  
Shift input  
symbol  
^
SHIFT  
Mode Switch  
The mode switch controls the CPM2Bs operating mode. The key can be re-  
moved when the switch is set to RUN or MONITOR but it cannot be removed  
when the switch is set to PROGRAM.  
Contrast Control  
The display contrast can be adjusted with the control on the right side of the Pro-  
gramming Console.  
Contrast control  
Buzzer Volume  
The C200H-PRO27-Es buzzer volume can be adjusted with the lever on the  
right side of the Programming Console. The CQM1-PRO01-Es buzzer volume  
cannot be adjusted.  
Low volume  
High volume  
C200H-PRO27-E  
Note The buzzer volume can be turned on and off with a key operation. See 6-2-4  
Buzzer Operation for details.  
79  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Using a Programming Console  
Section 6-1  
6-1-2 Changing the CPM2B’s Mode with the Mode Switch  
Once the Programming Console has been connected, its mode switch can be  
used to change the CPM2Bs operating mode. The mode display (<PRO-  
GRAM>, <MONITOR>, or <RUN>) will appear on the Programming Console  
screen.  
No key operations can be performed while the mode display is displayed on  
the Programming Console screen. Press CLR to clear the display so that key  
operations can be performed.  
If the SHIFT Key is pressed while the mode switch is turned, the original dis-  
play will remain on the Programming Consoles screen and the mode display  
wont appear.  
The CPM2B will enter RUN mode automatically if a Programming Console  
isnt connected when the CPM2B is turned on.  
MONITOR  
RUN PROGRAM  
MONITOR  
RUN PROGRAM  
MONITOR  
RUN PROGRAM  
Mode display  
<PROGRAM>  
BZ <MONITOR>  
BZ <RUN>  
BZ  
CLR  
SHIFT  
CLR  
Operation  
Operation  
00000  
Initial display  
Operating Modes  
PROGRAM Mode  
The CPM2B program isnt executed in PROGRAM mode. Use PROGRAM  
mode to create and edit the program, clear memory, or check the program for  
errors, or check output wiring.  
MONITOR Mode  
The CPM2B program is executed in MONITOR mode and I/O is processed just  
as it is in RUN mode. Use MONITOR mode to test system operations, such as  
monitoring CPM2B operating status, force-setting and resetting I/O bits, chang-  
ing the SV/PV of timers and counters, changing word data, and online editing.  
RUN Mode  
This is the CPM2Bs normal operating mode. The CPM2Bs operating status can  
be monitored from a Programming Device, but bits cant be force-set/force-reset  
and the SV/PV of timers and counters cant be changed.  
Caution Check the system thoroughly before changing the operating mode of the PC to  
!
!
prevent any accidents that might occur when the program is first started.  
Caution Never change the mode while pressing any of the keys.  
80  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Using a Programming Console  
Section 6-1  
Startup Operating Mode  
The operating mode of the CPM2B when the power is turned ON depends upon  
the PC Setup setting in DM 6600 and the Programming Consoles mode switch  
setting if the Programming Console is connected.  
PC Setup setting  
(DM 6600)  
Programming  
Console connected  
Programming Console not  
connected  
00xx  
The startup mode  
determined by the  
mode switch setting.  
RUN mode if no Programming Device  
is connected. PROGRAM mode if  
another Programming Device is  
connected.  
01xx  
The startup mode is the same as the operating mode before  
power was interrupted.  
0200  
0201  
0202  
PROGRAM mode  
MONITOR mode  
RUN mode  
Note The default setting is 00xx. With this default setting, the PC will automatically  
enter RUN mode if a Programming Console is not connected and SW201 is ON.  
Be sure that it is safe for the PC to operate before turning it ON under these  
conditions.  
6-1-3 Connecting the Programming Console  
Connect the Programming Consoles connecting cable to the CPM2Bs periph-  
eral port, as shown below.  
CS1W-CN114  
Connecting Cable  
(0.05 m)  
SW201  
(See note 1.)  
Peripheral port  
Attached  
cable (2 m)  
Peripheral port  
connector  
CQM1-PRO01-E  
CPM2C-CN111  
Connecting Cable  
(0.1 m) (See note 2.)  
C200H-CN222 (2 m) or  
C200H-CN422 (4 m)  
Connecting Cable  
CPM2B CPU Board  
CS1W-CN224 (2 m) or  
CS1W-CN624 (4 m)  
Connecting Cable  
C200H-PRO27-E  
Note 1. Always turn OFF SW 201 before connecting the Programming Console.  
2. Only the peripheral port connector can be used when a CPM2C-CN111  
Connecting Cable is connected.  
81  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Using a Programming Console  
Section 6-1  
Panel Installation  
The C200H-PRO27-E Programming Console can be installed in a control panel  
as shown in the following diagram. (The C200H-ATT01 Mounting Bracket is sold  
separately.)  
Mounting hole dimensions  
(DIN43700 standards)  
Mounting Bracket  
Two screws  
+1.1  
0  
186  
+0.8  
0  
92  
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.  
Either connector may  
be used.  
About 70 mm is required.  
6-1-4 Preparation for Operation  
This section describes the procedures required to begin Programming Console  
operation when using the Programming Console for the first time.  
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.  
!
The following sequence of operations must be performed before beginning ini-  
tial program input.  
1, 2, 3...  
1. Be sure that the PC is OFF.  
2. Connect the Programming Console to the CPU Boards peripheral port. See  
6-1-3 Connecting the Programming Console for details.  
(The CPU Boards Communications Switch setting has no effect on commu-  
nications with the Programming Console.)  
3. Set the mode switch to PROGRAM mode.  
4. Turn ON the PC.  
5. Enter the password. See 6-1-5 Entering the Password for details.  
6. Clear (All Clear) the PCs memory. See 6-2-2 Clearing Memory for details.  
7. Read and clear all errors and messages. See 6-2-3 Reading/Clearing Error  
Messages for details.  
82  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Using a Programming Console  
Section 6-1  
8. Start programming.  
6-1-5 Entering the Password  
To gain access to the PCs programming functions, you must first enter the pass-  
word. The password prevents unauthorized access to the program.  
The PC prompts you for a password when PC power is turned on or, if PC power  
is already on, after the Programming Console has been connected to the PC. To  
gain access to the system when the Password!message appears, press CLR  
and then MONTR. Then press CLR to clear the display.  
If the Programming Console is connected to the PC when PC power is already  
on, the first display below will indicate the mode the PC was in before the Pro-  
gramming Console was connected. Ensure that the PC is in PROGRAM mode  
before you enter the password. When the password is entered, the PC will  
shift to the mode set on the mode switch, causing PC operation to begin if the  
mode is set to RUN or MONITOR. The mode can be changed to RUN or MON-  
ITOR with the mode switch after entering the password.  
<PROGRAM>  
PASSWORD!  
<PROGRAM>  
BZ  
Indicates the mode set by the mode selector switch.  
83  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
6-2 Programming Console Operations  
6-2-1 Overview  
The following table lists the programming and monitoring operations that can be  
performed from a Programming Console. Refer to the rest of this section for  
details on operational procedures.  
Name  
Function  
Page  
85  
Clearing memory  
Clears all or part of the Program Memory and any data areas that are not  
read-only, as well as the contents of the Programming Consoles memory.  
Reading/clearing error  
messages  
Displays and clears error messages and displays MESSAGE instruction  
messages.  
86  
Buzzer operation  
Turns on and off the buzzer that sounds when Programming Console keys 86  
are pressed.  
Assigning expansion  
instruction function codes  
Reads or changes the function codes assigned to expansion instructions  
87  
88  
88  
Setting a program memory  
address  
Sets the specified program memory address when reading, writing,  
inserting and deleting programs.  
Reading a program memory  
address  
Reads the contents of the Program Memory. Displays the status of the  
currently displayed bit in PROGRAM and MONITOR modes.  
Instruction search  
Bit operand search  
Finds occurrences of the specified instruction in the program.  
Finds occurrences of the specified operand bit in the program.  
Inserts or deletes instructions from the program.  
91  
92  
93  
Inserting and deleting  
instructions  
Entering or editing programs Overwrites the contents of the current Program Memory to either input a  
88  
94  
94  
program for the first time or to change a program that already exists.  
Checking the program  
Bit, digit, word monitor  
Checks for programming errors and displays the program address and  
error when errors are found.  
Monitors the status of up to 16 bits and words, although only 3 can be  
shown on the display at one time.  
Multiple address monitor  
Differentiation monitor  
Binary monitor  
Monitors the status of up to 6 bits and words simultaneously.  
Monitors the up or down differentiation status of a particular bit.  
Monitors the ON/OFF status of any words 16 bits.  
96  
96  
97  
98  
98  
Three-word monitor  
Signed decimal monitor  
Monitors the status of three consecutive words.  
Converts the contents of the specified word from signed hexadecimal  
(twos complement format) to signed decimal for display.  
Unsigned decimal monitor  
3-word data modification  
Converts hexadecimal data in a word to unsigned decimal for display.  
99  
99  
Changes the contents of one or more of the 3 consecutive words  
displayed in the 3-Word Monitor operation.  
Changing timer, counter SV 1 Changes the SV of a timer or counter.  
100  
100  
101  
Changing timer, counter SV 2 Makes fine adjustment changes to the SV of the timer or counter.  
Hexadecimal, BCD data  
modification  
Changes the BCD or hexadecimal value of a word being monitored.  
Binary data modification  
Changes the status of a words bits when the word is being monitored.  
101  
102  
Signed decimal data  
modification  
Changes the decimal value of a word being monitored as signed decimal  
data, within a range of 32,768 to 32,767. The contents of the specified  
word are converted automatically to signed hexadecimal (twos  
complement format.)  
Unsigned decimal data  
modification  
Changes the decimal value of a word being monitored as unsigned  
decimal data, within a range of 0 to 65,535. A change into hexadecimal  
data is made automatically.  
103  
Force set/reset  
Forces bits ON (force set) or OFF (force reset.)  
104  
104  
105  
Clear force set/reset  
Hex-ASCII display change  
Restores the status of all bits which have been force set of reset.  
Converts word data displays back and forth between 4-digit hexadecimal  
data and ASCII.  
84  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
Name  
Function  
Displays the current average cycle time (scan time.)  
Page  
105  
Displaying the cycle time  
Reading and setting the clock Reads or sets the internal clock.  
106  
6-2-2 Clearing Memory  
This operation is used to clear all or part of the Program Memory and data areas,  
as well as the contents of the Programming Consoles memory. This operation is  
possible in PROGRAM mode only.  
RUN  
MONITOR  
PROGRAM  
No  
No  
OK  
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, including the pro-  
gram, all data areas, counter PVs, Data Memory, and the PC Setup (DM 6600 to  
DM 6655).  
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?  
NOT  
SET  
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. (Counter PVs will not be cleared.)  
00000MEMORY CLR?  
CNT  
HR  
DM  
4. Press 123 to specify 123 as the starting program address.  
00123MEMORY CLR?  
B 1  
C2  
D3  
HR  
DM  
85  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
5. Press the MONTR Key to clear the specified regions of memory.  
00000MEMORY CLR  
MONTR  
END HR  
DM  
6-2-3 Reading/Clearing Error Messages  
This operation is used to display and clear error messages. It is possible to dis-  
play and clear non-fatal errors and MESSAGE instruction messages in any  
mode, but fatal errors can be cleared in PROGRAM mode only.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
Before inputting a new program, any error messages recorded in memory  
should be cleared. It is assumed here that the causes of any of the errors for  
which error messages appear have already been taken care of. If the buzzer  
sounds when an attempt is made to clear an error message, eliminate the  
cause of the error, and then clear the error message. (Refer to Section 7 Test  
Runs and Error Processing for troubleshooting information.)  
Key Sequence  
Follow the procedure below to display and clear messages.  
1. Press the CLR Key to bring up the initial display.  
1, 2, 3...  
2. Press the FUN and then the MONTR Key to begin the operation. If there are  
no messages, the following display will appear:  
ERR/MSG CHK OK  
MONTR  
FUN  
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 (displayed with MSG(46)):  
MATERIAL USED UP  
MONTR  
All messages cleared:  
ERR/MSG CHK OK  
MONTR  
6-2-4 Buzzer Operation  
This operation is used to turn on and off the buzzer that sounds when Program-  
ming Console keys are pressed. This buzzer will also sound whenever an error  
occurs during PC operation. Buzzer operation for errors is not affected by this  
setting.  
This operation is possible in any mode.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
86  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
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  
CLR  
SHIFT  
CLR  
2. Press the SHIFT and then the 1 Key to turn off the buzzer.  
<MONITOR>  
B 1  
SHIFT  
The buzzer will not sound  
when BZis not displayed.  
3. Press the SHIFT and then the 1 Key again to turn the buzzer back ON.  
<MONITOR> BZ  
B 1  
SHIFT  
6-2-5 Assigning Expansion Instruction Function Codes  
This operation is used to display or change the expansion instructions assigned  
to expansion instruction function codes. The assignments can be displayed in  
any mode, but can be changed in PROGRAM mode only.  
Operation  
RUN  
MONITOR  
PROGRAM  
Read assignment  
OK  
OK  
No  
OK  
OK  
Change assignment No  
Assign expansion instruction function codes before inputting the program.  
The CPM2B will not operate properly if expansion instructions arent as-  
signed correctly. An expansion instruction can be assigned to one function  
code only.  
The PC Setup must be set for user-defined expansion instruction assign-  
ments. Set bits 8 to 11 of DM 6602 to 1 and turn the PCs power off and then  
on again to enable the new setting.  
There are tables in Section 5 Instruction Set showing the default function  
code assignments in the CPM2B.  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Press the EXT Key to display the assignment for the first function code (17).  
INST TBL READ  
EXT  
FUN017:ASFT  
3. Press the Up and Down Arrow Keys to scroll through the expansion instruc-  
tion function codes.  
INST TBL READ  
FUN018:FUN  
4. Press the CHG Key to assign a different expansion instruction to the selec-  
ted function code.  
INST TBL CHG?  
CHG  
FUN018:FUN ~????  
5. Press the Up and Down Arrow Keys to scroll through the expansion instruc-  
tions that can be assigned to the selected function code.  
INST TBL CHG?  
FUN018:FUN ~HEX  
87  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
6. Press the WRITE Key to assign the displayed instruction to the function  
code.  
INST TBL READ  
WRITE  
FUN018:HEX  
6-2-6 Setting and Reading a Program Memory Address and Monitoring  
I/O Bit Status  
This operation is used to display the specified program memory address and is  
possible in any mode. In the RUN or MONITOR mode, the I/O bit status of bits in  
the program will be displayed.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
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.  
00200  
C2  
A 0  
A 0  
3. Press the Down Arrow Key.  
00200READ  
LD  
OFF  
00000  
In the RUN or MONITOR  
mode, ON/OFF status of  
the bit will be displayed.  
Pressing the MONTR Key will change to the I/O monitor display. Bits can be  
force-set or force-reset from the I/O monitor display. Press the CLR Key to  
return to I/O bit status monitoring of the initial address.  
Note The ON/OFF status of any displayed bit will be shown if the PC is in  
RUN or MONITOR mode.  
4. Press the Up and Down Arrow Keys to scroll through the program.  
00201READ  
AND  
ON  
00001  
00200READ  
LD  
OFF  
00000  
6-2-7 Entering or Editing Programs  
This operation is used enter or edit programs. It is possible in PROGRAM mode  
only.  
RUN  
MONITOR  
PROGRAM  
No  
No  
OK  
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.  
88  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
The program shown in the following diagram will be entered to demonstrate  
this operation.  
00002  
Address Instruction  
Operands  
TIM 000  
#0123  
00200  
00201  
LD  
IR  
00002  
12.3 s  
TIM  
000  
#0123  
MOV(021)  
#0100  
00202  
00203  
MOV(021)  
ADB(050)  
#0100  
10  
LR 10  
LR  
ADB(050)  
#0100  
#0100  
#FFF6  
#FFF6  
DM 0000  
DM 0000  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Specify the address where the program will begin.  
3. Input the address where the program will begin and press the Down Arrow  
Key. It is not necessary to input leading zeroes.  
00200READ  
C2  
A 0  
A 0  
NOP (000)  
4. Input the first instruction and operand.  
00200  
LD  
C2  
LD  
00002  
5. Press the WRITE Key to write the instruction to Program Memory. The next  
program address will be displayed.  
00201READ  
WRITE  
NOP (000)  
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  
To specify the Completion Flag for a timer or counter, press the LD, AND,  
OR, or NOT Key followed by the TIM or CNT Key, and then input the timer/  
counter number last.  
6. Input the second instruction and operand. (In this case it isnt necessary to  
enter the timer number, because its 000.) Press the WRITE Key to write the  
instruction to Program Memory.  
00201 TIM DATA  
WRITE  
TIM  
Timer number  
#0000  
7. Input the second operand (123 to specify 12.3 seconds) and press the  
WRITE Key. The next program address will be displayed.  
00202READ  
B 1  
C2  
D3  
WRITE  
NOP (000)  
If a mistake was made inputting the operand, press the Up Arrow Key to  
return to display the mistaken operand and input the operand again.  
Note a) Counters are input in the same basic way as timers except the  
CNT Key is pressed instead of the TIM Key.  
b) Timer and counter SVs are input in BCD, so it isnt necessary to  
press the CONT/# Key.  
89  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
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).  
00202  
C2  
B 1  
FUN  
MOV (021)  
To input the differentiated version of an instruction, press the NOT Key after  
the function code (FUN 2 1 NOT). The @symbol will be displayed next to  
differentiated instructions. Press the NOT Key again to change back the  
instruction back to a non-differentiated instruction. The @symbol will dis-  
appear.  
To change an instruction after it has been entered, simply scroll through the  
program until the desired instruction is displayed and press the NOT Key.  
The @symbol should be displayed next to the instruction.  
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.  
The operands of MOV (21) are normally word addresses, but a constant can  
be input by pressing the CONT/# Key first. When the CONT/# Key is  
pressed, the display will change to #0000,indicating that a constant can be  
entered.  
00202 MOV DATA A  
#0100  
B 1  
A 0  
A 0  
CONT  
#
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  
Note The operands of MOV(21) can be word addresses, so the CONT/#  
Key must be pressed to input a constant.  
Writing a Word Address  
11. Input the second operand.  
00202 MOV DATA B  
LR 10  
B 1  
A 0  
*EM  
LR  
Press the WRITE Key to write the instruction to Program Memory. The next  
program address will be displayed.  
00203READ  
WRITE  
NOP (000)  
Note When the default display value is 000, a word address can be input  
immediately without pressing the Shift and CH/# Keys.  
12. Input the next instruction.  
00203  
F 5  
A 0  
FUN  
ADB (050)  
Press the WRITE Key to write the instruction to Program Memory.  
00203 ADB DATA A  
WRITE  
000  
90  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
Writing an Unsigned Decimal Number  
13. The first operand is input as an unsigned integer.  
00203 ADB DATA A  
#00000  
CONT  
#
SHIFT  
TR  
NOT  
Input the value of the operand from 0 to 65535.  
00203 ADB DATA A  
C2  
F 5  
6
#00256  
Note If an erroneous input is made, press the CLR Key to restore the status  
prior to the input. Then enter the correct input.  
14. Restore the hexadecimal display.  
00203 ADB DATA A  
SHIFT  
TR  
#0100  
Note If an input is made outside of the permissible range, a buzzer will  
sound and the hexadecimal display will not be displayed.  
00203 ADB DATA B  
WRITE  
000  
15. The second operand is input as a signed integer.  
00203 ADB DATA B  
CONT  
SHIFT  
TR  
#+00000  
#
Input the value of the operand from 32,768 to 32,767. Use the SET Key to  
input a positive number, and use the RESET Key to input a negative number.  
00203 ADB DATA B  
B 1  
A 0  
RESET  
#Ć00010  
Note If an erroneous input is made, press the CLR Key to restore the status  
prior to the input. Then enter the correct input.  
16. Restore the hexadecimal display.  
00203 ADB DATA B  
SHIFT  
TR  
#FFF6  
00203 ADB DATA C  
000  
WRITE  
Writing a Word Address (DM 0000)  
17. Input the final operand and then press the WRITE Key. (It isnt necessary to  
input leading zeroes.)  
00203 ADB DATA C  
EM  
DM  
DM 0000  
00204READ  
NOP (000)  
WRITE  
6-2-8 Instruction Search  
This operation is used to find occurrences of the specified instruction in the pro-  
gram and is possible in any mode.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
The ON/OFF status of any displayed bit will be shown if the PC is in RUN or  
MONITOR mode.  
91  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Input the address from which the search will begin and press the Down  
Arrow Key. It is not necessary to input leading zeroes.  
00100READ  
B 1  
A 0  
A 0  
TIM  
001  
3. Input the instruction to be found and press the SRCH Key. In this case, the  
search is for OUT 01000.  
In this case, the next OUT 01000 instruction is at address 200, as shown  
below.  
00200SRCH  
B 1  
A 0  
A 0  
A 0  
SRCH  
OUT  
OUT  
01000  
4. Press the Down Arrow Key to display the instructions operands or press the  
SRCH Key to search for the next occurrence of the instruction.  
5. The search will continue until an END instruction or the end of Program  
Memory is reached. In this case, an END instruction was reached at  
address 397.  
Indicates the address  
of END instruction.  
00397SRCH  
SRCH  
END (001)00.4KW  
Indicates the amount used by the user  
program in units of 0.1 Kwords.  
6-2-9 Bit Operand Search  
This operation is used to find occurrences of the specified operand bit in the pro-  
gram and is possible in any mode.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
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.  
2. Input the operand address. It is not necessary to input leading zeroes.  
00000CONT SRCH  
LD 00005  
F 5  
CONT  
#
SHIFT  
3. Press the SRCH Key to begin the search.  
00123CONT SRCH  
LD 00005  
SRCH  
4. Press the SRCH Key to search for the next occurrence of the operand bit.  
00255CONT SRCH  
SRCH  
AND NOT  
00005  
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.  
Indicates the address  
of END instruction.  
00397CONT SRCH  
SRCH  
END (001)00.4KW  
Indicates the amount used by the user  
program in units of 0.1 Kwords.  
92  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
6-2-10 Inserting and Deleting Instructions  
This operation is used to insert or delete instructions from the program. It is pos-  
sible in PROGRAM mode only.  
RUN  
MONITOR  
PROGRAM  
No  
No  
OK  
To demonstrate this operation, an IR 00105 NO condition will be inserted at  
program address 00206 and an IR 00103 NO condition deleted from address  
00205, as shown in the following diagram.  
Original Program  
Address Instruction  
Operands  
00104  
00100  
00201  
00101  
00103  
Delete  
01000  
00102  
00105  
00205  
00206  
00207  
00208  
AND  
00103  
Delete  
Insert  
AND NOT  
OUT  
00104  
01000  
-
Insert  
END(01)  
END(01)  
Insertion  
Follow the procedure below to insert the IR 00105 NO condition at address  
00206.  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Input the address where the NO condition will be inserted and press the  
Down Arrow Key. It is not necessary to input leading zeroes.  
00206READ  
C2  
A 0  
6
AND NOT  
00104  
3. Input the new instruction and press the INS Key.  
00206INSERT?  
AND 00105  
B 1  
A 0  
F 5  
AND  
INS  
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.  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Input the address where the NO condition will be deleted and press the  
Down Arrow Key. It is not necessary to input leading zeroes.  
00205READ  
C2  
A 0  
F 5  
AND  
00103  
3. Press the DEL Key.  
00205DELETE?  
AND 00103  
DEL  
4. Press the Up Arrow Key to delete the specified instruction.  
If the instruction has more operands, the operands will be deleted automati-  
cally with the instruction.  
00205 DELETE END  
AND  
00105  
93  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
After completing the insertion and deletion procedures, use the Up and Down  
Arrow Keys to scroll through the program and verify that it has been changed  
correctly, as shown in the following diagram.  
Corrected Program  
Address Instruction  
Operands  
00104  
00100  
00201  
00101  
00102  
00105  
01000  
00205  
00206  
00207  
00208  
AND  
00105  
AND NOT  
OUT  
00104  
01000  
-
END(01)  
END(01)  
6-2-11 Checking the Program  
This operation checks for programming errors and displays the program  
address and error when errors are found. It is possible in PROGRAM mode  
only.  
RUN  
MONITOR  
PROGRAM  
No  
No  
OK  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Press the SRCH Key. An input prompt will appear requesting the desired  
check level.  
00000PROG CHK  
SRCH  
CHK LBL (0Ć2)?  
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.  
00178CIRCUIT ERR  
A 0  
OUT  
00200  
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. A display like this will appear if the end of Program  
Memory is reached:  
00300NO END INST  
SRCH  
END  
A display like this will appear if an END instruction is reached:  
00310PROG CHK  
SRCH  
END (001)00.3KW  
No more errors exist if the END  
instruction is displayed.  
If errors are displayed, edit the program to correct the errors and check the pro-  
gram again. Continue checking the program by pressing the SRCH Key again  
until all errors have been corrected.  
6-2-12 Bit, Digit, Word Monitor  
This operation is used to monitor the status of up to 16 bits and words,  
although only 3 can be shown on the display at any one time. Operation is  
possible in any mode.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
94  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
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.  
00200READ  
C2  
A 0  
A 0  
TIM  
000  
3. Press the MONTR Key to begin monitoring.  
T000  
MONTR  
1234  
If the status of a bit is being monitored, that bits status can be changed using  
the Force Set/Reset operation. Refer to 6-2-24 Force Set, Reset for details.  
If the status of a word is being monitored, that words value can be changed  
using the Hexadecimal/BCD Data Modification operation. Refer to 4-3-19  
Hexadecimal, BCD Data Modification, 4-3-20 Binary Data Modification,  
4-3-21 Signed Decimal Data Modification, and 4-3-22 Unsigned Decimal  
Data Modification 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.  
00001  
B 1  
CONT  
SHIFT  
MONTR  
^ ON  
#
The Up or Down Arrow Key can be pressed to display the status of the pre-  
vious or next bit.  
The displayed bits status can be changed using the Force Set/Reset opera-  
tion. Refer to 6-2-24 Force Set, Reset 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.  
00000  
B 1  
CH  
*EM  
LR  
SHIFT  
*DM  
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 words status can be changed using the Hexadecimal/BCD  
-
Data Modification operation. Refer to Refer to 4 3-19 Hexadecimal, BCD  
Data Modification, 4-3-20 Binary Data Modification, 4-3-21 Singed Decimal  
Data Modification, and 4-3-22 Unsigned Decimal Data Modification for de-  
tails.  
95  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
4. Press the CLR Key to end monitoring.  
00000  
CHANNEL LR 01  
CLR  
Note The operating mode can be changed without altering the current monitor display  
by holding down the SHIFT Key and then changing the operating mode.  
Multiple Address  
Monitoring  
The status of up to six bits and words can be monitored simultaneously, although  
only three can be shown on the display at any one time.  
1, 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  
MONTR  
TIM  
0100  
3. Repeat step 2 up to 6 times to display the next addresses to be monitored.  
00001 T000  
B 1  
CONT  
SHIFT  
MONTR  
^ OFF 0100  
#
D000000001 T000  
0000^ OFF 0100  
EM  
DM  
MONTR  
If 4 or more bits and words are being monitored, the bits and words that do  
not appear on the display can be displayed by pressing the MONTR Key. If  
the MONTR Key is pressed alone, the display will shift to the right.  
If more than six bits and words are input, monitoring of the bit or word input  
first will be canceled.  
4. Press the CLR Key to stop monitoring the leftmost bit or word and clear it  
from the display.  
00001 T000  
CLR  
^ OFF 0100  
5. Press the SHIFT and CLR Keys to end monitoring altogether.  
00000  
SHIFT  
CLR  
CONT  
00001  
Note Press the SHIFT Key, CLR Key, and then CLR Key again to return to the initial  
Programming Console display with the multiple address monitoring state  
unchanged. Press the SHIFT Key and then the MONTR Key from the initial dis-  
play to return to the multiple address monitoring state. The monitoring states can  
be retained for 6 bits and words.  
The operating mode can be changed without altering the current monitor display  
by holding down the SHIFT Key and then changing the operating mode.  
6-2-13 Differentiation Monitor  
This operation is used to monitor the up or down differentiation status of a  
particular bit. When detected, the up or down differentiation will be displayed  
and the buzzer will sound. It is possible in any mode.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
1, 2, 3...  
1. Monitor the status of the desired bit according to the procedure described in  
6-2-12 Bit, Digit, Word Monitor. If 2 or more bits are being monitored, the de-  
sired bit should be leftmost on the display.  
In this case the differentiation status of LR 00 will be monitored.  
L000000001H0000  
^ OFF^ OFF^ OFF  
96  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
2. To specify up-differentiation monitoring, press the SHIFT and then the Up  
Arrow Key. The symbols U@will appear.  
L000000001H0000  
SHIFT  
U@OFF^ OFF^ OFF  
Indicates waiting for the bit to turn ON.  
To specify down-differentiation monitoring, press the SHIFT and then the  
Down Arrow Key. The symbols D@will appear.  
L000000001H0000  
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).  
L000000001H0000  
^ ON^ OFF^ OFF  
Note The buzzer will not sound if it has been turned off.  
4. Press the CLR Key to end differentiation monitoring and return to the normal  
monitoring display.  
L000000001H0000  
CLR  
^ OFF^ OFF^ OFF  
6-2-14 Binary Monitor  
This operation is used to monitor the ON/OFF status of any words 16 bits. It  
is possible in any mode.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
1, 2, 3...  
1. Monitor the status of the desired word according to the procedure described  
in 6-2-12 Bit, Digit, Word Monitor. The desired word should be leftmost on  
the display if 2 or more words are being monitored.  
c010  
0000  
(Word monitor)  
2. Press the SHIFT and then the MONTR Key to begin binary monitoring. The  
ON/OFF status of the selected words 16 bits will be shown along the bottom  
of the display. A 1 indicates a bit is on, and a 0 indicates it is off.  
c010 MONTR  
SHIFT MONTR  
0000000000000000  
Bit 15  
Bit 00  
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.  
c010 MONTR  
000S0000000R0000  
Force-set bit  
Force-reset bit  
Note a) The status of displayed bits can be changed at this point. Refer to  
6-2-21 Binary Data Modification for details.  
b) The Up or Down Arrow Key can be pressed to display the status of  
the previous or next words bits.  
97  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
3. Press the CLR Key to end binary monitoring and return to the normal moni-  
toring display.  
c010  
CLR  
0000  
6-2-15 Three-Word Monitor  
This operation is used to monitor the status of three consecutive words. It is  
possible in any mode.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
1, 2, 3...  
1. Monitor the status of the first of the three words according to the procedure  
described in 6-2-12 Bit, Digit, Word Monitor.  
If 2 or more words are being monitored, the desired first word should be left-  
most on the display.  
c200  
89AB  
(Word monitor)  
2. Press the EXT Key to begin 3-word monitoring. The status of the selected  
word and the next two words will be displayed, as shown below. In this case,  
DM 0000 was selected.  
c202 c201 c200  
EXT  
0123 4567 89AB  
The Up and Down Arrow Keys can be used to shift one address up or down.  
The status of the displayed words can be changed at this point. Refer to  
6-2-18 Three-word Data Modification.  
The display can be changed to display ASCII text, which is useful when  
three consecutive words containing an ASCII message are displayed. Refer  
to 6-2-26 Hex-ASCII Display Change.  
3. Press the CLR Key to end 3-word monitoring and return to the normal moni-  
toring display. The rightmost word on the 3-word monitor display will be  
monitored.  
c200  
CLR  
89AB  
Note The operating mode can be changed without altering the current monitor display  
by holding down the SHIFT Key and then changing the operating mode.  
6-2-16 Signed Decimal Monitor  
This operation converts the contents of the specified word from signed hexa-  
decimal (twos complement format) to signed decimal for display. The opera-  
tion can be executed while using I/O monitoring, multiple address monitoring  
or 3-word monitoring.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
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.  
c200 cL0020000  
FFF0 0000^ OFF  
(Multiple address monitor)  
2. Press the SHIFT+TR Keys to display the leftmost word as signed decimal.  
c200  
SHIFT  
TR  
Ć00016  
98  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
At this point, the contents of the displayed word can be changed with a  
signed-decimal input. Refer to 6-2-22 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.  
c200 cL0020000  
CLR  
FFF0 0000^ OFF  
6-2-17 Unsigned Decimal Monitor  
This operation is used to convert hexadecimal data in a word to unsigned  
decimal for display. The operation can be executed while using I/O monitor-  
ing, multiple address monitoring or 3-word monitoring.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
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.  
c200 cL0020000  
FFF0 0000^ OFF  
Multiple address monitoring  
2. Press the SHIFT+TR+NOT Keys to display the leftmost word as unsigned  
decimal.  
c200  
SHIFT  
TR  
NOT  
65520  
At this point, the contents of the displayed word can be changed with an un-  
signed-decimal input. Refer to 6-2-23 Unsigned 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.  
c200 cL0020000  
CLR  
FFF0 0000^ OFF  
6-2-18 Three-Word Data Modification  
This operation is used to change the contents of one or more of the 3 con-  
secutive words displayed in the Three-Word Monitor operation. It is possible  
in MONITOR or PROGRAM mode only.  
RUN  
MONITOR  
PROGRAM  
No  
OK  
OK  
Caution Before changing the contents of I/O memory, be sure that the changes will not  
cause equipment to operate unexpectedly or dangerously. In particular, take  
care when changing the status of output bits. The PC continues to refresh I/O  
bits even if the PC is in PROGRAM mode, so devices connected to output points  
on the CPU Board or Expansion I/O Boards may operate unexpectedly.  
!
1, 2, 3...  
1. Monitor the status of the desired words according to the procedure de-  
scribed 6-2-15 Three-Word Monitor.  
D0002D0001D0000  
0123 4567 89AB  
(Three-word monitor)  
2. Press the CHG Key to begin 3-word data modification. The cursor will ap-  
pear next to the contents of the leftmost word.  
D0002 3CH CHG?  
CHG  
00123 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.  
99  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
(Input the new value and press the WRITE Key to write the changes in  
memory if no more changes will be made.)  
D0002 3CH CHG?  
B 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.)  
D0002D0001D0000  
C2  
D3  
E 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.  
6-2-19 Changing Timer, Counter SV  
There are two operations that can be used to change the SV of a timer or  
counter. They are possible in MONITOR or PROGRAM mode only. In MON-  
ITOR mode, the SV can be changed while the program is being executed.  
RUN  
MONITOR  
PROGRAM  
No  
OK  
OK  
The timer or counter SV can be changed either by inputting a new value or  
by incrementing or decrementing the current SV.  
Inputting a New SV  
Constant  
This operation can be used to input a new SV constant, as well as to change an  
SV from a constant to a word address designation and 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.  
00201SRCH  
B 1  
SRCH  
TIM  
TIM  
001  
3. Press the Down Arrow Key and then the CHG Key.  
00201DATA?  
CHG  
T001 #0134 #????  
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.  
00201 TIM DATA  
B 1  
C2  
E 4  
WRITE  
#0124  
b) To change to a word address designation, input the word address and  
press the WRITE Key.  
00201 TIM DATA  
HR 10  
B 1  
A 0  
AR  
HR  
CH  
SHIFT  
WRITE  
*DM  
Incrementing and  
Decrementing a Constant  
This operation can be used to increment and decrement an SV constant. It is  
possible only when the SV has been entered as a constant.  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Display the desired timer or counter.  
00201SRCH  
SRCH  
TIM  
TIM  
000  
100  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
3. Press the Down Arrow, CHG, and then the EXT Key.  
00201DATA ? U/D  
T000 #0123 #0123  
EXT  
CHG  
The constant on the left is the old SV and the constant on the right will be-  
come 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 timers SV to the new value.  
00201 TIM DATA  
CLR  
CLR  
#0124  
6-2-20 Hexadecimal, BCD Data Modification  
This operation is used to change the BCD or hexadecimal value of a word  
being monitored using the procedure described in 6-2-12 Bit, Digit, Word  
Monitor. It is possible in MONITOR or PROGRAM mode only.  
RUN  
MONITOR  
PROGRAM  
No  
OK  
OK  
Words SR 253 to SR 255 cannot be changed.  
Caution Before changing the contents of I/O memory, be sure that the changes will not  
cause equipment to operate unexpectedly or dangerously. In particular, take  
care when changing the status of output bits. The PC continues to refresh I/O  
bits even if the PC is in PROGRAM mode, so devices connected to output points  
on the CPU Board or Expansion I/O Boards may operate unexpectedly.  
!
1, 2, 3...  
1. Monitor the status of the desired word according to the procedure described  
in 6-2-12 Bit, Digit, Word Monitor. If two or more words are being monitored,  
the desired word should be leftmost on the display.  
D0000  
0119  
(Word monitor)  
2. Press the CHG Key to begin hexadecimal, BCD data modification.  
PRES VAL?  
CHG  
D0000 0119 ????  
3. Input the new PV and press the WRITE Key to change the PV.  
The operation will end and the normal monitoring display will return when  
the WRITE Key is pressed.  
D0000  
C2  
A 0  
A 0  
WRITE  
0200  
6-2-21 Binary Data Modification  
This operation is used to change the status of a words bits when the word is  
monitored using the procedure described in 6-2-14 Binary Monitor. It is pos-  
sible in MONITOR or PROGRAM mode only.  
RUN  
MONITOR  
PROGRAM  
No  
OK  
OK  
Bits SR 25300 to SR 25507 and timer/counter flags cannot be changed.  
101  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
Caution Before changing the contents of I/O memory, be sure that the changes will not  
cause equipment to operate unexpectedly or dangerously. In particular, take  
care when changing the status of output bits. The PC continues to refresh I/O  
bits even if the PC is in PROGRAM mode, so devices connected to output points  
on the CPU Board or Expansion I/O Boards may operate unexpectedly.  
!
1, 2, 3...  
1. Monitor the status of the desired word according to the procedure described  
6-2-14 Binary Monitor.  
c010 MONTR  
1000010101010101  
(Binary monitor)  
Bit 15  
Bit 00  
2. Press the CHG Key to begin binary data modification.  
c010 CHG?  
CHG  
1000010101010101  
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.  
c010 CHG?  
1000010101010101  
b) Use the 1 and 0 Keys to change a bits status to on or off. The cursor will  
move one bit to the right after one of these keys is pressed.  
c010 CHG?  
B 1  
1010010101010101  
c) Use the SHIFT+SET and SHIFT+RESET Keys to force-set or force-re-  
set a bits status. The cursor will move one bit to the right after one of  
these keys is pressed. The NOT Key will clear force-set or force-reset  
status.  
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.  
c010 MONTR  
WRITE  
1010010101010101  
6-2-22 Signed Decimal Data Modification  
This operation is used to change the decimal value of a word being moni-  
tored as signed decimal data, within a range of 32,768 to 32,767. The con-  
tents of the specified word are converted automatically to signed hexadeci-  
mal (twos complement format).  
Words SR 253 to SR 255 cannot be changed.  
RUN  
MONITOR  
PROGRAM  
No  
OK  
OK  
Caution Before changing the contents of I/O memory, be sure that the changes will not  
cause equipment to operate unexpectedly or dangerously. In particular, take  
care when changing the status of output bits. The PC continues to refresh I/O  
bits even if the PC is in PROGRAM mode, so devices connected to output points  
on the CPU Board or Expansion I/O Boards may operate unexpectedly.  
!
102  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
1, 2, 3...  
1. Monitor (signed decimal) the status of the word for which the present value  
is to be changed.  
D0200  
Ć00016  
(Signed decimal monitor)  
2. Press the CHG Key to begin decimal data modification.  
PRES VAL?  
CHG  
D0200Ć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.  
D0200  
D3  
C2  
7
6
8
WRITE  
RESET  
Ć32768  
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.  
The buzzer will sound if a value outside the specified range is input, allowing  
no writing.  
6-2-23 Unsigned Decimal Data Modification  
This operation is used to change the decimal value of a word being moni-  
tored as unsigned decimal data, within a range of 0 to 65,535. A change into  
hexadecimal data is made automatically.  
Words SR 253 to SR 255 cannot be changed.  
RUN  
MONITOR  
PROGRAM  
No  
OK  
OK  
Caution Before changing the contents of I/O memory, be sure that the changes will not  
cause equipment to operate unexpectedly or dangerously. In particular, take  
care when changing the status of output bits. The PC continues to refresh I/O  
bits even if the PC is in PROGRAM mode, so devices connected to output points  
on the CPU Board or Expansion I/O Boards may operate unexpectedly.  
!
1, 2, 3...  
1. Monitor (unsigned decimal) the status of the word for which the present val-  
ue is to be changed.  
c200  
65520  
(Unsigned decimal monitor)  
2. Press the CHG Key to begin decimal data modification.  
PRES VAL?  
CHG  
c200 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.  
c200  
D3  
C2  
7
6
8
WRITE  
32768  
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.  
The buzzer will sound if a value outside the specified range is input, allowing  
no writing.  
103  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
6-2-24 Force Set, Reset  
This operation is used to force bits ON (force set) or OFF (force reset) and is  
useful when debugging the program or checking output wiring. It is possible  
in MONITOR or PROGRAM mode only.  
RUN  
MONITOR  
PROGRAM  
No  
OK  
OK  
Caution Before changing the contents of I/O memory, be sure that the changes will not  
cause equipment to operate unexpectedly or dangerously. In particular, take  
care when changing the status of output bits. The PC continues to refresh I/O  
bits even if the PC is in PROGRAM mode, so devices connected to output points  
on the CPU Board or Expansion I/O Boards may operate unexpectedly.  
!
1, 2, 3...  
1. Monitor the status of the desired bit according to the procedure described in  
6-2-12 Bit, Digit, Word Monitor. If two or more words are being monitored,  
the desired bit should be leftmost on the display.  
0000020000  
^ OFF^ ON  
(Multiple address monitor)  
2. Press the SET Key to force the bit ON or press the RESET Key to force the  
bit OFF.  
0000020000  
SET  
ON^ ON  
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 re-  
leased.  
3. Press the SHIFT and SET Keys or SHIFT and 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 Sand 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 6-2-25 Clear Force Set/Reset for de-  
tails.  
Forced status will also be cleared in the following cases:  
a) When the PCs operating mode is changed (although the forced status  
will not be cleared when the mode is changed from PROGRAM to MON-  
ITOR if SR 25211 is ON)  
b) When the PC stops because a fatal error occurred  
c) When the PC stops because of a power interruption  
d) When the Clear Force Set/Reset Operation is performed  
6-2-25 Clear Force Set/Reset  
This operation is used to restore the status of all bits which have been force  
set or reset. It is possible in MONITOR or PROGRAM mode only.  
RUN  
MONITOR  
PROGRAM  
No  
OK  
OK  
Caution Before changing the contents of I/O memory, be sure that the changes will not  
cause equipment to operate unexpectedly or dangerously. In particular, take  
care when changing the status of output bits. The PC continues to refresh I/O  
bits even if the PC is in PROGRAM mode, so devices connected to output points  
on the CPU Board or Expansion I/O Boards may operate unexpectedly.  
!
104  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Console Operations  
Section 6-2  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Press the SET and then the RESET Key. A confirmation message will ap-  
pear.  
00000FORCE RELE?  
SET  
RESET  
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  
6-2-26 Hex-ASCII Display Change  
This operation is used to convert word data displays back and forth between  
4-digit hexadecimal data and ASCII. It is possible in any mode.  
The displayed PV of the timer or counter cannot be changed.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
OK  
1, 2, 3...  
1. Monitor the status of the desired word(s) according to the procedure de-  
scribed in 6-2-12 Bit, Digit, Word Monitor. While the multiple addresses are  
being monitored, the leftmost word is subject to change.  
D0000D0001  
4142 3031  
(Multiple address monitor)  
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.  
D0000D0001  
TR  
"AB" 3031  
D0000D0001  
TR  
4142 3031  
Note 1. A message contained in three words can be displayed by using ASCII dis-  
play in combination with the Three-word monitor operation.  
2. The Hexadecimal, BCD Data Modification Operation can be used while dis-  
playing ASCII data. Input values in 4-digit hexadecimal.  
6-2-27 Displaying the Cycle Time  
This operation is used to display the current average cycle time (scan time).  
It is possible only in RUN or MONITOR mode while the program is being  
executed.  
RUN  
MONITOR  
PROGRAM  
OK  
OK  
No  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Press the MONTR Key to display the cycle time.  
00000SCAN TIME  
MONTR  
012.1MS  
MSin the display indicates  
the unit msfor the cycle time.  
There might be differences in displayed values when the MONTR Key is  
pressed repeatedly. These differences are caused by changing execution  
conditions.  
105  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Example  
Section 6-3  
6-2-28 Reading and Setting the Clock  
This operation is used to read or set the CPUs clock. The clock can be read in  
any mode, but can be set in MONITOR or PROGRAM mode only.  
Operation  
Read clock  
Set clock  
RUN  
MONITOR  
PROGRAM  
OK  
No  
OK  
OK  
OK  
OK  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
2. Press the FUN Key, SHIFT Key, and then the MONTR Key to display the  
date and time.  
TIM  
99Ć02Ć22  
SHIFT MONTR  
FUN  
11:04:32 MON(1)  
3. Press the CHG Key to change the date and/or time.  
TIM CHG?99Ć02Ć22  
CHG  
11:04:32 MON(1)  
The digit that can be changed will flash. If necessary, input a new value with  
the Up and Down Arrow Keys or Numeric Keys. Press the CHG Key to move  
the cursor to the next digit. The following table shows the setting ranges for  
each value.  
Year  
00 to 99 01 to 12 01 to 31 00 to 23 00 to 59 00 to 59 0 to 6  
(SUN to SAT)  
Month  
Day  
Hour  
Minute Second Day-of-week  
4. Press the WRITE Key to write the new value.  
INST TBL READ  
FUN018:HEX  
Press the CLR Key to return to the initial display.  
WRITE  
6-3 Programming Example  
This section demonstrates all of the steps needed to write a program with the  
Programming Console.  
6-3-1 Preparatory Operations  
Use the following procedure when writing a program to the CPM2B for the first  
time.  
1, 2, 3...  
1. Set the Programming Consoles mode switch to PROGRAM mode and turn  
on the CPM2Bs 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> BZ  
CLR MONTR  
106  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Example  
Section 6-3  
3. Clear the CPM2Bs 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?  
NOT  
SET  
RESET  
MONTR  
HR CNT DM  
00000MEMORY CLR  
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 ad-  
dress 00000). The new program can be written at this point.  
00000  
CLR  
Caution Check the system thoroughly before starting or stopping the CPM2B to prevent  
!
any accidents that might occur when the program is first started.  
107  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Example  
Section 6-3  
6-3-2 Example Program  
The following ladder program will be used to demonstrate how to write a pro-  
gram with the Programming Console. This program makes output IR 01000  
flicker ON/OFF (one second ON, one second OFF) ten times after input  
IR 00000 is turned ON.  
Start input  
00000  
C000  
T002  
T002  
T001  
20000  
Self-holding bit  
00000  
00004  
00007  
20000  
20000  
TIM 001  
#0010  
1-second timer  
2-second timer  
20000  
TIM 002  
#0020  
20000  
20000  
Count input  
Reset input  
CP  
R
00010  
CNT 000  
#0010  
10-count counter  
20000  
T001  
Flicker output (10 counts)  
01000  
00014  
00017  
ON  
OFF  
1
S
END(01)  
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 6-3-3 Programming Procedures.  
Address  
Instruction  
Data  
Programming example  
procedures in 6-3-3  
Programming Procedures  
(1) Self-holding bit  
(2) 1-second timer  
(3) 2-second timer  
(4) 10-count counter  
00000  
LD  
00000  
20000  
000  
00001  
00002  
00003  
00004  
00005  
00006  
OR  
AND NOT  
OUT  
C
20000  
20000  
002  
LD  
AND NOT  
TIM  
T
#
T
#
T
001  
0010  
20000  
002  
00007  
00008  
00009  
LD  
AND NOT  
TIM  
002  
0020  
20000  
001  
00010  
00011  
00012  
00013  
LD  
AND  
LD NOT  
CNT  
20000  
000  
#
T
0010  
20000  
001  
(5) Flicker output (10 counts)  
(6) END(01) instruction  
00014  
00015  
00016  
00017  
LD  
AND NOT  
OUT  
01000  
---  
END (01)  
108  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Example  
Section 6-3  
6-3-3 Programming Procedures  
The example program will be written to the CPM2B according to the mnemonic  
list in 6-3-2 Example Program. The procedure is performed beginning with the  
initial display. (Clear the memory before entering a new program.)  
Note If an error occurs while inputting the program, refer to the Programming Manual  
for details on correcting the error.  
(1) Inputting the Self-holding Bit  
1, 2, 3...  
1. Input the normally open condition IR 00000.  
(It isnt necessary to input leading zeroes.)  
00000  
LD  
LD  
00000  
20000  
00001READ  
NOP (000)  
WRITE  
2. Input the OR condition IR 20000.  
00001  
OR  
C2  
A 0  
A 0  
A 0  
A 0  
OR  
00002READ  
NOP (000)  
WRITE  
3. Input the normally closed AND condition C000.  
(It isnt necessary to input leading zeroes.)  
00002  
AND  
NOT  
CNT  
AND NOT CNT 000  
00003READ  
NOP (000)  
WRITE  
4. Input the OUT instruction IR 20000.  
00003  
C2  
A 0  
A 0  
A 0  
A 0  
OUT  
OUT  
20000  
00004READ  
NOP (000)  
WRITE  
(2) Inputting the One-second Timer  
1, 2, 3...  
1. Input the normally open condition IR 20000.  
00004  
C2  
A 0  
A 0  
A 0  
A 0  
LD  
LD  
20000  
00005READ  
NOP (000)  
WRITE  
2. Input the normally closed AND condition T002.  
(It isnt necessary to input leading zeroes.)  
00005  
C2  
AND  
NOT  
TIM  
AND NOT TIM 002  
00006READ  
NOP (000)  
WRITE  
3. Input the 1-second timer T001.  
00006  
TIM  
B 1  
TIM  
001  
00006 TIM DATA  
#0000  
WRITE  
109  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Example  
Section 6-3  
4. Input the SV for T001 (#0010 = 1.0 s).  
00006 TIM DATA  
#0010  
B 1  
A 0  
00007READ  
NOP (000)  
WRITE  
(3) Inputting the  
Two-second Timer  
The following key operations are used to input the 2-second timer.  
1. Input the normally open condition IR 20000.  
00007  
1, 2, 3...  
C2  
A 0  
A 0  
A 0  
A 0  
LD  
LD  
20000  
00008READ  
NOP (000)  
WRITE  
2. Input the normally closed AND condition T002.  
(It isnt necessary to input leading zeroes.)  
00008  
C2  
AND  
NOT  
TIM  
AND NOT TIM 002  
00009READ  
NOP (000)  
WRITE  
3. Input the 2-second timer T002.  
00009  
TIM  
C2  
TIM  
002  
00009 TIM DATA  
#0000  
WRITE  
4. Input the SV for T002 (#0020 = 2.0 s).  
00009 TIM DATA  
#0020  
C2  
A 0  
00010READ  
NOP (000)  
WRITE  
(4) Inputting the 10-count  
Counter  
The following key operations are used to input the 10-count counter.  
1. Input the normally open condition IR 20000.  
00010  
1, 2, 3...  
C2  
A 0  
A 0  
A 0  
A 0  
LD  
LD  
20000  
00011READ  
NOP (000)  
WRITE  
2. Input the normally open AND condition T001.  
(It isnt necessary to input leading zeroes.)  
00011  
AND  
B 1  
AND  
TIM  
TIM 001  
00012READ  
NOP (000)  
WRITE  
3. Input the normally closed condition IR 20000.  
00012  
C2  
A 0  
A 0  
A 0  
A 0  
LD  
NOT  
LD NOT  
20000  
00013READ  
NOP (000)  
WRITE  
110  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Example  
Section 6-3  
4. Input the counter 000.  
00013  
CNT  
A 0  
CNT  
000  
00013 CNT DATA  
#0000  
WRITE  
5. Input the SV for counter 000 (#0010 = 10 counts).  
00013 CNT DATA  
B 1  
A 0  
#0010  
00014READ  
NOP (000)  
WRITE  
(5) Inputting the Flicker Output  
1, 2, 3...  
1. Input the normally open condition IR 20000.  
000014  
C2  
A 0  
A 0  
A 0  
A 0  
LD  
LD  
20000  
00015READ  
NOP (000)  
WRITE  
2. Input the normally closed AND condition T001.  
(It isnt necessary to input leading zeroes.)  
00015  
B 1  
AND  
NOT  
TIM  
AND NOT TIM 001  
00016READ  
NOP (000)  
WRITE  
3. Input the OUT instruction IR 01000.  
(It isnt necessary to input leading zeroes.)  
00016  
B 1  
A 0  
A 0  
A 0  
OUT  
OUT  
01000  
00017READ  
NOP (000)  
WRITE  
(6) Inputting the END(001)  
Instruction  
Input END(01). (The display shows three digits in the function code, but only the  
last two digits are input for CPM2B PCs.)  
00017  
FUN  
FUN (0??)  
00017  
A 0  
B 1  
END (001)  
00018READ  
NOP (000)  
WRITE  
6-3-4 Checking the Program  
Check the program syntax in PROGRAM mode to make sure that the program  
has been input correctly.  
1, 2, 3...  
1. Press the CLR Key to bring up the initial display.  
00000  
CLR  
111  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Programming Example  
Section 6-3  
2. Press the SRCH Key. An input prompt will appear requesting the desired  
check level.  
00000PROG CHK  
SRCH  
CHK LBL (0Ć2)?  
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. If no errors  
are found, the following display will appear.  
00017PROG CHK  
A 0  
END (001)00.1KW  
Note Refer to the Programming Manual for details on check levels and the  
programming errors that may be displayed during a program check.  
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(01) 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.  
6-3-5 Test Run in MONITOR Mode  
Switch the CPM2B in MONITOR mode and check the operation of the program.  
1, 2, 3...  
1. Set the Programming Consoles mode switch to MONITOR mode.  
MONITOR  
RUN  
PROGRAM  
<MONITOR>  
BZ  
2. Press the CLR Key to bring up the initial display.  
00000  
CLR  
3. Force-set the start input bit (IR 00000) from the Programming Console to  
start the program.  
00000  
LD  
LD  
00000  
00000  
^ OFF  
MONTR  
SET  
00000  
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 IR 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 doesnt flash. In this  
case, check the program and force set/reset bits to check operation.  
112  
Download from Www.Somanuals.com. All Manuals Search And Download.  
SECTION 7  
Test Runs and Error Processing  
This section describes procedures for test runs of CPM2B operation, self-diagnosis functions, and error processing to identify  
and correct the hardware and software errors that can occur during PC operation.  
7-1 Initial System Checks and Test Run Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-1-1 Initial System Checks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-1-2 Flash Memory Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-2 CPM2B Test Run Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3 Self-diagnostic Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-1 Identifying Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-2 User-defined Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-3 Non-fatal Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-3-4 Fatal Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-4 Troubleshooting Flowcharts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-5 Maintenance Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
7-6 Battery Replacement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  
114  
114  
114  
114  
115  
115  
116  
116  
117  
118  
125  
126  
113  
Download from Www.Somanuals.com. All Manuals Search And Download.  
CPM2B Test Run Procedure  
Section 7-2  
7-1 Initial System Checks and Test Run Procedure  
7-1-1 Initial System Checks  
Check the following items after setting up and wiring the CPM2B, but before per-  
forming a test run.  
Item  
Points to check  
Power supply and  
I/O connections  
Is the wiring correct?  
Are the terminals securely tightened?  
Are there any shorts between crimp terminals or wires?  
Refer to 3-5 Wiring and Connections for details.  
Are the cables all connected correctly and locked?  
Refer to 3-5 Wiring and Connections for details.  
Connecting cables  
Clearing Memory  
Always clear memory before beginning to program the CPM2B. Although  
memory is cleared before the CPU Board is shipped, the contents of the DM,  
HR, AR, and counter areas may change in transit.  
When a CPU Board without a clock is being used and the contents of DM have  
been cleared, battery error detection must be disabled in the PC Setup by setting  
the leftmost digit of DM 6655 to 1.  
Operating Mode at  
Startup  
See 1-3-3 Operating Mode at Startup to determine what mode the CPM2B will  
enter when the power is turned on.  
7-1-2 Flash Memory Precautions  
Observe the following precautions to protect the flash memory and ensure  
proper operation.  
1, 2, 3...  
1. If changes are made in the read-only DM area (DM 6144 through DM 6599)  
or PC Setup (DM 6600 through DM 6655), the PCs operating mode must be  
changed to write the new contents to flash memory. If backup battery is re-  
placed before the changes are written to flash memory, the changes will be  
lost.  
The changes can be saved by switching the CPM2B to RUN or MONITOR  
mode or turning the CPM2B OFF and then ON again.  
2. When contents of the program, read-only DM (DM 6144 through DM 6599),  
or PC Setup (DM 6600 through DM 6655) have been changed, startup proc-  
essing will take up to 1,200 ms longer than usual. Be sure to take this one-  
time startup delay into account if it may affect operations.  
3. If one of the following three operations is performed in MONITOR or RUN  
mode, the CPM2Bs cycle time will be extended by up to 1,200 ms and inter-  
rupts will be disabled while the program or PC Setup is being overwritten.  
Program changes with the online edit operation  
Changes to the read-only DM area (DM 6144 through DM 6599)  
Changes to the PC Setup (DM 6600 through DM 6655)  
A SCAN TIME OVERerror wont occur during these operations. Be sure to  
take this delay in the CPM2Bs I/O response times into account when per-  
forming online editing.  
7-2 CPM2B Test Run Procedure  
1, 2, 3...  
1. Power Supply Application  
a) Check the CPM2Bs power supply voltage and terminal connections.  
b) Check the I/O devicespower supply voltage and terminal connections.  
c) Turn on the power supply and check that the PWRindicator lights.  
114  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Self-diagnostic Functions  
Section 7-3  
d) Use a Programming Device to set the CPM2B to PROGRAM mode.  
2. I/O Wiring Checks  
a) With the CPM2B in PROGRAM mode, check the output wiring by turning  
on the output bits with the force set and force reset operations.  
b) Check the input wiring with the CPM2Bs input indicators or a Program-  
ming Devices monitor operations.  
3. Test Run  
a) Use a Programming Device to set the CPM2B to RUN or MONITOR  
mode and check that the RUNindicator lights.  
b) Check the sequence of operation with the force set/reset operations, etc.  
4. Debugging  
Correct any programming errors that are detected.  
5. Saving the Program  
a) Use a Programming Device to write the program to a backup floppy disk.  
b) Print out a hard copy of the program with a printer.  
Note Refer to Section 4 Using Programming Devices for details on the Support Soft-  
ware and Programming Console operations.  
7-3 Self-diagnostic Functions  
The CPM2B is equipped with a variety of self-diagnostic functions to help iden-  
tify and correct errors and reduce down time.  
7-3-1 Identifying Errors  
An error can be identified by the error message displayed on a Programming  
Device, error flags in the AR and SR areas, and the error code output to SR 253.  
Fatal and Non-fatal  
Errors  
PC errors are divided into 2 categories based on the severity of the errors. The  
status of the ERR indicator (lit or flashing) shows which type of error has oc-  
curred.  
ERR Lit (Fatal Error)  
Fatal errors are serious errors which stop CPM2B operation. There are two ways  
to restart operation:  
Turn the PC off and then on again.  
Use a Programming Device to switch the PC to PROGRAM mode, and read/  
clear the error.  
ERR Flashing (Non-fatal Error)  
Non-fatal errors are less serious errors which dont stop CPM2B operation.  
Error Messages  
Error Flags  
When an error is detected, a corresponding error message will be displayed on  
the Programming Console or other Programming Device connected to the PC.  
When a hardware error is detected, the corresponding error flag in the AR or SR  
area will be turned ON.  
Error Code  
When an error is detected, a specific 2-digit hexadecimal error code is output to  
SR 25300 to SR 25307. The error code and time of occurrence are also output to  
the Error Log Area (DM 2000 to DM 2021).  
WARNING When the CPM2Bs self-diagnosis function detects a fatal error or when a  
severe failure alarm (FALS) instruction is executed, PC operation will stop and  
all outputs will be turned OFF. External safety measures must be provided to  
ensure safety in the system. Not providing proper safety measures may result in  
serious accidents.  
!
115  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Self-diagnostic Functions  
Section 7-3  
7-3-2 User-defined Errors  
There are three instructions that can be used to define errors or messages.  
FAL(06) causes a non-fatal error, FAL(07) causes a fatal error, and MSG(46)  
sends a message to the Programming Console or host computer connected to  
the PC.  
FAILURE ALARM –  
FAL(06)  
FAL(06) is an instruction that causes a non-fatal error. The following will occur  
when an FAL(06) instruction is executed:  
1, 2, 3...  
1. The ERR indicator on the CPU Board will flash. PC operation will continue.  
2. The instructions 2-digit BCD FAL number (01 to 99) will be written to  
SR 25300 to SR 25307.  
The FAL numbers can be set arbitrarily to indicate particular conditions, but the  
same number should not be used as both an FAL number and an FALS number.  
To clear an FAL error, correct the cause of the error and then execute FAL 00 or  
use a Programming Device to clear the error.  
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 all outputs will be turned OFF.  
2. The ERR indicator on the CPU Board will be lit.  
3. The instructions 2-digit BCD FALS number (01 to 99) will be written to  
SR 25300 to SR 25307.  
The FALS numbers can be set arbitrarily to indicate particular conditions, but the  
same number should not be used as both an FAL number and an FALS number.  
To clear an FALS error, use a Programming Device to switch the PC to PRO-  
GRAM Mode, correct the cause of the error, and then clear the error.  
MESSAGE MSG(46)  
MSG(46) is used to display a message on a Programming Device connected to  
the CPM2B. The message, which can be up to 16 characters long, is displayed  
when the instructions execution condition is ON.  
7-3-3 Non-fatal Errors  
PC operation and program execution will continue after one or more of these  
errors have occurred. Although PC operation will continue, the cause of the error  
should be corrected and the error cleared as soon as possible.  
When one of these errors occurs, the POWER and RUN indicators will remain lit  
and the ERR indicator will flash.  
Message  
FAL No.  
Meaning and appropriate response  
SYS FAIL FAL**  
01 to 99 An FAL(06) instruction has been executed in the program. Check the FAL number to  
(** is 01 to 99 or 9B.)  
determine conditions that would cause execution, correct the cause, and clear the  
error.  
9B  
An error has been detected in the PC Setup. Check flags AR 1300 to AR 1302, and  
correct as directed.  
AR 1300 ON: An incorrect setting was detected in the PC Setup (DM 6600 to  
DM 6614) when power was turned on. Correct the settings in PROGRAM Mode and  
turn on the power again.  
AR 1301 ON: An incorrect setting was detected in the PC Setup (DM 6615 to  
DM 6644) when switching to RUN or MONITOR mode. Correct the settings in  
PROGRAM Mode and switch to RUN or MONITOR mode again.  
AR 1302 ON: An incorrect setting was detected in the PC Setup (DM 6645 to  
DM 6655) during operation. Correct the settings and clear the error.  
SCAN TIME OVER  
F8  
F7  
The cycle time has exceeded 100 ms. (SR 25309 will be ON.)  
This indicates that the program cycle time is longer than recommended. Reduce cycle  
time if possible. (The CPM2B can be set so that this error wont be detected.)  
Battery error  
(no message)  
If the voltage of the C500-BAT08 backup battery is below the minimum level, the ERR  
indicator will flash and SR 25308 will be turned ON.  
Replace the battery. (See 7-6 Battery Replacement for details.)  
116  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Self-diagnostic Functions  
Section 7-3  
7-3-4 Fatal Errors  
PC operation and program execution will stop and all outputs from the PC will be  
turned OFF when any of these errors have occurred. CPM2B operation cant be  
restarted until the PC is turned off and then on again or a Programming Device is  
used to switch the PC to PROGRAM mode and clear the fatal error.  
All CPU Board indicators will be OFF for the power interruption error. For all  
other fatal operating errors, the POWER and ERR indicators will be lit. The RUN  
indicator will be OFF.  
Message  
FALS  
No.  
Meaning and appropriate response  
Power interruption  
(no message)  
00  
Power has been interrupted for more than 2 ms.  
Check power supply voltage and power lines. Try to power-up again.  
MEMORY ERR  
F1  
AR 1308 ON: There is a non-existent bit or word address in the user program. Check  
the program and correct errors.  
AR 1309 ON: An error has occurred in flash memory. Replace the CPU Board.  
AR 1310 ON: A checksum error has occurred in read-only DM (DM 6144 to DM 6599).  
Check and correct the settings in the read-only DM area.  
AR 1311 ON: A checksum error has occurred in the PC Setup. Initialize the PC Setup  
and input the settings again.  
AR 1312 ON: A checksum error has occurred in the program. Check the program and  
correct any errors detected.  
AR 1313 ON: A checksum error has occurred in the expansion instructions data and all  
function codes have been set the their default values. Reset the expansion  
instructions.  
AR 1314 ON: Data was not maintained in an area specified for holding. Clear the error,  
check the data in the areas specified for holding, and try again.  
NO END INST  
I/O BUS ERR  
F0  
C0  
END(01) is not written in the program. Write END(01) at the end of the program.  
An error has occurred during data transfer between the CPU Board and an Expansion  
I/O Board. Check the Boards connecting cable.  
I/O UNIT OVER  
E1  
Too many Expansion I/O Boards have been connected. Check the Board configuration.  
SYS FAIL FALS**  
(** is 01 to 99 or 9F.)  
01 to 99 A FALS(07) instruction has been executed in the program. Check the FALS number to  
determine the conditions that caused execution, correct the cause, and clear the error.  
9F  
The cycle time has exceeded the Maximum (Watch) Cycle Time setting (DM 6618).  
Check the cycle time and adjust the Maximum Cycle Time setting if necessary.  
117  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Troubleshooting Flowcharts  
Section 7-4  
7-4 Troubleshooting Flowcharts  
Use the following flowcharts to troubleshoot errors that occur during operation.  
Main Check  
Error  
No  
PWR indicator lit?  
Yes  
Check power supply. (See page 119.)  
No  
Operation stopped. Check for fatal errors.  
(See page 120.)  
RUN indicator lit?  
Yes  
Flashing  
ERR indicator  
flashing?  
Check for non-fatal errors. (See page 121.)  
Check I/O. (See page 122.)  
Not lit  
No  
Is I/O sequence  
normal?  
Yes  
Operating  
environment normal?  
No  
Check operating environment. (See page 124.)  
Yes  
Replace the CPU  
Board.  
118  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Troubleshooting Flowcharts  
Section 7-4  
Power Supply Check  
PWR indicator not lit.  
No  
Connect power  
supply.  
Is power being  
supplied?  
Yes  
No  
Yes  
Is PWR indicator lit?  
No  
Set supply voltage  
within acceptable limits.  
Is voltage adequate?  
Yes  
No  
Yes  
Is PWR indicator lit?  
Tighten screws or  
replace wires.  
Are there any loose  
terminal screws or bro-  
ken wires?  
Yes  
No  
No  
Yes  
Is PWR indicator lit?  
Correct the short circuit or limit  
the connected load to the spec-  
ification range.  
Yes  
No  
Has the external  
power supply shorted  
or overloaded?  
No  
Yes  
Is PWR indicator lit?  
End  
Replace the CPU  
Board.  
119  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Troubleshooting Flowcharts  
Section 7-4  
Fatal Error Check  
RUN indicator not lit.  
No  
Is the ERR indi-  
cator lit?  
Yes  
Yes  
No  
Determine the cause  
of the error with a  
Programming Device.  
Is PC mode displayed  
on Programming  
Device?  
No  
Is PC mode displayed on  
Programming Device?  
Turn the power  
supply OFF, and  
then ON again.  
Yes  
Yes  
Is a fatal error  
displayed?  
Identify the error, eliminate  
its cause, and clear the  
error.  
Follow the Memory Error  
Check flowchart if a  
memory error has occurred.  
No  
Switch to RUN or  
MONITOR mode.  
No  
Is the RUN  
indicator lit?  
Yes  
End  
Replace the CPU  
Board.  
120  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Troubleshooting Flowcharts  
Section 7-4  
Non-fatal Error Check  
ERR indicator flashing.  
Determine the cause of the error  
with a Programming Device.  
Yes  
Identify the error, eliminate its  
cause, and clear the error.  
Is a non-fatal error  
indicated?  
No  
Flashing  
Is the ERR  
indicator flashing?  
Not lit  
End  
Replace the CPU  
Board.  
121  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Troubleshooting Flowcharts  
Section 7-4  
I/O Check  
The I/O check flowchart is based on the following ladder diagram section.  
(LS1)  
(LS2)  
00002  
00003  
01003  
SOL1  
01003  
SOL1 malfunction.  
Malfunction of SOL1  
Is the  
No  
IR 01003 output indicator  
operating normally?  
Yes  
Check the voltage at the  
IR 01003 terminals.  
Wire correctly.  
Monitor the ON/OFF  
Correct the short circuit  
or limit the connected  
load to the specified  
range.  
status of IR 01003  
with a Programming  
Device.  
No  
No  
No  
Operation OK?  
Is output wiring  
correct?  
Operation OK?  
Yes  
A
To  
next  
page  
Yes  
Yes  
Yes  
Is the external  
power supply shorted  
or overloaded?  
No  
Disconnect the external wires  
and check the conductivity of  
each wire.  
Yes  
No  
Operation OK?  
Replace the CPU Board  
or Expansion I/O Board  
with the problem.  
Check output device  
SOL1.  
122  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Troubleshooting Flowcharts  
Section 7-4  
No  
Are the IR 00002  
and IR 00003 input indi-  
cators operating  
A
normally?  
From  
Yes  
previous  
page  
Check the voltage at  
the IR 00002 and  
IR 00003 terminals.  
Check the voltage at  
the IR 00002 and  
IR 00003 terminals.  
Operation OK?  
No  
No  
Yes  
Operation OK?  
Yes  
Are the terminal  
screws loose?  
Yes  
Yes  
No  
Is input wiring  
correct?  
No  
No  
Check operation by using a  
dummy input signal to turn the  
input ON and OFF.  
Wire correctly.  
Tighten the terminal  
screws  
No  
Operation OK?  
Yes  
Replace the CPU  
Board or Expansion  
I/O Board.  
Replace the CPU  
Board or Expansion  
I/O Board.  
Return to start.”  
Check input devices  
LS1 and LS2.  
123  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Troubleshooting Flowcharts  
Section 7-4  
Environmental Conditions Check  
Environmental conditions check  
No  
Is the ambient  
temperature  
below 55°C?  
Consider using a  
fan or cooler.  
Yes  
Is the ambient  
temperature above  
0°C?  
No  
No  
Consider using a  
heater.  
Yes  
Is the ambient humidity  
between 10% and  
85%?  
Consider using an  
air conditioner.  
Yes  
Install surge protec-  
tors or other noise-  
reducing equipment  
at noise sources.  
No  
No  
Is noise being  
controlled?  
Yes  
Consider  
Is the installation  
environment okay?  
constructing an  
instrument panel  
or cabinet.  
Yes  
End.  
124  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Maintenance Inspections  
Section 7-5  
Memory Error Check  
Memory error occurred.  
Yes  
Replace the CPU  
Board.  
AR 1309 ON?  
No  
Yes  
Check/correct backed-up data and  
clear error.  
AR 1314 ON?  
No  
Check the program, correct any  
errors, and clear the error.  
Yes  
AR 1308 ON?  
No  
No  
Check the error indicated by  
Yes  
Yes  
AR 1310 to  
AR 1312 ON?  
Turned ON during  
the flag that is ON, correct set-  
tings as required, and write  
data to the flash memory.  
startup?  
No  
No  
Check the external  
environment.  
End  
7-5 Maintenance Inspections  
In order for your SYSMAC system to operate in optimum condition, be sure to  
carry out daily or periodical inspections.  
Inspection Items  
The main system components of a SYSMAC system are semiconductors, and it  
contains few components with limited lifetimes. Poor environmental conditions,  
however, can lead to deterioration of the electrical components, making regular  
maintenance necessary.  
125  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Battery Replacement  
Section 7-6  
The standard period for maintenance checks is 6 months to 1 year, but more fre-  
quent checks are required if the PC is operated in more demanding conditions.  
If the criteria are not met, adjust to within the specified ranges.  
Inspection items  
Details  
Criteria  
Remarks  
Tester  
Power supply  
Determine whether the voltage fluctuation Within the voltage variation  
at the power supply terminals is within  
specifications.  
range (20.4 to 26.4 VDC)  
Environmental  
conditions  
Is the ambient temperature inside the  
panel appropriate?  
Thermometer  
Hygrometer  
0 to 55_C  
Is the ambient humidity inside the panel  
appropriate?  
35% to 85% RH with no  
condensation  
Has dirt or dust collected?  
None  
Visual inspection  
Tester  
I/O power supply  
Installation status  
Is the voltage fluctuation measured at the  
I/O terminals within the standard range?  
Each I/O terminal must  
conform to the specifications  
Are all Boards securely installed?  
Nothing is loose  
Nothing is loose  
Phillips screwdriver  
Visual inspection  
Are all connection cables and connectors  
inserted completely and locked?  
Are any of the external wiring screws  
loose?  
Nothing is loose  
Phillips screwdriver  
Visual inspection  
---  
Are any of the external wiring cables  
frayed?  
No external abnormalities  
Product service life  
Contact output relay  
Electrical:  
Resistance load:  
300,000 operations  
Inductive load:  
100,000 operations  
Mechanical:  
10,000,000 operations  
Battery (C500-BAT08)  
5 years  
---  
Required Tools  
Standard Tools (Required)  
Screwdrivers (Phillips and flat-blade)  
Voltage tester or digital voltage meter  
Industrial alcohol and a cotton cloth  
Measurement Devices (May be Needed)  
Synchroscope  
Cathode-ray oscilloscope  
Thermometer, hygrometer  
Note Do not attempt to disassemble, repair, or modify the PC in any way.  
7-6 Battery Replacement  
WARNING Do not drop, disassemble, crush, short-circuit, recharge, or dispose of the  
!
battery in fire. The battery may explode, burn, or leak and cause personal injury.  
Precautions  
Turn ON the power supply for at least 5 minutes before replacing the battery in  
order to recharge the backup capacitor.  
Turn OFF the power supply to the CPU Board before replacing the battery.  
Use the procedure below when replacing the battery. This procedure must be  
completed within 5 minutes to prevent loss of memory contents.  
Dispose of the old battery properly.  
Replacement Procedure  
CPU Boards that are equipped with a clock are also equipped with a backup bat-  
tery that has a 5-year lifetime at 25_C. Use the following procedure when replac-  
ing the backup battery.  
1, 2, 3...  
1. Stop CPM2B operation and turn OFF the CPM2Bs power supply.  
126  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Battery Replacement  
Section 7-6  
2. Disconnect the battery connector and remove the battery.  
3. Install the new battery. Check the alignment of the connector and fully insert  
the connector. Make sure that the power wires are not pinched.  
4. Enable the detection of battery errors in the PC Setup by setting the leftmost  
digit of DM 6655 to 0.  
127  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Appendix A  
Standard Models  
CPU Boards  
Appearance  
Relay outputs  
Transistor outputs  
(sinking)  
Internal clock.  
RS-232C port,  
and battery  
Number of  
inputs  
Number of  
outputs  
16 points  
16 points  
CPM2B-32C1DR-D  
---  
No  
CPM2B-32C2DR-D  
---  
Yes  
No  
---  
---  
CPM2B-32C1DT-D  
CPM2B-32C2DT-D  
Yes  
Accessories: Four studs, four M3 screws  
Expansion I/O Boards  
Appearance  
Relay outputs  
Transistor outputs  
(sinking)  
Power supply  
Number of  
inputs  
Number of  
outputs  
CPM2B-32EDR  
---  
---  
16 points  
16 points  
---  
CPM2B-32EDT  
---  
16 points  
16 points  
Accessories: Four long studs, four M3 screws  
Expansion I/O Cable  
Appearance  
Model  
Specifications  
CPM2B-CN601  
Connects an Expansion I/O Board to the CPU Board or another Expansion  
I/O Board. (This cable is identical to the cable supplied with an Expansion  
I/O Board.)  
Mounting Bracket  
Appearance  
Model  
Specifications  
CPM2B-ATT01  
Includes four M3 × 4 mounting screws.  
Note The CPM2B-ATT01 Mounting Bracket is required when the system must  
meet UL/CSA standards.  
129  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Standard Models  
Appendix A  
I/O Connectors  
Appearance  
Model  
Name  
XG5M-2032-N  
Socket (for AWG 24 wire)  
XG5M-2035-N  
XG5S-2012  
XG5S-1001  
XG4M-2030  
Socket (for AWG 26 to AWG 28 wire)  
Full Cover (two are required for each socket)  
Partial Cover (two are required for each socket)  
Socket  
XG4T-2004  
Strain Relief  
Communications Port Connecting Cables  
Appearance  
Name  
Specifications  
Length  
CS1W-CN114  
Peripheral port to Programming Console cable.  
0.05 m  
Connecting Cable  
CPM2C-CN111  
Peripheral port to Programming Console cable.  
0.1 m  
Connecting Cable  
Peripheral Devices  
Appearance  
Model Number  
Name  
Specifications  
2-m Connecting Cable attached  
Programming Console  
CQM1-PRO01-E  
C200H-PRO27-E  
Hand-held, w/backlight; requires a  
C200H-CN222 or C200H-CN422 Connecting  
Cable, see below.  
Connects the C200H-PRO27-E.  
C200H-CN222  
C200H-CN422  
CS1W-CN224  
CS1W-CN624  
WS02-CXPC1-E  
2-m cable  
4-m cable  
2-m cable  
6-m cable  
Connects the C200H-PRO27-E  
directly to a CPM2B CPU Board.  
CX-Programmer  
For MS-Windows 95/98/NT (CD-ROM)  
C500-ZL3AT1-E  
WS01-CPTB1-E  
SYSMAC Support  
Software  
3.5, 2HD for IBM PC/AT compatible  
SYSMAC-CPT  
For IBM PC/AT or compatible computers  
(3.5disks (2HD) and CDROM)  
130  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Standard Models  
Appendix A  
Maintenance Accessories  
Appearance  
Model Number  
Name  
Backup Battery  
Specifications  
C500-BAT08  
---  
CPM1-EMU01-V1  
Expansion Memory Unit  
Uploads the ladder program and DM 6144  
to DM 6655 from the PC to the EEPROM  
and downloads the ladder program and  
DM 6144 to DM 6655 from the EEPROM  
to the PC.  
EEROM-JD  
EEPROM  
256 K bit  
Adapters and Connecting Cables (1:1 Connection)  
CPM2B port  
Appearance  
Model number  
Name  
Comments  
Cable length  
3.3 m  
Peripheral  
RS-232C  
Adapter  
CQM1-CIF02  
For a 9-pin computer serial port  
CPM1-CIF01  
Use for peripheral port to  
RS-232C level conversion  
RS-232C  
RS-232C For a 9-pin computer serial port  
Cable  
XW2Z-200S-V  
XW2Z-500S-V  
2 m  
5 m  
Adapters and Connecting Cables (1:N Connections)  
Appearance  
Model number  
Name  
Specifications  
NT-AL001-E  
RS-422 Adapter  
Use for CPM2B RS-232C port to RS-422A conversion.  
Requires a 5-VDC, 150 mA power supply which is  
supplied through the CPM2B connection.  
(Can also be connected to a personal computer, but this  
connection requires an external 5-VDC power supply.)  
3G2A9-AL004-E Link Adapter  
Use for personal computer RS-232C port to RS-422A.  
(Can also be connected to a CPM2B.)  
CPM1-CIF11  
RS-422 Adapter  
Use for CPM2B peripheral port to RS-422A conversion.  
RS-232C Cables  
XW2Z-070T-1  
XW2Z-200T-1  
Use for CPM2B RS-232C port to NT-AL001-E  
connection. (0.7-m cable)  
(For use with the  
NT-AL001-E.)  
Use for CPM2B RS-232C port to NT-AL001-E  
connection. (2-m cable)  
131  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Appendix B  
Dimensions  
All dimensions are in millimeters.  
CPU Boards and Expansion I/O Boards  
164  
174  
Mounting Bracket (CPM2B-ATT01)  
Six 3.5 dia.  
Four 4.5 dia.  
164  
186  
196  
133  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Dimensions  
Appendix B  
Assembly Dimensions  
Front view  
Side view  
28  
CPU Board  
28  
28  
28  
14  
Expansion I/O Board  
Mounting Bracket  
164  
186  
206  
134  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
Numbers  
1:N connections, 10  
D
data, modifying, Programming Console, 99100, 101, 102, 103  
data link, 5, 12  
date. See clock  
A
decimal data with sign. See signed decimal data  
decimal data without sign. See unsigned decimal data  
dielectric strength, 22  
arc killer, examples, xvii  
ASCII, converting displays, Programming Console, 105  
atmosphere, 22  
differentiated instructions, entering, 90  
dimensions, 133  
displays  
B
converting between hex and ASCII, Programming Console,  
105  
battery, replacing, 126  
cycle time, Programming Console, 105  
binary data, modifying, Programming Console, 101  
bit status, force-set/reset, Programming Console, 104  
bits, searching, Programming Console, 92  
buzzer operation, Programming Console, 86  
duct installation, 40  
E
EC Directives, precautions, xv  
electrical noise, preventing, 37, 40  
C
ERR indicator  
flashing, 116  
lit, 117  
cabinet  
installation, precautions, 37  
Programming Console installation, 82  
error log, 69  
errors  
error processing, 113  
fatal, 117  
cables, available models, 130, 131  
characteristics, 23  
identifying, 115  
non-fatal, 116  
PC Setup, 65  
reading/clearing messages, Programming Console, 86  
user-defined errors, 116  
checking, program syntax, Programming Console, 94  
circuit configuration  
inputs, 25  
outputs, relay, 27  
clearing, memory areas, Programming Console, 85  
clock, reading and setting the clock, 106  
communications capabilities, overview, 4  
components, Expansion I/O Boards, 32  
conduit installation, 41  
Expansion I/O Boards  
available models, 129  
components, 32  
dimensions, 133  
Expansion I/O Cable, available models, 129  
expansion instructions  
function codes, 76  
counters  
reading and changing function code assignments, 87  
changing SV, Programming Console, 100  
example of inputting, 110  
CPU Boards  
available models, 129  
dimensions, 133  
FH  
FAL numbers, 116  
CPU Units  
cyclic operation, 16  
internal structure, 13  
FAL(06), 116  
FALS numbers, 117  
FALS(07), 116  
CX-Programmer, 8  
cycle time, displaying, Programming Console, 105  
cyclic operation, 16  
false inputs, 48  
fatal errors, troubleshooting, 120  
135  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
features, 2  
M
flash memory, precautions, 114  
flicker output, example, 111  
maintenance, 125  
memory  
force-set/reset  
clearing, Programming Console, 104  
Programming Console, 104  
backup, 24  
protection, 24  
memory areas  
AR area bits, CPM2A/CPM2C, 60  
clearing, Programming Console, 85  
flags and control bits, CPM2A/CPM2C, 58  
partial clear, 85  
function codes  
expansion instructions, 76  
reading and changing expansion instruction assignments, 87  
functions, 5  
messages, reading/clearing, 86  
mode, changing the PC mode, 80  
modes, operating modes, 14  
hexadecimal data, converting displays, Programming Console,  
105  
modifying  
binary data, Programming Console, 101  
data, Programming Console, 99  
hexadecimal/BCD data, Programming Console, 101  
signed decimal data, Programming Console, 102  
SV, Programming Console, 100  
IL  
I/O capacity, 23  
I/O connectors  
unsigned decimal data, Programming Console, 103  
available models, 130  
pin allocation, Expansion I/O Units, 33  
wiring, 43  
MONITOR mode  
description, 80  
example test run, 112  
I/O errors, troubleshooting, 122  
monitoring  
3-word monitor, Programming Console, 98  
binary monitor, Programming Console, 9798  
differentiation monitor, Programming Console, 9697  
signed decimal monitor, Programming Console, 9899  
status, Programming Console, 94  
I/O line noise, preventing, 40  
I/O terminals, allocation, Expansion I/O Units, 33  
indicators  
flashing ERR indicator, 116  
lit ERR indicator, 117  
PC status indicators, 30  
unsigned decimal monitor, Programming Console, 99  
motor control, capabilities, 2  
MSG(46), 116  
inductive loads, 48, 51  
initialization, time required, 15  
input devices, connecting, 46  
input specifications, 25, 27  
inputs, wiring, 45  
N
noise, preventing electrical noise, 37, 40  
noise immunity, 22  
inrush current, suppressing, 52  
inspections, 125  
non-fatal errors, troubleshooting, 121  
NPN current output, connecting, 46  
NPN open collector, connecting, 46  
NT Link, connections, 11  
installation, site, selecting, 36  
instructions  
expansion, 76  
inserting and deleting, Programming Console, 93  
mnemonics list, ladder, 73  
searching, Programming Console, 91  
O
operating conditions, troubleshooting, 124  
insulation resistance, 22  
operating modes, 14  
operating mode at startup, 14  
interlocks, 36  
interrupt program execution, in cyclic operation, 18  
leakage current, 48  
operation, preparations, 82  
output short protection, 51  
output specifications  
relay output, 27  
LED indicators, 30  
limit switches, preventing false inputs, 48  
transistor output, sink type, 28  
136  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
output wiring, relay output, 49  
pulse control, 2  
pulse outputs, 3  
wiring, 51  
PR  
quick-response inputs, 3  
relay outputs, connecting, 46  
Relay Terminals, connections, 44  
RUN mode, description, 80  
panel, Programming Console installation, 82  
panel installation, precautions, 37  
password, entering on Programming Console, 83  
PC mode, changing, 80  
PC Setup. See settings  
S
PC status, indicators, 30  
search  
instruction, Programming Console, 9192  
operands, Programming Console, 92  
Peripheral Devices, 130  
available models, 130  
self-diagnosis functions, 24  
self-holding bit, example, 109  
self-diagnostic functions, 115  
settings, changing, 64  
photoelectric switches, preventing false inputs, 48  
PNP current output, connecting, 46  
position control, 3  
power, consumption, 22  
shock resistance, 22  
power cables, 40  
signed decimal data  
modifying, Programming Console, 102  
monitoring, 9899  
power interruption, detection, 15  
power supply  
precautions, 36  
troubleshooting, 119, 125  
wiring, 41  
specifications  
characteristics, 23  
general specifications, 22  
input specifications, 25, 27  
output specifications  
relay output, 27  
precautions  
design precautions, 36  
general, xi  
transistor output, sink type, 28  
terminal blocks, 42  
program, programming example, 106  
program capacity, 23  
status, monitoring, Programming Console, 94  
Support Software, 8  
program execution, in cyclic operation, 17  
program memory, setting address and reading content, Pro-  
gramming Console, 88  
SV, modifying, Programming Console, 100  
syntax, checking the program, Programming Console, 94  
SYSMAC Support Software, 8  
PROGRAM mode, description, 80  
programming  
SYSMAC-CPT Support Software, 8  
system, checks, 114  
checking the program, 111112  
checks for syntax, Programming Console, 94  
inserting and deleting instructions, Programming Console,  
9394  
system configuration, 6  
preparation for, 106  
searching, Programming Console, 9192  
setting and reading a memory address, Programming Con-  
sole, 88  
T
special features, 76  
temperature, operating, storage, 22  
Programming Console  
connecting, 81  
connections, 8  
keys, 78  
models, 78  
operations, 84  
temperature, ambient, 22  
terminal blocks  
connections, 44  
specifications, 42  
wiring, 42  
test run  
example, 112  
procedure, 114  
Programming Devices, using, 77  
programming example, 106  
programs, entering and editing, Programming Console, 88  
proximity switches, preventing false inputs, 48  
time. See clock  
timers  
137  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Index  
changing SV, Programming Console, 100  
example of inputting, 110  
modifying, Programming Console, 103  
monitoring, 99  
troubleshooting, 118  
fatal errors, 120  
I/O errors, 122  
VW  
vibration resistance, 22  
non-fatal errors, 121  
operating conditions, 124  
power supply, 119, 125  
voltage, supply voltage, 22  
voltage output, connecting, 46  
wiring, 40  
U
I/O connectors, 43  
power supply, 41  
terminal blocks, 42  
unsigned decimal data  
138  
Download from Www.Somanuals.com. All Manuals Search And Download.  
Revision History  
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.  
Cat. No. W371-E1-1  
Revision code  
The following table outlines the changes made to the manual during each revision. Page numbers refer to the  
previous version.  
Revision code  
Date  
Revised content  
1
February 2000  
Original production  
139  
Download from Www.Somanuals.com. All Manuals Search And Download.  

Miele Clothes Dryer 06 884 700 User Manual
Miller Electric Welder XMS 4000 User Manual
Mustek Computer Monitor TP 6000 User Manual
Nokia Cell Phone 252 User Manual
Nokia Cell Phone N93i User Manual
Omega Plumbing Product OFS20 User Manual
Panasonic MP3 Player CQ C8803N User Manual
Panasonic Network Card 2SA2028 User Manual
Patton electronic Network Card 1007 User Manual
Patton electronic Network Card 1015 User Manual