TECHNICAL NOTE TNPC07

Similar documents
TECHNICAL NOTE TNDA05

D0 DEVNETS and Allen Bradley Set up. RSNetworx

Configuration for General DIP Devices. Setting Up RSLinx

L5351 DeviceNet Communications Interface

Using WAGO Series 750 DeviceNet IO with an A-B SLC SDN Scanner Application note

BECKHOFF. Application Notes.

TECHNICAL NOTE TNOI36

Pluto Gateway Rockwell PLC Integration Manual (RSNetWorx for DeviceNet)

How to configure DeviceNet with Anybus NetTool for DeviceNet.

Using WAGO Series 750 DeviceNet IO with an A-B ControlLogix 1756-DNB Scanner Application note

CDN067-3 Quick Start Guide

DeviceNet Network Configuration

WRC Modbus to DeviceNet Gateway for GPD 506/P5

FC 300 DeviceNet and Allen Bradley Control logix 5550

Table of Contents 1 ABOUT THIS DOCUMENT GENERAL COPYRIGHT INFORMATION TERMS ABOUT THE GATEWAY PRODUCT FUNCTIO

Application Note. Using the Yaskawa V1000 AC Drive and SI-N3/V DeviceNet Option Kit with AB CompactLogix Programmable Controller. Applicable Product:

BridgeWay. PROFIBUS to DeviceNet Gateway User Manual. Part No. AB7605. Publication PUB-AB

1.0 Using the DLCD on a DH-485 Network

Allen-Bradley Replacements

DeviceNet - Getting Started User's Manual

Connecting Compax3 I22T11 and Allen Bradley / Rockwell PLCs via DeviceNet

SLC 500 DeviceNet Scanner Module

TSX Quantum DeviceNet Scanner Module (RSNetWorx Version)

Advantys STB Application Note

How to Configure DeviceNet with Anybus Configuration Manager (ACM) for DeviceNet APPLICATION NOTE DRAFT

How to Control and Monitor a C441 Motor Insight via DeviceNet

DeviceNet Communications

MPCR Series DeviceNet Technical Manual TDMPCRDNTM2-0EN 01/08 Subject to change without notice

Operating a Power Xpert C445 Global Motor Management Relay with a Rockwell PLC via Ethernet/IP

2002 Series DeviceNet Technical Manual

BridgeWay. Ethernet to DeviceNet Gateway User Manual. Part No. AB7603. Publication PUB-AB

VLT 5000 DeviceNet and Allen Bradley Control logix 5550

MPCR Series DeviceNet Technical Manual

Compact I/O 1769-SDN DeviceNet Scanner Module

DeviceNet Motor Control

SMARTLINX INTERFACE MODULE

DeviceNet Communications for PanelView Terminals

The Communicator. User s guide. Model 2400 Integrated wireless communication module. Page 1. Page 24

DeviceNet Adapter. 20-COMM-D FRN 1.xxx. User Manual

Installation Instructions

DeviceNet Adapter for use with DPI AC Drives

SMARTLINX INTERFACE MODULE

DeviceNet for SERVOSTAR S300/S600/S700

ALLEN-BRADLEY MICROLOGIX / SLC500 & EASON 2000 FAMILY

Allen Bradley DeviceNet Monitor User (9240 Mon16) Manual Allen-Bradley HMIs

Allen-Bradley PLCs. Product Data

TECH NOTE Reading 2100-GK61 inputs.

1747-SDN DeviceNet Scanner Module

Application Note. Adding an MPiec Controller as an EtherNet/IP Adapter to Allen Bradley CompactLogixL32E. Applicable Product: MPiec, CompactLogix5332E

BridgeWay PROFIBUS to DeviceNet Gateway User Manual

Setting up Digi One IAP for Rockwell bridging, including linking a serial PLC and serial HMI. February

IntelliSense Application Note 1

Scanners. status. Germany:

PLC-5 Programmable Controllers Comparison

M3-61B DeviceNet Slave Module. M3-61B DeviceNet Slave Module CONTROL TECHNOLOGY CORPORATION

SIGMA ControlNet Communication. Addendum M/N S-3069

Premier Integration. RSLogix 5000 v16 Integrated Drive Profiles. Rick Nusbaum Schaedler Yesco Distribution

DeviceNet Pendant Stations

BIDN. Vendor ID 133 BALOGH. Notes are used to call attention to information that is significant to the understanding and operation of equipment.

Project Name Project No AnyBus Master DeviceNet Henrik Arleving, HeA

1782-JDC DeviceNet Serial Gateway User s Manual

1747-SDN DeviceNet Scanner Module

ArmorPoint I/O DeviceNet Adapters

IC-KP-B7-V95 replaces IPG-G4-B7-V15

Book of Implementation Guidelines AVI/VMS DeviceNet Reader Installation & Configuration for PLC-5

(Catalog Number 1747-SN) Product Data

Modular Controller System KS vario

Connecting SLC Systems as Remote I/O to PLC-5 Processors

DeviceNet To SCANport Communication Module with Digital Inputs

^2 Accessory 55E DeviceNet Option

Release Notes for DeviceNet Universal PCI Scanner Card PCIDS Series B Firmware Driver Rockwell Automation, Inc.

MCD 200 Series. MCD 200 DEVICENET Module OPERATING INSTRUCTIONS. MCD 200 DEVICENET Module. Order Code: 175G9002. Adjustment.

Section 1.0 Description Section 2.0. Section 3.0. Section 4.0. MCD3000 DeviceNet Gateway. Contents

CDVI-DN Valve Terminal (Type 15) DeviceNet

BridgeWay. Ethernet to DeviceNet Gateway User Manual. Part No. AB7603 For Firmware Revision and Later. Publication PUB-AB

Application Note. Adding an MPiec Controller as an EtherNet/IP Adapter to Allen Bradley ControlLogix 5555

ControlNet-to-DeviceNet Linking Device

Setting up Pinnacle Ethernet IP communication with Allen Bradley PLCs

Using Message Instructions to Communicate with an Ethernet IP Nexus Unit

Unity Application Generator. How Can I Exchange data between TWIDO PLC and any Unity PLC using UAG

IO-Link Device Add-On Instruction User Guide May 17, 2012

DeviceNet Expansion Board

SST DeviceNet Interface Cards

Artisan Technology Group is your source for quality new and certified-used/pre-owned equipment

DN120 DeviceNet Gateway User Manual

Communication Protocols for Common Controls - DC-2 Modbus Communications, Devicenet Gateway Communications and SPI Communications

Allen-Bradley Automation

Configure an X-Gateway EtherNet/IP Adapter with RSLogix 5000

C O N T R O L L E R I N F O R M A T I O N S H E E T. Allen-Bradley SLC500 & MicroLogix Series (DF1 BCC Checksum)

TeSys T LTM R EtherNet/IP with a Third-Party PLC Quick Start Guide

Classic PLC 5 Programmable Controllers (1785 LT, 1785 LT2, 1785 LT3, 1785 LT4) Product Data

CDN36X Series DeviceNet Gateway User Manual

Altivar 61/71. DeviceNet card User s manual VW3 A /2010.

TRAINING GUIDE LEVEL 3 MODBUS WRITE IMPORT COMMAND

DeviceNet - ODVA Conformance Test Results

ELC-CODNETM. Effective December Users Manual

Copyright Information. Copyright ThePlcCorner.com

DeviceNet Conformance Test Result

P2 Configuration Guide

MVI46-MCM SLC Platform Modbus Interface Module USER MANUAL. February 5, 2004

Transcription:

TECHNICAL NOTE TNPC07 Title: Configuring a DLCN DeviceNet card with an AB 1747-SDN Scanner Card RLC Product(s): DLCN This Technical Note should be used with the Red Lion Controls Product Bulletin DLCN, which covers the operation of the Dual Loop Controller/Data Acquisition Module w/ DeviceNet. Both the Product Bulletin and this Technical Note assume the reader has a basic understanding of the operation of the DLC Dual Loop Controller as well as DeviceNet. *Note: The DLCN Product Bulletin is an addendum to the standard DLC bulletin and describes the use of the DeviceNet connection to the DLCN. This document should be used in conjunction with the DLC Bulletin. INSTALLING THE EDS FILE Before you can begin commissioning your DeviceNet network in RSNetWorx, you must install the EDS file for the DLCN Dual Loop Controller/Data Acquisition Module w/ DeviceNet. This file can be found on the Red Lion Controls web site. http://www.redlion.net/ From the main page, click on Support. Once in the Support page, click on the Downloads link and select DeviceNet EDS Files. By clicking on the download link downloading will begin. To install the EDS file in RSNetWorx, select the menu command Tools >EDS Wizard. When the EDS Wizard window appears continue on to the Options page (Figure 1). Figure 1

Click Next and select Register a single EDS File (Figure 2). Click the Browse button to select the EDS file you wish to register. Once the file has been selected, click Next. Figure 2 By clicking Next again, the software will search the EDS file for errors. If errors are found, the software will not allow you to register it. Click Next and choose the icon you wish to associate with the DLCN. The software will list the available icons. Click Next again and verify the EDS file you wish to register. Click Finish to complete the installation. CONFIGURATION Configuration refers to both hardware and data configuration of both the Master and the Slave. The DeviceNet Master must know what slave devices are allocated to it and the amount of data it can expect to exchange with the DeviceNet Slave. For the purpose of this Tech Note, it is assumed the user has already created the network in RSNetWorx and has the DLCN installed on the network. For more information on creating a network in RSNetWorx, see the help files built in to the software or consult the RSNetWorx software manual. SLAVE CONFIGURATION The only hardware configuration needed at installation is DIP switch set up on the DLCN. Both the MAC ID and the baud rate are set via dip switches. Both the MAC ID and the baud rate must match what has been set up in the Master Configuration. See page 1 of Product Bulletin DLCN for DIP switch configuration. RSNetWorx has a Class Instance Editor which can be used to change attribute values in the DLCN card using an Explicit Message. Explicit Message is typically used during set up to set up default values in the DLCN property registers. Once set up, Explicit message are typically not used for data exchange between the PLC and the DLCN. See the DLCN Product Bulletin. Example: To change the Process Value in Attribute 3, highlight the DLCN on the network screen and select the menu command Device>Class Instance Editor. (Figure 3)

Figure 3 In the Data Address data entry fields, enter the Class, Instance and Attribute number for the attribute you wish to change or monitor. In this case, the values are as follows: (See page 3 of the DLCN data sheet for a list of Attributes) Class = 100(64h), Instance = 1(1h), Attribute = 3(3h) Be sure to check which Radix you will be entering. The values in the Product Bulletin are decimal. The Example in Figure 3 shows the values in Hex. Next, select the Service Code for the task you wish to perform. If you wish to change the Process Value attribute value, select Set Single Attribute from the pull down list. Next, enter the value you wish to write to this attribute and click Send. Again, pay close attention to the Radix being displayed. In figure 3 the value is decimal. You may check that your value has been written by changing the service code to Get Single Attribute and clicking Send. The value currently stored in Attribute 3 of the DLCN will be displayed in the Received Data/Output field. Check that it matches the value you wrote to the card previously. MASTER CONFIGURATION The two main areas of concern in the Master configuration are the I/O parameters and the mapping of data both produced and consumed by the DLCN to the appropriate PLC data table registers. To view and edit the Master Configuration properties, double click on the Master from the network screen. Once the properties window is opened, select the Scan List tab. (Fig 4) Figure 4

Select the DLC DeviceNet unit from the list and click on Edit I/O Parameters. (Figure 5) Figure 5 The DLCN supports both Polled and Strobed type connections. The correct number of bytes should already be set. RSNetWorx will extract this information from the EDS file and automatically enter the values in the RX Size and TX Size Field. Choose which connection type you wish to use. If no EDS file has been registered, you must manually enter the number of bytes for RX and TX. See SUPPORT CONNECTIONS on page 2 of the DLCN Product Bulletin for explanation of how these connections function and the proper RX and TX sizes for each. If you select Polled as the connection type, there will also be a field called Poll Rate. The choices available to fill this field are: 1. Every Scan When Every Scan is selected, the master will poll the DLCN every scan of the network. This the default selection and the most commonly used. 2. Background When Background is selected, the master will only poll the DLCN every X number of scans rather than every scan. When set to Background, the value set in the Foreground to Background Poll Ratio will determine which scan the DLCN will be polled. This value is set under the Module tab of the Master Properties. This value should only be used when the information from the DLCN card does not need to be updated in the PLC data tables every scan or you need to save bandwidth. DATA MAPPING Once the connection type and byte sizes of the RX and TX data have been established, the next step is to determine where the data being produced by the DLCN (RX or input data) is to be stored in the PLC data tables and where the data being consumed by the DLCN (TX or output data) is coming from in the PLC data tables. This step is referred to as data mapping. The importance of this step cannot be overstated. If the data map in the DeviceNet Master does not match that of the PLC logic, none of the logic functions will work properly. Much thought should be put in to how the data from the network should be mapped to the scanner. Since one of the great advantages of DeviceNet is its versatility, care should be taken when designing the data table to account for future expansion of the network. It is a good idea to have a mapping strategy that will make it easier to work with in the future, such as, matching the word number in the data map to the MAC ID of the node which the data corresponds to. Simple planning can make the data mapping go smoothly and cause fewer problems in the future. In many cases though, the location of this data in the data table

has already been established by the person doing the PLC programming and when the actual network is configured in the field, the data must be mapped to the established data table locations for the system to work properly. The Allen Bradley SLC PLC with the 1747-SDN DeviceNet Master uses a direct data transfer between the DeviceNet Master and the processor. Since the DeviceNet Master resides in a slot of the PLC rack it has both an input and output discrete file associated with it in the processor data tables. The PLC takes care of this automatically when you do the I/O configuration in RSLogix. Both the input and the output discrete files have 32 words reserved for data. The M1 and M0 data files are also used with the DeviceNet Master and the SLC processor. Each scanner in the rack has its own M1 file with 150 words reserved for input data and an M0 file with 150 words reserved for output data. These M files are not actual data tables in the processor, they reside in the DeviceNet Master. To use this data in the PLC logic, a copy command should be set up to move this data from it s home in the DeviceNet Master to an established data table in the processor. Typically, the Integer files (N) are used for this purpose. It is important to note that the first word (word 0) of the input and output discrete files are reserved for communication between the processor and the master. You may not map data to these words. RSNetWorx has two options for data mapping. The first is Auto mapping, where RSNetWorx maps the data automatically. The second mapping option is advanced. With Advanced mapping the data is mapped to a memory location the user chooses. The user also has the ability to break up the data into four segments and map each segment separately. TO AUTO MAP THE I/O DATA: 1. Select the Input tab from the configuration screen (Fig. 6). From this menu the input data only will be mapped. 2. Choose the device(s) you want to map. Figure 6

3. Select the Options key and choose the type of alignment you want to use. (Fig. 7) Note: This only effects the mapping when more than one node is automapped. Figure 7 4. Back in the Input menu, choose the data file you want the data to map to and the start word. 5. Select AutoMap. RSNetWorx will display the data map and where the data of each device is mapped. 6. Select the Output tab from the configuration menu and follow the same procedure to map the output data of each device. (Fig 8) Figure 8

TO MAP USING THE ADVANCED OPTION: 1. Select the Input tab from the configuration screen (See Fig. 6). From this menu the input data only will be mapped. 2. Select the device(s) you want to map. 3. Select the Advanced key (See Fig. 9) Figure 9 4. In the Map From menu, choose the data message type and the byte and bit location you want to start mapping. Byte 0, Bit 0 would begin mapping at the beginning of the 6 bytes of input data. If the data were being broken into segments these values indicate the start of each segment. 5. In the Map To menu, choose the data file you want to map the data to. Choose the word and bit location you want to begin at. 6. Choose the bit length (6 bytes X 8 bits/byte = 48 bits max) of the data you want to map. It is important to note the total bit length cannot exceed the total bit length of the data message. If the data message is broken up into segments, the sum of the segment bit lengths cannot exceed the total bit length of the data message. 7. Select Apply Mapping. 8. Select the Output tab from the configuration screen and follow the same procedure to map the output data of each device.

DOWNLOAD THE SCAN LIST TO THE SCANNER: 1. Select the Scan List tab from the configuration screen. 2. Click Download to download the scan list to the scanner. Note: The scanner must be in the program mode for this step. Figure 10 shows what the Master Input and Output data tables may look like if they are mapped to the Discrete files of the PLC. Although the PAXCDC30 data is highlighted in each example, the DLCN is shown mapped to the Discrete Input file words 1 and Discrete Output files words 1 and 2. Figure 10