Cat.No. W303–E1–4
Programmable Controllers
C200HX/C200HG/C200HE
OPERATION MANUAL
C200HX/C200HG/C200HE
Programmable Controllers
Operation Manual
Revised June 2000
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 damage 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 anything 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, 1996
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 permission of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication.
v
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 |
Peripheral Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
1-7 |
Available Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
6 |
1-8 |
C200HX/HG/HE Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
SECTION 2 |
|
|
Hardware Considerations . . . . . . . . . . . . . . . . . . . . . . . . . |
11 |
|
2-1 |
CPU Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
2-2 |
PC Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
2-3 |
CPU Unit Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
2-4 |
Memory Cassettes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
2-5 |
CPU Unit DIP Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
2-6 |
Operating without a Backup Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
SECTION 3 |
|
|
Memory Areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
23 |
|
3-1 |
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
24 |
3-2 |
Data Area Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
25 |
3-3 |
IR (Internal Relay) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
29 |
3-4 |
SR (Special Relay) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
33 |
3-5 |
AR (Auxiliary Relay) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
48 |
3-6 |
DM (Data Memory) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
56 |
3-7 |
HR (Holding Relay) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
68 |
3-8 |
TC (Timer/Counter) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
68 |
3-9 |
LR (Link Relay) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
69 |
3-10 |
UM Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
70 |
3-11 |
TR (Temporary Relay) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
3-12 |
EM (Extended Data Memory) Area . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
71 |
SECTION 4 |
|
|
Writing and Inputting the Program . . . . . . . . . . . . . . . . . |
73 |
|
4-1 |
Basic Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
74 |
4-2 |
Instruction Terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
74 |
4-3 |
Program Capacity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
75 |
4-4 |
Basic Ladder Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
75 |
4-5 |
The Programming Console . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
88 |
4-6 |
Preparation for Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
91 |
4-7 |
Inputting, Modifying, and Checking the Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
104 |
vii
TABLE OF CONTENTS
4-8 |
Controlling Bit Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
120 |
4-9 |
Work Bits (Internal Relays) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
122 |
4-10 |
Programming Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
124 |
4-11 |
Program Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4-12 |
Special I/O Unit Interface Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
126 |
4-13 |
Analog Timer Unit Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
130 |
SECTION 5 |
|
|
Instruction Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
135 |
|
5-1 |
Notation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
138 |
5-2 |
Instruction Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
138 |
5-3 |
Data Areas, Definer Values, and Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
138 |
5-4 |
Differentiated Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
140 |
5-5 |
Expansion Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
141 |
5-6 |
Coding Right-hand Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
142 |
5-7 |
Instruction Set Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
145 |
5-8 |
Ladder Diagram Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
149 |
5-9 |
Bit Control Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
150 |
5-10 |
INTERLOCK and INTERLOCK CLEAR – IL(02) and ILC(03) . . . . . . . . . . . . . . . . . . . |
155 |
5-11 |
JUMP and JUMP END – JMP(04) and JME(05) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
157 |
5-12 |
END – END(01) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
158 |
5-13 |
NO OPERATION – NOP(00) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
158 |
5-14 |
Timer and Counter Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
158 |
5-15 |
Data Shifting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
171 |
5-16 |
Data Movement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
180 |
5-17 |
Data Comparison . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
192 |
5-18 |
Data Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
204 |
5-19 |
BCD Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
228 |
5-20 |
Binary Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
243 |
5-21 |
Special Math Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
257 |
5-22 |
Logic Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
275 |
5-23 |
Subroutines and Interrupt Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
279 |
5-24 |
Step Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
291 |
5-25 |
Special Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
300 |
5-26 |
Network Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
318 |
5-27 |
Serial Communications Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
329 |
5-28 |
Advanced I/O Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
336 |
5-29 |
Special I/O Unit Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
350 |
SECTION 6 |
|
|
Program Execution Timing . . . . . . . . . . . . . . . . . . . . . . . . |
359 |
|
6-1 |
Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
360 |
6-2 |
Calculating Cycle Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
364 |
6-3 |
Instruction Execution Times . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
367 |
6-4 |
I/O Response Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
376 |
SECTION 7 |
|
|
Program Monitoring and Execution . . . . . . . . . . . . . . . . |
389 |
|
7-1 |
Monitoring Operation and Modifying Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
390 |
7-2 |
Programming Console Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
390 |
viii
TABLE OF CONTENTS
SECTION 8 |
|
|
Serial Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . |
417 |
|
8-1 |
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
418 |
8-2 |
Host Link Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
419 |
8-3 |
RS-232C Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
426 |
8-4 |
One-to-one PC Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
430 |
8-5 |
NT Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
432 |
8-6 The Protocol Macro Function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
433 |
|
SECTION 9 |
|
|
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
443 |
|
9-1 |
Alarm Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
444 |
9-2 Programmed Alarms and Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
444 |
|
9-3 Reading and Clearing Errors and Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
444 |
|
9-4 |
Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
445 |
9-5 |
Error Flags . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
449 |
9-6 |
Host Link Errors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
450 |
SECTION 10 |
|
|
Host Link Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
453 |
|
10-1 Host Link Command Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
454 |
|
10-2 Host Link End Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
455 |
|
10-3 |
Host Link Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
458 |
Appendices
A Standard Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
501 |
B Programming Instructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
517 |
C Error and Arithmetic Flag Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
523 |
D Word Assignment Recording Sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
527 |
E Program Coding Sheet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
533 |
F Data Conversion Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
535 |
G Extended ASCII . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
537 |
Glossary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
539 |
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
555 |
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
561 |
ix
This manual describes the operation of the C200HX/HG/HE Programmable Controllers, and it includes the sections described below. 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 Introduction. Provided in Section 2 Hardware Considerations is a description of the differences between the C200HS CPU Units and the new CPU Units described in this manual.
Please read this manual completely and be sure you understand the information provided before attempting 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 explains 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 applications 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 information 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 C200HS.
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 that can be used for host link communications 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.
xi
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 |
xiii
Safety Precautions |
3 |
|
|
|
|
This manual is intended for the following personnel, who must also have knowledge 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.
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.
3Safety 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 countermeasure for such errors, external safety measures must be provided to ensure 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
xiv
Application Precautions |
5 |
|
|
|
|
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.
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 installation and remains within the specified conditions during the life of the system.
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 protect against electrical shock.
•Always turn OFF the power supply to the PC before attempting any of the following. Performing any of the following with the power supply turned ON may lead to electrical shock:
•Mounting or removing any Units (e.g., I/O Units, CPU Unit, etc.) or memory cassettes.
•Assembling any devices or racks.
xv
Application Precautions |
5 |
|
|
|
|
•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 precautions.
•Use the Units only with the power supplies and voltages specified in the operation 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, including 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.
xvi
Conformance to EC Directives |
6 |
|
|
|
|
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 connected 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.
xvii
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 peripheral 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 |
Peripheral Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
5 |
1-7 |
Available Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
6 |
1-8 |
C200HX/HG/HE Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
1-8-1 C200HS and C200HX/HG/HE Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
7 |
|
1-8-2 Program Compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
8 |
1
The Origins of PC Logic |
Section 1-2 |
|
|
|
|
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.
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 |
PC equivalent |
|
|
contact |
input or condition |
|
|
coil |
output or work bit |
|
|
NO relay |
normally open condition |
|
|
NC relay |
normally closed condition |
2
PC Terminology |
Section 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 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. |
Controlled System and |
The Control System includes the PC and all I/O devices it uses to control an ex- |
|
Control System |
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 system, e.g., a motor used to drive a conveyor belt.
3
Overview of PC Operation |
Section 1-5 |
|
|
|
|
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. SYSMAC NET Link and SYSMAC LINK Units can be used with the CPU11-E only.
Other product groups include Programming Devices, Peripheral Devices, and DIN Rail Products.
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 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)
4
Peripheral Devices |
Section 1-6 |
|
|
|
|
|
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 Instal- |
|
|
lation Guide and to Operation Manuals and System Manuals for details on |
|
|
individual Units. |
|
|
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 Trou- |
|
|
bleshooting) |
|
|
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. |
Sequence, Timing, and
Relationships
Unit Requirements
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.
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.
Programming Console
SYSMAC Support Software:
SSS
The following peripheral 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.
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.
SSS 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.
5
Available Manuals |
|
Section 1-7 |
||||
|
|
|
|
|||
|
|
PC programs can be written on-screen in ladder-diagram form as well as in mne- |
||||
|
|
monic form. As the program is written, it is displayed on a display, making con- |
||||
|
|
firmation and modification quick and easy. Syntax checks may also be per- |
||||
|
|
formed 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 Pe- |
||||
|
|
ripheral 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 |
Programming procedures for the GPC |
||
|
|
|
|
|
(Graphics Programming Console) |
|
|
|
|
|
|
|
|
|
FIT Operation Manual |
|
W150 |
Programming procedures for using the FIT |
||
|
|
|
|
|
(Factory Intelligent Terminal) |
|
|
|
|
|
|
|
|
|
SYSMAC Support Software Operation Manuals |
|
W247/W248 |
Programming procedures for using the SSS |
||
|
|
|
|
|
|
|
|
Data Access Console Operation Guide |
|
W173 |
Data area monitoring and data modification |
||
|
|
|
|
|
procedures for the Data Access Console |
|
|
|
|
|
|
|
|
|
Printer Interface Unit Operation Guide |
|
W107 |
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 |
|
W120 |
Information on building a Wired Remote I/O System |
||
|
(SYSMAC BUS) |
|
|
to enable remote I/O capability |
||
|
|
|
|
|
|
|
|
Optical Remote I/O System Manual |
|
W136 |
Information on building an Optical Remote I/O |
||
|
(SYSMAC BUS) |
|
|
System to enable remote I/O capability |
||
|
|
|
|
|
|
|
|
PC Link System Manual |
|
W135 |
Information on building a PC Link System to |
||
|
|
|
|
|
automatically transfer data between PCs |
|
|
|
|
|
|
|
|
|
Host Link System Manual |
|
W143 |
Information on building a Host Link System to |
||
|
(SYSMAC WAY) |
|
|
manage PCs from a ‘host’ computer |
||
|
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
|
|
High-speed Counter Unit Operation Manual |
|
W141 |
Information on High-speed Counter Unit |
||
|
|
|
|
|
|
|
|
Position Control Unit Operation Manuals |
|
NC111: W137 |
Information on Position Control Unit |
||
|
|
|
|
NC112: W128 |
|
|
|
|
|
|
NC211: W166 |
|
|
|
|
|
|
|
|
|
|
Analog I/O Units Operation Guide |
|
W127 |
Information on the C200H-AD001, C200H-DA001 |
||
|
|
|
|
|
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 |
||
|
|
|
|
|
|
|
|
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 |
Information on the Fuzzy Support Software which |
||
|
|
|
|
|
supports the Fuzzy Logic Units |
|
|
|
|
|
|
|
|
|
Temperature Control Unit Operation Manual |
|
W225 |
Information on Temperature Control Unit |
||
|
|
|
|
|
|
|
|
Heat/Cool Temperature Control Unit Operation |
|
W240 |
Information on Heating and Cooling Temperature |
||
|
Manual |
|
|
|
Control Unit |
6
C200HX/HG/HE Features |
|
Section 1-8 |
|
|
|
|
|
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 |
C200HS |
||
|
|
|
|
|
|
||
Memory |
|
|
User memory (UM) |
C200HE-CPU11-E: 3.2K words |
15.2K words |
||
|
|
|
|
C200HE-CPUj2-E: 7.2K words |
|
||
|
|
|
|
C200HG-CPUj3-E: 15.2K words |
|
||
|
|
|
|
C200HX-CPUj4-E: 31.2K words |
|
||
|
|
|
|
|
|
||
|
|
|
Normal DM |
6,144 words (DM 0000 to DM 6143) |
6,144 words |
||
|
|
|
|
(The C200HE-CPU11-E doesn’t have |
(DM 0000 to DM 6143) |
||
|
|
|
|
|
|||
|
|
|
|
DM 4096 to DM 5999.) |
|
|
|
|
|
|
|
|
|
||
|
|
|
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 |
6,144 words (EM 0000 to EM 6143) |
None |
||
|
|
|
(EM) |
C200HE: None |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C200HG: 6,144 words × |
1 bank |
|
|
|
|
|
|
C200HX: 6,144 words × |
3 banks |
|
|
I/O allocation |
|
Expansion Racks |
3 Racks |
|
|
2 Racks |
|
|
|
|
|
(2 Racks in the C200HE-CPUjj-E or |
|
||
|
|
|
|
C200HX/HG-CPU3j-E/4j-E) |
|
||
|
|
|
|
|
|
||
|
|
|
Group-2 Multipoint I/O |
Unit numbers 0 to 9, A to F |
Unit numbers 0 to 9 |
||
|
|
|
Units |
(Incompatible with the C200HE-CPU11-E.) |
|
||
|
|
|
|
|
|||
|
|
|
|
(Unit numbers 0 to 9 with the |
|
||
|
|
|
|
C200HE-CPUj2-E, |
|
|
|
|
|
|
|
C200HX/HG-CPU3j-E/4j-E.) |
|
||
|
|
|
Special I/O Units |
Unit numbers 0 to 9, A to F |
Unit numbers 0 to 9 |
||
|
|
|
|
(Unit numbers 0 to 9 with the |
|
||
|
|
|
|
C200HE-CPUjj-E or |
|
|
|
|
|
|
|
C200HX/HG-CPU3j-E/4j-E.) |
|
||
|
|
|
|
|
|
||
Execution time |
|
Basic instructions (LD) |
0.104 µ s (C200HX) |
|
0.375 µ s |
||
|
|
|
|
0.156 µ s (C200HG) |
|
|
|
|
|
|
|
0.313 µ s (C200HE) |
|
|
|
|
|
|
MOV(21) |
0.417 µ s (C200HX) |
|
19.00 µ s |
|
|
|
|
|
0.625 µ s (C200HG) |
|
|
|
|
|
|
|
1.250 µ s (C200HE) |
|
|
|
|
|
|
ADD(30) |
16.65 µ s (C200HX/HG) |
|
40.10 µ s |
|
|
|
|
|
31.45 µ s (C200HE) |
|
|
|
|
|
|
Other instructions |
C200HX/HG: |
1/3 to 2/3 of C200HS time |
--- |
|
|
|
|
|
C200HE: |
3/4 to 4/5 of C200HS time |
|
|
|
|
|
Common processes |
0.7 ms (C200HX/HG) |
|
0.7 ms |
|
|
|
|
(END(01) processing) |
2.1 ms (C200HE) |
|
|
|
|
|
|
I/O refresh time |
Same as the C200HS, although part of |
--- |
||
|
|
|
|
Special I/O refreshing takes 1/2 to 2/3 the |
|
||
|
|
|
|
C200HS time. |
|
|
|
7
C200HX/HG/HE Features |
|
Section 1-8 |
|||
|
|
|
|
|
|
|
Function |
Capability |
|
|
|
|
|
|
|
|
|
|
|
|
C200HX/HG/HE |
C200HS |
|
|
|
|
|
|
|
CPU Unit |
|
RS-232C port |
Available in the |
Available in the |
|
functions |
|
|
C200HX/HG/HE-CPU4j-E/6j-E |
C200HS-CPU2j-E |
|
|
|
|
|
/3j-E |
|
|
|
|
|
|
|
|
|
Clock function |
Available in all except the C200HE-CPU11-E |
Available in all models |
|
|
|
|
|
|
|
|
|
SYSMAC NET Link and |
Communications Boards can be installed in |
Available in the |
|
|
|
SYSMAC LINK functions |
all PCs except the C200HE-CPU11-E. |
C200HS-CPU3j-E |
|
|
|
|
(Board model numbers: |
|
|
|
|
|
C200HW-COM01/04-E) |
|
|
|
|
|
|
|
|
Communications |
|
--- |
Communications Boards can be installed in |
--- |
|
Boards |
|
|
all PCs except the C200HE-CPU11-E. 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(––) and IOWR(––) instructions |
--- |
|
|
|
|
allow data to be transferred to and from |
|
|
|
|
|
Special I/O Units. |
|
|
|
|
|
|
|
|
Interrupts |
|
Interrupt Input Units |
2 Units (16 inputs) |
1 Unit (8 inputs) |
|
|
|
|
|
|
|
|
|
Communications Board |
Can be set. |
--- |
|
|
|
interrupts |
|
|
|
|
|
|
|
|
|
|
|
Response characteristics |
Same as the C200HS, although a 1-ms |
Normal mode: 10 ms |
|
|
|
|
response is possible in the C200HW-SLKjj |
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) |
NT Link (1:1) |
|
|
|
|
(Up to 8 PTs can be connected from the |
|
|
|
|
|
RS-232C port through an RS-422/485 Link |
|
|
|
|
|
Adapter. When the C200HE-CPUjj-E with |
|
|
|
|
|
a Communications Board is used, only 3 PTs |
|
|
|
|
|
can be connected) |
|
|
|
|
|
|
|
|
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 |
Possible from the |
|
|
|
|
Ports (including Communications Boards). |
Peripheral Port. |
|
|
|
Effect on response time |
None |
10 ms in any mode |
|
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 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. |
8
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 |
The following procedure outlines the steps to transfer C200H programs to the |
|||
|
user memory inside the C200HX/HG/HE. |
|||
1, 2, 3... |
|
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. |
|
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 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
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
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 |
CPU Unit Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
12 |
|
|
2-1-1 |
CPU Unit Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
|
2-1-2 |
Peripheral Device Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
13 |
2-2 |
PC Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|
2-3 |
CPU Unit Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
15 |
|
2-4 |
Memory Cassettes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
16 |
|
|
2-4-1 Hardware and Software Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
|
|
2-4-2 |
Writing/Reading UM Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
17 |
|
2-4-3 |
Writing/Reading IOM Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
18 |
2-5 CPU Unit DIP Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
20 |
||
2-6 Operating without a Backup Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
21 |
11
CPU Unit Components |
Section 2-1 |
|
|
|
|
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
Memory Cassette |
|
|
|
|
|
|
|
|
|
|
RS-232C port |
|
|
|
|
|
|
|
|
|
|
||
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 peripheral 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.) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
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). |
12
CPU Unit Components |
Section 2-1 |
|
|
|
|
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 |
Flashes when the CPU Unit is communicating with the device |
(orange) |
connected to the peripheral port or RS-232C port. |
|
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 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 |
13
CPU Unit Components |
|
|
|
|
Section 2-1 |
|||
|
|
|
||||||
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 |
Peripheral |
port |
port |
Connecting
Cables
C200H-CN222/422 |
XW2Z-200S/500S |
CQM1-CIF02 |
(2 m/4 m) |
(See note) |
|
Programming Console |
Connecting Cable |
Connecting Cable |
Connecting Cable |
Peripheral |
Support |
Device |
Software |
IBM PC/AT or Compatible
C500-ZL3AT1-E
SYSMAC Support Software
Programming Console for |
Data Access Console for |
Programming Console |
C200H |
C200H |
|
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
CPU Unit Capabilities |
Section 2-3 |
|
|
|
|
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 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 CPU4j-E and CPU6j-E CPU Units are equipped with RS-232C ports. |
||||||
|
|
|
|
|
|
|
|
|
Item |
C200HE- |
C200HG- |
C200HX- |
|||
|
|
|
|
|
|
|
|
|
|
CPU11-E |
CPU32-E/ |
CPU33-E/ |
CPU53-E/ |
CPU34-E/ |
CPU54-E/ |
|
|
|
42-E |
43-E |
63-E |
44-E |
64-E |
Program capacity |
3.2K words |
7.2K words |
15.2K words |
31.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 |
|
|
|
|
|
|
|
|
|
Max. number of Group-2 High-density I/O |
None |
10 Units |
10 Units |
16 Units |
10 Units |
16 Units |
|
Units |
|
|
|
|
|
|
|
Max. number of Special I/O Units |
10 Units |
|
10 Units |
16 Units |
10 Units |
16 Units |
|
|
|
|
|
|
|
|
|
Clock function |
No |
Yes |
Yes |
|
Yes |
|
|
|
|
|
|
|
|
|
|
Communications Board Slot |
No |
Yes |
Yes |
|
Yes |
|
15
Memory Cassettes |
Section 2-4 |
|
|
|
|
Memory Cassette Functions
1, 2, 3...
Compatible Memory
Cassettes
The C200HX/HG/HE comes equipped with a built-in RAM for the user’s program, so a normal program be created even without installing a Memory Cassette. An optional Memory Cassette can be used to store the program, PC Setup, I/O comments, DM area and other data area contents. Refer to the C200HX/ HG/HE Installation Guide for details on installing Memory Cassettes.
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.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 information.
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 C200HX/HG/HE and the C200HS data, except the portion of the C200HX/HG/HE data areas that exceed the capacity of the C200HS and the new instructions (BXF2(––), IEMS(––), IORD(––), IOWR(––), PMCR(––), STUP(––), and XFR2(––)) that aren’t supported by the C200HS CPU Unit. Data area addresses and instructions that aren’t supported by the C200HS can’t be used in the C200HS. IOM data can’t be retrieved to the PC’s RAM unless the size of the IOM in the Memory Cassette matches the size of the IOM in the PC.
There are two types of Memory Cassette available: EEPROM and EPROM. The following table shows the Memory Cassettes which can be used with the C200HX/HG/HE PCs.
Memory |
Capacity |
Model number |
Comments |
|
|
|
|
EEPROM |
4K words |
C200HW-ME04K |
The EEPROM Memory Cassette |
|
|
|
can be used to write and read UM |
|
8K words |
C200HW-ME08K |
|
|
and I/O data to the CPU Unit. It does |
||
|
|
|
|
|
|
|
not require any backup power sup- |
|
16K words |
C200HW-ME16K |
|
|
ply and will retain its data even after |
||
|
|
|
|
|
32K words |
C200HW-ME32K |
it is removed from the CPU Unit. |
|
|
|
|
EPROM |
16K or 32K |
C200HS-MP16K |
The EPROM chip is not included |
|
words |
|
with the Memory Cassette; it must |
|
|
|
be purchased separately. |
|
|
|
27256 equivalent (ROM-JD-B): 16K |
|
|
|
27512 equivalent (ROM-KD-B): 32K |
Note 1. Data stored in EEPROM won’t be reliable after the contents have been overwritten 50,000 times.
2.Use a standard PROM writer to write a program to the EPROM Memory Cassette. Connect an EPROM to the EPROM Memory Cassette before installing the EPROM Memory Cassette to the CPU Unit. The EPROM Memory Cassette will lose its data if it is removed from the CPU Unit.
16
Memory Cassettes |
Section 2-4 |
|
|
|
|
Switch Settings
SR Area Flags and Control
Bits
The hardware and software settings related to Memory Cassette operations are described below.
Switch 1 on the Memory Cassette is turned OFF when the Memory Cassette is shipped. Check the setting on switch 1 before installation.
Memory |
Switch 1 |
Function |
Cassette |
setting |
|
|
|
|
EEPROM |
ON |
The data in the Memory Cassette is write-protected. |
|
|
|
|
OFF |
The data in the Memory Cassette can be overwritten. |
|
|
|
EPROM |
ON |
27512-equivalent ROM-KD-B EPROM |
|
|
(32K words, 150 ns access time) |
|
|
|
|
OFF |
27256-equivalent ROM-JD-B EPROM |
|
|
(16K words, 150 ns access time) |
SR 269 through SR 273 contain flags and control bits related to Memory Cassette contents and operation. Refer to 3-4 SR (Special Relay) Area for details.
Note
Writing UM Data to a
Memory Cassette
1, 2, 3...
Reading UM Data from a Memory Cassette
1, 2, 3...
Use the following procedures to transfer UM data to or from a Memory Cassette. (A PROM writer is required to write data to an EPROM Memory Cassette. Refer to the SYSMAC Support Software Operation Manual for details.)
UM 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 information.
Use the following procedure to write UM data to an EEPROM Memory Cassette.
1.Before turning ON the C200HX/HG/HE’s power supply, make sure that switch 1 on the Memory Cassette is set to OFF.
2.Turn ON the C200HX/HG/HE and write the ladder program or read an existing program from a data disk.
3.Switch the C200HX/HG/HE to PROGRAM mode.
4.Use a host computer running SSS or a Programming Console to turn ON SR 27000 (the Save UM to Cassette Bit). The data will be written from the PC to the Memory Cassette. SR 27000 will be turned OFF automatically after the data transfer has been completed.
5.If you want to write-protect the data on the Memory Cassette, turn OFF the PC and set switch 1 of the Memory Cassette to ON. If this switch is ON, data in the Memory Cassette will be retained even if SR 27000 is turned ON.
There are two ways to read UM data from a Memory Cassette: automatic transfer at startup or a one-time transfer using a Peripheral Device.
(There is no function that automatically writes data to the Memory Cassette.)
Automatic Transfer at Startup:
1.Turn ON pin 2 of the CPU Unit’s DIP switch.
2.Install the Memory Cassette containing the data into the C200HX/HG/HE.
3.Turn ON the C200HX/HG/HE’s power supply. The contents of the Memory Cassette will be transferred to the CPU Unit automatically. A memory error will occur if the data couldn’t be transferred.
One-time Transfer using a Peripheral Device:
1, 2, 3... 1. Install the Memory Cassette containing the data into the C200HX/HG/HE.
2.Turn ON the C200HX/HG/HE and switch it to PROGRAM mode.
3.Use a host computer running SSS or a Programming Console to turn ON SR 27001 (the Load UM from Cassette Bit). The data will be read from the Memory Cassette to the PC. SR 27001 will be turned OFF automatically after the data transfer has been completed.
17
Memory Cassettes |
Section 2-4 |
|
|
|
|
Comparing UM Data on a |
Use the following procedure to the UM data on an Memory Cassette to the UM |
|
Memory Cassette |
data in the PC. |
1, 2, 3... 1. Switch the C200HX/HG/HE to PROGRAM mode.
2.Use a host computer running SSS or a Programming Console to turn ON SR 27002 (the Compare UM to Cassette Bit). The data will be compared between the PC and the Memory Cassette. SR 27002 will be turned OFF automatically after the data comparison has been completed.
3.Use a host computer running SSS or a Programming Console to check the status of SR 27003 (the Comparison Results Flag).
Note If data verification is executed in a mode other than the PROGRAM mode, an operation continuance error (FAL90) will occur and 27002 will turn ON (1). Although 27003 will also turn ON, comparison will not be performed. If data comparison is executed without mounting the Memory Cassette, 27003 will turn ON
(1).
Use the following procedures to transfer IOM data to or from a Memory Cassette. (A PROM writer is required to write data to an EPROM Memory Cassette. Refer to the SYSMAC Support Software Operation Manual for details.)
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.
The capacity of the Memory Cassette must match the memory capacity of the CPU Unit when IOM data is transferred to or from a Memory Cassette. The memory requirements are as follows:
Writing IOM: CPU Unit’s capacity ≤ Memory Cassette’s capacity
Reading IOM: CPU Unit’s capacity = Amount of IOM data in Memory Cassette
Note In C200HS PCs, the data transfer will be performed even if the memory capacities don’t match, an error which can easily go unnoticed.
The following table shows the Memory Cassette capacity required to store 1 or more banks of EM.
Memory Cassette capacity |
Number of EM banks |
|
|
4K words |
None (A 4K-word Memory Cassette can’t be used to |
|
store other IOM data, either.) |
|
|
8K words |
None |
|
|
16K words |
1 bank (Only EM bank 0 can be stored.) |
|
|
32K words |
3 banks (EM banks 0 through 2 can be stored.) |
Bits 08 through 15 of SR 273 indicate the EM bank number of the IOM data stored in the Memory Cassette.
Writing IOM Data to a Memory Cassette
1, 2, 3...
Content of |
Meaning |
SR 27308 to SR 27315 |
|
|
|
00 |
There is no Memory Cassette installed, no IOM data in |
|
the Memory Cassette, or no EM data in the Memory Cas- |
|
sette. |
|
|
01 |
The Memory Cassette contains IOM data that includes |
|
EM bank 0 only. |
|
|
04 |
The Memory Cassette contains IOM data that includes |
|
EM banks 0 through 2. |
Use the following procedure to write IOM data to an EEPROM Memory Cassette.
1.Before turning ON the C200HX/HG/HE’s power supply, make sure that switch 1 on the Memory Cassette is set to OFF.
18