Programmable Controllers
C200HX-CPU jj-ZE
C200HG-CPU jj-ZE
C200HE-CPU jj-ZE
C200HX-CPU -ZE C200HG-CPU -ZE C200HE-CPU -ZE
Programmable Controllers
Operation Manual
Revised May 2003
!
!
!
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or dam- age to property.
DANGER
Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury.WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury.
Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is 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
“word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means 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, 1997
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.
PRECAUTIONS . . . xiii
1 Intended Audience. . . xiv
2 General Precautions. . . xiv
3 Safety Precautions . . . xiv
4 Operating Environment Precautions . . . xv
5 Application Precautions . . . xv
6 Conformance to EC Directives . . . xvii
SECTION 1 Introduction . . . 1
1-1 Overview . . . 2
1-2 The Origins of PC Logic . . . 2
1-3 PC Terminology . . . 3
1-4 OMRON Product Terminology . . . 4
1-5 Overview of PC Operation . . . 4
1-6 Programming Devices . . . 5
1-7 Available Manuals . . . 6
1-8 C200HX/HG/HE Features . . . 7
SECTION 2 Hardware Considerations . . . 13
2-1 CPU Unit Components. . . 14
2-2 PC Configuration . . . 17
2-3 CPU Unit Capabilities . . . 17
2-4 Memory Cassettes . . . 18
2-5 Operating without a Backup Battery . . . 21
2-6 CPU Unit DIP Switch. . . 23
SECTION 3 Memory Areas . . . 25
3-1 Introduction . . . 27
3-2 Data Area Structure . . . 28
3-3 IR (Internal Relay) Area . . . 32
3-4 SR (Special Relay) Area . . . 36
3-5 AR (Auxiliary Relay) Area . . . 52
3-6 DM (Data Memory) Area. . . 60
3-7 HR (Holding Relay) Area . . . 74
3-8 TC (Timer/Counter) Area . . . 74
3-9 LR (Link Relay) Area . . . 75
3-10 UM Area . . . 76
3-11 TR (Temporary Relay) Area . . . 77
3-12 EM (Extended Data Memory) Area. . . 77
SECTION 4 Writing and Inputting the Program . . . 79
4-1 Basic Procedure . . . 81
4-2 Instruction Terminology . . . 81
4-8 Controlling Bit Status. . . 127
4-9 Work Bits (Internal Relays) . . . 129
4-10 Programming Precautions . . . 131
4-11 Program Execution. . . 133
4-12 Special I/O Unit Interface Programs . . . 133
4-13 Analog Timer Unit Programming . . . 137
SECTION 5 Instruction Set . . . 143
5-1 Notation . . . 147
5-2 Instruction Format . . . 147
5-3 Data Areas, Definer Values, and Flags . . . 147
5-4 Differentiated Instructions . . . 149
5-5 Expansion Instructions . . . 150
5-6 Coding Right-hand Instructions . . . 151
5-7 Instruction Set Lists . . . 154
5-8 Ladder Diagram Instructions . . . 160
5-9 Bit Control Instructions . . . 161
5-10 INTERLOCK and INTERLOCK CLEAR – IL(002) and ILC(003) . . . 167
5-11 JUMP and JUMP END – JMP(004) and JME(005). . . 169
5-12 END – END(001) . . . 170
5-13 NO OPERATION – NOP(000). . . 170
5-14 Timer and Counter Instructions . . . 171
5-15 Data Shifting . . . 183
5-16 Data Movement . . . 192
5-17 Data Comparison . . . 205
5-18 Data Conversion . . . 220
5-19 Symbol Math Instructions . . . 244
5-20 BCD Calculations. . . 264
5-21 Binary Calculations . . . 280
5-22 Special Math Instructions. . . 294
5-23 Logic Instructions. . . 313
5-24 Subroutines and Interrupt Control . . . 317
5-25 Step Instructions . . . 329
5-26 Special Instructions . . . 338
5-27 Network Instructions . . . 356
5-28 Serial Communications Instructions . . . 368
5-29 Advanced I/O Instructions . . . 375
5-30 Special I/O Unit Instructions . . . 390
SECTION 6 Program Execution Timing . . . 399
6-1 Cycle Time . . . 400
6-2 Calculating Cycle Time . . . 404
6-3 Instruction Execution Times . . . 407
6-4 I/O Response Time. . . 418
SECTION 7 Program Monitoring and Execution . . . 431
7-1 Monitoring Operation and Modifying Data . . . 432
7-2 Programming Console Operations . . . 432
SECTION 8
Serial Communications . . . 459
8-1 Introduction . . . 460
8-2 Host Link Communications . . . 461
8-3 RS-232C Communications. . . 468
8-4 One-to-one PC Links . . . 472
8-5 NT Links. . . 474
8-6 The Protocol Macro Function . . . 475
SECTION 9 Troubleshooting . . . 485
9-1 Alarm Indicators. . . 486
9-2 Programmed Alarms and Error Messages . . . 486
9-3 Reading and Clearing Errors and Messages . . . 486
9-4 Error Messages . . . 487
9-5 Error Flags . . . 491
9-6 Host Link Errors. . . 492
SECTION 10 Host Link Commands . . . 495
10-1 Host Link Command Summary . . . 496
10-2 Host Link End Codes . . . 497
10-3 Host Link Commands. . . 500
Appendices
A Standard Models . . . 543B Programming Instructions . . . 559
C Error and Arithmetic Flag Operation. . . 569
D Word Assignment Recording Sheets . . . 575
E Program Coding Sheet . . . 581
F Data Conversion Tables . . . 583
G Extended ASCII . . . 585
Glossary . . . 587
Index . . . 603
Revision History . . . 609
This manual describes the operation of the ZE-version C200HX/HG/HE Programmable Controllers, and it includes the sections described below. Throughout this manual, the ZE-version C200HX/HG/HE Pro- grammable Controllers are referred to as either C200HX/HG/HE Programmable Controllers (PCs) or as merely the C200HX/HG/HE.
Installation information is provided in the C200HX/HG/HE Programmable Controller Installation Guide. A table of other manuals that can be used in conjunction with this manual is provided in Section 1 Introduc- tion.
Please read this manual completely and be sure you understand the information provided before attempt- ing to operate the C200HX/HG/HE. Be sure to read the precautions in the following section.
Section 1 Introduction explains the background and some of the basic terms used in ladder-diagram programming. It also provides an overview of the process of programming and operating a PC and ex- plains basic terminology used with OMRON PCs. Descriptions of Peripheral Devices used with the C200HX/HG/HE PCs and a table of other manuals available to use with this manual for special PC appli- cations are also provided.
Section 2 Hardware Considerations explains basic aspects of the overall PC configuration, describes the indicators that are referred to in other sections of this manual, and explains how to use the Memory Cassette to manage UM and IOM data.
Section 3 Memory Areas takes a look at the way memory is divided and allocated and explains the infor- mation provided there to aid in programming. It explains how I/O is managed in memory and how bits in memory correspond to specific I/O points. It also provides information on System DM, a special area in C200HX/HG/HE PCs that provides the user with flexible control of PC operating parameters.
Section 4 Writing and Entering Programs explains the basics of ladder-diagram programming, looking at the elements that make up the parts of a ladder-diagram program and explaining how execution of this program is controlled. It also explains how to convert ladder diagrams into mnemonic code so that the programs can be entered using a Programming Console.
Section 5 Instruction Set describes all of the instructions used in programming.
Section 6 Program Execution Timing explains the cycling process used to execute the program and tells how to coordinate inputs and outputs so that they occur at the proper times.
Section 7 Program Debugging and Execution explains the Programming Console procedures used to input and debug the program and to monitor and control operation.
Section 8 Communications provides an overview of the communications features provided by the C200HX/HG/HE.
Section 9 Troubleshooting provides information on error indications and other means of reducing down- time. Information in this section is also useful when debugging programs.
Section 10 Host Link Commands explains the host link commands which can be used for host link com- munications via the C200HX/HG/HE ports.
The Appendices provide tables of standard OMRON products available for the C200HX/HG/HE PCs, reference tables of instructions, a coding sheet to help in programming and parameter input, and other information helpful in PC operation.
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.
!
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 PC. You must read this section and understand the information contained before attempting to set up or operate a PC system.
1 Intended Audience. . . xiv
2 General Precautions. . . xiv
3 Safety Precautions . . . xiv
4 Operating Environment Precautions . . . xv
5 Application Precautions. . . xv
6 Conformance to EC Directives . . . xvii
!
!
!
!
1 Intended Audience
This manual is intended for the following personnel, who must also have knowl- edge of electrical systems (an electrical engineer or the equivalent).
• Personnel in charge of installing FA systems.
• Personnel in charge of designing FA systems.
• Personnel in charge of managing FA systems and facilities.
2 General Precautions
The user must operate the product according to the performance specifications described in the operation manuals.
Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
This manual provides information for programming and operating OMRON PCs.
Be sure to read this manual before attempting to use the software and keep this manual close at hand for reference during operation.
WARNING It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above mentioned applications.
3 Safety Precautions
WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing so may result in electric shock.
WARNING Do not touch any of the terminals or terminal blocks while the power is being supplied. Doing so may result in electric shock.
WARNING Provide safety measures in external circuits (i.e., not in the Programmable Controller), including the following items, 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.
• 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.
• When the 24-VDC output (service power supply to the PC) is overloaded or short-circuited, the voltage may drop and result in the outputs being turned OFF. As a countermeasure for such problems, external safety measures must be provided to ensure safety in the system.
Caution Execute online edit only after confirming that no adverse effects will be caused by extending the cycle time. Otherwise, the input signals may not be readable.
Caution Confirm safety at the destination node before transferring a program to another node or changing contents of the I/O memory area. Doing either of these without confirming safety may result in injury.
Caution Tighten the screws on the terminal block of the AC Power Supply Unit to the torque specified in the operation manual. The loose screws may result in burning or malfunction.
4 Operating Environment Precautions
Do not operate the control system in the following places.
• Where the PC is exposed to direct sunlight.
• Where the ambient temperature is below 0°C or over 55°C.
• Where the PC may be affected by condensation due to radical temperature changes.
• Where the ambient humidity is below 10% or over 90%.
• Where there is any corrosive or inflammable gas.
• Where there is excessive dust, saline air, or metal powder.
• Where the PC is affected by vibration or shock.
• Where any water, oil, or chemical may splash on the PC.
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.
WARNING Failure to abide by the following precautions could lead to serious or possibly fatal injury. Always heed these precautions.
• Always ground the system to 100 Ω or less when installing the system to pro- tect against electrical shock.
• Always turn OFF the power supply to the PC before attempting any of the fol-
!
!
• Connecting or disconnecting any cables or wiring.
Caution Failure to abide by the following precautions could lead to faulty operation of the PC or the system or could damage the PC or PC Units. Always heed these pre- cautions.
• Use the Units only with the power supplies and voltages specified in the opera- tion manuals. Other power supplies and voltages may damage the Units.
• Take measures to stabilize the power supply to conform to the rated supply if it is not stable.
• Provide circuit breakers and other safety measures to provide protection against shorts in external wiring.
• Do not apply voltages exceeding the rated input voltage to Input Units.
• Do not apply voltages exceeding the maximum switching capacity to Output Units.
• Always disconnect the functional ground terminal when performing withstand voltage tests.
• Carefully follow all of the installation instructions provided in the manuals, in- cluding the Installation Guide.
• 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.
• Be sure to tighten Backplane screws, terminal screws, and cable connector screws securely.
• Do not attempt to take any Units apart, to repair any Units, or to modify any Units in any way.
Caution The following precautions are necessary to ensure the general safety of the sys- tem. Always heed these precautions.
• Provide double safety mechanisms to handle incorrect signals that can be generated by broken signal lines or momentary power interruptions.
• Provide external interlock circuits, limit circuits, and other safety circuits in addition to any provided within the PC to ensure safety.
• Always test the operation of the user program sufficiently before starting actual system operation.
• Always confirm that there will be no adverse affects on the system before changing the PC’s operating mode.
• Always confirm that there will be no adverse affects on the system before force-setting/resetting any bits in PC memory.
• Always confirm that there will be no adverse affects on the system before changing any set values or present values in PC memory.
• Whenever the CPU Unit has been replaced, be sure that all required memory data, such as that in the HR and DM areas, has been transferred to the new CPU Unit before starting operation.
• Never pull on or place objects on cables or cords, or wires may be broken.
6 Conformance to EC Directives
Observe the following precautions when installing the C200HX/HG/HE PCs that conform to the EC Directives.
Provide reinforced insulation or double insulation for the DC power source con- nected to the DC I/O Unit and for the Power Supply Unit.
Use a separate power source for the DC I/O Unit from the external power supply for the Relay Output Unit.
Introduction
This section gives a brief overview of the history of Programmable Controllers and explains terms commonly used in ladder- diagram programming. It also provides an overview of the process of programming and operating a PC and explains basic terminology used with OMRON PCs. Descriptions of Programming Devices used with the C200HX/HG/HE PCs, a table of other manuals available to use with this manual for special PC applications, and a description of the new features of the C200HX/HG/HE PCs are also provided.
1-1 Overview . . . 2
1-2 The Origins of PC Logic . . . 2
1-3 PC Terminology . . . 3
1-4 OMRON Product Terminology . . . 4
1-5 Overview of PC Operation. . . 4
1-6 Programming Devices . . . 5
1-7 Available Manuals . . . 6
1-8 C200HX/HG/HE Features . . . 7
1-8-1 ZE-version C200HX/HG/HE Improvements . . . 7
1-8-2 C200HS and C200HX/HG/HE Capabilities . . . 8
1-8-3 Program Compatibility . . . 9
1-1 Overview
A PC (Programmable Controller) is basically a CPU (Central Processing Unit) containing a program and connected to input and output (I/O) devices. The pro- gram controls the PC so that when an input signal from an input device turns ON, the appropriate response is made. The response normally involves turning ON an output signal to some sort of output device. The input devices could be photo- electric sensors, pushbuttons on control panels, limit switches, or any other de- vice that can produce a signal that can be input into the PC. The output devices could be solenoids, switches activating indicator lamps, relays turning ON mo- tors, or any other devices that can be activated by signals output from the PC.
For example, a sensor detecting a passing product turns ON an input to the PC.
The PC responds by turning ON an output that activates a pusher that pushes the product onto another conveyor for further processing. Another sensor, posi- tioned higher than the first, turns ON a different input to indicate that the product is too tall. The PC responds by turning ON another pusher positioned before the pusher mentioned above to push the too-tall product into a rejection box.
Although this example involves only two inputs and two outputs, it is typical of the type of control operation that PCs can achieve. Actually even this example is much more complex than it may at first appear because of the timing that would be required, i.e., “How does the PC know when to activate each pusher?” Much more complicated operations, however, are also possible. The problem is how to get the desired control signals from available inputs at appropriate times.
To achieve proper control, the C200HX/HG/HE PCs use a form of PC logic called ladder-diagram programming. This manual is written to explain ladder- diagram programming and to prepare the reader to program and operate the PC.
1-2 The Origins of PC Logic
PCs historically originate in relay-based control systems. And although the inte- grated circuits and internal logic of the PC have taken the place of the discrete relays, timers, counters, and other such devices, actual PC operation proceeds as if those discrete devices were still in place. PC control, however, also pro- vides computer capabilities and accuracy to achieve a great deal more flexibility and reliability than is possible with relays.
The symbols and other control concepts used to describe PC operation also come from relay-based control and form the basis of the ladder-diagram pro- gramming method. Most of the terms used to describe these symbols and con- cepts, however, have come in from computer terminology.
Relay vs. PC Terminology The terminology used throughout this manual is somewhat different from relay terminology, but the concepts are the same.
The following table shows the relationship between relay terms and the PC terms used for OMRON PCs.
Relay term PC equivalent
Actually there is not a total equivalence between these terms. The term condi- tion is only used to describe ladder diagram programs in general and is specifi- cally equivalent to one of a certain set of basic instructions. The terms input and output are not used in programming per se, except in reference to I/O bits that are assigned to input and output signals coming into and leaving the PC. Nor- mally open conditions and normally closed conditions are explained in 4-4 Basic Ladder Diagrams.
1-3 PC Terminology
Although also provided in the Glossary at the back of this manual, the following terms are crucial to understanding PC operation and are thus explained here.
PC Because the C200HX/HG/HE PCs are Rack PCs, there is no one product that is a C200HX/HG/HE PC. That is why we talk about the configuration of the PC, because a PC is a configuration of smaller Units.
To have a functional PC, you would need to have a CPU Rack with at least one Unit mounted to it that provides I/O points. When we refer to the PC, however, we are generally talking about the CPU Unit and all of the Units directly controlled by it through the program. This does not include the I/O devices connected to PC inputs and outputs.
If you are not familiar with the terms used above to describe a PC, refer to Sec- tion 2 Hardware Considerations for explanations.
Inputs and Outputs A device connected to the PC that sends a signal to the PC is called an input device; the signal it sends is called an input signal. A signal enters the PC through terminals or through pins on a connector on a Unit. The place where a signal enters the PC is called an input point. This input point is allocated a loca- tion in memory that reflects its status, i.e., either ON or OFF. This memory loca- tion is called an input bit. The CPU Unit, in its normal processing cycle, monitors the status of all input points and turns ON or OFF corresponding input bits ac- cordingly.
There are also output bits in memory that are allocated to output points on Units through which output signals are sent to output devices, i.e., an output bit is turned ON to send a signal to an output device through an output point. The CPU Unit periodically turns output points ON or OFF according to the status of the output bits.
These terms are used when describing different aspects of PC operation. When programming, one is concerned with what information is held in memory, and so I/O bits are referred to. When talking about the Units that connect the PC to the controlled system and the places on these Units where signals enter and leave the PC, I/O points are referred to. When wiring these I/O points, the physical counterparts of the I/O points, either terminals or connector pins, are referred to.
When talking about the signals that enter or leave the PC, one refers to input signals and output signals, or sometimes just inputs and outputs. It all depends on what aspect of PC operation is being talked about.
The Control System includes the PC and all I/O devices it uses to control an ex- ternal system. A sensor that provides information to achieve control is an input device that is clearly part of the Control System. The controlled system is the external system that is being controlled by the PC program through these I/O devices. I/O devices can sometimes be considered part of the controlled sys- tem, e.g., a motor used to drive a conveyor belt.
Controlled System and Control System
1-4 OMRON Product Terminology
OMRON products are divided into several functional groups that have generic names. Appendix A Standard Models list products according to these groups.
The term Unit is used to refer to all of the OMRON PC products. Although a Unit is any one of the building blocks that goes together to form a C200HX/HG/HE PC, its meaning is generally, but not always, limited in context to refer to the Units that are mounted to a Rack. Most, but not all, of these products have names that end with the word Unit.
The largest group of OMRON products is the I/O Units. These include all of the Rack-mounting Units that provide non-dedicated input or output points for gen- eral use. I/O Units come with a variety of point connections and specifications.
High-density I/O Units are designed to provide high-density I/O capability and include Group 2 High-density I/O Units and Special I/O High-density I/O Units.
Special I/O Units are dedicated Units that are designed to meet specific needs.
These include some of the High-density I/O Units, Position Control Units, High- speed Counter Units, and Analog I/O Units.
Link Units are used to create Link Systems that link more than one PC or link a single PC to remote I/O points. Link Units include Remote I/O Units, PC Link Units, Host Link Units, SYSMAC NET Link Units, and SYSMAC LINK Units.
Other product groups include Programming Devices, Peripheral Devices, and DIN Rail Products.
1-5 Overview of PC Operation
The following are the basic steps involved in programming and operating a C200HX/HG/HE PC. Assuming you have already purchased one or more of these PCs, you must have a reasonable idea of the required information for steps one and two, which are discussed briefly below. This manual is written to explain steps three through six, eight, and nine. The relevant sections of this manual that provide more information are listed with each of these steps.
1, 2, 3... 1. Determine what the controlled system must do, in what order, and at what times.
2. Determine what Racks and what Units will be required. Refer to the C200HX/HG/HE PC Installation Guide. If a Link System is required, refer to the appropriate System Manual.
3. On paper, assign all input and output devices to I/O points on Units and de- termine which I/O bits will be allocated to each. If the PC includes Special I/O Units or Link Systems, refer to the individual Operation Manuals or System Manuals for details on I/O bit allocation. (Section 3 Memory Areas) 4. Using relay ladder symbols, write a program that represents the sequence
of required operations and their inter-relationships. Be sure to also program appropriate responses for all possible emergency situations. (Section 4 Writing and Inputting the Program, Section 5 Instruction Set, Section 6 Pro- gram Execution Timing)
5. Input the program and all required operating parameters into the PC. (Sec- tion 4-7 Inputting, Modifying, and Checking the Program.)
6. Debug the program, first to eliminate any syntax errors, and then to find ex- ecution errors. (Section 4-7 Inputting, Modifying, and Checking the Pro- gram, Section 7 Program Monitoring and Execution, and Section 9
8. Test the program in an actual control situation and carry out fine tuning as required. (Section 7 Program Monitoring and Execution and Section 9 Troubleshooting)
9. Record two copies of the finished program on masters and store them safely in different locations. (Section 4-7 Inputting, Modifying, and Checking the Program)
Control System Design Designing the Control System is the first step in automating any process. A PC can be programmed and operated only after the overall Control System is fully understood. Designing the Control System requires, first of all, a thorough un- derstanding of the system that is to be controlled. The first step in designing a Control System is thus determining the requirements of the controlled system.
Input/Output Requirements The first thing that must be assessed is the number of input and output points that the controlled system will require. This is done by identifying each device that is to send an input signal to the PC or which is to receive an output signal from the PC. Keep in mind that the number of I/O points available depends on the configuration of the PC. Refer to 3-3 IR Area for details on I/O capacity and the allocation of I/O bits to I/O points.
Next, determine the sequence in which control operations are to occur and the relative timing of the operations. Identify the physical relationships between the I/O devices as well as the kinds of responses that should occur between them.
For instance, a photoelectric switch might be functionally tied to a motor by way of a counter within the PC. When the PC receives an input from a start switch, it could start the motor. The PC could then stop the motor when the counter has received a specified number of input signals from the photoelectric switch.
Each of the related tasks must be similarly determined, from the beginning of the control operation to the end.
Unit Requirements The actual Units that will be mounted or connected to PC Racks must be deter- mined according to the requirements of the I/O devices. Actual hardware specifi- cations, such as voltage and current levels, as well as functional considerations, such as those that require Special I/O Units or Link Systems will need to be con- sidered. In many cases, Special I/O Units, Intelligent I/O Units, or Link Systems can greatly reduce the programming burden. Details on these Units and Link Systems are available in appropriate Operation Manuals and System Manuals.
Once the entire Control System has been designed, the task of programming, debugging, and operation as described in the remaining sections of this manual can begin.
1-6 Programming Devices
The following Programming Devices can be used in programming, either to in- put/debug/monitor the PC program or to interface the PC to external devices to output the program or memory area data. Model numbers for all devices listed below are provided in Appendix A Standard Models. OMRON product names have been placed in bold when introduced in the following descriptions.
Programming Console A Programming Console is the simplest form of programming device for OM- RON PCs. All Programming Consoles are connected directly to the CPU Unit without requiring a separate interface.
The SYSMAC-CPT Support Software is the only support software currently compatible with the C200HX/HG/HE PCs. This software is designed to run on IBM PC/AT or compatibles and allows you to perform all the operations of the Programming Console as well as many additional ones. PC programs can be written on-screen in ladder-diagram form as well as in mnemonic form. As the program is written, it is displayed on a display, making confirmation and modifi- Sequence, Timing, and
Relationships
SYSMAC-CPT Support Software
cation quick and easy. Syntax checks may also be performed on the programs before they are downloaded to the PC.
The SYSMAC-CPT Support Software does not support any of the original C200HX/HG/HE CPU Units at present.
1-7 Available Manuals
The following table lists other manuals that may be required to program and/or operate the C200HX/HG/HE PCs. Operation Manuals and/or Operation Guides are also provided with individual Units and are required for wiring and other specifications.
Name Cat. No. Contents
SYSMAC WS02-CXPC1-E CX-Programmer Operation Manual
W361 Provides information on how to use the CX-Programmer, a programming device that supports the CS1-series PCs.
SYSMAC-CPT Support Software Quick Start Guide and User Manual
W332 W333
Programming procedures for using the SYSMAC-CPT Support Software
Data Access Console Operation Guide W173 Data area monitoring and data modification procedures for the Data Access Console Position Control Unit Operation Manuals NC111: W137
NC112: W128 NC211: W166
Information on Position Control Unit
High-density and Multiplex I/O Units Operation Guide
W133 Information on the High-density I/O Units.
Analog I/O Units Operation Guide W127 Information on the C200H-AD001 and C200H-DA001 Analog I/O Units
W325 Information on the C200H-AD003, C200H-DA003, C200-DA004, and C200H-MAD01 Analog I/O Units Analog Input Unit Operation Manual W229 Information on the C200H-AD002 Analog Input Unit Temperature Sensor Unit Operation Guide W124 Information on Temperature Sensor Unit
Temperature Control Unit Operation Manual W225 Information on Temperature Control Unit High-speed Counter Unit Operation Manual W141 Information on High-speed Counter Unit ASCII Unit Operation Manual W165 Information on ASCII Unit
Voice Unit Operation Manual W172 Information on Voice Unit ID Sensor Unit Operation Guide W153 Information on ID Sensor Unit Fuzzy Logic Unit Operation Manual W208 Information on Fuzzy Logic Unit
Fuzzy Support Software Operation Manual W210 Information on the Fuzzy Support Software which supports the Fuzzy Logic Units
Cam Positioner Unit Operation Manual W224 Information on Cam Positioner Unit
SYSMAC NET Link Unit Operation Manual W114 Information on building a SYSMAC NET Link System and thus create an optical LAN integrating PCs with computers and other peripheral devices SYSMAC LINK System Manual W174 Information on building a SYSMAC LINK System to
enable automatic data transfer, programming, and programmed data transfer between the PCs in the System
Wired Remote I/O System Manual (SYSMAC BUS)
W120 Information on building a Wired Remote I/O System to enable remote I/O capability
Optical Remote I/O System Manual (SYSMAC BUS)
W136 Information on building an Optical Remote I/O System to enable remote I/O capability PC Link System Manual W135 Information on building a PC Link System to
Name Cat. No. Contents
PC Card Unit Operation Manual W313 Information on using a PC Card Unit to use PC cards.
PID Control Unit Operation Manual W241 Information on PID Control Unit Heat/Cool Temperature Control Unit Operation
Manual
W240 Information on Heating and Cooling Temperature Control Unit
1-8 C200HX/HG/HE Features
The new ZE-version C200HX/HG/HE-ZE CPU Units have a larger instruction set than the original C200HX/HG/HE CPU Units and instructions are identified with 3-digit function codes in the new CPU Units.
1-8-1 ZE-version C200HX/HG/HE Improvements
The following table shows the instructions that were added to the ZE-version C200HX/HG/HE CPU Units.
Instruction Bit Control
Instructions
BIT TEST: TST(350) and TSTN(351) Special
instructions
EM BANK TRANSFER: BXFR(125) Input
C i
Equality: =(300), =L(301), =S(302), =SL(303) p
Comparison
instructions Inequality: <>(305), <>L(306), <>S(307), <>SL(308) instructions
Less Than: <(310), <L(311), <S(312), <SL(313)
Less Than or Equal: <=(315), <=L(316), <=S(317), <=SL(318) Greater Than: >(320), >L(321), >S(322), >SL(323)
Greater Than or Equal: >=(325), >=L(326), >=S(327), >=SL(328) Symbol Math
i i
Binary Addition: +(400)/+L(401)/+C(402)/+CL(403) y
instructions BCD Addition: +B(404)/ +BL(405)/+BC(406)/+BCL(407) Binary Subtraction: –(410)/ –L(411)/–C(412)/–CL(413) BCD Subtraction: –B(414)/ –BL(415)/–BC(416)/–BCL(417) Binary Multiplication: *(420)/ *L(421)/*U(422)/*UL(423) BCD Multiplication: *B(424)/ *BL(425)
Binary Division: /(430)/ /L(431)//U(432)//UL(433) BCD Division: /B(434)/ /BL(435)
The following improvements have also been made for the ZE-version CPU Units.
• Function codes have been changed to three digits so that almost all of the in- structions can be used without allocating function codes.
• The SYSMAC-CPT Support Software can be used to greatly increase pro- gramming/monitoring functionality. (The previous Support Software cannot be used.)
• EM Area addresses can be directly address in instruction operands. This es- sentially doubles the word memory that can be accessed directly from the pro- gram (6,655 DM Area words plus 6,143 EM Area words).
• The maximum user memory capacity has been doubled from 32K words to 64K words.
Instructions
Other Improvements
1-8-2 C200HS and C200HX/HG/HE Capabilities
The following table shows the capabilities of the C200HX/HG/HE PCs and compares them with those of the C200HS PCs.
Function Capability
C200HX/HG/HE C200HS
Memory User memory (UM) C200HE-CPU11-ZE: 3.2K words C200HE-CPU2-ZE: 7.2K words C200HG-CPU3-ZE: 15.2K words C200HX-CPU4-ZE: 31.2K words C200HX-CPU5-ZE: 63.2K words
15.2K words
Normal DM 6,144 words (DM 0000 to DM 6143) (The C200HE-CPU11-ZE doesn’t have DM 4096 to DM 5999.)
6,144 words
(DM 0000 to DM 6143)
Fixed DM 512 words (DM 6144 to DM 6655) 512 words
(DM 6144 to DM 6655) Expansion DM 0 to 3,000 words (DM 7000 to DM 9999) 0 to 3,000 words
(DM 7000 to DM 9999) Extended Data Memory
(EM)
6,144 words (EM 0000 to EM 6143) C200HE: None
C200HG: 6,144 words × 1 bank
C200HX-CPU4-ZE: 6,144 words × 3 banks C200HX-CPU65-ZE: 6,144 words × 8 banks C200HX-CPU85-ZE: 6,144 words × 16 banks
None
I/O allocation Expansion Racks 3 Racks
(2 Racks in the C200HE-CPU-ZE or C200HX/HG-CPU3-ZE/4-ZE)
2 Racks
Group-2 Multipoint I/O Units
Unit numbers 0 to 9, A to F
(Incompatible with the C200HE-CPU11-ZE.) (Unit numbers 0 to 9 with the
C200HE-CPU2-ZE,
C200HX/HG-CPU3-ZE/4-ZE.)
Unit numbers 0 to 9
Special I/O Units Unit numbers 0 to 9, A to F (Unit numbers 0 to 9 with the C200HE-CPU-ZE or
C200HX/HG-CPU3-ZE/4-ZE.)
Unit numbers 0 to 9
Execution time Basic instructions (LD) 0.104 µs (C200HX) 0.156 µs (C200HG) 0.313 µs (C200HE)
0.375 µs
MOV(021) 0.417 µs (C200HX)
0.625 µs (C200HG) 1.250 µs (C200HE)
19.00 µs
ADD(030) 16.65 µs (C200HX/HG)
31.45 µs (C200HE) 40.10 µs
Other instructions C200HX/HG: 1/3 to 2/3 of C200HS time C200HE: 3/4 to 4/5 of C200HS time
--- Common processes
(END(001) processing)
0.7 ms (C200HX/HG) 2.1 ms (C200HE)
0.7 ms I/O refresh time Same as the C200HS, although part of
Special I/O refreshing takes 1/2 to 2/3 the C200HS time.
---
Function Capability Function
C200HS C200HX/HG/HE
CPU Unit functions
RS-232C port Available in the
C200HX/HG/HE-CPU4-ZE/6-ZE/8-ZE Available in the C200HS-CPU2-E /3-E
Clock function Available in all except the C200HE-CPU11-ZE
Available in all models SYSMAC NET Link and
SYSMAC LINK functions
Communications Boards can be installed in all PCs except the C200HE-CPU11-ZE.
(Board model numbers:
C200HW-COM01/04-E)
Available in the C200HS-CPU3-E
Communications Boards
--- Communications Boards can be installed in all PCs except the C200HE-CPU11-ZE.
These Boards can provide the following functions:
SYSMAC NET Link and SYSMAC LINK, Communications Ports (Ports 1 and 2), and Protocol Macro functions
---
Special I/O Units --- The IORD(222) and IOWR(223) instructions allow data to be transferred to and from Special I/O Units.
---
Interruptsp Interrupt Input Units 2 Units (16 inputs) 1 Unit (8 inputs) Communications Board
interrupts
Can be set. ---
Response characteristics Same as the C200HS, although a 1-ms response is possible in the C200HW-SLK
Normal mode: 10 ms High-speed mode: 1 ms (Always 10 ms when a SYSMAC NET Link or SYSMAC LINK is used.)
PTs --- NT Link (1:1) or NT Link (1:N)
(Up to 8 PTs can be connected from the RS-232C port through an RS-422/485 Link Adapter. When the C200HE-CPU-ZE with a Communications Board is used, only 3 PTs can be connected)
NT Link (1:1)
SYSMAC LINK Service time 3.5 ms max. (1 operating level) 10.8 ms max.
(1 operating level) Remote programming Possible from the Peripheral Port or RS-232C
Ports (including Communications Boards).
Possible from the Peripheral Port.
Effect on response time None 10 ms in any mode
1-8-3 Program Compatibility
Programs developed for the C200H, C200HS, and C200HX/HG/HE can be used in the C200HX/HG/HE(-ZE) PCs. Detailed procedures for the individual steps involved in transferring programs can be found in the SYSMAC Support Software Operation Manual and the SYSMAC-CPT Support Software Opera- tion Manual.
C200HX/HG/HE Precautions Observe the following precautions when transferring C200H programs to a C200HX/HG/HE PC.
• If a C200H program including the SET SYSTEM instruction (SYS(49)) is trans- ferred to the C200HX/HG/HE, the operating parameters set by this instruction will be transferred to the C200HX/HG/HE’s PC Setup area (DM 6600, DM 6601, and DM 6655) and overwrite any current settings. Be sure to confirm that the settings in these words are correct before using the PC after program transfer.
• If the C200H program accesses the C200H’s error log in DM 0969 to DM 0999, the addresses of the words being accessed must be changed to DM 6000 to DM 6030, which is the error log area for the C200HX/HG/HE.
• Any programs that rely on the execution cycle time (i.e., on the time required to execute any one part of all of the program) must be adjusted when used on the C200HX/HG/HE, which provides a much faster cycle time.
Observe the following precautions using a C200HX/HG/HE-CPU-ZE CPU Unit.
• Comment lines in ZE-version programs created using the SYSMAC-CPT Sup- port Software are stored in CMT instructions (instructions that store line com- ment position information) in the CPU Unit. The size of C200HX/HG/HE pro- grams with line comments will thus increase if the programs are copied to a ZE-version C200HX/HG/HE CPU Unit using the SYSMAC-CPT Support Soft- ware. (The CMT instructions will be displayed on a Programming Console, but they cannot be added, changed, or deleted from a Programming Console.)
• The ZE-version C200HX/HG/HE CPU Units do not support the differentiated form of the TEN KEY instruction (@TKY), although it can be input from the SYSMAC-CPT. Do not use this instruction.
• Care must be taken when converting expansion instructions in C200HX/HG/
HE programs when importing, copying, or pasting them into ZE-version C200HX/HG/HE programs. If the default expansion instruction function codes are used, they will automatically be converted to 3-digit function codes. The instructions listed in the right column in the following table will not convert prop- erly and a message saying that there are no function codes for them will be displayed. Ether use the instructions listed in the right column or correct the program after conversion. (Even the instructions that don’t convert can be used by assigning function codes to them as expansion instructions.)
Instructions that Don’t Convert Automatically
Recommended Instructions
ADBL +CL
DBS /
DBSL /L
MBS *
MBSL *L
SBBL –CL
BXF2 BXFR
(Specify expansion DM directly as an operand.)
XFR2 XFER
(Specify expansion DM directly as an operand.)
IEMS None
(It is possible to specify expansion DM directly as an operand.)
• The SYSMAC-CPT cannot be connected via a Host Link Unit.
• If the cycle time is longer than 100 ms when editing online from the SYSMAC- CPT, change the increment for the communications monitoring time (i.e., the timeout offset) to 10 s.
• It requires some time to write data to a Memory Casettes mounted to the CPU Unit. When using the SYSMAC-CPT to write data to a Memory Cassette from the user memory or I/O memory, change the increment for the communica- tions monitoring time (i.e., the timeout offset) to 15 s before turning ON the re- quired Control Bit in the SR Area.
ZE-version C200HX/HG/HE Precautions
To transfer from a C200H CPU Unit, set the PC to the C200H, connect the Support Software to the C200H, go online, and transfer the program and any other require data to the Support Software work area. You will probably want to transfer DM data and the I/O table, if you have created an I/O table for the C200H.
or To transfer from a hard disk, set the Support Software to offline mode and load the program, DM data, and I/O table data to the Support Software work area. These will need to be loaded separately. You will probably want to load DM data and the I/O table, if you have created an I/O table for the C200H.
2. Go offline if the Support Software is not already offline.
3. Change the PC setting for the Support Software.
4. If you want to transfer I/O comments together with the program to the C200HX/HG/HE, allocate UM area for I/O comments.
5. Connect the Support Software to the C200HX/HG/HE and go online.
6. Make sure that pin 1 on the C200HX/HG/HE’s CPU Unit is OFF to enable writing to the UM area.
7. Transfer the program and and any other require data to the C200HX/HG/
HE. You will probably want to transfer DM data and the I/O table, if you have created an I/O table for the C200H.
8. Turn the C200HX/HG/HE OFF and then back ON to reset it.
9. Test program execution before attempting actual operation.
Using Memory Cassettes The following procedure outlines the steps to transfer C200H programs to the C200HX/HG/HE via EEPROM or EPROM Memory Cassettes. This will allow you to read the program data from the Memory Cassette automatically at C200HX/HG/HE startup. The first four steps of this procedure is the same as those used for transferring directly to the C200HX/HG/HE’s internal memory (UM area).
1, 2, 3... 1. Transfer the program and any other required data to the Support Software work area. This data can be transferred from a C200H CPU Unit, from floppy disk, or from a Memory Unit.
To transfer from a C200H CPU Unit, set the Support Software to the C200H, connect the Support Software to the C200H, go online, and transfer the pro- gram and any other require data to the Support Software work area. You will probably want to transfer DM data and the I/O table, if you have created an I/O table for the C200H.
or To transfer from a hard disk, set the Support Software to offline mode and load the program, DM data, and I/O table data to the Support Software work area. These will need to be loaded separately. You will probably want to load DM data and the I/O table, if you have created an I/O table for the C200H.
2. Go offline if the Support Software is not already offline.
3. Change the PC setting for the Support Software.
4. Change the PC setting for the Support Software to the C200HX/HG/HE.
5. If you want to transfer I/O comments together with the program to the C200HX/HG/HE, allocate UM area for I/O comments.
6. Allocate expansion DM words DM 7000 to DM 7999 in the UM area using the UM allocation operation from the Support Software.
7. Copy DM 1000 through DM 1999 to DM 7000 through DM 7999.
8. Write “0100” to DM 6602 to automatically transfer the contents of DM 7000 through DM 7999 to DM 1000 through DM 1999 at startup.
9. Use the following procedure to transfer to an EEPROM Memory Cassette.
a) Connect the Support Software to the C200HX/HG/HE and go online.
b) Make sure that pin 1 on the C200HX/HG/HE’s CPU Unit is OFF to enable writing to the UM area.
c) Transfer the program and any other require data to the C200HX/HG/HE.
You will probably want to transfer DM data and the I/O table, if you have created an I/O table for the C200H. Make sure you specify transfer of the Expansion DM Area and, if desired, the I/O Comment Area.
d) Turn ON SR 27000 from the Support Software to transfer UM data to the Memory Cassette and continue from step 10.
10. Turn ON pin 2 on the C200HX/HG/HE’s DIP switch to enable automatic transfer of Memory Cassette data to the CPU Unit at startup.
11. Turn the C200HX/HG/HE OFF and then back ON to reset it and transfer data from the Memory Cassette to the CPU Unit.
12. Test program execution before attempting actual operation.
Hardware Considerations
This section provides information on hardware aspects of the C200HX/HG/HE that are relevant to programming and software operation. These include CPU Unit components, the basic PC configuration, CPU Unit capabilities, and Memory Cassettes.
This information is covered in detail in the C200HX/HG/HE Installation Guide.
2-1 CPU Unit Components. . . 14 2-1-1 CPU Unit Indicators. . . 15 2-1-2 Programming Device Connection . . . 15 2-2 PC Configuration . . . 17 2-3 CPU Unit Capabilities . . . 17 2-4 Memory Cassettes . . . 18 2-4-1 Hardware and Software Settings . . . 19 2-4-2 Writing/Reading UM Data. . . 19 2-4-3 Writing/Reading IOM Data . . . 20 2-5 Operating without a Backup Battery . . . 21 2-6 CPU Unit DIP Switch . . . 23
2-1 CPU Unit Components
The following diagram shows the main CPU Unit components.
Communications Board (The C200HW-COM06-E is mounted to this CPU Unit.)
Indicators
Memory Cassette DIP switch
Peripheral port
RS-232C port
Memory Cassette The CPU Unit has a compartment to connect the Memory Cassette to the CPU Unit. The Memory Cassette works as a RAM together with the built-in RAM of the CPU Unit.
Peripheral Port A Programming Device can be connected to the peripheral port.
RS-232C Port The CPU Unit has a built-in RS-232C port.
Communications Board The CPU Unit has a compartment to connect the Communications Board to the CPU Unit.
DIP Switch The PC operates according to the DIP switch settings of the CPU Unit. The DIP switch of the CPU Unit for the C200HX/HG/HE has six pins. For the function of each of the pins, refer to the following table. (All six pins are OFF when the PC is shipped.)
123456
ON OFF⇔ON
Pin Setting Function 1 ON Data cannot be written to the UM area.
OFF Data can be written to the UM area.
2 ON Memory Cassette data is read automatically at startup.
OFF Memory Cassette data is not read automatically at startup.
3 ON Programming Console displays messages in English.
OFF Programming Console displays messages in Japanese.
4 ON The expansion instructions can be set.
OFF The expansion instructions cannot be set (default setting).
5 ON Sets the following conditions for the communications port (including when a CQM1-CIF02 is connected to the Peripheral Port):
1 start bit, 7 data bits, even parity, 2 stop bit, 9,600 bps baud rate OFF Cancels the above settings.
6 ON Programming Console is in expansion terminal mode (AR 0712 is turned ON).
OFF Programming Console is in normal mode (AR 0712 is turned OFF).
2-1-1 CPU Unit Indicators
CPU Unit indicators provide visual information on the general operation of the PC. Although not substitutes for proper error programming using the flags and other error indicators provided in the data areas of memory, these indicators pro- vide ready confirmation of proper operation.
Indicator Meaning
RUN (green) Lit when the PC is operating normally.
ERR (red) Flashes if the PC detects any non-fatal error in operation. The PC will continue operating.
Lit if the PC detects any fatal error in operation. The PC will stop operating. After the PC stops operating, the RUN indicator will be OFF and all output signals of the Output Units will be interrupted (turned OFF).
INH (orange) Lit when the Load OFF flag (AR bit) is ON, in which case all output signals of the Output Units will be interrupted (turned OFF).
COMM (orange)
Flashes when the CPU Unit is communicating with the device connected to the peripheral port or RS-232C port.
2-1-2 Programming Device Connection
A Programming Console or IBM PC/AT running the SYSMAC-CPT Support Software can be used to program and monitor the C200HX/HG/HE PCs.
Programming Console A C200H-PR027-E or CQM1-PRO01-E Programming Console can be con- nected as shown in the diagram. The C200H-PR027-E is connected via the C200H-CN222 or C200H-CN422 Programming Console Connecting Cable, which must be purchased separately. A Connecting Cable is provided with the CQM1-PRO01-E.
Data Access Console A C200H-DAC01 Data Access Console can be connected via the C200H- CN222 or C200H-CN422 Programming Console Connecting Cable, which must be purchased separately. The following operations are not available when the C200H-DAC01 is used with the C200HX/HG/HE:
Set value read and change Error message display
An IBM PC/AT or compatible computer with SYSMAC-CPT Support Software can be connected as shown in the diagram.
C200HX/HG/HE
Mounted directly
RS-232C port Host Link Unit
C200H-LK201-V1
Connecting Cables
Peripheral port
C200H-CN222/422 (2 m/4 m)
Programming Console
Connecting Cable Connecting Cable
IBM PC/AT or Compatible SYSMAC-CPT
Support Software WS01-CPB1-E
C200H-PRO27-E C200H-DAC01 CQM1-PRO01-E
Support Software Programming
Device
Programming Console for C200H
Data Access Console for C200H
Programming Console XW2Z-200S/500S
(See note)
Connecting Cable Connecting Cable
CQM1-CIF02
IBM PC/AT with
SYSMAC-CPT Support Software
2-2 PC Configuration
The basic PC configuration consists of two types of Rack: a CPU Rack and Ex- pansion I/O Racks. The Expansion I/O Racks are not a required part of the basic system. They are used to increase the number of I/O points. An illustration of these Racks is provided in 3-3 IR Area. A third type of Rack, called a Slave Rack, can be used when the PC is provided with a Remote I/O System.
CPU Racks A C200HX/HG/HE CPU Rack consists of three components: (1) The CPU Back- plane, to which the CPU Unit and other Units are mounted. (2) The CPU Unit, which executes the program and controls the PC. (3) Other Units, such as I/O Units, Special I/O Units, and Link Units, which provide the physical I/O terminals corresponding to I/O points.
A C200HX/HG/HE CPU Rack can be used alone or it can be connected to other Racks to provide additional I/O points. The CPU Rack provides three, five, eight, or ten slots to which these other Units can be mounted depending on the back- plane used.
Expansion I/O Racks An Expansion I/O Rack can be thought of as an extension of the PC because it provides additional slots to which other Units can be mounted. It is built onto an Expansion I/O Backplane to which a Power Supply and up to ten other Units are mounted.
An Expansion I/O Rack is always connected to the CPU Unit via the connectors on the Backplanes, allowing communication between the two Racks. Up to three Expansion I/O Racks (two with the C200HE PCs) can be connected in series to the CPU Rack.
Unit Mounting Position Only I/O Units and Special I/O Units can be mounted to Slave Racks. All I/O Units, Special I/O Units, Group-2 High-density I/O Units, Remote I/O Master Units, PC and Host Link Units, can be mounted to any slot on all other Racks.
Interrupt Input Units must be mounted to Backplanes with the “-V2” suffix on the model number.
Refer to the C200HX/HG/HE Installation Guide for details about which slots can be used for which Units and other details about PC configuration. The way in which I/O points on Units are allocated in memory is described in 3-3 IR Area.
2-3 CPU Unit Capabilities
The following table shows the capabilities of the C200HX/HG/HE CPU Units.
The CPU4-ZE, CPU6-ZE, and CPU8-ZE are equipped with RS-232C ports.
Item C200HE- C200HG- C200HX-
CPU11-ZE CPU32-ZE/
42-ZE
CPU33-ZE/
43-ZE
CPU53-ZE/
63-ZE
CPU34-ZE/
44-ZE
CPU54-ZE/
64-ZE
CPU65-ZE/
85-ZE Program capacity 3.2K
words
7.2K words 15.2K words 31.2K words 63.2K
words
DM capacity 4K words 6K words 6K words 6K words
EM capacity None 6K words × 1 bank CPU4-ZE: 6K words × 3 banks
CPU65-ZE: 6K words × 8 banks CPU85-ZE: 6K words × 16 banks Basic instruction
execution time
0.3 µs min. 0.15 µs min. 0.1 µs min. 0.1 µs min.
Max. number of Expansion I/O Racks
2 Racks 2 Racks 3 Racks 2 Racks 3 Racks
Max. number of Group-2 High-density I/O Units
None 10 Units 10 Units 16 Units 10 Units 16 Units Max. number of Special
I/O Units
10 Units 10 Units 16 Units 10 Units 16 Units
Item C200HE- C200HG- C200HX- Item
CPU65-ZE/
85-ZE CPU54-ZE/
64-ZE CPU34-ZE/
44-ZE CPU53-ZE/
63-ZE CPU33-ZE/
43-ZE CPU32-ZE/
42-ZE CPU11-ZE
Clock function No Yes Yes Yes
Communications Board Slot
No Yes Yes Yes
2-4 Memory Cassettes
The C200HX/HG/HE comes equipped with a built-in RAM for the user’s pro- gram, so a normal program be created even without installing a Memory Cas- sette. An optional Memory Cassette can be used to store the program, PC Set- up, I/O comments, DM area and other data area contents. Refer to the C200HX/
HG/HE Installation Guide for details on installing Memory Cassettes.
Memory Cassette Functions The Memory Cassette can be used to store and retrieve UM and IOM data; UM stored in the Memory Cassette can also be compared to the UM in the PC.
1, 2, 3... 1. The contents of UM (user memory) can be stored in the Memory Cassette for later retrieval or verification. If pin 2 of the CPU Unit DIP switch is set to ON, the contents of the Memory Cassette are automatically retrieved when the PC is turned ON.
The UM area contains the ladder program, fixed DM (such as the PC Setup), expansion DM, I/O comments, the I/O table, and the UM area allocation in- formation.
2. The contents of the PC’s I/O memory (IOM) can be stored in the Memory Cassette for later retrieval.
IOM includes the IR area, SR area, LR area, HR area, AR area, timer and counter PVs, DM 0000 through DM 6143, and EM 0000 through EM 6143.
UM and IOM data is completely compatible between the ZE-versions of the C200HX/HG/HE and other C200HX/HG/HE PCs, except the new instructions (symbol math and input comparison instructions) that aren’t supported by the original C200HX/HG/HE CPU Units.
There are two types of Memory Cassette available: EEPROM and EPROM. The following table summaries the Memory Cassettes which can be used with the C200HX/HG/HE PCs. Refer to Appendix A Standard Models for actual Memory Cassette model numbers and specifications.
Memory Capacity Comments
EEPROM 4K, 8K, 16K, 32K, or 64K words
The EEPROM Memory Cassette can be used to write and read UM and I/O data to the CPU Unit. It does not require any backup power supply and will retain its data even after it is removed from the CPU Unit.
EPROM 16K or 32K words
An EPROM Memory Cassette can be used only to back- up and read UM data.
Use a standard PROM writer to write the program to the EPROM Memory Cassette.
Compatible Memory Cassettes