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

...
Cat. No. W205-E1-04
SYSMAC CV-series
CV500/CV1000/CV2000/CVM1
Programmable Controllers
SYSMAC CV-series CV500/CV1000/CV2000/CVM1 Programmable Controllers
Operation Manual: Host Link System, CV500-LK201 Host Link Unit
Revised May 2002
!
!
!
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 informa t i o n o f 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.
TABLE OF CONTENTS
vii
SECTION 1
Introduction 1. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1 Overview 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2 System Configuration 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3 Communications Specifications 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4 Gateway Function 9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 2
Switch Settings and Communications Parameters 11. . . . .
2-1 CPU Settings and Parameters 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2 Host Link Unit Settings and Parameters 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 3
Installation 25. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-1 Host Link Unit Dimensions 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2 Mounting the Host Link Unit 27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3 Connection Cables for the Host Link Unit 27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4 RS-232C Connections 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5 RS-422 Connections 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-6 1-to-1 Connection Examples 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-7 Optical Interface Connections 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-8 1-to-N Connection Example 40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9 Wiring 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 4
Communications 47. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-1 Initial Communications Test 48. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-2 Wrap Communications Test 49. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-3 C-mode Commands 52. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-4 Sending Commands to Host Computers 57. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4-5 Communications Timing 64. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 5
C-mode Commands 71. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-1 C-mode Command List 72. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-2 CIO AREA READ 73. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-3 LINK AREA READ 73. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-4 HOLDING AREA READ 74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-5 PV READ 74. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-6 TC STATUS READ 75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-7 DM AREA READ 75. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-8 AUXILIARY AREA READ 76. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-9 DM AREA READ (FIXED) 76. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-10 CIO AREA WRITE 77. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-11 LINK AREA WRITE 77. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-12 HOLDING AREA WRITE 78. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-13 PV WRITE 78. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-14 DM AREA WRITE 79. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-15 AUXILIARY AREA WRITE 79. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-16 SV READ 1 80. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-17 SV READ 2 81. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-18 SV READ 3 83. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
TABLE OF CONTENTS
viii
5-19 SV CHANGE 1 84. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-20 SV CHANGE 2 85. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-21 SV CHANGE 3 87. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-22 STATUS READ 89. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-23 STATUS WRITE 90. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-24 ERROR READ 91. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-25 FORCED SET 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-26 FORCED RESET 92. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-27 FORCED SET/RESET CANCEL 93. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-28 PC MODEL READ 94. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-29 TEST 94. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-30 PROGRAM READ 94. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-31 PROGRAM WRITE 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-32 I/O TABLE GENERATE 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-33 I/O REGISTER 95. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-34 ABORT 98. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-35 Response to an Undefined Command 98. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5-36 INITIALIZE 98. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
SECTION 6
Maintenance and Troubleshooting 99. . . . . . . . . . . . . . . . . .
6-1 Maintenance 100. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-2 Indicators 101. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-3 C-mode Response Codes 103. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6-4 CV-mode Response Codes 104. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Appendices
A Standard Models 109. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B Specifications 115. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C Host Link Unit Memory Area Allocations 117. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D Sample Programs Including Commands for Host Computer 123. . . . . . . . . . . . . . . . . . . . . . . . .
Glossary 127. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Index 143. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Revision History 147. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
ix
About this Manual:
This manual describes the host interface built into the SYSMAC CV-series Programmable Controllers (PCs), and CVM1, and the CV500-LK201 Host Link Unit. The host interface provided by the CPU is func­tionally the same as the interface provided in the CV500-LK201 Host Link Units. This manual is designed to accommodate users of either interface type and the user should not feel that both types of interfaces are required to run a fully operational Host Link System. Many of the features and functions are the same for both the CPU host interface and Host Link Unit. However, features and functions that dif fer between the two types of interface are described separately in this manual, and the user should refer to the sections that apply to the interface being used. 1-1 Overview provides a general description of the Host Link Sys­tem and the differences between the two types of interface.
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 Link System, CV500-LK201
W205
Programming and operating CV-series PCs are performed with the CV Support Software (CVSS), the SYSMAC Support Software (SSS), and the CV-series Programming Console for which the following man­uals are available.
Product Manuals
CVSS The CV Series Getting Started Guidebook (W203) and the CV Support Software
Operation Manuals: Basics (W196), Offline (W201), and Online (W200).
SSS SYSMAC Support Software Operation Manuals: Basics (W247), C-series PC Op-
erations (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 PC and CVSS manuals and be sure you understand the information 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 provides an overview of the operation, features, and technical specifications of the Host Link System. It also describes the types of system configuration available for the Host Link System using either RS-422 or RS-232C connections.
Section 2 provides information on setting the switches that control communications parameters for the CPU. These switches can be also be set to use the communications parameters specified in the PC Setup in the CPU. In addition, this section provides information on the Host Link Unit switches setting and CPU Bus Unit System Setup parameters that control communications.
Section 3 describes how to connect the Host Link Unit, host link interfaces, Link Adapters, and host com­puter. Refer to Section 1 Introduction for details on the system configuration. Refer to the CV-series PC Installation Guide for general installation procedures and precautions.
Section 4 describes both the test methods used to check communications and the specifications of the commands tha t a r e used for communications control and timing. For communications in CV (FINS) mode, refer to FINS Command Reference Manual.
Section 5 provides details on all C-mode commands. For basic information on C-mode communications, refer to 4-3 C-mode Commands.
Section 6 provides information on maintenance and troubleshooting for the Host Link System. For the troubleshooting of the CPU, refer to the CV-series PC Operation Manual: Ladder Diagrams.
x
Four Appendices provide information on standard models, specifications, and Host Link Unit memory allocations. Sample programs which include commands for the host computer are also provided.
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.
!
1
SECTION 1
Introduction
This section provides an overview of the operation, features, and technical specifications of the Host Link System. It also describes the types of system configuration available for the Host Link System using either RS-422 or RS-232C connections.
1-1 Overview 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1-1 Communications 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1-2 Features 2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-1-3 Differences between Host Interface and Host Link Unit 3. . . . . . . . . . . . . . . . . . . .
1-1-4 Differences between C-series and CVM1/CV-series Host Links 4. . . . . . . . . . . . .
1-1-5 New/Improved Commands for the CPU Host Interface 5. . . . . . . . . . . . . . . . . . . .
1-2 System Configuration 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-1 RS-232C 5. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-2-2 RS-422 7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-3 Communications Specifications 8. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1-4 Gateway Function 9. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
!
2
1-1 Overview
1-1-1 Communications
The Host Link System is an optimum and economical communications method for any size of FA system. The Host Link System can incorporate one or more host computers interconnected to one or more PCs.
A Host Link System allows a host computer to monitor the operating status and data areas of the PCs and to control PC operation through transfers of data and programs.
Host computer
Commands
Responses
CV-series PC
As shown in the figure above, data transfer between the host computer and the Host Link System is normally initiated when a host computer sends a command to a PC in the Host Link System. The PC processes each command sent by the host computer and transmits the results to the host computer.
The user can control the PCs in the Host Link System and monitor operation with one or more host computers. For example, on a production site, a single host computer makes it possible to monitor and control the operation of the PCs by transferring data and programs required for production.
Transmissions from PCs The CV500-LK201 Host Link Unit also allows a CV-series PC to send a com-
mand to a host computer, thus enabling the PC to inform the host computer of any abnormality arising on the production line that the PC is controlling. The PC can also communicate with the host computer to check the operating conditions of the host computer.
Host computer
Commands
Responses
CV-series PC
Caution Transfer only uppercase letters using the host links. Lowercase text cannot be
processed.
1-1-2 Features
CV-series PCs feature a built-in host interface. With this interface, it is possible to create a Host Link System consisting of CV-series PCs without using any op­tional Units. When a single interface is not sufficient, however, the CV500-LK201 Host Link Unit can be mounted to a PC Rack to connect to more than one host computer . The system created by connecting one or more PCs to one or more host computers via either the host interface on the CPU or a Host Link Unit mounted to a PC Rack is called a Host Link System. The main advan­tages of the Host Link System are described below.
Communications Use either RS-232C or RS-422 communications. Multiple PCs Connections Up to 32 PCs can be connected to a host computer via RS-422 communications. Host Monitoring and Control The operating status of the PCs and its memory contents can be monitored and
controlled from the host computer.
New Command System A new command mode called FINS, or CV mode, is provided in addition to the
conventional command mode used by the C-series PCs. Refer to the FINS Command Reference Manual.
Overview Section 1-1
3
Double-check System All communications are subject to a parity check and frame check sequence
(FCS) to help eliminate almost all transmission data errors.
Two Communications Ports The Host Link Unit incorporates two communications ports: a 25-pin RS-232C
port and a 9-pin RS-232C or RS-422 (selectable) port. It is possible to use these two ports simultaneously , thus allowing the Host Link Unit to connect to two host computers.
Although the host interface on the CPU allows a host computer to send com­mands to PCs and the PCs to respond to the commands, the PC cannot send commands to the host computer. The Host Link Unit, however, makes it possible for the PCs to send commands to the host computer, thus enabling commands generated by executing SEND(192), RECV(193), and CMND(194) instructions. The Host Link Unit also enables any node on the network to send commands to the host computer, even across multiple network levels.
Note The communications delay varies with the baud rate, the amount of data, and
the PC’s execution method (i.e., synchronous or asynchronous). For example, if the PC uses synchronous execution, the PC’s cycle time will increase transmis­sion delays. If high-speed processing is required from the host, these factors must be considered.
1-1-3 Differences between Host Interface and Host Link Unit
The following table lists the differences between host interface functionality on the CPU and the functionality of the Host Link Unit.
Feature CPU host interface Host Link Unit
Number of communications ports
One: RS-232C/RS-422 (selectable)
Two: RS-232C port and RS-232C/RS-422 port (selectable)
Communications method
Full duplex Half duplex or full duplex
(selectable)
Xon/Xoff control Unavailable Possible using full duplex
communications
CTS signal control
Unavailable Possible to set the CTS signal
to ON (0 V) continuously.
Unit number Not required Set with the unit number
switch on the front panel.
Node number Set in the PC Setup The node number of port 2 is
set with the node number switch on the front panel.
The node number of port 1 is always set to 00.
Optical interface connection
Power must be supplied from an AC Adapter.
No AC Adapter is required as long as port 1 is used because power is supplied through the connector.
Wrap communication test
Not supported Executed via DIP switch
setting. A connector must be prepared for a wrap communication test.
Operating parameters
Set in the PC Setup. Set in the CPU Bus Unit
System Setup.
Sending commands to host computers
Not possible. Possible to send CV-mode
(FINS) commands.
Commands from PC to Host Computers
Overview Section 1-1
4
1-1-4 Differences between C-series and CVM1/CV-series Host Links
This section lists the differences between C-series and CVM1/CV-series Host Links. Use this information as reference when converting from the C Series to the CVM1/CV Series.
Frame Size when Dividing Transmissions into Multiple Frames
Item C-series Host Links CVM1/CV-series Host Links
Frame size A total of 29 words of
data is returned in each frame.
A total of 30 words of data is returned in each frame.
Applicable models
C-series Host Link Units
Built-in RS-232C ports or peripheral ports on SRM1, CPM1, CPM1A, CQM1, C200HS, C200HX/HG/HE, and other CPU Units.
CVM1/CV-series built-in Host Links CV500-LK201 Host Link Unit
Note The user program may need to be altered to enable correct reading of data for
the above difference in frame size. Be sure to check operation and correct the program as required.
C-mode Commands Not Supported by CVM1/CV-series Host Links
Item C-series Host Links CVM1/CV-series Host Links
Supported C-mode commands
All C-mode commands
The following C-mode commands are supported only by built-in Host Links for CPU Unit of version 2 (-V2) or later and cannot be used on other CVM1/CV-series Host Links.
RL/WR: LINK AREA READ/WRITE RH:WH: HOLDING AREA READ/WRITE CR: DM AREA READ/WRITE R#/R$/R%: SV READ 1/2/3 W#/W$/W%: SV WRITE1/2/3
Note When the model is changed so that the above commands are no longer sup-
ported, change the user program to perform the same operation using other C­mode commands or FINS commands.
Communications Port SignalsDifferent communications signals are used for Host Link communications for the
C Series and CVM1/CV Series depending on the model and the type of port. Dif­ferences in the signals are listed below by port.
RS-232C Port
Signals C-series Host Links CVM1/CV-series Host Links
ST1, ST2, RT Used. Not used.
If the SR1, SR2, and RT signals are not used, the same communications cable can be used even if the model is changed. If the SR1, SR2, and RT signals are used, synchronized transfer of data will not be possible if the model is changed. Change the system to sync on the CD (carrier detected) signal. Part of the cable wiring must also be changed.
RS-422 Port
Signal C-series Host Links CVM1/CV-series Host Links
SG Used by some models:
SG Used C200H-LK202-V1 3G2A6-LK202-EV1 3G2A5-LK201-EV1
SG Not Used C500-LK203
Not used.
Overview Section 1-1
5
1-1-5 New/Improved Commands for the CPU Host Interface
New C-mode commands have been added for the CPU Host Interface and the functionality of existing commands 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-EV2 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 (jjj5) or higher.
Note The above new and improved commands cannot be used with the
CV500-LK201 Host Link Unit.
1-2 System Configuration
A Host Link System can be connected using RS-232C and/or RS-422 lines.
1-2-1 RS-232C
If a RS-232C line is used to connect a Host Link System, only one PC can be connected to the host computer.
Transmission Distance The maximum transmission distance varies with the method in which a host
computer and PC are connected. There are three connection methods avail­able: via wire cable, via Optical Fiber Cable and an Optical Interface, and via optical fiber cable and Link Adapters.
CV-series PC
RS-232C
Host computer (mainframe, personal computer, or mini-computer)
RS-232C Cable The maximum transmission distance is 15 m if a host computer and PC are con-
nected via RS-232C cable.
Optical Interface The maximum transmission distance is 500 m if a host computer and PC are
connected via two Z3RN-A-5 Optical Interfaces and a Z3F2-4DjM Optical Fi- ber Cable. The following accessories are necessary. Here, RS-232C cable con­nects the PC to one Optical Interface and the host computer to the other Optical Interface, and the Optical Fiber Cable connects the two Optical Fiber Interfaces. The AC Adapters provide power to the Optical Interfaces.
System Configuration Section 1-2
6
Optical Interface The maximum transmission distance is 500 m if a host computer and PC are
connected via two Z3RN-A-5 Optical Interfaces and a Z3F2-4DjM Optical Fi- ber Cable. The following accessories are necessary. Here, RS-232C cable con­nects the PC to one Optical Interface and the host computer to the other Optical Interface, and the Optical Fiber Cable connects the two Optical Fiber Interfaces. The AC Adapters provide power to the Optical Interfaces. Refer to Appendix B Specifications for Link Adapters specifications.
Item Model Required
number
Remarks
Optical Interface Z3RN-A-5 2 Converts wire to optical signals. Optical Fiber Cable
Z3F2-4DjM
1 The box in the model number
indicates one of the following cable lengths: 1, 5, 10, 20, 30, 50, 100, 200, 400, 500 m.
AC Adapter Z3GP-01 2 5 VAC power supply for Optical
Interfaces
Note The cable connecting the Optical Interface and the connector on the PC (for con-
version between 25 pins and 9 pins) is not available from OMRON.
Link Adapters The host computer and PC can be connected via an optical fiber cable and two
3G2A9-AL004-E (or 3G2A9-AL004-PE) Link Adapters. Here, RS-232C cable connects the PC to one Link Adapter and the host computer to the other Link Adapter, and the optical fiber cable connects the two Link Adapters. The maxi­mum transmission distance varies with the kind of optical fiber cable as follows:
Cable 3G2A9-AL004-PE 3G2A9-AL004-E
APF 20 m Connection impossible PCF 200 m 800 m
APF: all-plastic fiber; PCF: plastic-clad fiber
The Host Link System makes it possible for a PC to connect not only to a host computer but also a Programmable Terminal (PT). The PT connected to the PC displays information on the system controlled by the PC as well as errors that may occur in the system.
Note The CPU Unit will change to MONITOR mode if a PT is connected via a Host Link
connection when the CPU Unit is operating in RUN mode. Use an NT Link con­nection when connecting in RUN mode. (The mode will not change if the con­nection is made through an NT Link connection.)
CV-series PC Programmable Terminal
Connection with Programmable Terminals
System Configuration Section 1-2
7
1-2-2 RS-422
RS-422 lines can be used to connected up to 32 PCs to the same host computer .
Transmission Distance The maximum transmission distance varies with the method in which a host
computer and PCs are connected. There are two connection methods available: via RS-232C wire cable and via optical fiber cable. Either method requires the use of Link Adapters. The overall arrangement of system components is the same regardless of whether wire or optical fiber cable is used. A system with wire components is shown below. Refer to Appendix B Specifications for Link Adapters specifications.
Host computer (mainframe, personal computer, or mini-computer)
RS-232C (15 m max.)
3G2A9-AL004-(P)E Link Adapter
3G2A9-AL001 Link Adapter
RS-422 (trunk line)
RS-422 (trunk line)
Branch RS-422 (10 m max.)
Branch RS-422 (10 m max.)
CV-series PC CV-series PC CV-series PC
3G2A9-AL001 Link Adapter
RS-422 (trunk line)
RS-422 Cable The host computer can be connected to up to 32 PCs through RS-422 wire
cables. If the host computer has a RS-422 port, it can be connected directly to the first 3G2A9-AL001 Link Adapter. If the host computer has only a RS-232C port, use a 3G2A9-AL004-E or 3G2A9-AL004-PE Link Adapter to convert RS-232C to RS-422 as shown above. The maximum cable lengths are as fol­lows:
Length of RS-232C cable
15 m max.
Total length of RS-422 cable 500 m max. Length of each RS-422 branch 10 m max.
Optical Fiber Cable The 3G2A9-AL004-E or 3G2A9-AL004-PE and 3G2A9-AL002-E or
3G2A9-AL002-PE Link Adapters can be used to connect a Host Link System using optical fiber cables. The 3G2A9-AL004-E or 3G2A9-AL004-PE Link Adapters are used to convert between wire and optical lines and the 3G2A9-AL002-E or 3G2A9-AL002-PE Link Adapters are used to branch optical lines. In the diagram shown above, the AL001 Link Adapters would be replaced
System Configuration Section 1-2
8
with 3G2A9-AL002-E or 3G2A9-AL002-PE Link Adapters, the 3G2A9-AL004-E or 3G2A9-AL004-PE Link Adapter would be replaced with a 3G2A9-AL004-E or 3G2A9-AL004-PE Link Adapter and then 3G2A9-AL004-E or 3G2A9-AL004-PE Link Adapters would be inserted before each PC to convert back to wire cable. The maximum transmission distance varies with the Link Adapter and the kind of optical fiber cable as follows:
Cable 3G2A9-AL002-PE
3G2A9-AL004-PE
3G2A9-AL002-E 3G2A9-AL004-E
APF 20 m Connection impossible PCF 200 m 800 m
APF: all-plastic fiber; PCF: plastic-clad fiber
1-3 Communications Specifications
The specifications of the host interface on the PC’s CPU are as follows:
Communications method Four-wire, half duplex Synchronization method Start-stop, 1 or 2 stop bits (set in PC Setup) Baud rate 1200/2400/4800/9600/19200 bps (set in PC Setup) Transmitted code 7- or 8-bit ASCII (set in PC Setup) Error detection Vertical parity, even/odd (set in PC Setup) Interface RS-232C/RS-422 (set on selector on CPU) Transmission distance RS-232C: 15 m max.; RS-422: 500 m total max.
(See details under System Configuration.)
The following are the communications specifications of the Host Link Unit. (The general specifications of the Host Link Unit are the same as those of the CV-se­ries PCs.)
Item Port 1 Port 2
Interface RS-232C RS-232C or RS-422 (selectable) Communications method Half duplex or full duplex; Set in CPU Bus
Unit System Setup.
RS-232C: Half duplex or full duplex; Set in CPU Bus Unit System Setup.
RS-422: Full duplex
Synchronization method Start-stop, 1 or 2 stop bits; Set in CPU Bus
Unit System Setup.
Start-stop, 1 or 2 stop bits; Set in CPU Bus Unit System Setup.
Baud rate 1200, 2400, 4800, 9600, or 19200 bps; Set
in CPU Bus Unit System Setup.
1200, 2400, 4800, 9600, or 19200 bps; Set in CPU Bus Unit System Setup.
Transmitted code 7- or 8-bit ASCII; Set in CPU Bus Unit
System Setup.
7- or 8-bit ASCII; Set in CPU Bus Unit System Setup.
Error detection Vertical parity, even/odd/none; Set in CPU
Bus Unit System Setup. FCS (frame checksum sequence)
Vertical parity, even/odd/none; Set in CPU Bus Unit System Setup. FCS (frame checksum sequence)
Transmission control Xon/Xoff control; Set in CPU Bus Unit
System Setup.
Xon/Xoff control; Set in CPU Bus Unit System Setup.
Transmission distance 15 m max. RS-232C: 15 m max.;
RS-422: 500 m total max.
Communications Specifications Section 1-3
9
1-4 Gateway Function
A host computer in a Host Link System can communicate with CV-series PCs or IBM PC/AT or compatible computers on other networks through the Host Link System. Communications are possible to up to two networks away from the local Host Link System (three including the local Host Link System). The PC must be­long to a SYSMAC LINK or SYSMAC NET Link System to use the gateway func­tion. The gateway function is actually a feature of the SYSMAC LINK and SYS­MAC NET Link Systems and is not possible unless a SYSMAC LINK and/or SYSMAC NET Link Unit is mounted to at least one of the PCs in the Host Link System.
In the following example, the host computer connected to the Host Link System can communicate with the PCs in the SYSMAC LINK System and the SYSMAC NET Link Systems. The numbers in parentheses indicate the various networks through which communications can move.
Although either CV - or C-mode commands can be used to control the PCs in the local Host Link System, only CV-mode commands (FINS commands) can be used to control the PCs in other Systems.
Refer to the SYSMAC LINK System Manual or the SYSMAC NET Link System
Manual for details on the gateway function. Refer to FINS Command Reference Manual for details on sending commands to PCs on remote networks.
FA computer
PC
PC
FA computer
SYSMAC NET Link System
PC
SYSMAC NET Link System
PC
PC
PC
FA computer
PC
FA computer
Host com­puter
SYSMAC NET Link System
SYSMAC LINK System
Host Link System
(1)
(2)
(3)
(4)
(5)
(7)(6)
(8)
(9)
(10)
(11)
(12)
Bridge
Gateway Function Section 1-4
11
SECTION 2
Switch Settings and Communications Parameters
This section provides information on setting the switches that control communications parameters for the CPU. These switches can be also be set to use the communications parameters specified in the PC Setup in the CPU. In addition, this sec­tion provides information on the Host Link Unit switches setting and CPU Bus Unit System Setup parameters that control communications.
2-1 CPU Settings and Parameters 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-1 Interface-related Components on CPU 12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-1-2 Communications Parameters in PC Setup 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2 Host Link Unit Settings and Parameters 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-1 Host Link Unit Setting Procedure 13. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-2 Host Link Unit Components 14. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2-2-3 CPU Bus Unit System Setup 18. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
2-1 CPU Settings and Parameters
2-1-1 Interface-related Components on CPU
The following illustration shows the various parts of a CV-series CPU that are related to a Host Link System. Details on the operation of these parts are pro­vided later in the manual.
HOST LINK
RS-422
RS-232C
COMM (communications) indicator (Orange)
Lit when data is being transferred or received via the host interface.
Host interface port
Connected to RS-232C or RS-422 connector.
Transmission path selector
Set to RS-232C for RS-232C communications. Set to RS-422 for RS-422 communications.
DIP switch Pin 6 ON: Connects termination resistance for RS-422.
OFF: Disconnects termination resistance for RS-422.
Pin 4 ON: Sets the following communications parameters:
Baud rate: 9,600 bps Unit number: 0 Parity: Even Data length: 7 bits Stop bits: 2
OFF: Sets communications parameters from the PC Setup.
Pin 3 ON: Enables connection to PT via host link connector.
OFF: Enable connection to host link via host link connector.
(see note
1)
Note 1. The ON conditions of the communications settings (pin 4) shown above ap-
ply to CPUs with a lot number of “jj75” or greater (manufactured in and after July 1995.) The settings for those with a lot number of “jj65” or small­er (manufactured in and before June 1995) are as follows: Stop Bits: 1 Baud Rate: 2400 bps
CPU Settings and Parameters Section 2-1
13
2. The cable connecting to the host interface is not available from OMRON. Refer to Section 3 Installation and prepare an appropriate cable.
3. For setting the termination resistance of the pin 6, refer to Section 3 Installa- tion.
4. The cable connecting the Optical Interface and the connector on the PC (for conversion between 25 pins and 9 pins) is not available from OMRON.
2-1-2 Communications Parameters in PC Setup
If pin 4 of the DIP switch on the CPU is turned OFF, the communications parame­ters for the host interface will be set according to the PC Setup contained in the CPU. The PC Setup is set from a Peripheral Device, such as the CVSS, and can be either set offline and then transferred to the CPU or can be set online.
The following parameters can be set. The default setting of each parameter is shown. These defaults are different from those used if pin 4 is turned ON, i.e., you can select either the pin 4 defaults or the defaults listed below to achieve different settings without specifying them individually. Refer to the CVSS opera­tion manuals for details on changing settings in the PC Setup.
Parameters Possible settings Default
Baud rate 1200, 2400, 4800, 9600, or 19200 bps 9600 bps Stop bits Either 1 or 2 stop bits 2 stop bits Parity Even, odd, or no parity Even parity Data length
(Data bits)
Either 7-bit or 8-bit data 7-bit data
Unit number* 00 to 31 (Used by host computer to identify PCs.) 00
Note *The unit number of the host interface corresponds to the node number of Host
Link Units.
2-2 Host Link Unit Settings and Parameters
2-2-1 Host Link Unit Setting Procedure
Use the following setting procedure for each Unit.
1, 2, 3... 1. Design the system, including the devices to be connected and the connec-
tion methods, referring to Section 1 Introduction.
2. Prepare cables referring to Section 3 Installation.
3. Set Host Link Unit switches referring to 2-2-2 Host Link Unit Setting.
4. Set the CPU Bus Unit System Setup referring to 2-2-3 CPU Bus Unit System Setup and the CVSS Operation Manual: Online.
5. Connect the system referring to Section 3 Installation.
6. Test communications referring to Section 4 Communications.
7. Operate the system for final checking.
Host Link Unit Settings and Parameters Section 2-2
14
2-2-2 Host Link Unit Components
The following illustration shows the components of the Host Link Unit.
Unit No.
X10
1
X10
0
X10
1
X10
0
PORT1 RS-232C
PORT2 RS-232C RS-422
RS-232C
RS-422
Indicators
It is possible to monitor the working condition of the Host Link Unit with these indicators.
Unit number switch
The unit number is set with this decimal rotary switch.
Node number switch
The node number at communications port 2 is set with this decimal rotary switch.
Communications port 1 (RS-232C only, 25 pins)
Connects to an RS-232C cable.
Communications port 2 (RS-232C/RS-422 selectable, 9 pins)
Connects to an RS-232C or RS-422 cable.
Communications path selector
Top Selects RS-232C for communications port 2. Bottom Selects RS-422 for communications port 2.
5-V output switch
Top 5 V, which is used if the optical interface is connected to
communications port 1, is supplied to pin number 14 of communications port 1.
Bottom 5 V is not supplied to communications port 1.
DIP switch
Basic operations of the Unit are set here.
Terminator switch
Top Connects termination resistance for RS-422
communications.
Bottom Disconnects termination resistance.
Note Cables for the connectors (ports 1 and 2) are not available from OMRON.
Host Link Unit Settings and Parameters Section 2-2
15
Indicators The status of the Host Link Unit can be determined using the status of the indica-
tors on the Host Link Unit.
RUN ERH ERC1 SD1 RD1 TS1
ERC2 SD2 RD2 TS2
Indicator Color Status Meaning
RUN Green Lit The Host Link Unit is normal.
Not lit The Host Link Unit has an error.
ERH (PC error) Red Lit The PC has an error or either the unit number setting or I/O
table is wrong.
Not lit The PC is normal.
ERC1 (transmission error 1)
Red Lit Communications port 1 has a transmission error (parity, framing,
FCS, or overrun error).
Not lit Communications port 1 is normal.
ERC2 (transmission error 2)
Red Lit Communications port 2 has a transmission error (parity, framing,
FCS, or overrun error) or the node number setting is wrong.
Not lit Communications port 2 is normal.
SD1 (send 1) Orange Lit Data is being transmitted from communications port 1.
Not lit No data is being transmitted from communications port 1.
SD2 (send 2) Orange Lit Data is being transmitted from communications port 2.
Not lit No data is being transmitted from communications port 2.
RD1 (receive 1) Orange Lit Data is being received at communications port 1.
Not lit No data is being received at communications port 1.
RD2 (receive 2) Orange Lit Data is being received at communications port 2.
Not lit No data is being received at communications port 2.
TS1 (test 1) Orange Lit A wrap test is being executed at communications port 1.
Flashing A wrap test at communications port 1 has been completed. Not lit No wrap test is being executed at port 1.
TS2 (test 2) Orange Lit A wrap test is being executed at communications port 2.
Flashing A wrap test at communications port 2 has been completed. Not lit No wrap test is being executed at port 2.
Host Link Unit Settings and Parameters Section 2-2
16
Rotary Switch Settings
The Host Link Unit provides rotary switches on the front panel used to set the Host Link Unit’s unit number and node number for identification in the Host Link System. Set the rotary switches only when the PC is turned off.
Location of Rotary Switches The rotary switches are located beneath the indicators and appear as shown in
the following illustration. SW1 and SW2 are used to set the Host Link Unit’s unit number as a CPU Bus Unit; SW3 and SW4 are used to set the node number for the Host Link Unit’s communications port 2.
0
NODE No.
X10
1
0
0
UNIT No.
X10
1
0
SW1 SW2
SW3 SW4
X10
0
X10
0
Set the unit number to a unique number between 0 and 15 in the decimal. This is the unit number of the Host Link Unit as a CPU Bus Unit. Do not use the same number on two CPU Bus Units in the same PC.
Set the 10’s digit of the unit number with SW1 and the 1’s digit with SW2. In the following example, the unit number is set to 12.
1
UNIT No.
X10
1
SW1
2
X10
0
SW2
Note 1. The node number must not be larger than 15. If a node number larger than
15 is set, an error will result and the ERH indicator on the display panel will light.
2. Each CPU Bus Unit for a PC must have a unique unit number.
If more than one PC is connected to a host computer (e.g., one via the CPU’s host interface and one via the Host Link Unit), each link is identified by a node number. The node number of port 2 is set here. The node number of communica­tions port 1 is fixed to 00.
Set a node number between 0 and 31 in decimal. Set the 10’s digit of a node number with SW3 and the 1’s digit with SW4. In the following example, the node number of the Host Link Unit is set to 29.
2
NODE No.
X10
1
SW3
9
X10
0
SW4
Note 1. The node number must not be larger than 31. If a node number larger than
31 is set, an error will result and the ERC2 indicator on the display panel will light.
Unit Number (SW1 and SW2)
Node Number of Communications Port 2 (SW3 and SW4)
Host Link Unit Settings and Parameters Section 2-2
17
2. Each node number must be unique in the same Host Link System.
3. The node number of the Host Link Unit’s communications port 1 is fixed to
00.
4. The node number of the CPU’s host interface is set in the PC Setup. (In the PC Setup, the node number of the host interface is called the “unit #.”)
DIP Switch Settings
Pins 1 through 6 on Host Link Unit’s DIP switch are used to control certain com­munications parameters and tests. These pins are turned ON when they are slid to the left and turned OFF when they are slid to the right.
ON
6
4
3
2
1
5
OFF
The following settings are possible with the DIP switch.
Pin Function Setting
1 Communications parameters
for communications ports 1 and 2 (see note)
ON Sets the following communications conditions for communications ports 1
and 2. Baud rate: 9,600 bps
Stop bits: 2 Parity: Even number Data length: 7 bits Xon/Xoff control: Not executed Communications method: Full duplex
OFF Executes the Host Link Unit’s communication using the values in the PC’s
CPU Bus Unit System Setup. The following are default values: Baud rate: 9,600 bps
Stop bits: 2 Parity: Even number Data length: 7 bits Xon/Xoff control: Not executed Communications method: Full duplex
2 CTS control for
communications port 1
ON Turns ON (sets to 0 V) the CTS signal (clear to send). This pin must be
turned ON if the Host Link Unit is connected to a host computer.
OFF Receives an external signal for CTS. This switch must be turned OFF while
a wrap communications test is being executed.
3 CTS control for
communications port 2
ON Turns ON (sets to 0 V) the CTS signal (possible to receive). This pin must
be turned ON if the Host Link Unit is connected to a host computer via an RS-232C cable. This pin, however, need not be turned ON if the Host Link Unit is connected to a host computer via an RS-422 cable.
OFF Receives an external signal for CTS. This switch must be turned OFF while
a wrap communications test is being executed.
4 Not used ON Always turn OFF.
OFF
5 Wrap communications test ON Executes a wrap communications test.
OFF Enables normal Host Link Unit operation.
6 Test port designation ON Designates port 2 for the wrap communications test.
OFF Designates port 1 for the wrap communications test.
Note The ON conditions of the communications settings (pin 1) shown above apply to
CPUs with a lot number of “jj75” or greater (manufactured in and after July
Host Link Unit Settings and Parameters Section 2-2
18
1995.) The settings for those with a lot number of “ jj65” or smaller (manufac­tured in and before June 1995) are as follows: Stop Bits: 1 Baud Rate: 2400 bps.
Switch Setting Procedure
The setting procedure for the DIP switch is as follows for port 1 (25 pins):
1, 2, 3... 1. Turn OFF pin number 1 to specify use of the parameters in the CPU System
Setup. Unless these parameters have been changed, the default values will be set.
2. Turn ON DIP switch pin 2. When this is done, the RS and CS pins of the con­nector need not be short-circuited.
3. Make sure that pin 4 is OFF.
4. Turn OFF pin 5 to set normal operations. This pin is turned ON only when performing a wrap communications test.
5. Turn ON the 5-V output switch if an optical interface is going to be used. This switch should be turned ON only after connecting the optical interface.
or Turn OFF the 5-V output switch if an optical interface is not going to be used.
The setting procedure for the DIP switch is as follows for port 2 (9 pins):
1, 2, 3... 1. Specify either RS-232C or RS-422 communications.
2. If RS-232C communications are specified, turn ON DIP switch pin 3. When this is done, the RS and CS pins of the connector need not be short-cir­cuited.
or If RS-422 communications are specified, turn ON the terminator switch at
the last Unit on the RS-422 communications line.
3. Turn OFF pin number 1 to specify use of the parameters in the CPU System Setup. Unless these parameters have been changed, the default values will be set.
4. Make sure that pin 4 is OFF.
5. Turn OFF pin 5 to set normal operations. This pin is turned ON only when performing a wrap communications test.
6. Turn ON the 5-V output switch if an optical interface is going to be used. This switch should be turned on only after connecting the optical interface.
or Turn OFF the 5-V output switch if an optical interface is not going to be used.
2-2-3 CPU Bus Unit System Setup
Settings for the Host Link Unit are made in the CPU Bus Unit’s System Setup. The CPU Bus Unit’s System Setup parameters are set from the CVSS (CV Sup­port Software) and supported by version 2 of the CVSS [CV500-ZS3AT1-EV2 (3.5” disks), CV500-ZS5AT1-EV2 (5.25” disks)].
Setting Procedure The system settings of the Host Link Unit are explained below. For details, refer
to the CVSS Operation Manual: Online.
1, 2, 3... 1. Set the rotary switches on the Host Link Unit (refer to page 16).
2. Mount the Host Link Unit to the PC and turn ON the PC (refer to Section 3 Installation).
3. Start the CVSS and switch to online mode.
4. Create the I/O table.
Switch Settings for Communications Port 1
Switch Settings for Communications Port 2
Host Link Unit Settings and Parameters Section 2-2
19
5. Select “CPU Bus Setting.” The following menu will be displayed.
6. Select “CPU Bus Unit System Setup.” The following screen will appear.
7. Press F10 and then input the unit number of the Host Link Unit. The default value will be displayed if no other value has been input.
8. Refer to the table below for the settings. These settings are made by turning ON and OFF the bits in the various bits of the System Setup. These bytes and how they correspond to the various settings are described following the table.
9. To make the settings effective, turn the PC OFF and ON or restart the Host Link Unit.
Item Setting Default
Baud rate 1200, 2400, 4800, 9600, or 19200 bps 9600 bps Stop bits 1 stop bit or 2 stop bits 2 stop bits Parity Even number, odd number, or nil Even number Data length 7- or 8-bit ASCII 7-bit ASCII Xon/Xoff control Execute or not execute (effective only when the Host Link Unit is in
full duplex communications mode)
Not execute
Communications method
Full duplex or half duplex (The half duplex system is effective only when an RS-232C cable is used for communication.)
Full duplex
Retries Set to retry or not to retry. If retries are specified, the Host Link Unit
will attempt to transmit again when a data transmission is interrupted.
No retries
Transmission stop code (Xoff)
This setting is effective only when Xon/Xoff control is used. 13 (hexadecimal)
Transmission stop cancel code (Xon)
This setting is effective only when Xon/Xoff control is used. 11 (hexadecimal)
Transmission delay time
The interval between the RS signal is ON and data transmission is done with this setting. The setting is effective in half duplex communications mode only. The setting range is 0 to 510 ms (255 x 2 ) with 2-ms increments. If 0 ms is set, data will be transmitted within 1 ms after the RS signal is ON.
0 ms
Host Link Unit Settings and Parameters Section 2-2
20
The setting of communications port 1 are as follows:
7
Bit
Baud rate
9600 bps 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps
65 000 001 010 011 100 101
3
Bit
Parity
Yes No
0 1
2
Bit
Parity
Even number Odd number
0 1
4
Bit
Stop bits
2 bits
1 bit
0 1
1
Bit
Data length
7 bits 8 bits
0 1
0
76543210
Bit
+0 byte
7
Bit
Xon/Xoff control
Not executed Executed
0 1
6
Bit
Communications mode
Full duplex Half duplex
0 1
5
Bit
Retries No
Yes
0 1
00000
76543210
Bit
+1 byte
Set the Xoff (transmission stop) code in the +2 byte. The default is 13 hexadeci­mal and its bit string is as follows: 13 = 00010011
76543210
Bit
+2 byte
Set the Xon (transmission stop cancel) code in the +3 byte. The default is 11 hex­adecimal and its bit string is as follows: 11 = 00010001
76543210
+3 byte
Bit
Set the transmission delay time in the +4 byte. The default is 0 ms and its bit string is as follows: 00 = 00000000
76543210
+4 byte
Bit
Set the +5 to +9 bytes to 0.
Settings for Communications Port 1
Host Link Unit Settings and Parameters Section 2-2
21
The setting of communications port 2 is as follows:
7
Bit
Baud rate
9600 bps 1200 bps 2400 bps 4800 bps 9600 bps 19200 bps
65 000 001 010 011 100 101
3
Bit
Parity
Yes No
0 1
2
Bit
Parity
Even number Odd number
0 1
4
Bit
Stop bits
2 bits
1 bit
0 1
1
Bit
Data length
7 bits 8 bits
0 1
0
76543210
Bit
+10 byte
7
Bit
Xon/Xoff control
Not executed Executed
0 1
6
Bit
Communications mode
Full duplex Half duplex
0 1
5
Bit
Re-transmission
No Yes
0 1
00000
76543210
+11 byte
Bit
Set the Xoff (transmission stop) code in the +12 byte. The default is 13 hexadeci­mal and its bit string is as follows: 13 = 00010011
76543210
Bit
+12 byte
Set the Xon (transmission stop cancel) code in the +13 byte. The default is 11 hexadecimal and its bit string is as follows: 11 = 00010001
76543210
+13 byte
Bit
Set the transmission delay time in the +14 byte. The default is 0 ms and its bit string is as follows: 00 = 00000000
76543210
+14 byte
Bit
Set the +5 to +9 bytes to 0.
Setting of Communications Port 2
Host Link Unit Settings and Parameters Section 2-2
22
Use the following procedure to set the CPU Bus Unit System Setup for the Host Link Unit.
1, 2, 3... 1. Set the baud rate, number of stop bits, parity, and data length as required.
2. If connecting to a Programmable Terminal, specify full duplex communica­tions and turn OFF Xon/Xoff control. No other settings are required for con­nection to a Programmable Terminal.
or If connecting to a host computer and commands will not be sent from the
Host Link U n i t t o t h e host computer, set full duplex communications and turn OFF Xon/Xoff control. No other settings are required
or If connecting to a host computer and commands will be sent from the Host
Link Unit to the host computer, determine whether full- or half-duplex com­munications are required and continue to the next step.
3. If full-duplex communications are to be used, set Xon/Xoff control are re­quired. This is the last setting that is required.
or If half-duplex communications are to be used, set the transmission delay
time.
4. Set whether or not retries are to be made.
Host Link Unit System Setting Procedure
Host Link Unit Settings and Parameters Section 2-2
23
The following flowcharts illustrates the above procedure.
Half duplex
What is to be connected?
Host computer
Does the Host Link Unit send commands to the host computer?
No Yes
Specify full du­plex commu­nications.
Specify the communications method.
Set so that no Xon/Xoff control will be executed.
Full duplex
Is Xon/Xoff control to be executed?
Set so that no Xon/Xoff control will be executed.
Set so that no Xon/Xoff control will be executed.
Programmable Terminal
Set so that no Xon/Xoff control will be executed.
Set the transmission delay time.
Are data retries to be used for transmission failures?
Set so that there will be no data re-transmission.
Set so that there will be data re­transmission.
Set the baud rate, number of stop bits, par­ity, and data length.
End
Select the full duplex communications method.
(See note 1)
(See note 1)
(See note 2)
Note 1. Specify full-duplex communications method and turn OFF the Xon/Xoff con-
trol in the following cases:
If the Host Link Unit is connected to a host computer and no commands will
be sent from the Host Link Unit to the host computer.
If a PC is connected. In the above cases, actual communications control is executed in half du-
plex even though the full duplex communications are specified. If the Host Link Unit is used simultaneously with the CPU’s host interface, full-duplex communications must be specified to enable normal communications.
2. Only full-duplex communications are possible for RS-422 communications at communications port 2.
Host Link Unit Settings and Parameters Section 2-2
25
SECTION 3
Installation
This section describes how to connect the Host Link Unit, host link interfaces, Link Adapters, and host computer. Refer to Section 1 Intr oduction for details on the system configuration. Refer to the CV-series PC Installation Guide for general instal­lation procedures and precautions.
3-1 Host Link Unit Dimensions 26. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-2 Mounting the Host Link Unit 27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-3 Connection Cables for the Host Link Unit 27. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4 RS-232C Connections 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4-1 CPU Connections 28. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-4-2 Host Link Unit Connections 29. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5 RS-422 Connections 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5-1 CPU Connections 31. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-5-2 Host Link Unit Connections 33. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-6 1-to-1 Connection Examples 35. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-6-1 Host Link Unit Connection to Host Computer 35. . . . . . . . . . . . . . . . . . . . . . . . . . .
3-6-2 Host Link Unit Connection to PT 37. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-7 Optical Interface Connections 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-7-1 Required Devices 38. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-7-2 Connections to Optical Module 39. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-8 1-to-N Connection Example 40. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9 Wiring 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9-1 Connecting the Shield to FG 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9-2 Not Connecting the Shield to FG 42. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9-3 Soldering 43. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9-4 Hood Assembly 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9-5 Recommended Cables and Connectors 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9-6 Link Adapters 44. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3-9-7 Cable Lengths 45. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Loading...
+ 117 hidden pages