The text of a manual · part 4 of 68
Programmable Controllers C200HX-CPU-ZE, C200HG-CPU-ZE, C200HE-CPU-ZE Operation Manual: SECTION 1 Introduction
Pages 15 to 26 of 613, from Programmable Controllers C200HX-CPU-ZE, C200HG-CPU-ZE, C200HE-CPU-ZE Operation Manual
The original document is the PDF (3.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Omron C200H-SP001 and Omron C200HW-PA204
Page 15
SECTION 1 Introduction This section gives a brief overview of the history of Programmable Controllers and explains terms commonly used in ladderdiagram 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 1-2 1-3 1-4 1-5 1-6 1-7 1-8
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Origins of PC Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PC Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . OMRON Product Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Overview of PC Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Programming Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Available Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C200HX/HG/HE Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8-1 ZE-version C200HX/HG/HE Improvements . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8-2 C200HS and C200HX/HG/HE Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-8-3 Program Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 2 3 4 4 5 6 7 7 8 9
1
Page 16
Section
The Origins of PC Logic
1-1
1-2
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 program 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 photoelectric sensors, pushbuttons on control panels, limit switches, or any other device 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 motors, 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, positioned 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 ladderdiagram 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 integrated 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 provides 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 programming method. Most of the terms used to describe these symbols and concepts, 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
2
PC equivalent contact input or condition coil output or work bit
NO relay normally open condition
NC relay normally closed condition
Page 17
Section
PC Terminology
1-3
Actually there is not a total equivalence between these terms. The term condition is only used to describe ladder diagram programs in general and is specifically 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. Normally 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 Section 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 location in memory that reflects its status, i.e., either ON or OFF. This memory location 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 accordingly. 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.
Controlled System and Control System
The Control System includes the PC and all I/O devices it uses to control an external 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 system, e.g., a motor used to drive a conveyor belt.
3
Page 18
Section
Overview of PC Operation
1-4
1-5
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 general 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, Highspeed 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...
4
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 determine 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 Program Execution Timing) 5. Input the program and all required operating parameters into the PC. (Section 4-7 Inputting, Modifying, and Checking the Program.) 6. Debug the program, first to eliminate any syntax errors, and then to find execution errors. (Section 4-7 Inputting, Modifying, and Checking the Program, Section 7 Program Monitoring and Execution, and Section 9 Troubleshooting) 7. Wire the PC to the controlled system. This step can actually be started as soon as step 3 has been completed. Refer to the C200HX/HG/HE PC Installation Guide and to Operation Manuals and System Manuals for details on individual Units.
Page 19
Section
Programming Devices
1-6
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 understanding 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.
Sequence, Timing, and Relationships
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 determined according to the requirements of the I/O devices. Actual hardware specifications, 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 considered. 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 input/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 OMRON PCs. All Programming Consoles are connected directly to the CPU Unit without requiring a separate interface.
SYSMAC-CPT Support Software
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-
5
Page 20
Section
Available Manuals
1-7 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 Data Access Console Operation Guide
W332 W333 W173
Position Control Unit Operation Manuals
NC111: W137 NC112: W128 NC211: W166
Programming procedures for using the SYSMAC-CPT Support Software Data area monitoring and data modification procedures for the Data Access Console Information on Position Control Unit
High-density and Multiplex I/O Units Operation Guide Analog I/O Units Operation Guide
W133
Information on the High-density I/O Units.
W127
Analog Input Unit Operation Manual
W229
Information on the C200H-AD001 and C200H-DA001 Analog I/O Units Information on the C200H-AD003, C200H-DA003, C200-DA004, and C200H-MAD01 Analog I/O Units 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
Cam Positioner Unit Operation Manual
W224
Information on the Fuzzy Support Software which supports the Fuzzy Logic Units 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
Wired Remote I/O System Manual (SYSMAC BUS) Optical Remote I/O System Manual (SYSMAC BUS) PC Link System Manual
W120
Host Link System Manual (SYSMAC WAY) Controller Link Operation Manual
W143
Information on building a SYSMAC LINK System to enable automatic data transfer, programming, and programmed data transfer between the PCs in the System Information on building a Wired Remote I/O System to enable remote I/O capability Information on building an Optical Remote I/O System to enable remote I/O capability Information on building a PC Link System to automatically transfer data between PCs Information on building a Host Link System to manage PCs from a ‘host’ computer Information on building a PC Link System to automatically/manually transfer data between PCs
W325
6
W136 W135
W309
Page 21
Section
C200HX/HG/HE Features Name
Cat. No.
PC Card Unit Operation Manual
W313
PID Control Unit Operation Manual
W241
Heat/Cool Temperature Control Unit Operation Manual
W240
1-8
1-8
Contents Information on using a PC Card Unit to use PC cards. Information on PID Control Unit Information on Heating and Cooling Temperature Control Unit
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 Instructions
The following table shows the instructions that were added to the ZE-version C200HX/HG/HE CPU Units. Instruction Bit Control Instructions Special instructions Input Comparison instructions
Symbol Math instructions
Other Improvements
BIT TEST: TST(350) and TSTN(351) EM BANK TRANSFER: BXFR(125) Equality: =(300), =L(301), =S(302), =SL(303) Inequality: <>(305), <>L(306), <>S(307), <>SL(308) 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) Binary Addition: +(400)/+L(401)/+C(402)/+CL(403) 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 instructions can be used without allocating function codes. • The SYSMAC-CPT Support Software can be used to greatly increase programming/monitoring functionality. (The previous Support Software cannot be used.) • EM Area addresses can be directly address in instruction operands. This essentially doubles the word memory that can be accessed directly from the program (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.
7
Page 22
Section
C200HX/HG/HE Features
1-8
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
Memory
I/O allocation
User memory (UM)
Normal DM
C200HE-CPU11-ZE: 3.2K words 7.2K words 15.2K words 31.2K words 63.2K words 6,144 words (DM 0000 to DM 6143)
Fixed DM
(The C200HE-CPU11-ZE doesn’t have DM 4096 to DM 5999.) 512 words (DM 6144 to DM 6655)
Expansion DM
0 to 3,000 words (DM 7000 to DM 9999)
Extended Data Memory (EM)
6,144 words (EM 0000 to EM 6143)
Expansion Racks
C200HS 15.2K words
6,144 words (DM 0000 to DM 6143) 512 words (DM 6144 to DM 6655) 0 to 3,000 words (DM 7000 to DM 9999) None
C200HE: None C200HG: 6,144 words × 1 bank 6,144 words × 3 banks C200HX-CPU65-ZE: 6,144 words × 8 banks C200HX-CPU85-ZE: 6,144 words × 16 banks 3 Racks
2 Racks
(2 Racks in the or
Group-2 Multipoint I/O Units
Special I/O Units
Execution time
Basic instructions (LD)
Unit numbers 0 to 9
(Incompatible with the C200HE-CPU11-ZE.) (Unit numbers 0 to 9 with the
Unit numbers 0 to 9, A to F
Unit numbers 0 to 9
(Unit numbers 0 to 9 with the or
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) C200HX/HG: 1/3 to 2/3 of C200HS time C200HE: 3/4 to 4/5 of C200HS time 0.7 ms (C200HX/HG) 2.1 ms (C200HE) Same as the C200HS, although part of Special I/O refreshing takes 1/2 to 2/3 the C200HS time.
40.10 µs
Other instructions Common processes (END(001) processing) I/O refresh time
8
Unit numbers 0 to 9, A to F
--0.7 ms ---
Page 23
Section
C200HX/HG/HE Features Function CPU Unit functions
1-8
Capability C200HX/HG/HE
C200HS
RS-232C port
Available in the
Clock function
Available in all except the C200HE-CPU11-ZE Communications Boards can be installed in all PCs except the C200HE-CPU11-ZE. (Board model numbers: C200HW-COM01/04-E) Communications Boards can be installed in all PCs except the C200HE-CPU11-ZE. These Boards can provide the following functions:
Available in the
Available in all models
SYSMAC NET Link and SYSMAC LINK functions
Communications --Boards
Available in the
---
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.
---
Interrupts
2 Units (16 inputs) Can be set.
1 Unit (8 inputs) ---
Same as the C200HS, although a 1-ms response is possible in the
Normal mode: 10 ms High-speed mode: 1 ms
NT Link (1:1) or NT Link (1:N)
(Always 10 ms when a SYSMAC NET Link or SYSMAC LINK is used.) NT Link (1:1)
PTs
Interrupt Input Units Communications Board interrupts Response characteristics
---
(Up to 8 PTs can be connected from the RS-232C port through an RS-422/485 Link Adapter. When the with a Communications Board is used, only 3 PTs can be connected) SYSMAC LINK
Service time
3.5 ms max. (1 operating level)
Remote programming
Possible from the Peripheral Port or RS-232C Ports (including Communications Boards). None
Effect on response time
10.8 ms max. (1 operating level) Possible from the Peripheral Port. 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 Operation 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 transferred 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.
9
Page 24
Section
C200HX/HG/HE Features
1-8
• 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. ZE-version C200HX/HG/HE Precautions
Observe the following precautions using a CPU Unit. • Comment lines in ZE-version programs created using the SYSMAC-CPT Support Software are stored in CMT instructions (instructions that store line comment position information) in the CPU Unit. The size of C200HX/HG/HE programs 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 Software. (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 properly 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 ADBL
+CL
DBS
/
DBSL
/L
MBS
*
MBSL
*L
SBBL
–CL
BXF2
BXFR (Specify expansion DM directly as an operand.) XFER (Specify expansion DM directly as an operand.) None (It is possible to specify expansion DM directly as an operand.)
XFR2 IEMS
Recommended Instructions
• 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 SYSMACCPT, 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 communications monitoring time (i.e., the timeout offset) to 15 s before turning ON the required Control Bit in the SR Area. Using Internal Memory 1, 2, 3...
10
The following procedure outlines the steps to transfer C200H programs to the user memory inside the C200HX/HG/HE. 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 C200HS Memory Unit.
Page 25
C200HX/HG/HE Features
Section
1-8
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
1, 2, 3...
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. 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 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. 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.
11
Page 26
C200HX/HG/HE Features
Section
1-8 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.
12