The text of a manual · part 1 of 6
DL405 Remote Master/Remote Slave D4-RM, D4-RS, and D4-RSDC, pages 1 to 10
Pages 1 to 10 of 60
The original document is the PDF (1.4 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the PLC Direct D4-RM and Koyo D4-RM
Page 1
D4--RM, D4--RS & D4--RSDC Remote Master/Remote Slave Manual Number D4--REMIO--M
Shaded area represents the die-cut covers from Imaging Technologies, 5-98
Page 2
WARNING Thank you for purchasing automation equipment from PLCDirectä. We want your new DirectLOGICä automation equipment to operate safely. Anyone who installs or uses this equipment should read this publication (and any other relevant publications) before installing or operating the equipment. To minimize the risk of potential safety problems, you should follow all applicable local and national codes that regulate the installation and operation of your equipment. These codes vary from area to area and usually change with time. It is your responsibility to determine which codes should be followed, and to verify that the equipment, installation, and operation is in compliance with the latest revision of these codes. At a minimum, you should follow all applicable sections of the National Fire Code, National Electrical Code, and the codes of the National Electrical Manufacturer’s Association (NEMA). There may be local regulatory or government offices that can also help determine which codes and standards are necessary for safe installation and operation. Equipment damage or serious injury to personnel can result from the failure to follow all applicable codes and standards. We do not guarantee the products described in this publication are suitable for your particular application, nor do we assume any responsibility for your product design, installation, or operation. If you have any questions concerning the installation or operation of this equipment, or if you need additional information, please call us at 1--800--633--0405. This publication is based on information that was available at the time it was printed. At PLCDirectä we constantly strive to improve our products and services, so we reserve the right to make changes to the products and/or publications at any time without notice and without any obligation. This publication may also discuss features that may not be available in certain revisions of the product.
Trademarks This publication may contain references to products produced and/or offered by other companies. The product and company names may be trademarked and are the sole property of their respective owners. PLCDirectä disclaims any proprietary interest in the marks and names of others. Stage is a trademark of Koyo Electronics Industries Co., LTD. Think & Do Software is a trademark of Think & Do Software, Inc. Texas Instruments is a registered trademark of Texas Instruments, Inc. TI, TIWAY, Series 305, Series 405, TI305, and TI405 are trademarks of Texas Instruments, Inc. Siemens and SIMATIC are registered trademarks of Siemens, AG. GE is a registered trademark of General Electric Corporation. Series One is a registered trademark of GE Fanuc Automation North America, Inc. MODBUS is a registered trademark of Gould, Inc. IBM is a registered trademark of International Business Machines. MS-DOS and Microsoft are registered trademarks of Microsoft Corporation. Windows and Windows NT are trademarks of Microsoft Corporation. OPTOMUX and PAMUX are trademarks of OPTO 22. Copyright 1997, PLCDirectä Incorporated All Rights Reserved No part of this manual shall be copied, reproduced, or transmitted in any way without the prior, written consent of PLCDirectä Incorporated. PLCDirectä retains the exclusive rights to all information included in this document.
Page 3
1 Manual Revisions If you contact us in reference to this manual, be sure and include the revision number. Title: DL405 Remote Master/Remote Slave D4--RM, D4--RS, and D4--RSDC, Rev C Manual Number: D4--REMIO--M Issue Original
Date 11/94
Effective Pages Cover/Copyright Contents 1-1 -- 1-13 2--1 -- 2-9 3-1 -- 3-9 4-1 -- 4-11 A-1 -- A-2 B-1 -- B-4 C-1 -- C--6
Description of Changes Original Issue
Rev. A
1/95
Adds FILL instruction in several RLL examples.
Rev. B
4/95
Corrects LDA instruction in several RLL examples.
Rev. C
6/98
Minor corrections
Page 4
Table of Contents
1 i
Chapter 1: Getting Started Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . The Purpose of this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Who Should Read this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Where to Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Supplemental Manuals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How this Manual is Organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Technical Assistance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . What is Remote I/O? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . When Do You Need Remote I/O? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Number of Masters and Slaves Allowed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Does the DL405 Support Remote I/O? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Distance Between Slaves and Master, Baud Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Remote Master (D4-RM) Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Remote Slave (D4-RS or D4-RSDC) Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assigning the Remote Input and Output Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . You Assign the Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Remote I/O Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specify Addresses with Setup Logic . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How the CPU Updates Remote I/O Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1--2 1--2 1--2 1--2 1--2 1--3 1--3 1--4 1--4 1--5 1--5 1--6 1--7 1--7 1--8 1--8 1--9 1--9 1--9 1--9 1--10
3 Easy Steps for Setting Up Remote I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step One: Design the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step Two: Install the Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step Three: Write the Setup Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example Setup Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1--11 1--11 1--11 1--11 1--12
Chapter 2: Designing a Remote I/O System Designing Your System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Determine I/O Needed and How Many Masters & Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Define Your Idea By Using Worksheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Filling Out the Remote Slave Worksheet for Slave #1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Filling Out the Remote Slave Worksheet for Slave #2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Filling Out the Remote Slave Worksheet for Slave #3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Calculating the Power Budget . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Managing your Power Resource . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPU Power Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Module Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Budget Calculation Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Which Modules Can Go In the Remote Bases . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2--2 2--2 2--2 2--3 2--4 2--5 2--6 2--6 2--6 2--6 2--8 2--9
Page 5
ii
Table of Contents
Chapter 3: Installation & Field Wiring Guidelines Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Easy Steps: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--2 3--2
Step One: Setting the Front Rotary Switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--3
Step Two: Setting the Rear DIP Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--4
Step Three: Inserting the Module in the Base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--6
Step Four: Connecting the Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Wiring Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Connections for the D4-RS or D4-RSDC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Cabling Between the Master and Slaves . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Termination Resistors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Connecting the Run Output Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--7 3--7 3--7 3--8 3--8 3--9
Chapter 4: Writing the Setup Program Getting Started with Your Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--2
Writing Your Remote I/O Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 1: Decide How You Are Going to Call Your Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 2: Write the Setup Logic For Each Remote Base . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Tell the CPU That You Are Finished With the Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A Completed Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--3 4--3 4--4 4--5 4--6
Special Relays Used for Remote I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--8
How to Use the Special Relays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C670/C674: Setup Complete (Mandatory) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C700 to C707 andC720 to C727: Locate Communications Error (Optional) . . . . . . . . . . . . . . . C671/C675: I/O Status On Error (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C673/C677: Error/Restart But Ignore Problem Area (Optional) . . . . . . . . . . . . . . . . . . . . . . . . . . C710 to C717 andC730 to C737: Communications OK Status (Optional) . . . . . . . . . . . . . . . . . Example of RLL Using All the Special Relays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--9 4--9 4--9 4--9 4--10 4--10 4--11
Appendix A : Remote I/O Worksheet Appendix B: Reserved Memory Tables Remote Input/Output (GX) Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B--2
Standard Input (X) Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B--3
Standard Output (Y) Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B--4
Control Relay (C) Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
B--5
Appendix C: Determining I/O Update Time Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C--2
Remote I/O Update Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C--3
Calculating Total Delay for the System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Total Delay Time Formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Delay Time Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
C--4 C--5 C--6
Page 6
Getting Started
11
In This Chapter. . . ., Introduction, What is Remote I/O, Remote Master (D4-RM) Features, Remote Slave (D4-RS or D4-RSDC) Features, Assigning the Remote Input and Output Addresses, How the CPU Updates Remote I/O Points, 3 Easy Steps for Setting Up Remote I/O
Page 7
1--2
Getting Started
Remote I/O Getting Started
Manual Introduction The Purpose of this Manual
This manual shows you how to install, program, and maintain the equipment. It also helps you understand the system operation characteristics.
Who Should Read this Manual
If you understand PLC systems, our manuals will provide all the information you need to get and keep your remote I/O system up and running. We will use examples and explanations to clarify our meaning and perhaps help you brush up on specific features used in the DL405 system. This manual is not intended to be a generic PLC training manual, but rather a user reference manual for the DL405 remote I/O system.
Supplemental Manuals
Depending on the products you have purchased, there may be other manuals necessary for your application. You will want to supplement this manual with any other manuals written for other products. We suggest: S S
Technical Support
D4-USER-M (the D4-405 User Manual) DA-DSOFT-M ( the DirectSOFT User Manual)
We realize that even though we strive to be the best, the information may be arranged in such a way you cannot find what you are looking for. First, check these resources for help in locating the information: S S S S
Table of Contents -- chapter and section listing of contents, in the front of this manual Quick Guide to Contents -- chapter summary listing on the next page Appendix -- reference material for commonly used networking terms Index -- alphabetical listing of key words, at the end of this manual
You can also check our online resources for the latest product support information: S Internet -- the address of our Web site is http://www.plcdirect.com S Bulletin Board Service(BBS) -- call (770)--844--4209 If you still need assistance, please call us at 800--633--0405. Our technical support group is glad to work with you in answering your questions. They are available Monday through Friday from 9:00 A.M. to 6:00 P.M. Eastern Standard Time. If you have a comment or question about any of our products, services, or manuals, please fill out and return the ‘Suggestions’ card that was shipped with this manual.
Page 8
Getting Started
1--3
The beginning of each chapter will list the key topics that can be found in that chapter.
Chapters
Below is a table showing a summary of contents provided within each section of this manual. The manual is organized into the following four chapters:
1 2
1 contains information you need to know to get started. It includes a brief description of a remote I/O system, the basic Getting Started components of the system, and an overview of the steps necessary to develop a working system. shows you how to design your system. It includes a tutorial on how to use worksheets to keep track of all the remote I/O Designing Your Remote and the address assignments for remote I/O. It provides the I/O System framework for developing the necessary information you will need for programming and hardware setup.
3
Installation and Communication Wiring Guidelines shows you how to install your modules. This chapter includes wiring information, shows you how to set the rotary dial and dip switch on each module, how to daisy chain the remote units, how to size and use termination resistors, and how to connect the Run Output circuit.
4
Writing the Setup Program shows you how to use DirectSOFT to write the remote I/O setup program. This chapter takes the information developed from your worksheets and helps you develop a working program.
Appendices
Additional information is available in the following appendices.
Remote I/O Worksheet included is a blank worksheet that can be copied and used for designing your system.
B
Reserved Memory Tables shows the reserved memory locations for the transfer of remote I/O data. It is cross-referenced by data type.
C
Determining I/O Update Time
A shows you how to calculate the amount of delay inherent with the transfer of data back and forth between the master and its remote slaves. Provides tables for both 19.2 kB and 38.4 kB, based on number of I/O points used.
Remote I/O Getting Started
Key Topics for Each Chapter
Page 9
1--4
Getting Started
Remote I/O Getting Started
What is Remote I/O? A remote I/O system allows you to locate I/O modules in bases at some remote distance from the CPU base, but still under its control. These remote bases have no CPU of their own, and are completely controlled by the CPU in the main base via a special module called a remote master. Each remote base unit has a remote slave ( consisting of an internal power supply and I/O adapter circuitry ) that allows the exchange of data with the CPU in the main base via the master module. The communications link between the master and its slaves is provided by twisted-pair cable. Up to 512 remote I/O points can be supported by either the DL430 or DL440 CPU’s, with baud rates of 19.2 and 38.4 kBaud.
One Master in CPU Base (1--Channel) Remote Master
Twisted Pair Cable
Remote Slaves
When Do You Need Remote I/O offers tremendous savings on wiring materials and labor costs for larger systems in which the field devices are in clusters at various spread-out locations. Remote I/O? With the CPU in a main control room or some other central area, only the remote I/O cable is brought back to the CPU base. This avoids the use of a large number of field wires over greatly separated distances to all the various field devices. By locating the remote bases and their respective I/O modules close to the field devices, wiring costs are reduced significantly. Another inherent advantage of remote I/O is the ability to add or remove slave bases, or temporarily take a base off line without disrupting the operation of the remaining system.
Page 10
Getting Started
With the DL405 system, up to 512 remote I/O points can be supported by the DL440 CPU or the DL430 CPU. The remote master is placed in the CPU base. This master (D4--RM) controls up to 7 remote slaves (D4--RS or D4--RSDC).
Remote Master -The D4-RM can link up to 7 remote slaves. It is mounted in the CPU base. Up to 2 masters can be used.
Remote Slave -The D4-RS and D4-RSDC are placed in remote base units. Each slave has a built-in power supply and and the I/O circuitry required to be linked to the master module via twisted pair cable. Only one D4-RS or D4-RSDC is required for each remote base. D4-RS: Accepts AC power. D4-RSDC: Accepts DC power.
Remote I/O Getting Started
How Does the DL405 Support Remote I/O?
1--5