Omron SYSMAC CV, CV2000, CVM1, CV500, CV1000 Operation Manual

SYSMAC CV-series CV500/CV1000/CV2000/CVM1 Programmable Controllers
Operation Manual: Ladder Diagrams
Revised August 1998
iv
v
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or dam­age to property.
DANGER Indicates an imminently hazardous situation which, if not avoided, will result in death or
serious injury.
WARNING Indicates a potentially hazardous situation which, if not avoided, could result in death or
serious injury.
Caution Indicates a potentially hazardous situation which, if not avoided, may result in minor or
moderate injury, or property damage.
OMRON Product References
All OMRON products are capitalized in this manual. The word “Unit” is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means “word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PC” means Programmable Controller and is not used as an abbreviation for any­thing else.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of information.
Note Indicates information of particular interest for efficient and convenient operation
of the product.
1, 2, 3...
1. Indicates lists of one sort or another, such as procedures, checklists, etc.
OMRON, 1992
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permis­sion of OMRON.
No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the informa­tion contained in this publication.
vi
TABLE OF CONTENTS
vii
PRECAUTIONS xiii. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1 Intended Audience xiv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 General Precautions xiv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Safety Precautions xiv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Operating Environment Precautions xv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Application Precautions xv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 1
Introduction 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1 Overview 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 Relay Circuits: The Roots of PC Logic 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3 PC Terminology 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4 OMRON Product Terminology 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5 Overview of PC Operation 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-6 PC Operating Modes 6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-7 Peripheral Devices 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-8 CV-series Manuals 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-9 C-series–CV-series System Compatibility 9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-10 Networks and Remote I/O Systems 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-11 New CPUs and Related Units 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-12 CPU Comparison 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-13 Improved Specifications 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2
Hardware Considerations 21. . . . . . . . . . . . . . . . . . . . . . . . .
2-1 CPU Components 22. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2 Program Memory 24. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-3 Memory Cards 25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-4 Data Memory and Expansion Data Memory Unit 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-5 I/O Control Unit and I/O Interface Unit Displays 29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-6 Peripheral Devices 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-7 PC Configuration 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 3
Memory Areas 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1 Introduction 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2 Data Area Structure 36. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3 CIO (Core I/O) Area 40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4 TR (Temporary Relay) Area 48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5 CPU Bus Link Area 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-6 Auxiliary Area 50. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-7 Transition Area 66. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-8 Step Area 67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9 Timer Area 67. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-10 Counter Area 68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-11 DM and EM Areas 68. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-12 Index and Data Registers (IR and DR) 70. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLE OF CONTENTS
viii
SECTION 4
Writing Programs 73. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1 Basic Procedure 74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-2 Instruction Terminology 74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3 Basic Ladder Diagrams 75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4 Mnemonic Code 80. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5 Branching Instruction Lines 87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-6 Jumps 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-7 Controlling Bit Status 93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-8 Intermediate Instructions 96. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-9 Work Bits (Internal Relays) 96. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-10 Programming Precautions 98. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-11 Program Execution 99. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-12 Using Version-2 CVM1 CPUs 99. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-13 Data Formats 104. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 5
Instruction Set 109. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1 Notation 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2 Instruction Format 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3 Data Areas, Definers, and Flags 114. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4 Differentiated and Immediate Refresh Instructions 117. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-5 Coding Right-hand Instructions 119. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6 Ladder Diagram Instructions 121. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7 Bit Control Instructions 126. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-8 INTERLOCK and INTERLOCK CLEAR: IL(002) and ILC(003) 134. . . . . . . . . . . . . . . . . .
5-9 JUMP and JUMP END: JMP(004) and JME(005) 136. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-10 CONDITIONAL JUMP: CJP(221)/CJPN(222) 138. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-11 END: END(001) 139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-12 NO OPERATION: NOP(000) 139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13 Timer and Counter Instructions 139. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14 Shift Instructions 159. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-15 Data Movement Instructions 187. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-16 Comparison Instructions 205. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-17 Conversion Instructions 219. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-18 BCD Calculation Instructions 249. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-19 Binary Calculation Instructions 261. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-20 Symbol Math Instructions 272. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-21 Floating-point Math Instructions 293. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-22 Increment/Decrement Instructions 314. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-23 Special Math Instructions 319. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-24 PID and Related Instructions 330. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-25 Logic Instructions 341. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-26 Time Instructions 349. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-27 Special Instructions 354. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-28 Flag/Register Instructions 366. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-29 STEP DEFINE and STEP START: STEP(008)/SNXT(009) 368. . . . . . . . . . . . . . . . . . . . . . .
5-30 Subroutines 377. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-31 Interrupt Control 382. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-32 Stack Instructions 389. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-33 Data Tracing 393. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-34 Memory Card Instructions 396. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-35 Special I/O Instructions 404. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-36 Network Instructions 413. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-37 SFC Control Instructions 427. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-38 Block Programming Instructions 438. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLE OF CONTENTS
ix
SECTION 6
Program Execution Timing 451. . . . . . . . . . . . . . . . . . . . . . . .
6-1 PC Operation 452. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2 Cycle Time 464. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3 Calculating Cycle Time 470. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-4 Instruction Execution Times 472. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-5 I/O Response Time 486. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 7
PC Setup 495. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-1 PC Setup Overview 496. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-2 PC Setup Details 497. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
7-3 PC Setup Default Settings 501. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 8
Error Processing 503. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-1 Alarm Indicators 504. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-2 Programmed Alarms and Error Messages 504. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-3 Reading and Clearing Errors and Messages 504. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-4 Error Messages 504. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8-5 Error Flags 509. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendices
A Instruction Set 511. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B Error and Arithmetic Flag Operation 569. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C PC Setup Default Settings 575. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D Data Areas 577. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
E I/O Assignment Sheets 583. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
F Program Coding Sheet 589. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
G Data Conversion Table 593. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
H Extended ASCII 595. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Glossary 597. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index 619. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Revision History 629. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
xi
About this Manual:
This manual describes ladder diagram programming and memory allocation in the SYSMAC CV-series Program­mable Controllers (PCs) (CV500, CV1000, CV2000, and CVM1). This manual is designed to be used together with two other CV-series PC operation manuals and an installation guide. The entire set of CV-series PC manuals is listed below. Only the basic portions of the catalog numbers are given; be sure you have the most recent version for your area.
Manual Cat. No.
CV-series PC Installation Guide W195 CV-series PC Operation Manual: SFC W194 CV-series PC Operation Manual: Ladder Diagrams W202 CV-series PC Operation Manual: Host Interface W205
Programming and operating CV -series PCs are performed with the CV Support Software (CVSS), the SYSMAC Sup­port Software (SSS), and the CV-series Programming Console for which the following manuals are available.
Product Manuals
CVSS The CV Series Getting Started Guidebook (W203) and the CV Support Software Opera-
tion Manuals: Basics (W196), Offline (W201), and Online (W200).
SSS SYSMAC Support Software Operation Manuals: Basics (W247), C-series PC Opera-
tions (W248), and CVM1 Operations (W249)
CV-series Programming Console CVM1-PRS21-E Programming Console Operation Manual (W222)
Note The CVSS does not support new instructions added for version-2 CVM1 PCs. The SSS does not support SFC
programming (CV500, CV1000, or CV2000).
Please read this manual completely together with the other CV-series manuals and be sure you understand the infor­mation provide before attempting to install, program, or operate a CV-series PC. The basic content of each section of this manual is outlined below.
Section 1
gives a brief overview of the history of Programmable Controllers and explains terms commonly used in ladder-diagram programming. It also provides an overview of the process of programming and operating a PC. A list of the manuals available to use with this manual is also provided.
Section 2
provides information on hardware aspects of the CV-series PCs relevant to programming and software operation. This information is covered in more detail in the
CV-series PC Installation Guide
.
Section 3
describes the way in which PC memory is broken into various areas for different purposes. The contents of each area and addressing conventions are also described.
Section 4
explains the basic steps and concepts involved in writing a basic ladder diagram program. The entire set of instructions used in programming is described in
Section 5 Instruction Set
.
Section 5
explains each instruction in the CV-series PC instruction sets and provides the ladder diagram symbols, data areas, and flags used with each. The instructions provided by the CV-series PCs are described in following sub­sections by instruction group.
Section 6
explains the execution cycle of the PC and shows how to calculate the cycle time and I/O response times. I/O response times in Link Systems are described in the individual System Manuals. These manuals are listed at the end of
Section 1 Introduction
.
Section 7
provides tables that list the parameters in the PC Setup, provide examples of normal application, and provides the default values. The use of each parameter in the PC Setup is described where relevant in this manual and in other CV-series manuals.
Section 8
provides information on hardware and software errors that may occur during PC operation. Although de­scribed mainly in
Section 3 Memory Areas
, flags and other error information provided in the Auxiliary Area are listed in
8-5 Error Flags
.
Various appendices are also provided for convenience (see table of contents for a list).
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.
!
xiii
PRECAUTIONS
This section provides general precautions for using the Programmable Controller (PC) and related devices.
The information contained in this section is important for the safe and reliable application of the Programmable Con­troller. You must read this section and understand the information contained before attempting to set up or operate a PC system.
1 Intended Audience xiv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2 General Precautions xiv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3 Safety Precautions xiv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4 Operating Environment Precautions xv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5 Application Precautions xv. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3Safety Precautions
xiv
1 Intended Audience
This manual is intended for the following personnel, who must also have knowl­edge of electrical systems (an electrical engineer or the equivalent).
Personnel in charge of installing FA systems.
Personnel in charge of designing FA systems.
Personnel in charge of managing FA systems and facilities.
2 General Precautions
The user must operate the product according to the performance specifications described in the operation manuals.
Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement ma­chines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative.
Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms.
This manual provides information for programming and operating the Unit. Be sure to read this manual before attempting to use the Unit and keep this manual close at hand for reference during operation.
WARNING It is extremely important that a PC and all PC Units be used for the specified
purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above-mentioned applications.
3 Safety Precautions
WARNING Do not attempt to take any Unit apart while the power is being supplied. Doing so
may result in electric shock.
WARNING Do not touch any of the terminals while the power is being supplied. Doing so
may result in electric shock.
WARNING Do not attempt to disassemble, repair. or modify any Units. Any attempt to do so
may result in malfunction, fire, or electric shock.
WARNING There is a lithium battery built into the SRAM Memory Cards. Do not short the
positive and negative terminals of the battery, charge the battery, attempt to take it apart, subject it to pressures that would deform it, incinerate it, or otherwise mistreat it. Doing any of these could cause the battery to erupt, ignite, or leak.
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 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.
5Application Precautions
xv
4 Operating Environment Precautions
Caution Do not operate the control system in the following places:
Locations subject to direct sunlight.
Locations subject to temperatures or humidity outside the range specified in
the specifications.
Locations subject to condensation as the result of severe changes in tempera­ture.
Locations subject to corrosive or flammable gases.
Locations subject to dust (especially iron dust) or salts.
Locations subject to exposure to water, oil, or chemicals.
Locations subject to shock or vibration.
Caution Take appropriate and sufficient countermeasures when installing systems in the
following locations:
Locations subject to static electricity or other forms of noise.
Locations subject to strong electromagnetic fields.
Locations subject to possible exposure to radioactivity.
Locations close to power supplies.
Caution The operating environment of the PC System can have a large effect on the lon-
gevity and reliability of the system. Improper operating environments can lead to malfunction, failure, and other unforeseeable problems with the PC System. Be sure that the operating environment is within the specified conditions at installa­tion and remains within the specified conditions during the life of the system.
5 Application Precautions
Observe the following precautions when using the PC System.
WARNING Always heed these precautions. Failure to abide by the following precautions
could lead to serious or possibly fatal injury.
Always connect to a class-3 ground (to 100 or less) when installing the Units. Not connecting to a class-3 ground may result in electric shock.
Always turn off the power supply to the PC before attempting any of the follow­ing. Not turning off the power supply may result in malfunction or electric shock.
Mounting or dismounting I/O Units, CPU Units, Memory Cassettes, or any other Units.
Assembling the Units.
Setting DIP switches or rotary switches.
Connecting or wiring the cables.
Connecting or disconnecting the connectors.
Caution Failure to abide by the following precautions could lead to faulty operation of the
PC or the system, or could damage the PC or PC Units. Always heed these pre­cautions.
Fail-safe measures must be taken by the customer to ensure safety in the event of incorrect, missing, or abnormal signals caused by broken signal lines, momentary power interruptions, or other causes.
5Application Precautions
xvi
Interlock circuits, limit circuits, and similar safety measures in external circuits (i.e., not in the Programmable Controller) must be provided by the customer.
Always use the power supply voltage specified in the operation manuals. An incorrect voltage may result in malfunction or burning.
Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied. Be particularly careful in places where the power supply is unstable. An incorrect power supply may result in malfunction.
Install external breakers and take other safety measures against short-circuit­ing in external wiring. Insufficient safety measures against short-circuiting may result in burning.
Do not apply voltages to the Input Units in excess of the rated input voltage. Excess voltages may result in burning.
Do not apply voltages or connect loads to the Output Units in excess of the maximum switching capacity. Excess voltage or loads may result in burning.
Disconnect the functional ground terminal when performing withstand voltage tests. Not disconnecting the functional ground terminal may result in burning.
Install the Unit properly as specified in the operation manual. Improper installa­tion of the Unit may result in malfunction.
Be sure that all the mounting screws, terminal screws, and cable connector screws are tightened to the torque specified in the relevant manuals. Incorrect tightening torque may result in malfunction.
Leave the label attached to the Unit when wiring. Removing the label may re­sult in malfunction.
Remove the label after the completion of wiring to ensure proper heat dissipa­tion. Leaving the label attached may result in malfunction.
Use crimp terminals for wiring. Do not connect bare stranded wires directly to terminals. Connection of bare stranded wires may result in burning.
Double-check all the wiring before turning on the power supply. Incorrect wir­ing may result in burning.
Mount the Unit only after checking the terminal block completely.
Be sure that the terminal blocks, Memory Units, expansion cables, and other
items with locking devices are properly locked into place. Improper locking may result in malfunction.
Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected operation.
Confirm that no adverse effect will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation.
Changing the operating mode of the PC.
Force-setting/force-resetting any bit in memory.
Changing the present value of any word or any set value in memory.
Resume operation only after transferring to the new CPU Unit the contents of
the DM and HR Areas required for resuming operation. Not doing so may result in an unexpected operation.
Do not pull on the cables or bend the cables beyond their natural limit. Doing either of these may break the cables.
Do not place objects on top of the cables. Doing so may break the cables.
When replacing parts, be sure to confirm that the rating of a new part is correct.
Not doing so may result in malfunction or burning.
Before touching the Unit, be sure to first touch a grounded metallic object in order to discharge any static built-up. Not doing so may result in malfunction or damage.
1
SECTION 1
Introduction
This section gives a brief overview of the history of Programmable Controllers and explains terms commonly used in ladder-diagram programming. It also provides an overview of the process of programming and operating a PC and ex­plains basic terminology used with OMRON PCs. A list of the manuals available to use with this manual for special PC applications and products is also provided.
1-1 Overview 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 Relay Circuits: The Roots of PC Logic 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3 PC Terminology 3. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4 OMRON Product Terminology 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-5 Overview of PC Operation 4. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-6 PC Operating Modes 6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-7 Peripheral Devices 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-8 CV-series Manuals 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-9 C-series–CV-series System Compatibility 9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-10 Networks and Remote I/O Systems 10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-11 New CPUs and Related Units 15. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-12 CPU Comparison 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-13 Improved Specifications 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-13-1 Upgraded Specifications 16. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-13-2 Version-1 CPUs 17. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-13-3 Version-2 CVM1 CPUs 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-13-4 Upgraded Specifications 19. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
1-1 Overview
A PC (Programmable Controller) is basically a CPU (Central Processing Unit) containing a program and connected to input and output (I/O) devices. The pro­gram controls the PC so that when an input signal from an input device turns ON or OFF, the appropriate response is made. The response normally involves turn­ing ON or OFF 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, 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, posi­tioned higher than the first, turns ON a different input to indicate that the product is too tall. The PC responds by turning on another pusher positioned before the pusher mentioned above to push the too-tall product into a rejection box.
Although this example involves only two inputs and two outputs, it is typical of the type of control operation that PCs can achieve. Actually even this example is much more complex than it may at first appear because of the timing that would be required, i.e., “How does the PC know when to activate each pusher?” Much more complicated operations are also possible.
To achieve proper control, CV-series PCs use a form of PC logic called ladder­diagram programming. A single ladder-diagram program can be used, as in C­series PCs, but CV-series PCs are also support sequential function chart, or SFC, programming. SFC programming breaks the program into sections based on processes, greatly reducing program development and maintenance times, and allowing program sections to be easily used in other programs. The follow­ing diagram shows a simple SFC program, which consists of steps connected by lines representing the flow of execution.
ST0000 01
TN0000
ST0001 02
000100
ST0011 02
000101
000200
ST0012 03
000201
ST0000
ST0020 00
000300
Initial step
Transition
Step
The transitions between the steps control when execution moves between the steps and actions contained within the steps specify the actual executable ele­ments of the program. Programming the actions and transitions within SFC pro­gramming are generally achieved using ladder diagrams. There are also some ladder diagram instructions that can be used to control the SFC program.
This manual is written to explain ladder-diagram programming and to prepare the reader to program and operate the CV-series PCs. SFC programming is ex­plained in the
CV-series PCs Operation Manual: SFC
.
Overview Section 1-1
3
1-2 Relay Circuits: The Roots of PC Logic
PCs historically originate in relay-based control systems. And although the inte­grated circuits and internal logic of the PC have taken the place of the discrete relays, timers, counters, and other such devices, actual PC operation proceeds as if those discrete devices were still in place. PC control, however, also pro­vides computer capabilities and accuracy to achieve a great deal more flexibility and reliability than is possible with relays.
The symbols and other control concepts used to describe PC operation also come from relay-based control and form the basis of the ladder-diagram pro­gramming method. Most of the terms used to describe these symbols and con­cepts, however, have come in from computer terminology.
Relay vs. PC Terminology The terminology used throughout this manual is somewhat different from relay
terminology, but the concepts are the same. The following table shows the relationship between relay terms and the PC
terms used for OMRON PCs.
Relay term PC equivalent
contact input or condition coil output or work bit NO relay normally open condition NC relay normally closed condition
Actually there is not a total equivalence between these terms. The term condi­tion is only used to describe ladder diagram programs in general and is specifi­cally equivalent to one of a certain set of basic instructions. The terms input and output are not used in programming per se, except in reference to I/O bits that are assigned to input and output signals coming into and leaving the PC. Nor­mally open conditions and normally closed conditions are explained in
4-3 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 introduced here.
PC Because CV-series PCs are Rack PCs, there is no single product that is a CV-
series 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 and all of the Units directly controlled by it through the program. This does not include the I/O devices connected to PC in­puts and outputs. The term PC is also used to refer to the controlling element of the PC, i.e., the CPU.
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, in its normal processing cycle, monitors the status of all input points and turns ON or OFF corresponding input bits accord­ingly.
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
PC Terminology Section 1-3
4
turned ON t o send a signal to an output device through an output point. The CPU periodically turns output points ON or OFF according to the status of the output bits.
These terms are used when describing different aspects of PC operation. When programming, one is concerned with what information is held in memory , and so I/O bits are referred to. When talking about the Units that connect the PC to the controlled system and the places on these Units where signals enter and leave the PC, I/O points are referred to. When wiring these I/O points, the physical counterparts of the I/O points, either terminals or connector pins, are referred to. When talking about the signals that enter or leave the PC, one refers to input signals and output signals, or sometimes just inputs and outputs. It all depends on what aspect of PC operation is being talked about.
The Control System includes the PC and all I/O devices it uses to control an ex­ternal system. A sensor that provides information to achieve control is an input device that is clearly part of the Control System. The controlled system is the external system that is being controlled by the PC program through these I/O devices. I/O devices can sometimes be considered part of the controlled sys­tem, e.g., a motor used to drive a conveyor belt.
1-4 OMRON Product Terminology
OMRON products are divided into several functional groups that have generic names.
Appendix A Standard Models
lists 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 CV-series PC, its meaning is generally, but not always, limited in context to refer to the Units that are mounted to a Rack. Most, but not all, of these products have names that end with the word Unit.
The largest group of OMRON products is the I/O Units. These include all of the Rack-mounting Units that provide non-dedicated input or output points for gen­eral use. I/O Units come with a variety of point connections and specifications.
Special I/O Units are dedicated Units that are designed to meet specific needs. These include Position Control Units, High-speed Counter Units, and Analog I/O Units. This group also includes some programmable Units, such as the ASCII Unit, which is programmed in BASIC.
CPU Bus Units connect to the CPU bus and must be mounted on either the CPU Rack or a Expansion CPU Rack. These include the SYSMAC NET Link Unit, SYSMAC LINK Unit, SYSMAC BUS/2 Remote I/O Master Unit, and BASIC Unit.
Link Units are used to create communications links between PCs or between PCs and other devices. Link Units include SYSMAC NET Link Unit, SYSMAC LINK Unit, and, sometimes, SYSMAC BUS/2 Remote I/O Master Unit.
Other product groups include Programming Devices, Peripheral Devices, and DIN Track Products.
1-5 Overview of PC Operation
The following are the basic steps involved in programming and operating a CV­series 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. The relevant sections of this manual that provide more information are listed with relevant 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
CV-se-
ries PCs Installation Guide
. If a Link System is required, refer to the ap-
propriate
System Manual
.
Controlled System and Control System
Overview of PC Operation Section 1-5
5
3. On paper , assign all input and output devices to I/O points on Units and de­termine which I/O bits will be allocated to each. If the PC includes Special I/O Units, CPU Bus 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. Divide the required control actions into processes that need to be treated as individual sections and create an SFC program to control the flow of execu­tion of the processes. Refer to the
CV-series PCs Operation Manual: SFC
for details on the SFC program. If desired, you can also program the PC without using an SFC program by setting the PC for ladder-only operation from the CVSS/SSS.
5. Using relay ladder symbols, write a program that represents the sequence of required operations within each process and their inter-relationships. If you are using an SFC program, you will actually be writing transition pro­grams and action programs within the SFC program. Be sure to also pro­gram appropriate responses for all possible emergency situations. (
Section 4 Writing Programs, Section 5 Instruction Set, Section 6 Program Execution Timing
6. Write the program in the CVSS/SSS offline, and then switch to online opera­tion and transfer the program to Program Memory in the CPU. The program can also be written or altered online. Refer to the
CVSS/SSS Operation
Manual
for details.
7. Generate the I/O table with I/O Units installed. The I/O table can be gener­ated either online from the CVSS/SSS, or edited offline and then trans­ferred. Always turn the PC off and on after transferring the I/O table. The PC will not run until the I/O table has been registered. Refer to the
CVSS/SSS
Operation Manual
for details.
8. The PC Setup controls a variety of basic options in PC operation (such as the method of I/O refreshing and PC mode at start-up). The operating pa­rameters in the PC Setup can be left in their default settings or changed with the CVSS/SSS as required. Refer to
Section 7 PC Setup
for details.
9. Debug the program, first to eliminate any syntax errors, and then to find execution errors. Refer to the three CVSS/SSS operation manuals for de­tails on debugging operations. (
Section 8 Error Processing
)
10. Wire the PC to the controlled system. This step can actually be started as soon as step 3 has been completed. Refer to the
CV-series PCs Installation
Guide
and to other
Operation Manuals
and
System Manuals
for details on
individual Units.
11. Test the program in an actual control situation and carry out fine tuning as required. Refer to the CVSS/SSS operation manuals for details on debug­ging operations. (
Section 8 Error Processing
)
12. Record two copies of the finished program on masters and store them safely in different locations. Refer to the CVSS/SSS operation manuals for details.
Note 1. The date and time are not set when the CPU is shipped. Set the date and
time by the procedure described in the
CVSS/SSS Operation Manuals
.
2. There is an error log in the PC. This log can be cleared by turning ON the Error Log Reset Bit (A00014).
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.
Overview of PC Operation Section 1-5
6
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.
Next, determine the sequence in which control operations are to occur and the relative timing of the operations. Identify the physical relationships between the I/O devices as well as the kinds of responses that should occur between them.
For instance, a photoelectric switch might be functionally tied to a motor by way of a counter within the PC. When the PC receives an input from a start switch, it could start the motor. The PC could then stop the motor when the counter has received a specified number of input signals from the photoelectric switch.
Each of the related tasks must be similarly determined, from the beginning of the control operation to the end.
Unit Requirements The actual Units that will be mounted or connected to PC Racks must be deter-
mined according to the requirements of the I/O devices. Actual hardware specifi­cations, such as voltage and current levels, as well as functional considerations, such as those that require Special I/O Units, CPU Bus Units, or Link Systems will need to be considered. In many cases, Special I/O Units, CPU Bus Units or Link Systems can greatly reduce the programming burden. Details on these Units and Link Systems are available in appropriate
Operation Manuals
and
System
Manuals
.
Once the entire Control System has been designed, the task of programming, debugging, and operation as described in the remaining sections of this manual can begin.
1-6 PC Operating Modes
CV-series PCs have four operation modes: PROGRAM, DEBUG, MONITOR, and RUN. The Unit will automatically enter the mode specified in the PC Setup (default setting: PROGRAM mode). Refer to
Section 7 PC Setup
for details. The PC mode can be changed from a Peripheral Device. The function of each mode is described briefly below.
PROGRAM mode is used when making basic changes to the PC program or set­tings, such as transferring, writing, changing, or checking the program, generat­ing or changing the I/O table, or changing the PC Setup. The program cannot be executed in PROGRAM mode. Output points at Output Units will remain OFF, even when the corresponding output bit is ON.
DEBUG mode is used to check program execution and I/O operation after syn­tax errors in the program have been corrected. With SFC programs, a single step can be checked for errors from a Peripheral Device using the DEBUG op­eration. Output points at Output Units will remain OFF, even when the corre­sponding output bit is ON.
MONITOR mode is used when monitoring program execution, such as making a trial run of a program. The program is executed just as it is in RUN mode, but bit status, timer and counter SV/PV, and the data content of most words can be changed online. PC operation in MONITOR mode is significantly slower than it is in RUN mode. Output points at Output Units will be turned ON when the corre­sponding output bit is ON.
RUN mode is used when operating the PC in normal control conditions. Bit sta­tus cannot be Force Set or Reset, and SVs, PVs, and the data cannot be changed online. Output points at Output Units will be turned ON when the corre­sponding output bit is ON.
Sequence, Timing, and Relationships
PROGRAM Mode
DEBUG Mode
MONITOR Mode
RUN Mode
PC Operating Modes Section 1-6
7
1-7 Peripheral Devices
The CV Support Software (CVSS) and the SYSMAC Support Software (SSS) are the main Peripheral Device used to program and monitor CV-series PCs. Y ou must have the CVSS/SSS to program and operate these PCs. The following Peripheral Devices are available for basic programming/monitoring.
Note The CVSS does not support new instructions added for version-2 CVM1 PCs.
The SSS does not support SFC programming (CV500, CV1000, and CV2000). New instructions added for version-2 CVM1 PCs are also supported by ver­sion-1 CV-series Programming Consoles.
The Graphics Programming Console (GPC) can be used for monitoring and pro­gramming of PCs, but does not support SFC programming.
Programming Console The Programming Console can be used for onsite monitoring and programming
of PC, but does not support SFC programming and other advanced program­ming/debugging operations.
Graphic Programming Console
Peripheral Devices Section 1-7
8
1-8 CV-series Manuals
The following manuals are available for CV-series products. Manuals are also available for compatible C-series products (see next section). Catalog number suffixes have been omitted; be sure you have the current version for your region.
Product Manual Cat. No.
CV-series PCs CV-series PCs Installation Guide W195
CV-series PCs Operation Manual: SFC W194 CV-series PCs Operation Manual: Ladder Diagrams W202 CV-series PCs Operation Manual: Host Link System,
CV500-LK201 Host Link Unit
W205
CV Support Software (CVSS)
The CV Series Getting Started Guidebook W203
()
CV Support Software Operation Manual: Basics W196 CV Support Software Operation Manual: Offline W201 CV Support Software Operation Manual: Online W200
SYSMAC Support Software Operation Manual: Basics
SSS installation procedures, hardware information for the SSS, and general basic operating procedures (including data conversion between C-series and CVM1 PCs).
W247
SYSMAC Support Software Operation Manual: C-series PC Operations
Detailed operating procedures for the C-series PCs. W248
SYSMAC Support Software Operation Manual: CVM1 Operations
Detailed operating procedures for CVM1 PCs. W249
Graphic Programming Console (GPC) CV500-MP311-E Graphic Programming Console Operation Manual W216 Programming Console CVM1-PRS21-E Programming Console Operation Manual W222 SYSMAC NET Link System SYSMAC NET Link System Manual W213 SYSMAC LINK System SYSMAC LINK System Manual W212 SYSMAC BUS/2 Remote I/O System SYSMAC BUS/2 Remote I/O System Manual W204 CompoBus/D Device Network CompoBus/D (DeviceNet) Operation Manual) W267 CV-series Ethernet Unit CV-series Ethernet System Manual W242 BASIC Unit BASIC Unit Reference Manual W207
BASIC Unit Operation Manual W206
Personal Computer Unit
Personal Computer Unit Operation Manual W251 Personal Computer Unit Technical Manual W252
Motion Control Unit
Motion Control Unit Operation Manual: Introduction W254 Motion Control Unit Operation Manual: Details W255
Temperature Controller Data Link Unit CV500-TDL21 Temperature Controller Data Link Unit Operation
Manual
W244
Memory Card Writer CV500-MCW01-E Memory Card Writer Operation Manual W214 Optical Fiber Cable Optical Fiber Cable Installation Guide W156
CV-series Manuals Section 1-8
9
1-9 C-series–CV-series System Compatibility
The following table shows when C-series Units can be used and when CV-series Units must be used. Any C-series Unit or Peripheral Device not listed in this table cannot be used with the CV-series PCs.
Unit C Series CV Series Remarks
CPU Rack CPU No Yes CV500-CPU01-EV1, CV1000-CPU01-EV1,
CV2000-CPU01-EV1, CVM1-CPU01-EV2, CVM1-CPU11-EV2, and CVM1-CPU21-EV2
Power Supply No Yes CV500-PS221, CV500-PS211, and
CVM1-PA208
CPU Backplane No Yes CV500-BC031, CV500-BC051, CV500-BC101,
CVM1-BC103, and CVM1-BC053
I/O Control Unit No Yes
CV500-IC01 Expansion CPU Backplane No Yes CV500-BI111 Expansion I/O Backplane No Yes CV500-BI042, CV500-BI062, CV500-BI112,
CVM1-BI114, and CVM1-BI064 (C500
Expansion I/O Racks can be used with certain
limitations.) 16-/32-/64-point I/O Units Yes Yes --­Special I/O Units Yes Yes Applicable Units include Analog Input, Analog
Output, High-speed Counter, PID, Position
Control, Magnetic Card, ASCII, ID Sensor, and
Ladder Program I/O Units (The C500-ASC03
cannot be used.) BASIC Unit No Yes
CV500-BSC1 Personal Computer Unit No Yes CV500-VP213-E/217-E/223-E/227-E Temperature Control Data Link Unit No Yes CV500-TDL21 Link
SYSMAC NET No Yes CV500-SNT31
Systems
SYSMAC LINK No Yes CV500-SLK11 and CV500-SLK21 Host Link Unit No Yes CV500-LK201 Ethernet Unit No Yes CV500-ETN01
Remote I/O
SYSMAC BUS Units Yes Yes ---
Systems
SYSMAC BUS/2 No Yes CV500-RM211/221 and CV500-RT211/221
Peripheral Devices
CV Support Software No Yes
(See note.)
CV500-ZS3AT1-EV2 (3 1/2” floppy disks) and
CV500-ZS5AT1-EV2 (5 1/4” floppy disks) for
IBM PC/AT compatible
SYSMAC Support Software (SSS)
Yes Yes
(See note.)
C500-ZL3AT1-E (3.5” floppy disks) for IBM
PC/AT compatible
Graphic Programming Console
Yes (Main unit only)
Yes (System Cassette)
(See note.)
GPC: 3G2C5-GPC03-E
System Cassette: CV500-MP311-E
Programming Console No Yes
(See note.)
CVM1-PRS21-EV1 (set)
Note The CVSS does not support new instructions added for version-2 CVM1 PCs.
The SSS does not support SFC programming (CV500, CV1000, and CV2000). New instructions added for version-2 CVM1 PCs are also supported by ver­sion-1 CV-series Programming Consoles.
C-series – CV-series System Compatibility Section 1-9
10
1-10 Networks and Remote I/O Systems
Systems that can be used to create networks and enable remote I/O are introduced in this section. Refer to the operation manuals for the Systems for details.
The SYSMAC NET Link System is a LAN (local area network) for use in factory automation systems. The SYSMAC NET Link System can consist of up to 128 nodes among which communications may be accomplished via datagrams, data transfers, or automatic data links.
Datagrams transmit and receive data using a command/response format. Com­mands can be issued from the user program by the DELIVER COMMAND instruction (CMND(194)).
Data can also be transmitted and received using the NETWORK SEND and NETWORK RECEIVE (SEND(192)/RECV(193)) instructions in the user pro­gram. Up to 256 words of data can be transferred for each instruction.
Automatic data links allow PCs and computers to create common data areas.
SYSMAC NET Link Unit CV500-SNT31
Up to 4 Units can be mounted.
CV-series CPU Rack/Expansion CPU Rack
Line Server
Center Power Feeder
C200H C500 C1000H C2000H
Personal computer
Note Up to four SYSMAC NET Link Units (CV500-SNT31) can be mounted to the
CPU Rack and/or Expansion CPU Rack of each CV-series PC.
SYSMAC NET Link System
Networks and Remote I/O Systems Section 1-10
11
SYSMAC LINK System Networks can also be created using SYSMAC LINK Systems. A SYSMAC LINK
System can consist of up to 62 PCs, including the CV500, CV1000, CV2000, CVM1, C200H, C1000H, and C2000H. Communications between the PCs is ac­complished via datagrams, data transfers, or automatic data links in ways simi­lar to the SYSMAC NET Link System.
The main differences between SYSMAC NET Link and SYSMAC LINK Systems is in the structure of automatic data links and in the system configuration, e.g., only PCs can be linked in SYSMAC LINK Systems, whereas other devices can form nodes in SYSMAC NET Link Systems.
Datagrams transmit and receive data using a command/response format. Com­mands can be issued from the user program by the DELIVER COMMAND instruction (CMND(194)).
Data can also be transmitted and received using the NETWORK SEND and NETWORK RECEIVE (SEND(192)/RECV(193)) instructions in the user pro­gram. Up to 256 words of data can be transferred for each instruction.
Automatic data links allow PCs and computers to create common data areas.
SYSMAC LINK Unit CV500-SLK11 (optical) CV500-SLK21 (wired)
Up to 4 Units can be mounted.
CV-series CPU Rack/Expansion CPU Rack
CV500/CV1000/ CV2000/CVM1 C200H/C1000H/ C2000H
Note Up to four SYSMAC LINK Units (CV500-SLK11/21) can be mounted to the CPU
Rack and/or Expansion CPU Rack of each CV-series PC.
Networks and Remote I/O Systems Section 1-10
12
Remote I/O can be enabled by adding a SYSMAC BUS/2 Remote I/O System to the PC. The SYSMAC BUS/2 Remote I/O System is available in two types: opti­cal and wired.
Two Remote I/O Master Units, optical or wired, can be mounted to the CV500 or CVM1-CPU01-EV2 CPU Rack or Expansion CPU Rack. Four Remote I/O Mas­ter Units can be mounted to the CV1000, CV2000, CVM1-CPU11-EV2, or CVM1-CPU21-EV2 CPU Rack or Expansion CPU Rack.
Up to eight Remote I/O Slave Racks can be connected per PC. Slaves can be used to provide up to 1,024 remote I/O points for the CV500 or
CVM1-CPU01-EV2, and up to 2,048 remote I/O points for the CV1000, CV2000, CVM1-CPU11-EV2, or CVM1-CPU21-EV2.
A Programming Device (such as the CVSS/SSS) can be connected to up to two Remote I/O Slave Units for each Remote I/O Master Unit as long as a total of no more than four Programming Devices are connected per PC.
Remote I/O Master Unit CV500-RM211 (optical) CV500-RM221 (wired)
CV500, CVM1-CPU01-EV2: 2 Masters max. can be mounted CV1000, CV2000, CVM1-CPU11-EV2, CVM1-CPU21-EV2: 4 Masters max. can be mounted
CV-series CPU Rack/Expansion CPU Rack
Remote I/O Slave Up to 8 Slave can be con­nected per PC for 58M Slaves; 4 Slaves for 122M or 54MH Slaves.
Remote I/O Slave Unit CV500-RT211 (optical) CV500-RT221 (wired)
SYSMAC BUS/2 Remote I/O System
Networks and Remote I/O Systems Section 1-10
13
Remote I/O can also be enabled by using the C-series SYSMAC BUS Remote I/O System with CV-series PC.
Remote I/O Master Units can be mounted on any slot of the CPU Rack, Expan­sion CPU Rack, or Expansion I/O Rack. Up to four Masters can be mounted for the CV500 or CVM1-CPU01-EV2, up to eight Masters for the CV1000, CV2000, CVM1-CPU11-EV2, or CVM1-CPU21-EV2.
For each Master, up to two Slave Racks can be connected for the CV500 or CVM1-CPU01-EV2; up to eight Slave Racks for the CV1000, CV2000, CVM1-CPU11-EV2, or CVM1-CPU21-EV2. No more than 16 Slave Racks can be connected per PC.
Slaves can be used to provide up to 512 remote I/O points for the CV500 or CVM1-CPU01-EV2; up to 1,024 remote I/O points for the CV1000, CV2000, or CVM1-CPU11-EV2, and up to 2,048 remote I/O points for the CVM1-CPU21-EV2.
Programming Devices cannot be connected to SYSMAC BUS Slave Racks. When a C200H 10-slot Backplane is used is used as a SYSMAC BUS Slave
Rack, only the eight leftmost slots can be used.
Remote I/O Master Unit 3G2A5-RM001-(P)EV1 (optical) C500-RM201 (wired)
Up to 8 Units
CV-series CPU Rack/Expansion CPU Rack/Expansion I/O Rack
C-series Remote I/O Slave Rack
SYSMAC BUS Remote I/O System
Networks and Remote I/O Systems Section 1-10
14
The CV -series PCs can be connected to a host computer with the host link con­nector via the CPU or a CV500-LK201 Host Link Unit mounted to a Rack.
RS-232C or RS-422 communications can be used depending on the switch set­ting. When RS-422 is selected, up to 32 PCs can be connected to a single host.
Data is transmitted and received by commands and responses.
Host link connector
Host computer
BASIC Unit The BASIC Unit can be connected to a personal computer to enable commu-
nications with the PC using the BASIC programming language. Up to 512 bytes (256 words) of data can be transferred between the BASIC Unit and the CPU by the PC READ/WRITE command without using the PC program.
Up to 256 words of data can also be transferred between the BASIC Unit and the PC’s CPU by using the NETWORK SEND and NETWORK RECEIVE (SEND(192)/RECV(193)) instructions in the PC program.
Host Link System (SYSMAC WAY)
Networks and Remote I/O Systems Section 1-10
15
Data can also be transferred to other BASIC Units mounted on the same PC, or to BASIC Units mounted to other PCs connected by networks formed using a SYSMAC NET Link or SYSMAC LINK System. RS-232C, RS-422, Centronics, and GPIB interfaces are available.
BASIC Unit CV500-BSC1
Personal com­puter
CV-series CPU Rack/Expansion CPU Rack
Personal Computer Unit The Personal Computer Unit is a full-fledged IBM PC/AT compatible that can be
used to run independent programming directly on a Rack to eliminate the need for separate installation space. It can run along or connected to any of the normal peripherals supported by IBM PC/AT compatibles (mice, keyboards, monitors, data storage devices, etc.), and as a CPU Bus Unit, the Personal Computer Unit interfaces directly to the PC’s CPU though the CPU bus to eliminate the need for special interface hardware, protocols, or programming.
1-11 New CPUs and Related Units
The following new CV-series CPUs and related Units are included in this version of the manual for the first time. Refer to relevant sections of this manual or the
CV-series PC Operation Manual: Ladder Diagrams
for further details.
Unit Model number Main specifications
CPU
CVM1-CPU01-EV2 I/O capacity: 512 pts; Ladder diagrams only CVM1-CPU11-EV2 I/O capacity: 1,024 pts; Ladder diagrams only CVM1-CPU21-EV2 I/O capacity: 2,048 pts; Ladder diagrams only CV500-CPU01-EV1 I/O capacity: 512 pts; Ladder diagrams or SFC + ladder diagrams CV1000-CPU01-EV1 I/O capacity: 1,024 pts; Ladder diagrams or SFC + ladder diagrams CV2000-CPU01-EV1 I/O capacity: 2,048 pts; Ladder diagrams or SFC + ladder diagrams
Temperature Controller Data Link Unit
CV500-TDL21 Connects up to 64 temperature controllers via 2 ports.
New CPUs and Related Units Section 1-11
16
1-12 CPU Comparison
The following table shows differences between the various CV-series CPUs.
CPU
CVM1-
CPU01-EV2
CVM1-
CPU11-EV2
CVM1-
CPU21-EV2
CV500-
CPU01-EV1
CV1000-
CPU01-EV1
CV2000-
CPU01-EV1
Ladder diagrams Supported Supported Supported Supported Supported Supported
Program-
SFC Not supported Not supported Not supported Supported Supported Supported
ming
Instructions 284 284 285 169 170 170
Speed
Basic instructions (ms)
0.15 to 0.45 0.125 to 0.375 0.125 to 0.375 0.15 to 0.45 0.125 to 0.375 0.125 to 0.375
Other instructions (ms)
0.6 to 9.9 0.5 to 8.25 0.5 to 8.25 0.6 to 9.9 0.5 to 8.25 0.5 to 8.25
Program capacity 30K words 30K words 62K words 30K words 62K words 62K words Local I/O capacity 512 pts 1,024 pts 2,048 pts 512 pts 1,024 pts 2,048 pts Remote
SYSMAC BUS/2 1,024 pts 2,048 pts 2,048 pts 1,024 pts 2,048 pts 2,048 pts
I/O capacity
SYSMAC BUS 512 pts 1,024 pts 2,048 pts 512 pts 1,024 pts 1,024 pts
DM Area 8K words 24K words 24K words 8K words 24K words 24K words
Expansion DM Area Not supported Not supported
32K words each for 8 banks
Not supported
32K words each for 8 banks
32K words each for 8 banks
Timers 512 1,024 1,024 512 1,024 1,024 Counters 512 1,024 1,024 512 1,024 1,024 SFC steps None None None 512 1,024 1,024 Step Flags None None None 512 1,024 1,024 Transition Flags None None None 512 1,024 1,024
1-13 Improved Specifications
1-13-1Upgraded Specifications
The following improvements were made December 1992 and are applicable to all CV500-CPU01-E and CV1000-CPU01-E CPUs with lot numbers in which the rightmost digit is 3 (3) or higher.
1, 2, 3...
1. The MLPX(110) (4-TO-16 DECODER) instruction has been improved to also function as a 8-to-256 decoder and the DMPX(111) (16-TO-4 ENCOD­ER) instruction has been improved to also function as a 256-to-8 encoder. To enable this improvement, the digit designator (Di) has been changed as shown below. Refer to
5-17-8 DATA DECODER – MLPX(110)
and
5-17-9
DATA ENCODER – DMPX(111)
for details on these instructions.
Specifies the first digit to be converted 4-to-16/16-to-4: 0 to 3 8-to-256/256-to-8: 0 or 1
Number of digits to be converted 4-to-16/16-to-4: 0 to 3 (1 to 4 digits) 8-to-256/256-to-8: 0 or 1 (1 or 2 digits)
Process 0: 4-to-16/16-to-4 1: 8-to-256/256-to-8
Digit number: 3210
0
2. The following operating parameter has been added to the PC Setup. Refer to
Section 7 PC Setup
for details on the PC Setup.
JMP(004) 0000 Processing Y: Enable multiple usage (default) N: Disable multiple usage
Improved Specifications Section 1-13
17
3. The operation of Completion Flags for timers has been changed so that the Completion Flag for a timer turns ON only when the timer instruction is executed with a PV of 0000 and not when the timer’s PV is refreshed to a PV value of 0000, as was previously done.
Only the timing of the activation of the Completion Flag has been changed, and the timer’s PV is still refreshed at the same times (i.e., when the timer instruction is executed, at the end of user program execution, and every 80 ms if the cycle time exceeds 80 ms).
Refer to
5-3 Data Areas, Definers, and Flags
for details on timer and counter
instructions.
4. The READ(190) (I/O READ) and WRIT(191) (I/O WRITE) instructions have been improved so that they can be used for Special I/O Units on Slave Racks under the following conditions.
a) The lot number of the Remote I/O Master Unit and Remote I/O Slave Unit
must be the same as or latter than the following.
1992 October (Y: November; Z: December) 1st
01 X 2
b) The DIP switch on the Remote I/O Slave Unit must be set to “54MH.” c) The Special I/O Unit must be one of the following: AD101, CT012,
CT021, CT041, ASC04, IDS01-V1, IDS02, IDS21, IDS22, or LDP01-V1. (The NC221-E, NC222, CP131, and FZ001 cannot be mounted to Slave Racks.)
Refer to
5-35-1 I/O READ – READ(190)
and
5-35-3 I/O WRITE – WRIT(191)
for details on these instructions.
1-13-2Version-1 CPUs
CV-series CPUs were changed to version 1 from December 1993. The new model numbers are as follows: CVM1-CPU01-EV1, CVM1-CPU11-EV1, CV500-CPU-EV1, CV1000-CPU-EV1, and CV2000-CPU-EV1. (Of these, all CVM1 CPUs were changed to version 2 from December 1994; refer to the next sections for details.)
The following additions and improvements were made to create the version-1 CPUs.
PT Link Function The host link interface on the CPU can be used to connect directly to Program-
mable Terminals (PTs) to create high-speed data links. T o use the PT links, turn ON pin 3 of the DIP switch on the CPU. Pin 3 must be turned OFF for host link connections.
EEPROM Writes With the new CPUs, you can write to EEPROM Memory Cards mounted to the
CPU by using the file write operation from a Peripheral Device. A Memory Card Writer is no longer required for this write operation. Writing is possible in PRO­GRAM mode only.
New Command A new I/O REGISTER command (QQ) has been added so that words from differ-
ent data areas can be read at the same time.
Faster Host Links The communications response time for the built-in host link interface on the CPU
has been improved by a factor of approximately 1.2.
Faster Searches The search speed from Peripheral Devices for instructions and operands has
been nearly doubled.
Improved Specifications Section 1-13
18
1-13-3Version-2 CVM1 CPUs
CVM1 CPUs were changed to version 2 and a new CPU was added from De­cember 1994. The new model numbers are as follows: CVM1-CPU01-EV2, CVM1-CPU11-EV2, and CVM1-CPU21-EV2.
The following additions and improvements were made to create the version-2 CPUs.
CMP/CMPL New versions of the CMP(020) and CMPL(021) have been added that are not
intermediate instructions. The new instructions are CMP(028) and CMPL(029) and are programs as right-hand (final) instructions. A total of 24 other new com­parison instructions have also been added with symbol mnemonics (e.g., >, +, and <).
XFER(040) This instruction has been upgraded so that source and destination areas can
overlap.
DMPX(111) This instruction has been upgraded so that either the MSB or the LSB can be
specified for use as the end code. Previously only the the MSB could be used.
New Flags Underflow and Overflow Flags have been added at A50009 and A50010, re-
spectively. These flags can be turned ON or OFF when executing ADB, ADBL, SBB, and SBBL and can be saved or loaded using CCL and CCS.
New Instructions A total of 125 new instructions have been added. These instructions are sup-
ported by version-2 CPUs only.
Faster Online Editing The time that operation is stopped for online editing has been reduced and is no
longer added to the cycle time. The following are just a couple of examples.
Edit Time operation is stopped
Adding or deleting one instruction block at the beginning of a 62K-word program
Approx. 0.5 s
Deleting an instruction block containing JME from the beginning of a 62K-word program
Approx. 2.0 s
The above speed increase also applies to all V1 CPUs with lot numbers in which the rightmost digit is 5 (5) or higher.
New Host Link Commands New C-mode commands have been added and the functionality of existing com-
mands has been improved as follows:
New Commands
RL/WL: Read and write commands for the CIO Area.
RH/WH: Read and write commands for the CIO Area.
CR: Read command for the DM Area.
R#/R$/R%: SV read commands.
W#/W$/W%: SV change commands.
*: Initialization command.
Improved Commands
The Link Area (CIO 1000 to CIO 1063) and Holding Area (CIO 1200 to CIO 1299) can now be specified for the KS, KR, KC, and QQ commands.
CVM1-CPU21-EV1 can now be read for the MM command.
The above new and improved commands can also be used with all V1 CPUs with lot numbers in which the rightmost digit is 5 (5) or higher.
Note Only the following Programming Devices support version-2 CPUs: SSS
(C500-ZL3AT-E) and the CVM1-PRS21-V1 Programming Console (CVM1-MP201-V1). Of these, the SSS does not support SFC and thus cannot be used for the CV500, CV1000, and CV2000. Use the CVSS for these PCs.
Improved Specifications Section 1-13
Loading...
+ 606 hidden pages