Documente Academic
Documente Profesional
Documente Cultură
Because of the variety of uses for the products described in this publication, those responsible for the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each application and use meets all performance and safety requirements, including any applicable laws, regulations, codes and standards. The illustrations, charts, sample programs and layout examples shown in this manual are intended solely for purposes of example. Since there are many variables and requirements associated with any particular installation, Allen-Bradley does not assume responsibility or liability (to include intellectual property liability) for actual use based upon the examples shown in this publication. Allen-Bradley publication SGI-1.1, Safety Guidelines for the Application, Installation, and Maintenance of Solid-State Control (available from your local Allen-Bradley office), describes some important differences between solid-state equipment and electromechanical devices that should be taken into consideration when applying products such as those described in this publication. Reproduction of the contents of this copyrighted publication, in whole or in part, without written permission of Allen-Bradley Company, Inc., is prohibited. Throughout this manual, we make references to other technical documents. When applying procedures, you must consult all the references listed regarding more detailed safety information as it applies to specific circumstances. This material is intended for use by authorized Allen-Bradley instructors, in an Allen-Bradley training center or approved customer location, using Allen-Bradley approved demonstration hardware and software. Throughout this manual we use notes to make you aware of safety considerations: ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property damage or economic loss.
Attention statements help you to: Identify and avoid a hazard Recognize the consequences Important: Identifies information that is critical for successful application and understanding of the product.
Suggestion and Comment Form GMS Training Student Manual Configuring Netlinx Networks for Logix5000 Systems Publication ABT-SYS-TSM01
Send your comments to: Manager, Training Development Rockwell Automation 24701 Euclid Ave Euclid, Ohio 44117 U.S.A. (216) 266-0290
or FAX
Please provide the following information: Date: Name: Company & location: Page 1 of
Phone:
Fax #:
Provide your suggestions/comments (include lesson title and part number, if applicable):
Page 2
Table of Contents
Workstations
ControlLogix 5000 Workstation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1796--CLCUSTOM
Lessons
Communicating with a Logix5000t Controller . . . . . . . . . . . . . . . . . . . . . . . . . . .
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Why These Skills Are Important . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Logix 5000 Communications Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Communications Networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Models . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: Data Transfer in the Producer/Consumer Model . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: Data Transfer in the Source/Destination Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ControlLogixt Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RSLinxt Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Menu Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Toolbar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . RSWho Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Uploading, Downloading, and Going Online to a Logix5000 Controller . . . . . . . . . . . . . . . . . . . . . Offline vs. Online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Online Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Offline Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Online Warning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Communications Path . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Controller Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1- 1
1--1 1--1 1--1 1--1 1--1 1--2 1--2 1--3 1--3 1--4 1--5 1--5 1--6 1--6 1--7 1--8 1--8 1--8 1--9 1--10 1--10 1--10 1--10 1--11 1--11
ii
Table of Contents
Manually Changing Controller Operating Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Remotely Changing Controller Operating Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2- 1
2--1 2--1 2--1 2--1 2--2 2--4 2--4 2--5 2--6 2--7 2--7 2--8 2--9 2--12 2--14 2--14
3- 1
3--1 3--1 3--1 3--1 3--2 3--3 3--3 3--4 3--4 3--5 3--6 3--6 3--7 3--7 3--8 3--9 3--9
Table of Contents
iii
Example: DeviceNet Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mapping Input Data for a RediSTATION Operator Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Mapping Input Data for a Series 9000 Photoelectric Sensor . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Data Output Mapping for a RediSTATION Operator Interface Module . . . . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--9 3--10 3--10 3--11 3--11 3--13 3--13 3--15 3--15 3--16 3--20 3--22 3--22
4- 1
4--1 4--1 4--1 4--1 4--2 4--3 4--3 4--4 4--4 4--4 4--5 4--5 4--6 4--6 4--6 4--8 4--9 4--12 4--14 4--14 4--16
5- 1
5--1 5--1 5--1 5--1 5--2 5--2 5--3
iv
Table of Contents
Network Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Hardware List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Device Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EDS Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . EDS Wizard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Chassis Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CTDMA (Concurrent Time Domain Multiple Access) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Scheduled Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: Scheduled Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Unscheduled Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: Unscheduled Bandwidth . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Guardband . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Network Update Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Maximum Scheduled Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Maximum Unscheduled Node . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Media Redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Media Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5--3 5--3 5--4 5--4 5--5 5--6 5--6 5--7 5--7 5--8 5--8 5--9 5--9 5--9 5--10 5--10 5--10 5--11 5--11 5--12 5--12 5--12 5--14 5--14
6- 1
6--1 6--1 6--1 6--1 6--1 6--2 6--3 6--3 6--4 6--5 6--6 6--6 6--7 6--7 6--8 6--8
Table of Contents
7- 1
7--1 7--1 7--1 7--1 7--2 7--3 7--3 7--3 7--4 7--4 7--5 7--5 7--6 7--6 7--7 7--8 7--8 7--9 7--9 7--10 7--10 7--10 7--11 7--12 7--12 7--14 7--14
8- 1
8--1 8--1 8--1 8--1 8--2 8--2 8--2 8--2 8--2 8--3 8--5 8--6 8--6 8--7 8--7
vi
Table of Contents
10 BaseT Connector . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MAC (Media Access Control) ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1756-ENET Module IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Assigning an IP Address to a 1756-ENET Module Using a BootP Utility . . . . . . . . . . . . . . . . . . Assigning an IP Address to a 1756-ENET Module Using RSLinx Software . . . . . . . . . . . . . . . . Adding a 1756-ENET Module to the I/O Configuration of an RSLogix 5000 Project . . . . . . . . . . Testing a 1756-ENET Module IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring a TCP/IP Communications Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing Data Using the RSLinx Data Monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Viewing Module Information Using 1756-ENET/B Module Web Pages . . . . . . . . . . . . . . . . . . . . . Heres How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8--7 8--7 8--8 8--8 8--9 8--9 8--10 8--10 8--11 8--11 8--12 8--13 8--14 8--16 8--16
Table of Contents
vii
Appendix
Node Address Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Input/Output Device Assignments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 SSC Variable Speed Drive Data Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Table 1: Assembly 21 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Table 1: Assembly 71 Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
A- 1 B- 1 C- 1
C--1 C--1
Functional Specification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1. Media System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2. Network Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3. Scheduled I/O Data Connections for the PLC-5 Processor at Node One . . . . . . . . . . . . . . . . . . . Data Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Safety Check One: Lap Bars Secure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Safety Check Two: Drive System Speed Normal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4. Scheduled Messages from the PLC-5 Processor at Node One . . . . . . . . . . . . . . . . . . . . . . . . . . Safety Check One and Two Sent to Logix5000 Controller at Node Four, Slot One . . . . . . . . . . . 5. Unscheduled Messages from the PLC-5 Processor at Node One . . . . . . . . . . . . . . . . . . . . . . . . Entry Data Sent to Logix5000 Controller at Node Four, Slot One . . . . . . . . . . . . . . . . . . . . . . . 6. Scheduled I/O Data Connections for the Logix5000 Controller at Node Four . . . . . . . . . . . . . . . . Logix5000 ControlNet Bridge I/O Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Flex ControlNet I/O Adapter I/O Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Flex Combo Analog Module I/O Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Flex Combo Digital Module I/O Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7. Scheduled Messages from the Logix5000 Controller at Node Four . . . . . . . . . . . . . . . . . . . . . . . Safety Check Three Sent to the Processor at Node One . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8. Unscheduled Messages from the Logix5000 Controller at Node Four . . . . . . . . . . . . . . . . . . . . . Exit Data Sent to the Processor at Node One . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
D- 1
D--1 D--2 D--2 D--2 D--3 D--3 D--4 D--4 D--4 D--4 D--5 D--5 D--5 D--5 D--6 D--6 D--6 D--7 D--7
E- 1
E--1 E--1
viii
Table of Contents
Lesson
Key Terms
Communications: The transfer of data between two or more devices. Driver: A software subroutine that handles the logic for communicating with a specific type of external device. Computers require drivers to communicate on a network. Node: A physical device on a communications network (e.g., controller, communications module, programming device). Network: A group of devices (i.e., nodes) connected by some type of communications medium.
1-2
Serial Connection A serial connection is a direct connection from one device to another through which data is transferred as a stream of electronic bits. Serial communications between a computer and controller have the following characteristics: Data transmission is limited to 50 ft (15.2 m).
controller module. Data is passed at a slower rate than with network connections. In Logix5000 systems, a serial connection involves running a serial cable between the serial ports on each device:
ControlLogixt Chassis with Controller Computer
"
Serial connections are used for non-time critical tasks, such as testing programs, troubleshooting, and maintenance. Network Connection The most common way to connect a computer to a controller is via a network. Several network options are available that allow communications between devices to take place over a great distance. A network connection using two networks (ControlNett and EtherNet/IPt) for communications between multiple nodes is shown in the following graphic:
Node Node Node
1-3
Communications Networks
Logix5000 systems utilize one or more communications networks to transfer data throughout the system. Network Types Different types of networks are available to carry out the individual tasks that need to be completed. These three networks are used with Logix5000 systems: Information Network: Provides fast communications within plants and to outside sites. This option is ideal for the following tasks: - Network management and maintenance - Large data file transfer - Internet connection - Device programming and configuration
- Messaging between devices with equal access to data - Connection to controllers, computers, drive and motion
equipment, etc. - Device programming and configuration
1-4
Multiple networks can be configured in the same system to control a variety of physical components:
Computing Systems
Information Network
EtherNet/IPr Network
Device Network
DeviceNett Network Operator Interface Photoelectric Sensor Limit Switch Drive
Network Models
Network Model: The manner in which data is transferred across a network. Logix5000 systems make use of two distinct network models: Producer/Consumer: Communications model in which data is identified by its content rather than by its source or destination. The producer/consumer network model has the following characteristics:
1-5
The following example shows the principle behind the producer/consumer model: Example: Data Transfer in the Producer/Consumer Model An instructor announces once to the entire class that it is time for a break. All students have the opportunity to hear the message at the same time:
Instructor
Student 1
Student 2
Student 3
Student 4
Student 5
The following example shows the principle behind the source/destination model: Example: Data Transfer in the Source/Destination Model An instructional video presents information to one student at a time. Students receive the same information at the different times:
Video Video Video Video Video
Student 1
Student 2
Student 3
Student 4
Student 5
1-6
Network Options
The network options supported by Logix5000 systems are grouped into two types of communications networks: NetLinxt communications Legacy communications NetLinx Communications: A combination of network services that ensures a seamless flow of information and control data. All NetLinx networks follow the producer/consumer model: EtherNet/IP Network: A local area, information and control network designed for high-speed exchange of information between computers and related devices. EtherNet/IP networks are compatible with a wide range of equipment and can communicate over vast distances.
transmitting time-critical and non time-critical data on the same link. It provides real-time control and messaging services. DeviceNett Network: A low-level communications network linking I/O devices directly to a controller without the need for I/O modules. Legacy Communications: Networks that integrate existing products and networks, such as PLC-5r or SLC 500tprocessors, into a Logix5000 system. All legacy networks follow the source/destination model. The following legacy networks can be used with a Logix5000 system: Data Highway Plust (DH+t) Network: A local area information and control network designed to support remote programming and data acquisition for factory-floor operations. Universal Remote I/O Network: A network in which one device controls and initiates communications in supporting many legacy and third-party devices.
ControlLogix Gateway
A ControlLogix system can be used as a communications hub (gateway) to bridge and route control and information data through EtherNet/IP, ControlNet, and DH+ networks.
1-7
A ControlLogix Gateway uses the ControlBust backplane to receive, translate, and pass data between communications modules and networks:
ControlLogix Chassis as Gateway
EtherNet/IP Network
PLC-5 System
Programming Device
RSLinxt Software
RSLinx software creates a connection between an RSLogix 5000t project and the hardware components. It can be used for maintaining a connection between plant floor devices and a range of software applications. The following graphic shows the RSLinx window:
Menu Bar Toolbar
RSWho Window
RSLinx Window
1-8
Menu Bar The RSLinx menu bar contains menus with items for handling all of RSLinx softwares capabilities. The following menus are unique to RSLinx software: Communications: Contains items for configuring drivers and network information, viewing communications diagnostic information, and creating shortcuts to networks.
RSWho
software drivers and allows users to add additional drivers for use with hardware devices. Whats This?: Changes the cursor to an arrow and a question mark to indicate you are in Whats This? help mode, which displays an RSLinx software component definition when a component is clicked.
1-9
Nodes can be accessed by expanding the configured networks in the Tree Control panel:
Tree Control
List Control
The path a project takes when it is downloaded to a controller or uploaded from a controller is shown in the following graphic:
Computer Download Controller
Upload
1-10
Offline vs. Online Offline and online refer to the state of communications between a computer and controller. Each option serves a specific purpose in the development process: Online: The mode in which a computer running RSLogix 5000 software is monitoring or modifying the program file in a controller.
Online Status Going online to a controller allows you to perform the following tasks: Monitor or modify a program in a project loaded in a controller Monitor data while it is being collected Modify data stored in a controller
"
When computer running RSLogix 5000 software is online to a controller, the icon in the toolbar is animated. Offline Status Offline status is used to perform the following tasks: Repair a system or equipment
Develop or update project components Allow the controller to run independently from the computer
running RSLogix 5000 software Online Warning
ATTENTION: Use extreme caution when making changes to a project online. Mistakes can cause unintended machine motion or loss of process control, injuring personnel and damaging equipment. Before performing procedures online, complete these safety precautions:
Determine if changes must be made online. Verify that your company permits online entering
and editing. Assess how machinery will respond to changes. Check proposed changes for accuracy. Notify all personnel of the changes. Verify that you are online to the correct controller. Ensure that multiple users are not going online to make changes on the same controller.
Rev. September 2002 COMs56
1-11
Communications Path RSLinx software lets users create a communications path that allows a computer to go online with a controller. The addresses (locations) of devices and networks through which data is sent are listed in the communications path:
Network Communications Backplane Controller Module
The communications path must be specified to go online and download or upload a project. It can be selected through the Who Active menu in RSLogix 5000 software:
Communication Options
1-12
Manually Changing Controller Operating Mode The keyswitch positions are shown in the following graphic of a Logix5550t controller:
Logix5550t
Keyswitch Positions
Keyswitch
The keyswitch position dictates the available controller modes, as outlined in the following table:
Keyswitch Position Run Available Controller Modes Run mode -- The controller is actively controlling the process/machine. Projects cannot be edited when in Run mode. Program mode -- The process/machine stops, allowing modifications such as entering ladder logic to be safely made to the project. Remote Run mode -- Is identical to Run mode except you can edit the project online. Remote Remote Program mode -- Is identical to Program mode. Remote Test mode -- Allows a program to run but disables its outputs for troubleshooting and diagnostics. Fault -- Most operations act as if the controller were in Program mode. It is entered when a major fault (error) occurs that is not handled by a fault routine.
ATTENTION!
Run mode should only be used when all conditions are safe. Do not use Program mode as an emergency stop (E-stop). Program mode is not a safety device. Users are able to modify a project online in Remote Run mode. Be sure to control outputs with care to avoid injury to personnel and damage to equipment. Fault mode cannot be selected by a user. The fault condition must be cleared by the user before switching back to Run mode.
Program
Any
1-13
Remotely Changing Controller Operating Mode Remote modes are changed through RSLogix 5000 software using the Online toolbar. The three Remote mode options are available within the Online (mode) drop-down list:
Online (Mode) Drop-Down List
Heres How
To upload, download, and go online to a Logix5000 controller ATTENTION: Performing this procedure online can cause dangerous situations. Making changes in a multiple-user environment can also cause dangerous situations. For specific information, refer to the Safety Precautions section at the beginning of this guide.
!
Important:
Before you can upload, download, or go online with a project, you must place the keyswitch on the controller in Program or Remote mode.
1. If the project will be downloaded, open the RSLogix 5000 project file that will be transferred to the controller.
1-14
Modules
Browse for a path
Network Backplane
C. Select the controller. D. To record the path in the Recent Paths list, click the Set Project Path button. A. In the Path toolbar, click The Select Recent Communications Path dialog box opens. Browse for a path B. In the Select Recent Communications Path dialog box, click the path with the destination controller. C. Click Set Project Path D. Close the Select Recent Communications Path dialog box
3. Upload, download, or go online to the controller by choosing the appropriate option: Important: The slot number of the controller in the project must match the slot number of the controller selected for the transfer or the project cannot be downloaded. To upload or go online, a file in the computer that matches the file in the controller must exist. Otherwise, a project from the controller may be uploaded into a new file. Rung comments, descriptions, and alias chains will be lost.
Important:
1-15
To . . . Download the open project from the computer to the controller and then go online Go online to a project in a controller to monitor or edit the project
Then in the RSLinx Who Active window, perform the following actions . . .
A. Click Download. B. Verify that the controller listed is the destination controller and then click Download.
Click Go Online.
A. Click Upload. . . Important: Saving the project when prompted will replace the offline computer version with the controller version. Upload a project from the controller into the temporary memory of the computer B. In the Connected to Upload dialog box, click Select File. . . The Select File dialog box opens. C. In the File name text box, type a new name for the file. D. Click Select. The Select File dialog box closes and returns to the Connected to Upload dialog box. Click Upload.
4. When going online or uploading, if a matching file was not found and a dialog box opens, read the given condition and option statements and then decide how to proceed. The upload, download, or online connection is complete and the RSLinx Who Active dialog box closes.
1-16
Heres How
To select and change a controllers operating mode: Important: The slot number of the controller in the project must match the slot number of the controller selected for the transfer or the project cannot be downloaded. ATTENTION: Performing these procedures online can cause dangerous situations. Making changes in a multiple-user environment can also cause dangerous situations. For specific information, refer to the Safety Precautions section at the beginning of this guide.
!
Important:
1. Go online to the Logix5000 controller storing the project file to be monitored or edited.
"
Refer to the following graphics when changing the controller operating mode:
Online Drop-Down List Online Graphic
A. From the Online drop-down list, select Test Mode. A prompt opens. B. Click Yes. The Online drop-down list in the upper left-hand corner of the Online toolbar turns yellow and displays Rem Test.
Rev. September 2002 COMs56
1-17
Exercise A
In this exercise, you will identify communications options in a Logix5000 system. Directions: 1. What are the two basic physical connections for making a computer communicate with a Logix5000 controller?
3. What is the difference between the producer/consumer and source/destination network models?
5. What is a driver?
1-18
Linx Gateways\10.88.247.44\AB_KTC-1\5\Backplane\3
8. Place a check in the box that indicates the appropriate operating mode for each given situation:
Run The mode in which a program runs but the outputs are disabled The mode in which project edits can be made safely The mode in which the controller actively controls the process/machine The mode that is identical to program mode The mode that is entered when a major fault occurs The mode that allows a project to be edited when it is online Program Remote Run Remote Program Remote Test Fault
9. What RSLogix 5000 toolbar lets you remotely change a controllers operating mode?
1-19
Exercise B
In this exercise, you will upload, download, and go online to a Logix5000 controller and select and change a Logix5000 controllers operating mode. Directions: 1. Change the controllers keyswitch to Remote position. 2. Start RSLogix 5000 software. 3. Open the Bottling_Scenario1.acd file from the default RSLogix 5000 project directory. 4. Download the project to the controller in slot 1 of the workstation and go online.
"
Download the project with the EtherNet/IP network unless your instructor specifies otherwise. 5. Verify that the Online (mode) drop down list in the Online toolbar is blue and displays Remote Program and that the icon is animated. 6. Verify that the OK lights on the controller and I/O modules are illuminated. 7. Using RSLogix 5000 software, change the controller mode to Remote Run and verify that the RUN light on the controller is illuminated. 8. Change the controller mode to Remote Test, and then back to Remote Program. 9. Go offline 10. Upload the project to the RSLogix 5000 projects folder 11. Go offline 12. Close RSLogix 5000 software without saving changes.
If you did not receive the appropriate system response or if you have any questions, ask your instructor for assistance.
1-20
Answers
Exercise A
1. Serial and network connections are the two basic physical connections for making a computer communicate with a Logix5000 controller. 2. Information, control, and device networks are three networks used by Logix 5000 systems. 3. The producer/consumer and source/destination network models have the following differences:
5. A driver is a software subroutine that handles the logic for communicating with a specific type of external device. Computers require drivers to communicate on a network. 6.
Communications Module Network Backplane Controller
Linx Gateways\10.88.247.44\AB_KTC-1\5\Backplane\3
7. RSLinx software is accessed through the Who Active menu item in RSLogix 5000 software.
E 2002 Rockwell Automation. All rights reserved. Rev. September 2002 COMs56
1-21
8.
Run The mode in which a program runs but the outputs are disabled The mode in which project edits can be made safely The mode in which the controller actively controls the process/machine The mode that is identical to program mode The mode that is entered when a major fault occurs The mode that allows a project to be edited when it is online n n n Program Remote Run Remote Program Remote Test Fault
9. The online toolbar lets you remotely change a controllers operating mode
1-22
Go online to a network Upload a device or network configuration Browse a network Why These Skills Are Important
Correct configuration of a network ensures that all devices on the network are communicating. If one or more devices are not able to communicate on the network, data cannot be exchanged.
Drivers
Drivers are software mechanisms that link a computer containing programming or configuration software to a physical network. A properly configured driver makes it possible to view a software representation of an active network and make configuration changes and adjustments.
2-2
Drivers used with Rockwell Software programs are configured using RSLinxt software. The following graphic shows the RSLinx window in which drivers are selected:
DeviceNet Drivers
The following drivers can be used to go online to a DeviceNet network: 1770-KFD Driver: Used in conjunction with an 1770-KFD (RS-232) module, which provides a point-to-point connection from a computer to a DeviceNet network. Important: For the 1770-KFD driver to be configured, a 1770-KFD module must be connected to the DeviceNet network and to the computer from which the driver is being configured via the computers serial port. which fits into the PCMCIA slot of a laptop computer. The 1784-PCD driver is used to connect a laptop computer directly to a DeviceNet network. 1784-PCID Driver: Used in conjunction with a 1784-PCID card for the PCI bus of a personal computer. The 1784-PCID driver is used to connect a personal computer directly to a DeviceNet network. RSLinx software comes with a variety of drivers already installed. However, the 1784-PCIDS driver must be installed separately.
"
2-3
"
on an SLC 500t platform through the backplane of the chassis in which an SLC 500 processor and companion 1747-SDN scanner module reside. A connection to a DeviceNet network using either of these two pass through drivers is much slower than a direct connection and is therefore not recommended for use on a regular basis.
"
Not exclusively a DeviceNet driver, an Ethernet driver can be used to access a variety of networks through a ControlLogix backplane. The follow graphic shows the RSLinx window where a 1770-KFD driver is configured:
Important:
The data rate assigned to a DeviceNet driver must be the same as the data rate assigned to all other devices on the network.
2-4
Network Properties
Network properties define a DeviceNet network in order to distinguish between networks. This is particularly helpful if more than one DeviceNet network exists in a plant. The following properties can be defined for a DeviceNet network: Network name Network description
"
Only the Description field can be changed in this window. The Name field will become active after the network configuration has been saved.
Online
E 2002 Rockwell Automation, Inc. All rights reserved. Rev. June 2002 NETs100
2-5
Important:
Devices added to an offline network configuration in RSNetWorx for DeviceNet software must exactly match the physical devices they represent. If the network configuration in RSNetWorx for DeviceNet software does not match the physical network, it will not be possible to obtain data from or send data to network devices once they are online. If a device is assigned a node address in an offline network configuration, unless a hardware node address has been assigned at the device itself, the address will not be valid until the node is commissioned online.
Important:
"
You can find devices quickly by placing your mouse pointer over any area of the hardware list, right-clicking, and then selecting Find Hardware.
2-6
Online Icon
Online network configuration provides the following benefits: The ability to view all devices that are available and communicating on the network before making any changes The ability to view devices that are no longer communicating on the network The ability to view and resolve mismatches between devices in the network configuration and actual network devices
network configuration or download device data from the network configuration to devices Diagnostic capabilities Important: To view an online network configuration, it is necessary to upload the network configuration after going online. Devices may show up in the network configuration before it is uploaded, but an upload must be performed to access configuration data.
2-7
ATTENTION: Use extreme caution when downloading changes to an online network configuration. Incorrect configuration of devices online can cause erratic device behavior, injury to personnel or damage to equipment.
Keep the following considerations in mind when uploading from or downloading to a network: Uploading and downloading can only be performed when a network is online.
network. In order for any changes made in an online network configuration to take effect, the configuration must be downloaded to the network. It is possible to download or upload configuration data to or from a single device or the entire network.
Browsing a Network
Browsing is a way to determine the devices that are present on a DeviceNet network and their status. A network browse provides the following information: A graphic representation of all devices detected on the network at the time of the browse The node addresses of the detected devices Basic device status and identity information Important: A network browse does not provide device configuration data.
2-8
The following two browsing options exist: Single Pass Browse: A way to search for all devices present on a network during a single interval (i.e., all possible node addresses are scanned once).
Do not confuse browsing a network with uploading a network. A network browse can only indicate which devices are present on the network, provide basic status information, and node addresses. Uploading a network provides specific device configuration details and a means to edit them.
The following graphic shows the RSNetWorx for DeviceNet menu where browsing, uploading, and downloading options are selected:
Heres How
To create a network configuration by performing the following tasks: Configure a DeviceNet driver Configure network properties Create an offline network configuration
2-9
Exercise
In this exercise, you will create a network configuration. Context: As a design engineer for Fast Foods Inc., you have installed the cable system for your DeviceNet network. You are now ready to create a network configuration that will define the devices to be used on the network. This network configuration can then be used to go online to the network for future configuration tasks. Directions: Using RSLinx software, RSNetWorx for DeviceNet software, and the steps below, create a network configuration for your DeviceNet workstation. 1. Open RSLinx software. 2. Configure the 1770-KFD driver as outlined in the following table:
For this parameter . . . Port Select (in the Serial Port Setup panel) Data Rate (in the Serial Port Setup panel) Node Address (in the DeviceNet Port Setup panel) Data Rate (in the DeviceNet Port Setup panel) Select this option . . . The serial port on your computer The highest rate available 62 125
3. Open RSNetWorx for DeviceNet software. 4. Open a new (empty) offline network configuration. 5. Configure network properties as outlined in the following table:
For this property . . . Description Online path Enter or select this . . . Fast Foods DeviceNet network The 1770-KFD driver or the Ethernet driver
"
The software will not allow you to enter a network name in the Name text box at this time. When you save the network configuration for the first time, you can specify a network name in the File name text box.
2-10
01
02
Bulletin 160 Analog 0.37kW 230v drive 871TM Unshielded 18mm with micro inductive proximity sensor 800E pushbutton station DSA 4/2 (100--DNY42R) 22.5 mm (Bulletin 100 starter auxiliary)) 1792D--4BV0D 4 Input (ArmorBlockt MaXumt input module 1791D--0B16P 16 Source Out (CompactBlock output module) PanelViewt operator interface
03
04
05
06
07 08 09
"
You can find devices quickly by placing your mouse pointer over any area of the hardware list, right-clicking, and then selecting Find Hardware. 7. Open a new (empty) network configuration. Important: When prompted, do not save the existing offline network configuration.
2-11
10. Verify that the following devices are present in the online network configuration and write the node address of each device in the following table:
Device Name 1756-DNB/A scanner module (major revision 3) Node Address
800E pushbutton station DSA 4/2 (100--DNY42R) 22.5 mm (Bulletin 100 starter auxiliary)) 1792D--4BV0D 4 Input (ArmorBlock MaXum input module) 1791D--0B16P 16 Source Out (CompactBlock output module) PanelView operator interface 1770-KFD RS232 interface
11. Which device in the offline network configuration is not present in the online network configuration? Why not?
2-12
12. Attach the 871TM inductive proximity sensor to the network by connecting its drop line to the second KwikLinkt micro connector from the right at the bottom of the workstation.
"
The drop line for the 871TM inductive proximity sensor should be protruding from behind the display panel. 13. Does the 871TM inductive proximity sensor show up in the online network configuration? Why or why not?
14. Perform a single pass browse to display the 871TM inductive proximity sensor in the online network configuration. 15. Enable the continuous browsing option. 16. Disconnect the 871TM inductive proximity sensor. 17. What happens after about a minute? Why?
18. Disable the continuous browsing option. 19. Delete the icon for the disconnected 871TM inductive proximity sensor. 20. Save the network configuration.
Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.
2-13
2-14
Answers
Exercise
10. The following devices with their corresponding node addresses should appear in the online network configuration:
Device Name 1756-DNB/A scanner module (major revision 3) Node Address 00
01
03
09
15
20
1792D--4BV0D 4 Input (ArmorBlock MaXum input module) 1791D--0B16P 16 Source Out (CompactBlock output module) PanelView operator interface 1770-KFD RS232 Interface
30 32 40 62
11. The 871TM inductive proximity sensor is not present in the online network configuration because it is not connected to the network. 13. The 871TM inductive proximity sensor does not show up in the online network configuration because the network has not been browsed since the sensor was connected. Therefore, the sensors presence on the network has not yet been detected. 17. The 871TM inductive proximity sensor disappears from the online network configuration (as evidenced by the error icon) because the network is being continuously browsed and any changes are immediately detected.
After completing this lesson, you will be able to map DeviceNet data in a 1756-DNB scanner module by performing the following tasks: Assign a node address and a baud rate to a 1756-DNB scanner module Configure a 1756-DNB scanner module Create a scanlist
Map input and output data in a 1756-DNB scanner module Identify Logix5000t DeviceNet tags Why These Skills Are Important
Being able to correctly map DeviceNet data in a 1756-DNB scanner module is important for the following reasons: Correctly configuring a DeviceNet network allows you to enjoy the cost savings, reduced downtime, and diagnostic capabilities of a DeviceNet network. Understanding how device data is mapped will allow you to control how device data is organized and optimize data storage. Being able to identify which bits are mapped is required to safely and correctly program ladder logic.
3-2
Downloads configuration data Monitors a devices operational status Communicates with the controller in the form of input, output and
diagnostic tables
A#00
Node Address
A#00
3-3
A#00
Network Address
3-4
Important:
The software performs a one-shot browse when you go online or when you select browse. Continuous browse can be selected; however, it uses bandwidth.
Important:
If there are no other network bridge modules in the chassis, a 1770-KFD driver and interface module can connect a computer directly to a DeviceNet network.
3-5
Creating a Scanlist
A scanlist is a list of devices on the network with which the scanner will communicate. The scanlist provides the following information to the scanner: Which device node addresses to scan How to scan each device
How often to scan each device Where data can be found in each devices memory The size of input and output data
Where input and output data is to be mapped in order for the controller to read it How the controller should read each device: - Using M1/M0 file for SLCt processors - Using discrete I/O for PLCr processors - Directly for Logix5000 controllers The scanlist is entered in RSNetWorx for DeviceNet software in the following window:
Devices to be Scanned
3-6
modules data at a user-configured heartbeat rate regardless of whether or not their data has changed since the last change-of-state message was sent. Cyclic messages are similar to change-of-state messages, but they are only sent at a user-configured rate. A cyclic message may be sent by a device even if the devices data has not changed since the last time it was sent.
"
Both change-of-state and cyclic messages greatly reduce network traffic and allow faster scanner module response time since they do not require the scanner module to scan every device during a scan. The following table provides an summary of the characteristics of devices configured for each of the four message types:
Device Polled Strobed Change of-state Cyclic Sends Data? Yes Yes Yes Yes Receives Data? Yes No No No Scanned During Every Scan Cycle? Yes Yes No No
3-7
Important:
Inputs and outputs on a DeviceNet network are defined from the point of view of the controller, not the devices with which they communicate.
Take the following into consideration when working with device inputs and outputs: Devices vary in data information (e.g., status, I/O data, and configuration data) and type (i.e., poll, strobe, cyclic, or change-of-state). All data sent and received on a DeviceNet network is in byte length (i.e., even if a device produces two bits of information, the device will produce one byte of data).
segmenting). All data acted upon in a Logix5000 controller is in Dint length (two words, or four bytes).
"
Logix5000 controllers use a separate status area for the command register. Therefore, it is acceptable to map to word 0 of the input or output data.
Device-specific needs and requirements are acknowledged. Priority is given to critical I/O transfers. Room is left for network expansion (adding devices). Device data does not overlap.
3-8
The Automap option can be selected in several tabs as shown in the following graphic:
Automap Option (Automaps the Selected Input or Output That Is Already in the Scanlist)
Mapped data can be organized using the following alignment options: Byte Align: Ensures that data is used as efficiently as possible to the byte level: - Two devices can share the same word location. Word Align: Ensures that each device is mapped in a different word. DWord (Dint) Align: Ensures that each device is mapped in a different Dint.
3-9
Use advanced mapping to map the upper portion of the data into
its own word. - This option allows you to separate the data by bytes and place them into specific addresses, as shown in the following graphic:
3-10
ChassisB:3.I.Data.4 Note the following about the addresses of DeviceNet devices: The address prefix for any DeviceNet device is the name of the 1756-DNB module followed by the slot number:
"
At this point, per the mapping table, it is known which device is mapped to which memory location. However, it is not yet specifically known which bits are mapped (i.e., for a RediSTATIONt operator interface, which of the eight bits in the byte represents the start button).
Resources
To help determine which bits are mapped, you must refer to one of the following resources: Online Help system in RSNetWorx for DeviceNet software EDS Based Help in RSNetWorx for DeviceNet software EDS file
Heres How
To map DeviceNet data in a 1756-DNB scanner module by performing the following tasks: Assign a node address and a baud rate to a 1756-DNB scanner module
Configure a 1756-DNB scanner module Create a scanlist Map input and output data in a 1756-DNB scanner module
As your instructor demonstrates these procedures, follow along in the Logix5000 Controllers Procedures Guide.
3-11
Input Bits
Per the Help system, it is known that bit one represents the green start button and bit zero represents the red stop button, as shown in the following graphic:
G R
Input Byte 7 6 5 4
G R 3 2 1 0 Bits
3-12
The input byte is automapped to the 1756-DNB modules input data file. This data is then mapped to the Logix5000 controllers input image table, as shown in the following graphic:
Input Byte G R
Map
Logix5000 Controller Input Image Table 0000 0000 0000 00GR 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Word 0,L Word 0,H Word 1,L Word 1,H Word 2,L Word 2,H
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
"
3-13
Example
Font Selection
Per the EDS Based Help system, one status bit and one data bit are mapped to the input data table, as shown in the following graphic:
Input Byte 7 6 5 4
S D 3 2 1 0 Bits
3-14
The input data is then mapped to the Logix5000 controllers input image table, as shown in the following graphic:
Input Byte S D
Logix5000 Controller Input Image Table 0000 00SD 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Word 0,L Word 0,H Word 1,L Word 1,H Word 2,L Word 2,H
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
When the photoelectric sensor is mapped, the data is placed in the second byte of the Logix5000 Dint, as shown in the following graphic:
Dint
Mapped Bits
3-15
Example
0 Bits
The data is then mapped to the Logix5000 controllers output image table, as shown in the following graphic:
B L 1756-DNB Output Byte
Logix5000 Controller Output Image Table 0000 0000 0000 00BL 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 Word 0,L Word 0,H Word 1,L Word 1,H Word 2,L Word 2,H
15 14 13 12 11 10 9 8
7 6 5 4 3 2 1 0
3-16
Important:
It is helpful to record which bits are mapped in order to write the ladder logic that will control the devices.
Exercise
In this exercise, you will be able to map data in a 1756-DNB scanner module. Context: You are part of a team that has programmed a Logix5000 compressor assembly line. Because your plants production line has several small plant floor devices that are distant from each other, and because you want to use the diagnostic capabilities of these devices, your company has retrofitted part of the production line with a DeviceNet network. The network and the devices on the network are already configured. You are now ready to edit the scanlist and map DeviceNet data in the 1756-DNB scanner module.
3-17
The DeviceNet portion of the compressor assembly project includes the following devices:
Device 1756-DNB scanner module Application Use Scan the network and map the data for the controller Start and stop the conveyor using pushbuttons and display a production-in-process light Sense a compressor when it reaches the first machine station Control the press output (mounted near station 1 where space is limited and temperatures can be elevated) Control the conveyor motor Display values for each machine station, such as pressure, and make changes to production variables, such as drive acceleration time
RediSTATION operator input (2705T) Photoelectric sensor (Series 9000 photoelectric sensor) ArmorBlockt MaXum I/O
160 drive (160 SSC variable speed drive) PanelViewt terminal (PanelView 600 DeviceNet color terminal)
Directions: 1. On your workstation, identify the following devices and their features: A. 1756-DNB scanner module in slot 7: - LED lights - Manual configuration button B. RediSTATION operator input: - Two momentary pushbuttons - Pilot light C. Photoelectric sensor: - LED lights (top) - Reflector D. ArmorBlock MaXum I/O: - Outputs 0 and 1 E. 160 drive: - LED lights - DeviceNet communication module (160-DN2) F. PanelView 600 DeviceNet color terminal: - Function and numeric keypads - External power G. Cable connections to all devices
Rev. February 2001 E 2001 Rockwell International Corporation. MAPs56r
3-18
2. Verify the a node address of 0 and a baud rate of 125k are assigned to the 1756-DNB scanner module.
"
If correct address and baud rate are not displayed on the LED, then reassign them. 3. Go online to the DeviceNet network through an Ethernet network.
"
If the RSLinx window does not show the 1756-DNB module in slot seven, or the DeviceNet network channel, refresh the view. 4. Verify that the following devices are displayed: 1756-DNB module at node 0 ArmorBlock MaXum I/O at node 1 Series 9000 photoelectric sensor at node 2 RediSTATION operator input at node 3 Bulletin 160 drive at node 4 PanelView 600 color terminal at node 5 5. Configure the 1756-DNB scanner module for your network by entering the following properties for the scanner module:
Parameter Interscan Delay Foreground to Background Poll Ratio Slot 8 milliseconds 2 Your workstation slot number Setting
6. Access the scanner and download the changes to the scanner. 7. To verify the operation of the photoelectric sensor, perform the following test: A. Access the Device Parameters tab for the photoelectric sensor.
"
Download the software configuration to the device. B. Start monitoring all parameters. C. What is the value for the Output parameter (ID 2)?
D. Place your hand between the photoelectric sensor and the reflector.
3-19
E. What is the value for the Output parameter (ID 2) when your hand passes between the sensor and the reflector?
"
The functional specification for the compressor assembly project requires the photoelectric sensor output value to be a 1 (on) when a compressor passes between the sensor and the reflector. F. If your hand represents a compressor on the conveyor, does this operation match the needs of the functional specification?
G. If the photoelectric sensor is not operating as desired, change the Operate Mode parameter (ID 1) and download the change. H. Which mode did you choose?
I. Monitor all parameters again, and test your change. 8. Access the scanner module properties. 9. Click the Scanlist tab and clear the Automap on Add option.
"
If the scanlist is already created, remove all of the devices. 10. Create a scanlist that includes the following devices in this order: A. ArmorBlock MaXum I/O at node 1 B. Series 9000 photoelectric sensor at node 2 C. RediSTATION operator input at node 3
"
The 160 drive and the PanelView terminal require additional set up and will be configured in a different lesson. 11. Click the Input tab. 12. To match the data in the controller and to simplify its organization, set the alignment option to DWord Align. 13. Map each device input in the 1756-DNB scanner module. 14. Map each device output in the 1756-DNB scanner module.
3-20
15. Download the information to the scanner. 16. To write the ladder logic that will control the devices in the next lesson, identify the Logix5000 tag addresses to be used by the DeviceNet devices:
Device Information Source Bit Green/Start input RediSTATION operator interface e ace Red/Stop input RSNetWorx Help system Light output (solid) Series 9000 photoelectric sensor ArmorBlock MaXum I/O Logix5000 Address(s)
17. Apply and download the changes. 18. Save the RSNetWorx for DevieNet .dnt configuration using your name or station number in the Student folder located in C:\CCP144. 19. Record the total number of input Dints that are mapped:
20. Record the total number of output Dints that are mapped:
Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.
3-21
3-22
Answers
Exercise
4. An example RSNetWorx for DeviceNet screen is shown in the following graphic:
7. The photoelectric sensor should be operating in the following manner: F. Your hand (the compressor) should break the beam and change the value to on when it passes between the sensor and the reflector. H. If the parameter is correctly set, change it to Dark Operate mode.
3-23
10. The devices should be added to the scanlist in the following manner:
3-24
"
If you mapped in a different order or did not select DWord Align, your mapping may be different.
3-25
"
If you mapped in a different order, or did not select DWord Align, your mapping may be different.
"
Device RediSTATION Operator Interface Series 9000 photoelectric sensor Armor Block MaXum I/O
If you mapped your device in a different order, or did not select DWord Align, your addresses will be different.
Information Source Bit Green/Start input Red/Stop input Light output (solid) Logix5000 Address(s) Local:7.I.Data[2].1 Local:7.I.Data[2].0 Local:7.O.Data[1].0 Local:7.O.Data[1].1 Local:7.I.Data[1].0 Local:7.O.Data[0].0 Local:7.O.Data[0].1
3-26
Lesson
Write ladder logic to control a DeviceNet device Why These Skills Are Important
Being able to correctly configure a Logix5000 controller to control a DeviceNet device is important for the following reasons: Setting the scanner to Run mode is required to have the scanner communicate with the devices or the controller.
Adding a 1756-DNB Scanner Module to the I/O Configuration of an RSLogix 5000 Project
To configure a DeviceNet network in a Logix5000 system, the 1756-DNB scanner module must be added to the I/O configuration of the associated RSLogix 5000 project, as shown in the following graphic:
4-2
Adding the 1756-scanner module to the I/O configuration allows you perform the following actions: Monitor the 1756-DNB scanner tags
Address the scanner tags in ladder logic Select the module as the target device when configuring a
message Important: When adding the module, the input and output data sizes in total Dints must be specified. To guarantee communications, each total must include the number of words mapped plus one additional word for status data.
Example: Input and Output Words The number of words mapped can be determined in RSNetWorxt for DeviceNet software, as shown in the following graphic:
Mapped Dints
4-3
Output Tags
Status Tags
Run
Fault
Disable Network
Halt Scanner
Reset
4-4
Bit Setting
Any controller bit, including the CommandRegister.Run, bit can be set using the following techniques: Manually change the tag in the Monitor Tags window Program ladder logic to automatically set the bit
64-Bit Tables
Some of the tags, such as the DeviceFailureRegister, are arrays of 8 bytes of data. The 8 bytes typically contain a bit for every possible node number (0 through 63) that is in the scanlist of the 1756-DNB module, as shown in the following graphic:
Node 0
Array
Node 63
Alias Review
Alias tags are commonly used to rename the automatically generated I/O tags that have complex naming structures. For example, Motor_Start can be an alias tag for Local:2:I.Data.15
"
If ladder logic has already been written for a device that is being replaced by a DeviceNet device, and the tag is an alias, simply change the base tag to the DeviceNet address.
4-5
Use advanced mapping to map the upper portion of the data into
its own word: - This option allows you to separate the data by bytes and place them into specific addresses, as shown in the following graphic:
Heres How
To configure a Logix5000 controller to control a DeviceNet device by performing the following actions: To add a 1756-DNB scanner module to the I/O configuration of an RSLogix 5000 project
4-6
Heres How
To configure a Logix5000 controller to control a DeviceNet device. As your instructor demonstrates, refer to the following example:
Example
Input
Output
Exercise A
In this exercise, you will configure a Logix5000 controller to control DeviceNet devices. Context: You are part of a team that has programmed a Logix5000 compressor assembly line. Your company has just retrofitted part of the production line with a DeviceNet network. The 1756-DNB scanner module is configured, the scanlist is complete, and the device input and output data is mapped. You are now ready to configure a Logix5000 controller to control a DeviceNet device. Directions:
"
In this lesson, the analog meters are inactive. 1. Open or maximize your RSNetWorx for DeviceNet configuration file stored in the Student folder in C:\CCP144. 2. Verify that your Slot_3.acd file is running in the controller in slot three.
"
If you have not been working on this file in previous lessons, open the LAD_Slot_3.acd project stored in the DeviceNet_Ladder folder located in C:\CCP144. Download the project to the controller and then change the controller operating mode to Remote Run. 3. In a second instance of RSLogix 5000 software, open or maximize your Slot_1.acd project stored in the Student folder located in C:\CCP144.
4-7
"
If you have not been working on this file in previous lessons, open the LAD_Slot_1.acd project stored in the DeviceNet_Ladder folder located in C:\CCP144. 4. Add the 1756-DNB scanner module in slot 7 to the I/O configuration of the project. 5. Examine the module tags that are created. 6. In the Conveyor Main Routine, write the ladder logic required to set the 1756-DNB scanner to Run mode. 7. Based on your mapping in RSNetWorx software, retrofit several existing devices by performing the following actions: A. In the Conveyor program tags, change the alias of the Start tag to the address for the RediSTATION green start pushbutton. B. In the Conveyor program tags, change the alias of the Stop tag to the address for the RediSTATION green stop pushbutton. C. In the Controller tags, change the alias of the Part_Sensor tag to the photoelectric sensor input. 8. Edit rung one in the Conveyor_Control routine in the Conveyor program, to illuminate the RediSTATION output when the production line is in process:
9. Edit rung zero in the Press_Control routine in the Station_1_Press program, to make both the existing operator panel light (Station_Output) and the new MaXum I/O output (the press machine) active at the same time:
Add One Output
4-8
10. Save the project as Slot_1.acd in the Student folder located in C:\CCP144. 11. Download the project to the controller in slot one and go online. 12. Place the controller in Remote Run mode. 13. Verify that your ladder logic is correctly programmed by performing the following actions: A. Verify that the following action occurs: - The CommandRegister.Run tag is set to Run mode. - The scanner LED displays RUN. B. Press the green start button on the RediSTATION operator input and verify that the following actions occur: - The conveyor output light (DO1) is illuminated on the workstation - The red pilot light is illuminated on the RediSTATION operator interface C. Place your hand between the photoelectric sensor and the reflector and verify that the following action occurs: - The process starts on the Logix5000 workstation (the press machine light (DO1) is illuminated) and the MaXum Armor Block I/O point one (not zero) is active D. After the machines stops and the conveyor is on (DO1), place your hand between the photoelectric sensor and the reflector again and verify that the following action occurs: - The process cycles again: (the press machine light (DO1) is illuminated, the MaXum Armor Block I/O point one is active, and then the stake machine light (D04) is illuminated). 14. Go offline.
If all boxes in Step 13. are checked, then you have successfully configured a Logix5000 controller to control DeviceNet devices. Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.
4-9
Exercise B
In this exercise, you will configure a Logix5000 controller to control a more complex DeviceNet device. Context: You have just programmed the Logix5000 controller to control several DeviceNet devices. You have also tested your work. Confident with your first programming attempt, you are now ready to try creating more advanced ladder logic that accomplishes the following control of a 160 drive (160 SSC variable speed drive). The 160 drive runs forward to 60 Hz.
When the 160 drive reaches 60 Hz, the controller slows down and
reverses direction. Once the 160 drive is running in reverse at 60 Hz, the sequence is restarted. Important:
If the 160 drive faults at any time, turn off the chassis power and then the DeviceNet network power. After the LEDs on the 160 drive are off, in this order, restart the network power followed by the chassis power.
Directions: 1. In RSNetWorx for DeviceNet software, access the properties for the 160 drive and upload them.
"
Per the device documentation, several parameters must be set in order to send commands to the device (i.e., change speed, etc.). 2. Set the following parameters and download all changes to the 160 SSC drive: A. Set the Input Mode (ID 46) to Network Control. B. Set the Reset Functions (ID 56) to Reset Input Mode. C. Set the Frequency Select (ID 59) to Internal Freq. D. Set the Output Assembly (ID 107) to 21. E. Set the Input Assembly (ID 108) to 71.
"
Parameters 107 and 108 determine the data formats used by the 160 drive. 3. Review the data formats in the - SSC 160 Variable Speed Drive Data Assembly appendix. 4. In your RSNetWorx for DeviceNet project, access the scanlist and clear the Automap on Add option. 5. Add the 160 drive to the scanlist. 6. Using the DWord Align option, map the 160 drive inputs.
4-10
7. Using the DWord Align option, map the 160 drive outputs. 8. In addition to the Dint just mapped for the 160 drive outputs, use Advanced Mapping to map the Speed Reference RPM to a separate word.
"
This will allow you to easily move a new value into a mapped word (instead of the bits 16 to 31 of a Dint). 9. Download the changes to the scanner. 10. From your scanner mapping, identify the input and output words mapped for your 160 drive:
11. Save the network configuration using your name or station number for the file name. 12. Go offline to the project in the controller in slot one. 13. In the Conveyor program, create a Drive routine. 14. In the Conveyor Main Routine, create a JSR instruction to access the Drive routine. 15. Open the Conveyor program tags.
"
If you are working with your own Slot_1.acd project, you will not have these tags. In a second instance of RSLogix 5000 software, open the Copy.acd project stored in the Student folder located in C:\CCP144. Copy the tags from the Drive program into your project. 16. Based on your mapping for the 160 drive and the information in the appendix, change the base tags for the following aliases:
"
To keep the tags grouped together, the same starting characters were used for each tag. A. Drive_Run_Fwd B. Drive_Run_Rev C. Drive_Fault_Reset D. Drive_Net_Control E. Drive_Net_Ref F. Drive_Speed_Reference_RPM (separate word) G. Drive_Faulted H. Drive_Running_Forward
4-11
I. Drive_Running_Reverse J. Drive_Ctrl_From_Net K. Drive_Ref_From_Net L. Drive_At_Speed 17. To understand its function, review the following ladder logic that will be used to control the drive:
"
You can also copy the completed ladder logic. In a second instance of RSLogix 5000 software, open the Copy.acd project stored in the Student folder located in C:\CCP144. Copy the ladder logic into the Drive routine in your project. 19. Save the project. 20. Download the project to the controller in slot one and go online. 21. Place the controller in Remote Run.
4-12
22. Verify that you correctly programmed the ladder logic to control the 160 drive by performing the following actions and placing a check in each completed box: - The 160 drive runs forward to 60 Hz. - When the 160 drive reaches 60 Hz, the controller slows down and reverses direction. - Once the 160 drive is running in reverse at 60 Hz, the sequence is restarted. - In RSNetWorx for DeviceNet software, the 160 driver ID 30 displays a speed close to 1500 RPM. 23. Go offline.
If all boxes in Step 22. are checked, then you have successfully configured a Logix5000 controller to control a more complex DeviceNet device. Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.
4-13
4-14
Answers
Exercise A
4. The I/O configuration should look like the following:
6. The following ladder logic should be created to set the scanner to Run mode:
7. The following changes were made to the alias tags: A. and B. Start and Stop tags:
C. Part_Sensor tag:
4-15
8. The following ladder logic should be created to control the output light:
"
9. The following ladder logic should be created to control the ArmorBlock MaXum I/O point:
Added Logic
4-16
Exercise B
7. and 8. The following advanced mapping was used to map all of the output data and then to separately map the speed word:
Full Dint
15. With the module in slot 7, (input mapping 7:1.Data[3] and output mapping 7:O.Data[2]), the following addresses are used: A. Drive_Run_Fwd: Local:7:O.Data[2].0 B. Drive_Run_Rev: Local:7:O.Data[2].1 C. Drive_Fault_Reset: Local:7:O.Data[2].2 D. Drive_Net_Control: Local:7:O.Data[2].5 E. Drive_Net_Ref: Local:7:O.Data[2].6 F. Drive_Speed_Reference RPM (Low Byte):Local:7:O.Data[3] G. Drive_Faulted: Local:7:I.Data[3].0 H. Drive_Running_Fwd: Local:7:I.Data[3].2 I. Drive_Running_Rev: Local:7:I.Data[3].3 J. Drive_Ctrl_From_Net: Local:7:I.Data[3].5 K. Drive_Ref_From_Net: Local:7:I.Data[3].6 L. Drive_At_Speed: Local:7:I.Data[3].7
E 2001 Rockwell International Corporation. Rev. February 2001 LADs56r
Lesson
Configure a chassis Configure network properties Why These Skills Are Important
Having the skills to correctly configure an offline ControlNet network is important for the following reasons: Creating a configuration file will provide a back-up security for fast application recovery. Creating an offline network configuration, configuring device parameters, and configuring a chassis will ensure a networks physical components match those components for which that network was designed. Configuring network properties improperly can result in the failure of an application or make it impossible to access the network from a programming device.
5-2
The software offers the following benefits: Flexible, easy-to-use, Windows-based editors and components
Point-and-click network configuration Ability to copy and paste network configurations, chassis, or
devices between configurations RSNetWorx for ControlNet Main Window The RSNetWorx for ControlNet main window contains the following components:
Window Title Bar Toolbar Check Box Hardware List Split Bar Scroll Bar Message View Tab Network Configuration Menu Bar Network Usage View Minimize, Maximize, and Close Buttons
Status Line
"
For your reference, graphics and definitions for these common components are provided in the Glossary of the ControlNet Networks Procedures Guide. RSNetWorx for ControlNet Toolbar The RSNetWorx for ControlNet toolbar provides easy access to the softwares most-commonly used components:
New
Save
Cut
Paste
Zoom In
Show Favorites
Open
Copy
Refresh
5-3
Configuration File
An RSNetWorx for ControlNet configuration file is a single file that is created when you save a network configuration using RSNetWorx for ControlNet software. It serves as both a record of a network (containing network parameters, device properties, media configuration, etc.) and a safety measure, ensuring that a network can be returned to original working order should a malfunction occur. The configuration file must always have an .xc extension.
Network Configuration
A network configuration is a graphic or spreadsheet representation of a physical ControlNet network. To design a ControlNet network before the physical network is available, a network configuration can be created offline using RSNetWorx for ControlNet software. The following graphic shows a spreadsheet representation of a network configuration:
Hardware List When creating an offline ControlNet network configuration, a device is selected from the hardware list to be placed in the network configuration. The hardware list contains all available devices. A device can be found in the hardware list through searching by one of the following types: Vendor type Category type
5-4
The following graphic partially shows the communications adapter category within the hardware list:
Device Parameters
Device parameters define a devices identity on a ControlNet network. The following general parameters for a device can be configured using RSNetWorx for ControlNet software: Name of device
5-5
The following information can be found in an EDS file: Description of the EDS file history, which includes the following file information: File name Create time Modification time Revision number Description of the device, which includes the following device information: - Vendor - Product type - Revision number - Product name - Catalog number Input and output information Device-configurable parameters The following graphic shows how this information is displayed in an EDS file:
EDS Wizard RSNetWorx for ControlNet software provides a tool for working with EDS files. The EDS Wizard allows users to perform the following actions with EDS files: Register EDS-based devices Create an EDS stub Remove a device from the registry
5-6
Chassis Configuration
Chassis configuration defines a chassis identity on a ControlNet network. The following parameters for a chassis can be configured using RSNetWorx for ControlNet software: Type of chassis Addressing mode [1771 only]
- What devices can access a network - When devices can transmit data on a network - What channel devices can use to transmit data Media configuration that defines the wait time between each
devices data transmission Networks use an arbitration scheme to enforce these defined guidelines. ControlNet Networks use CTDMA (Concurrent Time Domain Multiple Access) as an arbitration scheme. Based on network properties, CTDMA allocates the following types of bandwidth: Scheduled bandwidth for qualifying network devices
Unscheduled bandwidth for qualifying network devices Guardband bandwidth for network maintenance
5-7
CTDMA (Concurrent Time Domain Multiple Access) ControlNet networks arbitration scheme, CTDMA, allocates bandwidth based on the time critical nature of the data being transmitted. When network properties are configured, the time-sensitivity of a devices data is established. CTDMA then reserves bandwidth in the following manner: CTDMA reserves (schedules) bandwidth in advance for each node configured with time-sensitive data to deterministically and repeatably deliver its data.
Scheduled Bandwidth Scheduled bandwidth on a ControlNet network has the following characteristics: The length of scheduled bandwidth is defined by how long it would require all scheduled nodes to transmit scheduled (i.e. time-critical) data, including I/O data and peer-to-peer interlocking data, during a user-defined interval. Access to scheduled bandwidth is user-configured.
Scheduled bandwidth is utilized in the following manner: Each node, from node one to the last node given access by the user, is allowed to transmit up to 510 bytes of data once during a user-defined interval.
signals the network to move to the next scheduled node. Nodes wait a given amount of time for each missing node from node one to the last given access by the user. The boundary between scheduled bandwidth and unscheduled bandwidth moves depending on how much data each node sends during the scheduled bandwidth.
5-8
Example: Scheduled Bandwidth The following graphic shows how scheduled bandwidth is used on a ControlNet network:
Network Update Interval Scheduled Unscheduled Guardband 1 2 1 3 S
Nodes, one through the last given access by the user, transmit data every interval.
1 3 S
Nodes wait for each missing node.
3 S
The boundary moves depending on utilization of bandwidth.
Unscheduled Bandwidth Unscheduled bandwidth has the following characteristics: The length of unscheduled bandwidth is defined by how long it would require at least one node to transmit unscheduled (i.e., non-time critical) data, including all programming and operator interface data, during an user-defined interval. Access to the network and unscheduled bandwidth is configured by the user. Access to the network is defined by the node with the highest network address that must communicate on the network. Unscheduled bandwidth is utilized in the following manner: Each node, from node one to the last node given access to the network, has a shared opportunity to send data on a round-robin basis until unscheduled bandwidth is exhausted.
signals the network to move to the next node. Nodes wait a given amount of time for each missing node from node one to the last node given access to the network. At least one node will have an opportunity to transmit data during each user-defined interval.
5-9
Example: Unscheduled Bandwidth The following graphic shows how unscheduled bandwidth is used on a ControlNet network:
Network Update Interval Scheduled Unscheduled Guardband 1 2 2 3 3 3 4 5 U 5U
1
Nodes wait for each missing node.
Guardband Guardband is the portion of a each interval provided for network maintenance. Guardband is utilized in the following manner: The moderator (node with the lowest node number on the network) distributes network-wide parameters to all devices. The guardband contains the following data: - Network parameter changes - Network parameters for newly added nodes Network Parameters The following network parameters are configured using RSNetWorx for ControlNet software in order to configure how the CTDMA provides access to the networks nodes: Network update time (NUT)
Maximum scheduled node (SMAX) Maximum unscheduled node (UMAX) Media redundancy
5-10
Network Update Time The network update time is the user-configured repeatable base time at which the network can transmit data. One interval on the network is equal to the network update time. In order for a network to operate properly, the network update time must meet the following requirements: Must be configured for between 2 and 100 milliseconds
Must at least match the fastest rate any two nodes must
communicate Must be large enough to allow the required amount of network traffic to pass Maximum Scheduled Node Maximum scheduled node is a user-configured parameter that defines access to scheduled bandwidth. In order for a network to operate properly, the maximum scheduled node should meet the following recommendations: Maximum scheduled node will be the address of the highest node to communicate on the scheduled bandwidth. Maximum scheduled node will not leave empty node addresses below maximum scheduled node, because it is a waste of scheduled bandwidth.
"
Placing all scheduled nodes in a group before all unscheduled nodes will decrease the waste of scheduled bandwidth on a network. Maximum Unscheduled Node Maximum unscheduled node is a user-configured parameter defining access to the network. In order for a network to operate properly, the maximum unscheduled node should meet the following recommendations: Maximum unscheduled node will be the address of the highest node to communicate on the network. Maximum unscheduled node will not leave empty node addresses below maximum unscheduled node, because it is a waste of unscheduled bandwidth.
5-11
Media Redundancy Media redundancy is a user-configured parameter that defines the channel on which data will be transferred. In order for a network to operate properly, media redundancy must must be configured for one of the following options:
If you are using . . . One cable system using channel A only One cable system using channel B only Both channel A and B (redundant media) A only. B only. A/B. Use this option . . .
Media Configuration In order for RSNetWorx for ControlNet software to create an accurate slot time to wait for missing nodes, a media configuration must be created. The media configuration consists of a list of any cable or repeaters used by the media system and their quantity. Important: Inaccurate or incomplete media configurations can result in a slot time that is too fast. This will result in a loss of communications to the node.
A media configuration is created on the Media Configuration property page accessed from the network properties window:
5-12
Heres How
To configure an offline ControlNet network by performing the following tasks: Create a configuration file
Create an offline network configuration Configure device parameters Configure a chassis Configure network properties
As your instructor demonstrates these procedures, follow along in the ControlNet Network Procedures Guide.
Exercise
In this exercise, you will configure an offline ControlNet network. Context: The CNET Coasters network is being installed. As the lead designer of the CNET Coaster, it is now your responsibility to configure the ControlNet network for the roller coaster offline. The network configuration file you create will be an excellent reference for network information and will act as a back-up should any malfunction occur. Directions: 1. Create a configuration file.
"
To understand the requirements of the application, review section two of the Functional Specification appendix. 2. Create an offline network configuration. 3. Configure device parameters. 4. Configure chassis. 5. Configure network properties. 6. Save the configuration.
Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.
5-13
5-14
Answers
Exercise
The network configuration should look similar to the following graphic if you have completed the following actions correctly: created a configuration file created an offline network configuration
If you have configured your network correctly, the Network Parameters property page should look like the following graphic:
5-15
If you have configured your network correctly, you should have made no alterations to the default configuration shown on the Media Configuration property page.
5-16
RSLinxt Software
RSLinx software is used to create and edit the configuration of communications drivers required by various software programs to communicate with networks and their devices. RSLinx software is also used to select communications paths for uploading, downloading, going online, updating firmware, and sending files. RSWho Window After a driver is configured, the corresponding network can be found in the RSWho window. The RSWho window in RSLinx software is used to view active networks. Important: Once opened, RSLinx software can be minimized but not closed. Closing the software while it is in use will end communications between the computer and the network.
6-2
The RSWho window, which shows networks in a tree structure similar to Windowsr Explorer, is show in the following graphic:
Available Networks
Communications Driver
A communications driver is a piece of software that acts as a translator between a device and any software program that communicates with that device. It provides the user with the following capabilities: Enables a user to access a network with a computers communications card
6-3
Important:
6-4
The addresses are set using dip switches on the card, as shown in the following graphic:
DIP Switches
For ControlNet scheduling, the 1784-KTCX15 card should be assigned a node address that meets the following guidelines in order to conserve bandwidth: A node address that is above maximum scheduled node (SMAX) but below maximum unscheduled node (UMAX). This will help better utilize scheduled bandwidth because the card will only be used for unscheduled communications. A node address that does not to skip node numbers because skipping node numbers wastes unscheduled bandwidth. 1784-PCC Communications Card A 1784-PCC communications card allows you to connect a programming device such as a laptop/notebook computer to any device with a network access port (i.e. processors, scanners, adapters, etc.) to communicate with other ControlNet products. To configure a driver for a 1784-PCC communications card, a separate driver for the operating system must be installed in order for the communications card to function. The correct driver files must be used for the computers operating system: Windows 95/98/Me systems require a Virtual Device Driver (VXD), which contains .inf and .vxd files. Windows NTr requires an NT driver, which uses setup.exe, unpccnt.exe, and pcc_config.exe files.
6-5
For ControlNet scheduling, the 1784-PCC card should be assigned a node address that meets the following guidelines in order to conserve bandwidth: A node address that is above maximum scheduled node (SMAX) but below maximum unscheduled node (UMAX). This will help better utilize scheduled bandwidth because the card will only be used for unscheduled communications.
"
RSNetWorx for ControlNet software will automatically adjust maximum scheduled node to accommodate the 1784-PCICS communications card if it is not done by the user.
6-6
Online Path
The Browse for Network dialog box in RSNetWorx for ControlNet software is used to set an online path between the computer and the network. With an online path, the computer will be able to go online to the network and will be able to download or upload configuration data:
Available Networks
Heres How
To go online to a ControlNet network by performing the following tasks: Configure a communications driver
Go online to a network
As your instructor demonstrates these procedures, follow along in the ControlNet Networks Procedures Guide.
6-7
Exercise
In this exercise, you will go online to a ControlNet network. Context: The CNET Coasters network has been installed and the offline network configuration file has been created. As the lead designer of the CNET Coaster, it is now your responsibility to configure the communications driver and go online to the network. This will provide all devices on the network with the basic guidelines of how the Coasters network will operate and will also act as a safety check that will ensure the network installed is identical with the network designed to meet the functional specifications. Directions: 1. Configure a communications driver. 2. If it is not open already, open the network3.xc network configuration file. 3. Go online to the CNET Coasters network. 4. Download the configuration file to the network.
"
How Did You Do?
For help, see the ControlNet Networks Procedures Guide. Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.
6-8
Answers
Exercise
1. If you have a KTCX15 communications card and have configured the driver correctly, the driver configuration window should look similar to the following graphic:
Network Address
I/O Base Address as It Was Set Physically on the Card Memory Address as It Was Set Physically on the Card
If you have a PCC communications card and have configured the driver correctly, the driver configuration window should look similar to the following graphic:
Network Address
6-9
If you have a PCIC communications card and have configured the driver correctly, the driver configuration window should look similar to the following graphic:
2. If you have gone online successfully, you will receive the following system responses:
A online status icon appears to be scanning in the upper right All channel LEDs on all devices should match the media
redundancy configuration. configuration.
"
If status icons appear over the nodes in the network configuration, it is likely that the online device is not of the same revision as the device in the offline configuration file or that the EDS file for the device must be registered.
6-10
Lesson Entering Scheduled ControlNett I/O Data Connections for Logix5000t Controllers
What You Will Learn
After completing this lesson, you will be able to enter scheduled I/O data connections for Logix5000 controllers to fit the functional specification of an application by performing the following tasks: Add a Logix5000 ControlNet bridge to an I/O configuration Add a Logix5000 I/O module to an I/O configuration
Schedule communications for Logix5000 controllers Why These Skills Are Important
Having the skills to correctly enter scheduled I/O data connections is important for the following reasons: Entering scheduled I/O data connections defines how and when data is transferred over a network between devices.
connection ensuring that data is transferred over a network how and when the scheduled data connection dictates.
7-2
The following graphic is a standard configuration of the RSLogix 5000 main window:
Results Window
I/O Configuration
All devices that communicate with a controller must be added to the I/O configuration of the controller project, as shown in the following graphic:
Remote Devices Communicating over a ControlNet Network Local Device Communicating over the Backplane
7-3
Communications Format
The communications format selected for an I/O module defines the following components of communications between the controller and the target device: Connection optimization Ownership
Connection Optimization
Each module in a Logix5000 system supports a limited number of active connections. The number of available connections for a device depends on the type of communications format selected, which defines the connection optimization. The following connection optimization options are available: Direct connection Rack optimization
7-4
Direct Connection A direct connection is a real-time data transfer link between the controller and any I/O module in a local or remote chassis. A direct connection has the following characteristics: If a controller has an I/O configuration that references a slot in the chassis, the controller periodically checks for the presence of the device in the slot:
Example: Direct Connection With direct connections, data from three analog I/O modules in a remote ControlLogixt chassis is sent at three different rates, as shown in the following graphic:
Controller Remote I/O Modules
5 ms 40 ms 20 ms
7-5
Rack Optimization Rack optimization is a link that consolidates the connections between a controller and the digital I/O in a remote chassis. A rack optimized connection has the following characteristics: Data is sent to all rack-optimized digital modules at one rate, as specified by the remote 1756-CNB module.
Device status and diagnostic information is limited. Eight bytes of data are automatically added per chassis slot when
producing arrays. Important: Rack optimized connections can only be used by digital remote I/O modules.
Example: Rack Optimization Data from three digital I/O modules in a remote chassis is sent simultaneously at a rate specified by the 1756-CNB module, as shown in the following graphic:
Controller Digital Remote I/O Modules
5 ms (Rate of 1756-CNB)
Important:
For remote chassis, rack optimization conserves ControlNet connections and bandwidth. However, it limits all modules to one rate, and it disables the transfer of status and diagnostic information.
"
Placing remote digital I/O in the same chassis and selecting a Rack-Optimized option for the communications format of the remote communication device conserves connections when using remote I/O.
7-6
Example: Direct Connections vs. Rack Optimization The following table outlines the number of connections used when a direct connection communications format is selected for each module:
Connection Type Controller to local 1756-I/O modules Controller to remote 1756-I/O modules Controller to remote 1756-CNB module Connections Per Module 1 1 1 Module Quantity 2 3 1 Total Total Connections 2 3 1 6
The following table outlines the number of connections when using rack optimization for the same modules:
Connection Type Controller to local 1756-I/O module Controller to remote 1756-CNB module Connections Per Module 1 1 Module Quantity 2 1 Total Total Connections 2 1 3
Ownership
Controllers can be assigned varying levels of ownership that define their relationship to a module. The following connection types connote different levels of ownership a controller can have: Owner connection Listen-only connection
7-7
Owner The owner connection type is a connection between a single target and a controller. An owner connection type has the following characteristics: Every I/O module in a Logix5000 system must be owned by a Logix5000 controller:
- Output modules can have only one owner. - Input modules can have multiple owners. Owners can be local or remote. The owner controller sends configuration data to the module to
define behavior and begin operation. Each module must maintain communications with a minimum of one owner to continue operation.
identical configuration for that module and conform to the following guidelines: - The first owner to establish a connection with the input module sends the configuration data. - The configuration data of all other owners is compared to the first modules configuration data. - If another controller attempts to connect with the module and any configuration parameter is different, the connection for the second controller will not be established and an error will occur. To ensure that the module configurations for two owner controllers projects are identical, copy the configured module from the I/O Configuration folder of one controllers project and paste it in the I/O Configuration folder of the second controllers project. If an owner breaks connection with the module, the module will continue to multicast data because of the connection maintained by an alternate owner, as shown in the following graphic:
Ownership Broken Ownership Maintained
Important:
Important:
Input Module
7-8
Listen-Only Connection The listen-only connection type is a connection that can be established only in addition to an owner connection and only after the owner connection has already been launched. A listen-only connection type has the following characteristics: Any module can listen to data from an I/O module even if it is not an owner.
The listen-only controller does not need to hold the I/O modules
configuration. A listen-only controller will not receive configuration data. Important:
If the connection between the owner and the module is broken, all listen-only connections are also lost, as shown in the following graphic:
Connection Broken Listen-Only Connection Also Lost
Input Module
Important:
Electronic Keying
Electronic keying is a safety feature that compares the user-supplied information for a module to the actual module information that is read online. The following information is used for the comparison: Vendor Product type
7-9
"
Do not try to match the requested packet interval with the network update time. Either let RSNetWorxt for ControlNet software select the best possible rate, or enter the highest tolerable rate based on the application. This will utilize scheduled bandwidth more efficiently and possibly provide more unscheduled bandwidth for the network.
7-10
Example: Actual Packet Interval If your requested packet interval is 22 ms and your network update time is 5 ms, then you could find the actual packet interval by comparing it to the closest binary multiple of the network update time that is equal to or faster than the requested packet interval. Binary multiples (1, 2, 4, 8, 16, 32, 64, 128) of the network update time are 5 ms (1*network update time), 10 ms (2*network update time), 20 ms (4*network update time), 40 ms (8*network update time), etc. The actual packet interval is 20 ms (binary multiple of 4 * network update time of 5), based on the following reasons:
requested packet interval of 22 ms. 40 ms would update the data too slowly, creating a possible hazard to application success. 10 ms would update the data too fast, creating an unnecessary drain on network resources that could be allocated to other scheduled data connections or to unscheduled bandwidth.
Network Schedule
When you enter and configure scheduled data connections in RSLogix 5000 software, the software cannot schedule the connections so that their data is transferred over a ControlNet network. In order to schedule a ControlNet network, RSNetWorx for ControlNet software must be used. When the network configuration is saved, RSNetWorx for ControlNet software creates a network schedule. During this process, RSNetWorx for ControlNet software completes the following tasks: Calculates actual packet intervals of each data connection Evaluates the bandwidth requirements for actual packet intervals and data sizes of each data connection Schedules a connection pattern based on the evaluation of each data connection that most efficiently uses scheduled bandwidth Example: Network Schedule The following graphic demonstrates a network schedule. The schedule operates in following manner: A. The network updates at an interval of 5 ms as defined by the network update time. B. Connection A updates every network update interval, because its actual packet interval is 5 ms.
E 2002 Rockwell Automation. All rights reserved. Rev. March 2002 SL1s200
7-11
C. Connection B updates every second network update interval, because its actual packet interval is 10 ms. D. Connection C updates every fourth network update interval, because its actual packet interval is 20 ms. E. No more than two data connections are scheduled during each network update interval, using scheduled bandwidth more consistently. The following graphic shows the schedule:
Time_______5 ms________10 ms________20 ms_______30 ms_______40 ms_______50 ms Network Update Time = 5 ms Actual Packet Interval for Connection A = 5 ms Actual Packet Interval for Connection B = 10 ms Actual Packet Interval for Connection C = 20 ms
Network Update Network Update Network Update Interval 1 Interval 2 Interval 3 Connection A Connection B Connection C Connection A Connection A Connection B Network Update Network Update Network Update Interval 4 Interval 5 Interval 6 Connection A Connection A Connection B Connection C Connection A
Heres How
To enter scheduled ControlNet I/O data connections for Logix5000 controllers by completing the following tasks: Add a Logix5000 ControlNet bridge to an I/O configuration Add an I/O module to an I/O configuration Schedule communications for Logix5000 controllers As your instructor demonstrates these procedures, follow along in the ControlNet Network Procedures Guide.
7-12
Exercise
In this exercise, you will enter scheduled I/O data connections for a Logix5000 controller. Context: As the lead designer for the CNET coaster, you must configure the Logix5000 controller at node four to communicate with the analog module at node three, slot 0. This connection will serve as a speed check for the car after the first hill. The analog module will monitor the speed of the coaster and display it on a meter. If the car is too fast or slow after the first hill, a safety brake will be engaged by the Logix5000 controller and an alarm light will illuminate. Directions: 1. Open controller6.acd using RSLogix 5000 software. 2. Add the local 1756-CNB ControlNet bridge at node four, slot zero to the I/O configuration.
"
To understand the requirements of the application, review section six of the Functional Specification appendix. 3. Add the 1794-ACN15 communications adapter at node three to the I/O configuration. 4. Add the 1794-IE4XOE2/B analog module at node three, slot zero to the I/O configuration. 5. Add the 1794-IB10XOB6/A digital module at node three, slot one to the I/O configuration. 6. Download the project that contains the I/O configuration to the controller at node four, slot one.
"
For help, see the ControlNet Networks Procedures Guide. 7. Schedule communications. 8. Change the controllers operating mode to Run.
"
For help, see the ControlNet Networks Procedures Guide. 9. To simulate the speed of the roller coaster car, turn the pot on the Logix5000 controller box.
Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.
7-13
7-14
Answers
Exercise
To verify if the scheduled data connection is functioning properly, complete the following steps: 1. Verify that the meter changes with changes in the pot. 2. Verify that if the pot is not in the range of 4 to 6, the third pushbutton in the Logix5000 controller box illuminates to signify an alarm condition.
Lesson
8-2
TCP/IP TCP/IP is a transport-layer protocol and network layer protocol commonly used for communications within networks and across internetworks. This protocol is used where time is not a critical factor, such as uploading and downloading. UDP UDP is a simpler transport protocol used by devices that require minimal transport service. UDP is smaller, simpler, and faster than TCP and can operate in unicast, multicast, and broadcast mode. This network is used for real time I/O messaging. Ethernet/IP Ethernet/IP is a protocol that supports both real-time I/O and non-time critical messaging.
Topologies
The Ethernet network supports the following cabling topologies: Star Trunkline/dropline (bus)
Ring
The cabling options and data rates of an Ethernet network are outlined in the following table:
Cable Options 10 Base5 10 Base2 10 BaseT 10 BaseFL 10 Mbps Data Transmission Rate Maximum Cable Length 500 m 185 m 100 m 200 m N/A N/A Maximum Drop Cable Length 50 m Maximum Number of Nodes 100 30 2 (peer-to-peer) 1,024 per LAN 2 (peer-to-peer)
Component Terms
The following components may be part of a Logix5000 Ethernet network: Gateway: A device used to connect networks that use different protocols so that information can be passed from one network to another.
8-3
Transceiver: A device that connects a computer to a network. This device both receives and transmits signals. It switches the parallel data stream used on the computer into a serial data stream used in the cables connecting the computers. Bridge: A device used to connect two LANs. It allows devices on either network to access resources on the other. Bridges can be used to increase the length of a network or the number of nodes. A bridge makes connections at the data link layer of the Ethernet network model. Router: An address -sensitive repeater used to connect networks of different types, such as those using different architectures and protocols. Routers work at the network layer of the Ethernet network model, determine the best path for sending information, and filter broadcast traffic to the local network. Hub: A connectivity component that provides a common connection among computers in a star topology. Active hubs require electrical power and are able to regenerate and retransmit network data. Switch: A network device that cross connects devices or network segments. A switch provides each sender/receiver the full network bandwidth, reduces collisions, and increases determinism.
Addressing Terms
The following terms are defined as they apply to Ethernet network addresses: TCP/IP: An industry standard suite of protocols providing a routable, enterprise networking and access to the Internet and its resources. IP Address: A logical 32-bit address used to identify a device on an Ethernet network. An IP address must be in the format xxx.xxx.xxx.xxx, where each xxx is from 0 to 255. E.g., 130.150.131.100 or 130.151.138.9 Important: The first octet (level) of any IP address may not be 127, or a number greater than 223. These values are reserved. Your available plant IP addresses are assigned. Check with your plant IT person or network administrator for available IP addresses.
Important:
8-4
IP addresses have a network portion and a node portion of the address. The class of the address determines how many octets are in the network portion and how many are in the node portion, as detailed in the following table:
Class A B C Pattern Network.Node.Node.Node Network.Network.Node.Node Network.Network.Network.Node
Important:
For Rockwell Automation equipment, the first three octets of the IP address should exactly match the other Ethernet equipment that is communicating on the same network.
Subnet Mask: A mask that identifies which bits of an IP address correspond to the network and which bits correspond to the node. The subnet mask uses the same format as the IP address. E.g., 255.255.255.0. DNS (Domain Name Service): A method for resolving (pairing) computer IP addresses with alphanumeric computer names in a database. This allows computer users to identify computers and other devices by names rather than IP addresses. Default Gateway Address: The destination where an IP device sends data packets that are intended for remote networks: If a route to an exact destination is not configured, the packet is sent to the default gateway address.
8-5
Assigning a Computer IP Address As with a node number in other networks, an IP address cannot be assigned to more than one device, including a computer. A computer IP address can be dynamically or manually set, as shown in the following graphic:
Important:
If the IP address is dynamically assigned by a DHCP server, it will affect existing message configurations that point to a specific IP address.
8-6
Determining a Computer IP Address A computer IP address can be determined after it is assigned using an MS-DOSr IPConfig command, as shown in the following graphic:
Command Prompt
Command
Response
1756-ENET Module
A 1756-ENET communications bridge module, shown in the following graphic, connects a Logix5000 backplane to an Ethernet network:
Ethernet
AUI Connector
10 BaseT Connector
8-7
Health and Status Indicators The states of the TXD and RXD indicators are described in the following table:
If this indicator TXD RXD Is . . . Green Off Green Off Off Red, then flashing red or flashing green Green Red flashing Red Then the module is . . . Transmitting data Not active Receiving data Not active Not operating Performing powerup diagnostics Operating Not configured Unrecoverable fault
OK
AUI (Attachment Unit Interface) Connector An AUI connector is the connector used with standard Ethernet that often includes a cable running off of the main, or backbone, coaxial cable. If an application requires the module door to be closed, the following custom AUI connectors can be used: 1756-TC02 - 2 meters 1756-TC15 - 15 meters 10 BaseT Connector This port can be used to connect to the module using an RJ45 connector. MAC (Media Access Control) ID The MAC ID is a hardware address assigned to each device by the vendor. This address is marked on a label on the module.
"
Hardware addresses are limited to a unique band of numbers assigned to each vendor.
8-8
8-9
Assigning an IP Address to a 1756-ENET Module Using RSLinx Software An IP address can be assigned using RSLinx software, version 2.2 or later, as shown in the following graphic:
Cleared
Addresses
Adding a 1756-ENET Module to the I/O Configuration of an RSLogix 5000 Project An IP address can be assigned using RSLogix 5000 software. The 1756-ENET module must be added to the I/O configuration. After downloading the project, the address can be set, as shown in the following graphic:
Cleared
Must be Clicked
8-10
"
Adding a communications module to the I/O configuration of an RSLogix 5000 project allows you to select it as the target device in message procedures. This is much easier than manually building a communications path.
Successful Response
Networks
Important:
If you are using a ControlLogix system as a communications gateway, you must use the default driver name as assigned in RSLinx software. Change only the characters after the identifying portion of the driver name. For example, change TCP-1 to TCP-1PaperLine.
8-11
Expanded Tag
8-12
Chassis configuration, which allows you to select and view information on each module, is shown in the following graphic:
Location/Go to Line
Chassis Configuration
Heres How
To configure an Ethernet network in a Logix5000 system by performing the following tasks: Assign a computer IP address Determine a computer IP address Assign an IP address to a 1756-ENET module using RSLinx software
View data using the RSLinx Data Monitor View module information using 1756-ENET/B module web
pages As your instructor demonstrates these procedures, follow along in the Logix5000 Controllers Procedures Guide.
8-13
Exercise
In this exercise, you will configure an Ethernet network in a Logix5000 system. Context: You are part of a team that has programmed a Logix5000 compressor assembly line. In order to monitor and control the production line, a separate programming team has developed an RSView32t HMI application. Your team has decided to use an Ethernet network to transfer data between the controllers and the HMI application. You are now ready to configure a high speed Ethernet network for use in a Logix5000 system.
"
For addresses and subnet masks, refer to the Node Address Assignments appendix. Directions: 1. Manually assign the IP address, subnet mask, and default gateway address to your computer.
"
If any address is changed, reboot the computer. 2. Write the IP address of your computer:
3. Using an MS-DOS command, determine your computer IP address. 4. If not already done, connect the provided Ethernet cable to the 1756-ENET/B module in your workstation. 5. In RSLinx software, verify that a communications driver other than Ethernet has been configured. If not, configure a serial, DH+, or ControlNet communications driver.
"
For help, see your instructor or refer to the Logix5000 Controllers Procedures Guide. 6. Open the ETH_Slot_3.acd file stored in Ethernet folder located in C:\CCP144.
"
This project will be used to send data to the HMI project in another lesson. 7. Add the 1756-ENET/B module to the I/O configuration of the RSLogix 5000 project.
"
Be sure to download the project and assign the IP address, subnet mask, and default gateway address in the Node Address Assignments appendix.
E 2001 Rockwell International Corporation. ETHs56r
8-14
9. Does this IP address match the first three octets of your computer IP address as recorded in Step 2.?
10. Save this project as Slot_3.acd in the Student folder located in C:\CCP144.
"
This file will be required for other lessons. 11. Using an MS-DOS command, test your 1756-ENET module IP address. 12. Configure a TCP/IP communications driver that communicates with each workstation the classroom.
"
If a TCP/IP driver has already been configured, stop the driver, and then delete it. Then, configure a new TCP/IP communications driver that communicates with each workstation the classroom. 13. When the driver is running, examine the LEDs on the 1756-ENET module in your workstation. 14. Is the OK light steady green?
16. In the RSLinx RSWho window, expand the network branch for the TCP/IP driver that you created and view the modules in your backplane. 17. View the modules in another backplane. 18. View the data for the controller in slot 1 of your workstation using the RSLinx Data Monitor. 19. View the firmware revisions and other module information for the modules in your workstation using 1756-ENET/B module web pages.
Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.
8-15
8-16
Answers
Exercise
1. The IP address, subnet mask, and default gateway address of your computer should be assigned in the following manner:
3. The IP address, subnet mask, and default gateway address of the computer should be determined by typing IPConfig at the MS-DOS prompt. 7. The IP address and subnet mask of your 1756-ENET module should be assigned in the following manner:
8-17
11. The module should be tested by typing Ping followed by the IP address of the module in at the MS-DOS command prompt. 12. Your communications driver should contain the following configuration information:
15. The module RXD light should be flashing green to indicate that the module is receiving data. 19. Module information should be viewed by typing the IP address of a 1756-ENET module in the chassis in the Location/Go to line of a browser using the following format:
8-18
IP Addresses*
Separate ControlNet Network Computer: Station 3 1 2 3 20 3 13 1756-ENET module: Computer: Station 4 4 5 6 21 4 14 1756-ENET module:
Separate ControlNet Network Computer: Station 5 1 2 3 20 5 15 1756-ENET module: Computer: Station 6 4 5 6 21 6 16 1756-ENET module:
* The Ethernetr subnet mask for the classroom is: ______________ * The default gateway address is: ___________________________ Each DeviceNett network uses these addresses: 1756-DNB module at node 0 ArmorBlockt MaXum I/O at node 1
Rev. August 2001
Series 9000 photoelectric sensor at node 2 RediSTATIONt operator interface at node 3 160 SSC variable speed drive at node 4 PanelView 600 color DeviceNet terminal at node 5
E Rockwell Automation. All rights reserved. CAA_AP56r
A-2
Inputs
Outputs
AO0
AI0
DI0 DO0
DI1 DI2
DI5 Stake DO4 DO10 Open Wire Fault DO7 DI10 Reject DO8 DI4 DI7
Reset DI6
Conveyor
DI4 DO1
DI8 DO2
DI9
The following inputs and outputs devices on the Logix5000 workstation are used in this course:
Appendix
B-2
Appendix
0 1 2 3
Speed Reference RPM (Low Byte) Speed Reference RPM (High Byte)
Control Word
0 1
Speed Word
2 3
Speed Actual RPM (Low Byte) Speed Actual RPM (High Byte)
C-2
The following functional specifications are for the media system of the CNET Coaster: Downtime will not cause any noticeable loss in ride safety or park revenue. The application, while outside, should be considered a light industrial application. No future nodes will be added. A right-angle T-tap will be used for every node, except the 1756-CNB nodes.
80 m (262 ft)
60 m (196 ft)
1794-ACN Node 2
1794-ACN Node 3
D-2
Functional Specification
2. Network Configuration
The following functional specifications are for the network configuration of the CNET Coaster: In the 1794-ACN(R) Flex I/Ot rack at node two, a 1794-IE4XOE2/B analog input/output module will reside in slot zero and a 1794-OB16/A discrete output module will reside in slot one.
1794-IE4XOE2/B analog input/output module will reside in slot zero, and a 1794-IB10XOB6/A discrete input/output module in slot one. In the 1756-CNB chassis, a 1756-CNB will reside in slot zero, a 1756-L55 controller resides in slot one, and a 1756-IB16D/A discrete input module resides in slot two. All nodes except for the programming device should be able to transmit scheduled data. Important: If the device used for programming has scanner capabilites (i.e., a 1784-PCIC(S) communications card), then the device should be able to transmit scheduled data.
The fastest time a node must transmit data is every 10 ms. Nodes will use channel A. 600 m (1966 ft) of standard-PVC CM-CL2 coaxial cable will be
used. No repeaters will be used.
3. Scheduled I/O Data Connections for the PLC-5 Processor at Node One
The following parameters meet the functional specifications for all scheduled I/O data connections from the PLC-5 processor at node one. Data Files Data files for the PLC-5 processor at node zero should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Data File Status File Configuration File Data Input File Data Output File N/A 1000 1000 1000 File Size N12 N11 N9 N10 Address
Functional Specification
D-3
Safety Check One: Lap Bars Secure The I/O data connection that transfers all data relating to the lap bar safety check for the PLC-5 processor at node one should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Address Slot Device Name Connection Type Actual Packet Interval Requested Packet Interval Input Address Input Size Output Address Output Size Status Address Configuration Address Configuration Size N/A 01 1794-OB16/A Exclusive Owner 10 ms 10 ms N9:0 1 N10:0 1 N12:0 N11:0 2 Value
Safety Check Two: Drive System Speed Normal The I/O data connection that transfers all data relating to the drive system safety check for the PLC-5 processor at node one should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Address Slot Device Name Connection Type Actual Packet Interval Requested Packet Interval Input Address Input Size Output Address Output Size Status Address Configuration Address Configuration Size N/A 00 1794-IE4XOE2/B Exclusive Owner 40 ms 40 ms N9:1 4 N10:1 2 N12:3 N11:2 4 Value
D-4
Functional Specification
The following parameters meet the functional specifications for all scheduled messages from the PLC-5 processor at node one. Safety Check One and Two Sent to Logix5000 Controller at Node Four, Slot One The message that transfers all data relating to the lap bar and drive system safety check from the PLC-5 processor at node one to the Logix5000 controller should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Address Slot Device Name Buffer ID Connection Type Actual Packet Interval Requested Packet Interval Input Address Input Size Output Address Output Size Status Address Configuration Address Configuration Size 1 N/A PLC5/40C 1 Send Data N/A N/A N/A N/A N10:3 2 N12:6 N/A N/A Value
The following parameters meet the functional specifications for all unscheduled messages from the PLC-5 processor at node one. Entry Data Sent to Logix5000 Controller at Node Four, Slot One The message that transfers all data relating to entry figures from the PLC-5 processor at node one to the Logix5000 controller at node four should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Control Block Communication Command Data Table Address (This PLC-5) Size in Elements Port Number Data Table Address (Target Device) Multihop Multihop Path MG13:0 PLC-5 Typed Write N7:0 1 2 N7:0 Yes From This PLC-5 at From Port 2 to 1756-CNB Node at To Address 4 to From ControlLogix Backplane to 1756 Backplane Slot at To Address 1
Rev. August 2001
Value
Functional Specification
D-5
6. Scheduled I/O Data Connections for the Logix5000 Controller at Node Four
The following parameters meet the functional specifications for all scheduled I/O data connections from the Logix5000 controller at node four, slot one. Logix5000 ControlNet Bridge I/O Configuration The addition of the Logix5000 ControlNet bridge to the I/O configuration of the Logix5000 controller at node four, slot one should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Name Slot Electronic Keying Local_CNB 0 Disable Keying Value
Flex ControlNet I/O Adapter I/O Configuration The addition of the Flex ControlNet I/O adapter to the I/O configuration of the Logix5000 controller at node four, slot one should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Name Node Chassis Size Communication Format Electronic Keying RPI Speed_Check 3 2 None Disable Keying 20 Value
Flex Combo Analog Module I/O Configuration The addition of the Flex combo analog module to the I/O configuration of the Logix5000 controller at node four, slot one should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Name Slot Communication Format Electronic Keying RPI Input Configuration Output Configuration Speed_Check_IO 0 Data Disable Keying 20 All channels = 0 to 10 V / 0 to 20 mA All channels = 0 to 10 V / 0 to 20 mA Value
D-6
Functional Specification
Flex Combo Digital Module I/O Configuration The addition of the Flex combo digital module to the I/O configuration of the Logix5000 controller at node four, slot one should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Name Slot Communication Format Electronic Keying RPI Remote_Digital 1 Data Disable Keying 10 Value
The following parameters meet the functional specifications for all scheduled messages from the Logix5000 controller at node four, slot one. Safety Check Three Sent to the Processor at Node One The produced tag that transfers all data relating to the all-clear safety check from the Logix5000 controller at node four, slot one to the PLC-5 processor at node one should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Name Data Type Consumers Style produced_data DINT 1 Decimal Value
Functional Specification
D-7
The following parameters meet the functional specifications for all unscheduled messages from the Logix5000 controller at node four. Exit Data Sent to the Processor at Node One The message that transfers all data relating to exit information from the Logix5000 controller at node four, slot one to the PLC-5 processor at node one should match the following parameters in order to fulfill the functional specifications of the CNET Coasters network:
Parameter Control Block Communication Command Data Table Address (This PLC-5) Size in Elements Data Table Address (Target Device) Path Exit_Message PLC-5 Typed Write Exit_Data 1 N7:1 1,0,2,1 Value
D-8
Functional Specification
Appendix
Lap Bar 4
E-2
The following are registered trademarks of Rockwell International Corporation or its subsidiaries: PLC PLC-3 PHOTOSWITCH PLC-2 PLC-5
The following are trademarks of Rockwell International Corporation or its subsidiaries: 1336 FORCE 1336 PLUS A.I. Series Data Highway Plus DriveTools Logix5000 PanelBuilder RSLinx RSLogix 500 RSView SLC SLC 5/01 SLC 5/03 1336 IMPACT 1336 PLUS II ControlLogix DH+ Flex I/0 Logix5550 PanelView RSLogix 5 RSLogix 5000 SCANPort SLC 500 SLC 5/02 SLC 5/04
Belden and Blue Hose are trademarks of Belden, Inc. ControlNet is a trademark of ControlNet International. DeviceNet is a trademark of the Open DeviceNet Vendor Association, Inc. (ODVA). Ethernet is a registered trademark of Intel Corporation, Xerox Corporation, and Digital Equipment Corporation. The following are registered trademarks of Microsoft Corporation: MS-DOS Windows Windows NT PowerPoint Windows 95
IBM is a registered trademark of International Business Machines Corporation. Pentium is a registered trademark of Intel Corporation. WinZip is a registered trademark of WinZip Computing, Inc. All other trademarks are the property of their respective holders and are hereby acknowledged.