Home
How to configure an Anybus DeviceNet
Contents
1. Application Note RS Networx DeviceNet doc SDD 7032 024 Rev 1 03 The final step is to select the desired baud rate and click on apply as shown in the previous picture Saved 2008 03 05 HMS Industrial Networks AB Filename Application Note RS Networx DeviceNet doc Page 8 17 44 ams Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 4 DeviceNet configuration RSNetworx for DeviceNet is the tool used to configure the DeviceNet scanner There are two ways to configure the network It is possible to configure the network in offline or online mode It is recommended to start with online mode and to manually complement with the modules not recognised by the RSNetworx for DeviceNet Configure Drivers Available Driver Types Rs 232 DF1 devices Ethernet devices 0 Etherneti lP Driver 1784 K KETADI PET AIDI PCME for DIH DH 485 devices Hs 1284 K TC 9 for ControlNet devices Status DF1 Polling Master Driver Hi 1 84 PCC tor Controlklet devices 84 PCIC 5 for ControlMet devices 1247 PFIC AlC Driver DF1 Slave Driver c 5 oll SO tar OH devices Virtual Backplane SaftbLagixbex DeviceNet Drivers 17284 PCD PCIDS 1 7 0 KFOLSDONPT drivers FLC 5 OH Emulator driver SLC 500 DH485 Emulator driver sottLogix5 driver Remote Devices via Linx Gatewa Configure Figure 4 The driver dialogue 4 1 Online mode Start the program RSNetworx for D
2. Communicator User Manual Anybus Communicator for DeviceNet User Manual Adapter Fieldbus Appendix Anybus S DeviceNet Fieldbus Appendix IC Fieldbus Appendix Anybus IC DeviceNet Fieldbus Appendix PCI Interface Design Guide Anybus S Slave amp Master Parallel Interface Design Guide Power supply 24VDC n a Configuration cables n a Null modem cable Supplied with the Anybus X n gateway Note The EDS files can be downloaded at the website www anybus com saved 2008 03 05 HMS Industrial Networks AB Page 5 17 Filename Application Note RS Networx DeviceNet doc 44 ams Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 3 Solution overview This application note describes how to configure an Anybus product with a Rockwell PLC Below you can find an overview of the system described in this document Other nodes may be attached to the network but are not necessary Note This document is valid for all Anybus DeviceNet slave adapter products however sections written in italics describe the configuration of a specific product e Anybus CompactCom for DeviceNet e Anybus Communicator for DeviceNet e Anybus X gateway DeviceNet e Anybus IC DeviceNet Adapter Interface e Anybus PCI DeviceNet Adapter Interface e Anybus S DeviceNet Adapter Interface The contents describe step by step how a configuration is done This document assumes the reader is familiar with industrial communication DeviceNet networks
3. Input I 0 data size bytes 20 Output I 0 data size bytes 2 Offline option Clear Control word Status word Disabled Modbus Address Mode Enabled Press ESC to continue Figure 17 The X gateway configuration The explicit data is used for acyclic parameter data The parameter data is sent by request of the scanner while the I O data is sent on a cyclic basis For a more detailed description see the X gateway DeviceNet Adapter Interface Network Interface Addendum Saved 2008 03 05 HMS Industrial Networks AB Page 17 17 Filename Application Note RS Networx DeviceNet doc
4. REE Restore Defaults Figure 15 Configuring the connection in the HyperTerminal Make sure the settings are identical to those shown in the window above An alternative method is to download the HyperTerminal session file from HMS website double click on it and select COM port Connect and press ESC and the following menu will appear Saved 2008 03 05 HMS Industrial Networks AB Page 16 17 Filename Application Note RS Networx DeviceNet doc ams Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 File Edit View Call Transfer Help Show gateway system information Show fieldbus system information Show gateway system configuration Show fieldbus system configuration Change configuration Configuration upload download Restart Gateway Administration mode 1 2 3 A perating status information 8 H Figure 16 Anybus X gateway Main menu Press 6 and enter the desired configuration The figure below shows an example in this case a DeviceNet Ethernet ModbusTCP X gateway is used and 20 bytes of I O data is configured e ABX HyperTerminal File Edit View Call Transfer Help DeviceNet Slave Upper Input I 0 data size bytes 20 Output 1 0 data size bytes 20 Input Explicit message size bytes j utput Explicit message size bytes 4 Offline option Clear Control word Status word Disabled Ethernet IP MBICP WEB Slave Lower
5. and HMS Communicator and X gateway PLC PLC Scanner Scanner DeviceNet DeviceNet DeviceNet Adapter l DeviceNet Adapter 5 Anybus Communicator Anybus X gateway Other network 1 e Ethernet Example of Eth Serial Network thernet PC Client Figure 1 Hardware connection overview Saved 2008 03 05 HMS Industrial Networks AB Page 6 17 Filename Application Note RS Networx DeviceNet doc 44 AIDS Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 3 1 Hardware Settings The selected baud rate of the PLC and the Anybus product is to be set to the same rate Also make sure the MAC ID of the adapter and the scanner is not the same Note for X gateway and Communicator The switches will be found next to the power connection on the X gateway and next to the indication LEDs on the Communicator DIP switches 1 2 set the Baud Rate and DIP switches 3 8 set the MAC ID For further instructions see the Anybus Communicator User Manual X gateway Manual Addendum or the Adapter Fieldbus Appendix Note for the Anybus IC For the Anybus IC for DeviceNet the configuration is depending on the application The MAC ID and baud rate is set by the application process or by switches if mounted Note for the Anybus PCI The DeviceNet Adapter PCI card is configured by mailbox commands refer to the Adapter Fieldbus Appendix Note for the Anybus CompactCom and the scanner module The scann
6. on the first rung assigned Local 1 0 CommandRegister Run The picture below shows this in ladder format Loca 1 0 Command egister Run Figure 13 Setting the run bit for the 1756 DNB card in ladder format Note for X gateway When using an X gateway as a scanner the status bit for run mode has to be set otherwise the module will remain in idle mode This can for example be done from a PLC program Saved 2008 03 05 HMS Industrial Networks AB Page 14 17 Filename Application Note RS Networx DeviceNet doc 44 AIDS Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 5 Anybus configuration The Anybus product has to be configured for the same I O sizes as set up in the DeviceNet scanner configuration Note The I O sizes are depending on the application the configured I O sizes in this chapter are just examples Anybus Slave Interface and the Anybus PCI card The Anybus Slave Interface and the Anybus PCI card are configured by mailbox commands Refer to respective Fieldbus Appendix for details Anybus IC The Anybus IC is configured by the User Interface using for example the Windows Hyper Terminal Refer to the Design Guide for details Anybus CompactCom The Anybus CompactCom is configured by messages send by the application Refer to the Design Appendix for details Anybus Communicator and the Anybus X gateway The configuration of the Anybus Communicator and the Anybus X gateway is describe
7. 14 AIDAS Application Note RS Networx DeviceNet doc Vi SDD 7032 024 Rev 1 03 How to configure an Anybus DeviceNet Adapter Slave module with RSNetWorx for DeviceNet Saved 2008 03 05 HMS Industrial Networks AB Page 1 17 Filename Application Note RS Networx DeviceNet doc 44 HYS Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 Document history Revision Date Description Author 2007 06 25 Official release Thorbjorn Palm 2008 03 05 Updated layout Thorbj rn Palm More information about the network and products The latest manuals and EDS files can be found on the HMS homepage www anybus com The DeviceNet user organisation has a homepage on the Internet www odva org Several technical guides are available in or via this page Saved 2008 03 05 HMS Industrial Networks AB Page 2 17 Filename Application Note RS Networx DeviceNet doc 44 22 Application Note RS Networx DeviceNet doc n S SDD 7032 024 Rev 1 03 Contents T Applicable Anybus products siunas a al siia 4 PEEL ODIO TETTE a E 5 MEE IUITIOM OV CL VICW A US EE MM 6 3 LEGAL SE LIOS sooo meridia bue oe EE E E EA E A E EA MEME ME 7 Jd DeyiceNet COMM ORE ACO Ws aa a i i ANETES 9 4 1 OP d e A A OOO A 9 4 2 E O SM AAA E AAE AAE AAA EA 11 4 3 Scanner CoN MATE BO NIRE T PIT 11 4 4 CG iii emit fed CO siz ond IV 20 27 INO sisssiepparinin ind oan Maa EEIE RNG 12 4 5 Dvice Neron O 0 A EEEE E EENE RA ANA EEA RE 14 S AHNUS COMMGUEAMO ic
8. Output by selecting the tab Output in the scanner s configuration window The figure below gives an example of mapping C1 T55 DNB A E A xi General Module Scanlist Input Output ADR Summary kutse TT bz n Polled 1 1 0 D ata O 0 Unmap Advanced gt Options Memory Assembly Data Start DWord fo E Bits 31 0 HELLE ELLLELLEELLLELLLEL LLL LL LET 1 8 Dataf0 bz Any VBGDaall o VBDaa2 VODaa3 oo V Daadl oo DE 1 8 D ata E VODaal 1 1 1 0 D ataf8l Cancel Apply Help Figure 12 Verifying the Output mapping Once the mapping has been verified and the I O sizes set the configuration needs to be downloaded to the scanner Return to the Scan list tab in the scanner s configuration window and select Download to Scanner This will save the configuration to the scanner Once the scanner is in Run mode data should be exchanged To be in run mode the run bit has to be set see the chapter on DeviceNet run mode Saved 2008 03 05 HMS Industrial Networks AB Page 13 17 Filename Application Note RS Networx DeviceNet doc 44 ams Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 4 5 DeviceNet run mode When using a PLC as a scanner the run bit has to be set otherwise the DeviceNet Scanner card will remain in idle mode This can be done in the PLC program by adding an output
9. d in separate sections below Saved 2008 03 05 HMS Industrial Networks AB Page 15 17 Filename Application Note RS Networx DeviceNet doc 44 AIDS Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 5 1 Communicator configuration To configure the Communicator start the ABC Config Tool select the fieldbus DeviceNet and the desired I O data If explicit data is used the I O sizes has to be set to user defined mode otherwise automatic can be used For a more detailed description see the Communicator User Manual ABC Config Tool Untitled OX File Fieldbus Tools View Help D A 55 een Jd e x m ABC Master Mode Untitled Devices Configuration 8 E Fieldbus Alphabetic Categorized A ABC xw Sub Network El Fieldbus Fieldbus Type DeviceNet HB IO Sizes IO Size In 0x0000 IO Size Out 0x0000 User defined v 10 Sizes Sets whether the sizes of the IO areas are user defined or automaticly configured Figure 14 Configuring the Communicator 5 2 X gateway configuration Use the HyperTerminal on a PC and configure the X gateway connect a serial cable between the PC and the config port on the X gateway Open the File menu and click on new choose the desired COM port and click OK The following window will appear y test HyperTerminal a COMI Properties Port Settings Bits persecond 57600 Data bits Parity Stop bits Flow control
10. er module used by the PLC and the Anybus CompactCom can be configured by the RSNetWorx for DeviceNet software Open the Tools menu and select node commissioning The following window will be visible RA Node Commissioning 71 x Select a device by using the browsing service Erak Curent 1771 5DM Scanner Module Settings Address 15 Data Rate SOOKE New 1771 5DM Scanner Module Settings The network data rate should not be changed on an active network The new network data rate will not take effect until power is recycled Address 5 E Data rate 500 kb Apply Messages m Cloge Help Figure 2 The node commissioning tool in RSNetworx Click on the browse button and select the desired module as shown above Saved 2008 03 05 HMS Industrial Networks AB Page 7 17 Filename Application Note RS Networx DeviceNet doc 14 HITS 14 Device Selection 3 x want to input the address for the device an the selected network Cancel Petes 0 re v Autabrowse Refresh EEE E Workstation CAPAX a Ea AB ETHIP 1 Ethe nfl 10 10 1218 EE 10 10 12 121 ER DeviceMe T l5 j ies 16 1 In 10 10 12 12 rg 10 10 12 14 P 10 10 12 154 P 10 10 12 15 10 10 12 16 of 10 10 12 22 Bl 10 10 12 237 7 Browsing node 5 not found 1771 5DM Scanner Module 1771 5DM Scanner Module Ethernet to DeviceMet Gate Figure3 Browsing the network
11. eviceNet Verify that the EDS file for the Anybus product has been installed This can be done by browsing the library in the left window The EDS file for the Anybus products can be downloaded at HMS websitel If the Anybus EDS file has not been installed click on the Tools menu and then on EDS wizard to import the EDS file Click on next and the following window will appear Rockwell Software s EDS Wizard Options Whattask do you wantto complete s Register an EDS file s This option will add a device s to our database C Unregister a device This option will remove a device that has been registered by an EDS file from our database M c Change a device s graphic image ays This option allows you to replace the graphic image icon file associated with a device C Create an EDS file This option creates a new EDS file that allows our software to recognize your device lt Back Cancel Figure5 The EDS wizard 1 www anybus com Saved 2008 03 05 HMS Industrial Networks AB Page 9 17 Filename Application Note RS Networx DeviceNet doc ff Application Note RS Networx DeviceNet doc HAMS A SDD 7032 024 Rev 1 03 Select register an EDS file and select next Follow the dialogue as shown below Rockwell Software s EDS Wizard Registration Electronic Data Sheet file s will be added to your system for use in Rockwe applications s Register a single file Register a directory of EDS files Look in
12. he device In the case of the Communicator whose I O size will depend on the amount of data transmitted by the serial interface this warning should be ignored and the values accepted if correct Scanner Configuration Applet f E ii X continue the connection to the device may Fail To restore the sizes back the default expected by the device click AN Warning The connection sizes that you ve entered differ from that expected by the device If you choose Yes to the Restore I O sizes button Do vou want to continue using Ehe values that you have manually entered Figure 10 Scanner configuration warning Next step is to verify the I O mapping Data is normally auto mapped into continuous 32 bit registers in the ControlLogix designated memory for the 1756 DNB module To verify the Input select the tab Input in the Scanner s configuration window You will get a window as shown in the figure below Verify that this is the correct memory mapping to be used by the PLC program PAHEDE A HMS Industrial Networks AB Page 12 17 Filename Application Note RS Networx DeviceNet doc AIDS Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 A xi kim B2 Any Polled 48 1 1 Data O 0 1 1 Data O bz 52 CDe 2 C DeviceNe 1B 1 1 Data 5 1 1 Data 6 1 1 Datal l 1 1 Data 8 Cancel Apply Help Figure 11 Verifying the Input mapping Verify the mapping of the
13. is iviseugoc s 45056 0052010009 265200003090 005252090001411594028100 001402 9004000000090 062 0269 nnda tian oiana 15 3 1 Communicator configurato s o os aate ia kalaha aanika iiaiai ria 16 3 2 DEALS yy Ay COTM usule odium TOU E MENDA NUS DU UE 16 i EE HMS Industrial Networks AB Page 3 17 Filename Application Note RS Networx DeviceNet doc 44 ams Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 1 Applicable Anybus products Description Name Type Anybus X gateway DeviceNet Anybus Communicator DeviceNet Anybus Slave DeviceNet Anybus CompactCom DeviceNet Anybus IC DeviceNet Anybus PCI DeviceNet Saved 2008 03 05 HMS Industrial Networks AB Page 4 17 Filename Application Note RS Networx DeviceNet doc 14 AIDS Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 2 Requirements Description Name Type Version Rockwell PLC Allen Bradley ControlLogix 5000 with 1756 DNB DeviceNet Scanner card PLC software RSNetWorx for DeviceNet Rockwell communication software RSLinx EDS file for the Anybus S DeviceNet interface and EDS ABS DEV V 1 35 eds the Anybus X gateway DeviceNet adapter EDS file for the Anybus Communicator DeviceNet EDS ABC DEV V 1 10 eds EDS file for the Anybus CompactCom DeviceNet EDS ABCC DEV V 2 l eds X gateway Network Interface Addendum Anybus X gateway DeviceNet Adapter Interface Network Interface Addendum X gateway User Manual X gateway Generic User Manual
14. rk is in offline mode For devices not included in the library of the RSNetWorx for DeviceNet an EDS file has to be imported as described in the previous chapter If the module is not included in the library the unit will not be recognised by the program Make sure the program is in offline mode To build the network as shown in figure 7 showing the online network use the navigation list to the left and use drag and drop 4 3 Scanner configuration The next step is to configure the Scanner Double click on the 1756 DNB A icon This will bring up a window with the Scanner s configuration Select the Scan list Tab as shown below you will be prompted whether to download the offline configuration to the Scanner or upload the Scanner s current configuration Choose upload After uploading you will have a graphic showing the list of available devices to be added and a list of devices already loaded in the scanner as shown in the figure below 4756 DMB A E d 3x General Module Scariict input Output ADA Summary Avalaile Devices MO DL 52 AnyBus C DeviceNet v Autognap on Add fv Mode Ache r Electronic Key Upload kom Scanner FF Device Type EY Te fv Vendor Download to Scanner FB Pass Edi D Parameters ru elis Figure8 Scanner configuration To add devices to the scan list the Communicator in this case highlight the Communicator in the list of available devices and click on the right hand arro
15. subfolders Named C Documents and Settings thp Desktop 1 788 EN2DN eds Gi Ifthere is an icon file ico with the same name as the file s you are registering then this image will be associated with the device To perform an installation test on the file s click Next lt Back Next gt Cancel Figure 6 Browsing the EDS file The next step is to scan the network for any attached nodes that can be added to the Scanner s scan list From the Network menu select Online or click on the online button as shown in the figure below This will scan the entire network at the Baud Rate set up in the scanner and any attached nodes will be listed You will end up with a diagram of all connected devices as indicated in the figure below zo DevireNet sel Work for DevipeNelt Jehe Eit ow peter Dawca Diagnostics Icob the BE ls Wla xn leak tie a Aela al AryBuet i Deviceahist Y i Online butto MMS Field pus Syshens AD Ceaser Mice Rzchon Automation Alark Erades Roche A tomati Dodo Rochel Automation Ektora Fabia Roches Atomai Eekonrs Electric Rodhwel A tomastinniSprecderSdh Messages UA Figure7 Online network Saved 2008 03 05 HMS Industrial Networks AB Page 10 17 Filename Application Note RS Networx DeviceNet doc 44 AIDS Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 4 2 Offline mode The other way to configure the DeviceNet netwo
16. w to add to the scan list The Communicator has now been added and the I O size needs to be configured d HMS Industrial Networks AB Page 11 17 Filename Application Note RS Networx DeviceNet doc 44 AIDS Application Note RS Networx DeviceNet doc 14 SDD 7032 024 Rev 1 03 4 4 Configuring the I O size and Mapping From the Scan list window select Edit I O Parameters A window will appear for configuring the I O type and size In this example Polled is selected for the I O type and the size for Inputs and Outputs is based on the data returned by the serial application The figure below gives an example Edit I D Parameters 62 AnyBus C DeviceNet E x Strabed E OC Ee Input Size E Butes Change of State Cyclic f Change of State Cyclic Input Size 6 Butes Wee Mutput Eit v Polled Output Size 5 Bytes input Size 49 Bytes Heartbeat Rate 757 msec Note The I O sizes for your Output size 1 d bytes application will not be 48 bytes IN and exbvanesd 1 bytes OUT The figure is just PollBate EveryScan gt showing an example Also remark the Anybus product has to be configured Cancel Restore 1 0 Sizes for the same I O sizes Figure9 Configuring the I O size After setting the I O size and selecting OK you will get a warning message as shown in the figure below This means that the I O size configured is different than what is designated in the EDS file of t
Download Pdf Manuals
Related Search
Related Contents
Larves de coccinelle européenne anti pucerons Samsung S27A850D IRZ MC55i-485GI GPRS class 10 GSM modem USER MANUAL Z-1170 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file