The text of a manual · part 4 of 60
C200HX/C200HG/C200HE Programmable Controllers Operation Manual, pages 24 to 33
Pages 24 to 33 of 586
The original document is the PDF (3.4 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.
For the Omron C200HE-CPU42-E
Page 24
Section 1-7
Available Manuals
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 modification quick and easy. Syntax checks may also be performed on the programs before they are downloaded to the PC. The SSS comes on 3.5” disks. A computer running the SSS is connected to the C200HX/HG/HE PC via the Peripheral Port on the CPU Unit using the CQM1-CIF02 or CV500-CIF01 cable.
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
GPC Operation Manual
W84
FIT Operation Manual
W150
SYSMAC Support Software Operation Manuals
W247/W248
Data Access Console Operation Guide
W173
Printer Interface Unit Operation Guide
W107
Data area monitoring and data modification procedures for the Data Access Console Procedures for interfacing a PC to a printer
PROM Writer Operation Guide
W155
Procedures for writing programs to EPROM chips
Floppy Disk Interface Unit Operation Guide
W119
Procedures for interfacing PCs to floppy disk drives
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) SYSMAC NET Link Unit Operation Manual
W143
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 SYSMAC NET Link System and thus create an optical LAN integrating PCs with computers and other peripheral devices
SYSMAC LINK System Manual
W174
High-speed Counter Unit Operation Manual
W141
Position Control Unit Operation Manuals
NC111: W137 NC112: W128 NC211: W166
Information on Position Control Unit
Analog I/O Units Operation Guide
W127
Analog Input Unit Operation Manual
W229
Information on the C200H-AD001, C200H-DA001 Analog I/O Units Information on the C200H-AD002 Analog Input Unit
Temperature Sensor Unit Operation Guide
W124
Information on Temperature Sensor Unit
ASCII Unit Operation Manual
W165
Information on ASCII Unit
ID Sensor Unit Operation Guide
W153
Information on ID Sensor Unit
Voice Unit Operation Manual
W172
Information on Voice Unit
Fuzzy Logic Unit Operation Manual
W208
Information on Fuzzy Logic Unit
Fuzzy Support Software Operation Manual
W210
Temperature Control Unit Operation Manual
W225
Information on the Fuzzy Support Software which supports the Fuzzy Logic Units Information on Temperature Control Unit
Heat/Cool Temperature Control Unit Operation Manual
W240
6
W136 W135
W114
Programming procedures for the GPC (Graphics Programming Console) Programming procedures for using the FIT (Factory Intelligent Terminal) Programming procedures for using the SSS
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 High-speed Counter Unit
Information on Heating and Cooling Temperature Control Unit
Page 25
Section 1-8
C200HX/HG/HE Features Name
Cat. No.
Contents
PID Control Unit Operation Manual
W241
Information on PID Control Unit
Cam Positioner Unit Operation Manual
W224
Information on Cam Positioner Unit
1-8
C200HX/HG/HE Features The C200HX/HG/HE CPU Units have a number of new features, but C200H and C200HS programs can be used in the new CPU Units.
1-8-1 C200HS and C200HX/HG/HE Capabilities The following table shows the new capabilities of the C200HX/HG/HE PCs and compares them with those of the C200HS. Function
Capability C200HX/HG/HE
Memory
I/O allocation
C200HS
User memory (UM)
C200HE-CPU11-E: 3.2K words 7.2K words 15.2K words 31.2K words
15.2K words
Normal DM
6,144 words (DM 0000 to DM 6143)
Fixed DM
(The C200HE-CPU11-E doesn’t have DM 4096 to DM 5999.) 512 words (DM 6144 to DM 6655)
6,144 words (DM 0000 to DM 6143)
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
3 Racks
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 C200HX: 6,144 words × 3 banks 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, A to F
Unit numbers 0 to 9
(Incompatible with the C200HE-CPU11-E.) (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(21)
0.417 μs (C200HX) 0.625 μs (C200HG) 1.250 μs (C200HE)
19.00 μs
ADD(30)
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(01) processing) I/O refresh time
--0.7 ms ---
7
Page 26
Section 1-8
C200HX/HG/HE Features Function
Capability C200HX/HG/HE
CPU Unit functions
RS-232C port
Available in the
Clock function SYSMAC NET Link and SYSMAC LINK functions
Available in all except the C200HE-CPU11-E Communications Boards can be installed in all PCs except the C200HE-CPU11-E. (Board model numbers: C200HW-COM01/04-E) Communications Boards can be installed in all PCs except the C200HE-CPU11-E. These Boards can provide the following functions:
Communications --Boards
C200HS Available in the
Available in all models 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(––) and IOWR(––) 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-2 Program Compatibility C200HS programs and Memory Cassettes can be used as is in the C200HX/ HG/HE and programs developed for the C200H can be transferred for use in the C200HX/HG/HE very easily. Detailed procedures for the individual steps involved in transferring programs can be found in the SSS Operation Manuals. You will also require a CQM1-CIF02 Connecting Cable to connect the computer running SSS to the C200HS. Precautions
Observe the following precautions when transferring C200H programs to the C200HX/HG/HE. • 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.
8
Page 27
C200HX/HG/HE Features
Section 1-8 • 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.
Using Internal Memory 1, 2, 3...
Using Memory Cassettes
1, 2, 3...
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 SSS work area. This data can be transferred from a C200H CPU Unit, from floppy disk, or from a C200HS Memory Unit. To transfer from a C200H CPU Unit, set the PC for the SSS to the C200H, connect the SSS to the C200H, go online, and transfer the program and any other required data to the SSS 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 floppy disk, set the PC for the SSS to the C200H in the offline mode and load the program and any other require data to the SSS work area. You will probably want to load DM data and the I/O table, if you have created an I/O table for the C200H. or To transfer from a C200H-MP831, set the PC for the SSS to the C200H in the offline mode and read data from the Memory Unit into the SSS work area. 2. Go offline if the SSS is not already offline. 3. Change the PC setting for the SSS to the C200HX/HG/HE. 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 SSS 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 required 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 OFF the C200HX/HG/HE and then back ON to reset it. 9. Test program execution before attempting actual operation. 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 SSS 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 PC for the SSS to the C200H, connect the SSS to the C200H, go online, and transfer the program and any other required data to the SSS 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 floppy disk, set the PC for the SSS to the C200H in the offline mode and load the program and any other required data to the SSS work area. You will probably want to load DM data and the I/O table, if you have created an I/O table for the C200H. or To transfer from a C200H-MP831, set the PC for the SSS to the C200H in the offline mode and read data from the Memory Unit into the SSS work area.
9
Page 28
C200HX/HG/HE Features
Section 1-8 2. Go offline if the SSS is not already offline. 3. Change the PC setting for the SSS to the C200HX/HG/HE. 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. Allocate expansion DM words DM 7000 to DM 7999 in the UM area using the UM allocation operation from the SSS. 6. Copy DM 1000 through DM 1999 to DM 7000 through DM 7999. 7. Write “0100” to DM 6602 to automatically transfer the contents of DM 7000 through DM 7999 to DM 1000 through DM 1999 at startup. 8. To transfer to an EEPROM Memory Cassette, use the following procedure. a) Connect the SSS 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 SSS to transfer UM data to the Memory Cassette and continue from step 9. or To transfer to an EPROM Memory Cassette, use the following procedure. a) Connect a PROM Writer to the SSS and write the data to the EPROM chip using the SSS EPROM writing operation. b) Set the ROM type selector on the Memory Cassette to the correct capacity. c) Mount the ROM chip to the Memory Cassette. d) Mount a EPROM Memory Cassette to the C200HX/HG/HE. 9. 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. 10. Turn OFF the C200HX/HG/HE and then back ON to reset it and transfer data from the Memory Cassette to the CPU Unit. 11. Test program execution before attempting actual operation.
10
Page 29
SECTION 2 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
2-2 2-3 2-4
2-5 2-6
CPU Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 CPU Unit Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-2 Peripheral Device Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PC Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPU Unit Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Memory Cassettes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4-1 Hardware and Software Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4-2 Writing/Reading UM Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4-3 Writing/Reading IOM Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPU Unit DIP Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Operating without a Backup Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12 13 13 15 15 16 17 17 18 20 21
11
Page 30
Section 2-1
CPU Unit Components
2-1
CPU Unit Components The following diagram shows the main CPU Unit components. Indicators Memory Cassette DIP switch
Communications Board (The C200HW-COM06-E is mounted to this CPU Unit.)
Peripheral port
RS-232C port
Memory Cassette
Peripheral Port RS-232C Port Communications Board
6 5
4
3 2 1
DIP Switch
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. A peripheral device can be connected to the peripheral port. The CPU Unit has a built-in RS-232C port. The CPU Unit has a compartment to connect the Communications Board to the CPU Unit. 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.)
ON OFF⇔ON
Pin
Setting
1
ON
Data cannot be written to the UM area.
OFF
Data can be written to the UM area.
ON
Memory Cassette data is read automatically at startup.
OFF
Memory Cassette data is not read automatically at startup.
ON
Programming Console displays messages in English.
OFF
Programming Console displays messages in Japanese.
ON
The expansion instructions can be set.
OFF
The expansion instructions cannot be set (default setting).
ON
Sets the following conditions for the communications port (including when a CQM1-CIF02 is connected to the Peripheral Port):
2 3 4 5
Function
1 start bit, 7 data bits, even parity, 2 stop bit, 9,600 bps baud rate 6
12
OFF
Cancels the above settings.
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).
Page 31
Section 2-1
CPU Unit Components
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 provide 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 Peripheral Device Connection A Programming Console or IBM PC/AT running SSS 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 connected 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 C200HCN222 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
13
Page 32
Section 2-1
CPU Unit Components IBM PC/AT with SSS
An IBM PC/AT or compatible computer with SYSMAC Support Software can be connected as shown in the diagram.
C200H-LK201-V1
C200HX/HG/HE Mounted directly
Host Link Unit
RS-232C port
Connecting Cables
Peripheral port
C200H-CN222/422 (2 m/4 m)
XW2Z-200S/500S (See note)
CQM1-CIF02
Programming Console Connecting Cable
Connecting Cable
Connecting Cable
Peripheral Device
Support Software
IBM PC/AT or Compatible
C500-ZL3AT1-E
SYSMAC Support Software
Programming Console for C200H
Data Access Console for C200H
Programming Console
C200H-PRO27-E
C200H-DAC01
CQM1-PRO01-E
Note The connector of the XW2Z-200S/500S Connecting Cable is a male 25-pin terminal. An adapter is required for the 9-pin male D-sub terminal on the IBM PC/AT or compatible side.
14
Page 33
Section 2-3
CPU Unit Capabilities
2-2
PC Configuration The basic PC configuration consists of two types of Rack: a CPU Rack and Expansion 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 Backplane, 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 backplane 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 and CPU Units are equipped with RS-232C ports. Item
C200HECPU11-E
C200HG-
C200HX-
CPU33-E/ CPU53-E/ 43-E 63-E 15.2K words
CPU34-E/ CPU54-E/ 44-E 64-E 31.2K words
Program capacity
3.2K words
CPU32-E/ 42-E 7.2K words
DM capacity
4K words
6K words
6K words
6K words
EM capacity
None
6K words × 1 bank
6K words × 3 banks
Basic instruction execution time
0.3 μs min.
0.15 μs min.
0.1 μs min.
Max. number of Expansion I/O Racks
2 Racks
2 Racks
3 Racks
2 Racks
3 Racks
10 Units
16 Units
10 Units
16 Units
10 Units
16 Units
10 Units
16 Units
Max. number of Group-2 High-density I/O None Units Max. number of Special I/O Units 10 Units
10 Units
Clock function
No
Yes
Yes
Yes
Communications Board Slot
No
Yes
Yes
Yes
15