Manuale d’uso / di manutenzione del prodotto DEVICENET 1771-SDN del fabbricante Rockwell Automation
Vai alla pagina of 139
PLC-5 DeviceNet Scanner Module 1771 -SDN User Manual.
Important User Information Because of th e varie ty of uses fo r the p roducts descri bed in t his publi cation , those respons ible for th e appli cation an d use of this co ntrol equip ment must sat.
European Communities (EC) Directive Compliance If this product ha s the CE mark it is appr oved for installation within the Europe an Union and EEA reg ions.
.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Preface About This U ser Manual Introduction This user manual is designed to provide you enou gh information to get a small example application up and running. Use this manual if you are knowledgea ble about D eviceNet ™ and PLC-5 ™ product s, but may not have used the pr oducts in conju nction.
Publicat ion 1 771-6.5. 132 - Jun e 2000 P-2 About This Us er Manual Contents This user manual contains the following chapte rs: Audience This manual is intended for control engineers and technicians .
Publicat ion 1771 -6.5.13 2 - June 2000 About This Us er Manua l P-3 The Example Application This manual describes how to set up an example application. The manual provide s examples of each step of th e setup, with references to other manuals for more details.
Publicat ion 1 771-6.5. 132 - Jun e 2000 P-4 About This Us er Manual Common T echniques Used in This Manual The following conventions are used throughout this manual: • Bulleted lists provide information, n ot procedural steps. • Numbered lists provide sequential steps.
Publicat ion 1771 -6.5.13 2 - June 2000 About This Us er Manua l P-5 Where to Find More Information Refer to the following publications as needed for additional help when se tting up and using your D .
Publicat ion 1 771-6.5. 132 - Jun e 2000 P-6 About This Us er Manual T er minology This term Means Bridge The scanner module’ s support of explicit message transfer . Change of State A type of I/O data communication. The scanner module can send and receive data with slave devices that have the change of state feature.
Publicat ion 1771 -6.5.13 2 - June 2000 About This Us er Manua l P-7 Rockwell Automation Support Rockwell Automat ion offe rs support services wor ldwide, with ove r 75 sales/su pport offices, 512 aut.
Publicat ion 1 771-6.5. 132 - Jun e 2000 P-8 About This Us er Manual.
i Publicat ion 1771 -6.5.13 2 - June 2000 T able of Contents Chapter 1 Before You Begin What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 What You Need to Know . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 What Your 1771-SDN Module Does .
Publicat ion 1 771-6.5. 132 - Jun e 2000 T able of Content s ii Chapter 4 Configuring the DeviceNet Network What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 Installing the Software . . . . . . . . . . . . . . . . . . .
Publicat ion 1771 -6.5.13 2 - June 2000 T able of Co ntents iii Chapter 7 Troubles hooting What This Chapter Contains . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1 Module Status Indicator . . . . . . . . . . . . . . . . . . . . . . . . . . .
Publicat ion 1 771-6.5. 132 - Jun e 2000 T able of Content s iv.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Chapter 1 Befo re Y ou Beg i n What This Chapter Contains This chapter provides an overview of communication between a PLC-5 processo r and DeviceNet device s via a 1771-SDN module.
Publicat ion 1 771-6.5. 132 - Jun e 2000 1-2 Bef ore Y ou Begin What Y our 1771-SDN Module Does In a typical configuration, the 1771-SDN module acts as an interfac e betw een D evic eNe t de vices and th e PLC -5 pr oce ssor.
Publicat ion 1771 -6.5.13 2 - June 2000 Before Y ou Begi n 1-3 A proces sor to I/O Device Net conf iguration is show n in t he following figure. See the referenced chapters for mor e information.
Publicat ion 1 771-6.5. 132 - Jun e 2000 1-4 Bef ore Y ou Begin The 1771-SDN scanner module can also be used to bridge a Device Net net work with ano ther ne twork . Address Density and Discrete I/O Y ou can use thr ee addres sing method s with your 1 771-SDN scanne r module.
Publicat ion 1771 -6.5.13 2 - June 2000 Before Y ou Begi n 1-5 The conce pt descr ibed be low applies to bot h input and output data tables. For example, when using yo ur 1771-SD N in 1-sl ot addressing mode, you have eight bits of discre te input and eight b its of ou tpu t available.
Publicat ion 1 771-6.5. 132 - Jun e 2000 1-6 Bef ore Y ou Begin Communicating with Y our Devices The 1771- SDN modul e commun icat es wi th a dev ice via str obe, poll, change of st ate, and/or cycli c messages. It use s these me ssages to solicit data f rom or delive r data to each device .
Publicat ion 1771 -6.5.13 2 - June 2000 Before Y ou Begi n 1-7 Communicating with Y our PLC-5 Processor Y our pro cessor communicate s with the 1771-SDN sc anner module via block transfer reads, block transfer writes , and DI O transf er s.
Publicat ion 1 771-6.5. 132 - Jun e 2000 1-8 Bef ore Y ou Begin What 1771-SDN Module Data T ables Are an d What They Do T o manage the flow of data between yo ur processor and the n etwork devi ces, the 1771-SDN module uses t he fo llowing data t ables.
Publicat ion 1771 -6.5.13 2 - June 2000 Before Y ou Begi n 1-9 • exactl y where in each devi ce’s total data t o find the des ired data • the si ze of the inpu t da ta/out pu t da ta • exactl .
Publicat ion 1 771-6.5. 132 - Jun e 2000 1-10 Before Y ou Be gin The configuratio n screen m ap below shows t he RSNetW orx for DeviceNet screens u sed to configu re the 17 71-SDN module and the navigati on paths between them. The use o f these screen s is described in Chapter 4.
Publicat ion 1771 -6.5.13 2 - June 2000 Befor e Y ou Begi n 1-11 What’ s Next? The remaining sections of this manual provide the following information: • Chapter 2 cover s the configuration proce ss planning stage through a data mapping example. • Chapter 3 describes the h ardware setup for the e xample application.
Publicat ion 1 771-6.5. 132 - Jun e 2000 1-12 Before Y ou Be gin.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Chapter 2 Planning Y our Configu ration and Data Mapping Y our Devices This chapter int roduces q uestions y ou should ask bef ore configuring your 17 71-SDN Scanner .
Publicat ion 1 771-6.5. 132 - Jun e 2000 2-2 Plannin g Y our Con figura tion and Da ta Mappi ng Y our Devices A very impor tant q uestion to answe r is “what is on your netw ork?” Y ou should be f.
Publicat ion 1771 -6.5.13 2 - June 2000 Planning Y our Confi guration an d Data Mappi ng Y our Devices 2-3 The system you will se t up is shown below: IMPORT ANT In the following example, output is data sent to a device from a controller . Input is data colle cted fr om a device by a controller .
Publicat ion 1 771-6.5. 132 - Jun e 2000 2-4 Plannin g Y our Con figura tion and Da ta Mappi ng Y our Devices RediST A T ION Opera tor I nterfac e D ata Mapp ing The RediST A TION has both inpu ts and output s that must be mapped.
Publicat ion 1771 -6.5.13 2 - June 2000 Planning Y our Confi guration an d Data Mappi ng Y our Devices 2-5 Mappin g Redi ST A T ION Inpu t Data for a Bl ock T ransf er Read The RediST A TION operator interface’s input byte is mapped to the scanner’ s block t ransfer read dat a table throu gh a 62 word BTR.
Publicat ion 1 771-6.5. 132 - Jun e 2000 2-6 Plannin g Y our Con figura tion and Da ta Mappi ng Y our Devices Mapping RediST A TION Output D ata fo r a B lock T ransfer Write The RediST A TION operator interface’s output byte is mapped to the 1771-SDN mo dule’s bloc k transfer wri te data table.
Publicat ion 1771 -6.5.13 2 - June 2000 Planning Y our Confi guration an d Data Mappi ng Y our Devices 2-7 Photoe ye In put Da ta Map ping The photoe lectric sensor (ph otoeye) inputs are mapped to the 1771-SDN module ’s block trans fer read data tabl e and th en to t he PLC-5 proc essor’s input d ata file.
Publicat ion 1 771-6.5. 132 - Jun e 2000 2-8 Plannin g Y our Con figura tion and Da ta Mappi ng Y our Devices Mappin g Phot oey e Input Da ta for a Bl ock T ransf er Read The phot oeye’s inpu t byte is mapped to the scanner’s blo ck transfer read data tab le through a 62 w ord BTR.
Publicat ion 1771 -6.5.13 2 - June 2000 Planning Y our Confi guration an d Data Mappi ng Y our Devices 2-9 What’ s Next? Chapt er 3 describes how to set up the syst em hardware for the example application.
Publicat ion 1 771-6.5. 132 - Jun e 2000 2-10 Pl anni ng Y our Co nfig uratio n and Data Mapp ing Y our Device s.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Chapter 3 Hardw are Setup What This Chapter Contains This chapter describes how to set u p the hard ware for the example application. The following table describes what this chapter contains and where to find specific i nformation.
Publicat ion 1 771-6.5. 132 - Jun e 2000 3-2 Hardwa re Setup Installing the PLC-5 Processor Refer to the fo llowing figu re while installing yo ur PLC-5 processo r . Setting the I /O Ch assi s Bac kplan e Swit ches Set the b ackplane switches in the 1771 I/O cha ssis for 1-slo t addressing for the example applicati on.
Publicat ion 1771 -6.5.13 2 - June 2000 Hardware Setup 3-3 Going O nline to the PLC- 5 Pro cess or Y ou cannot go online to the PLC-5 processor o ver DeviceNet. In order to download and run t he example application prog ram in chapte r 6 you must us e the processor’s RS- 232 connector , or download and run the prog ram via another network .
Publicat ion 1 771-6.5. 132 - Jun e 2000 3-4 Hardwa re Setup T o go online to the PLC-5 processor via Data Highway Plus: 1. Define the DH+ station address of channel 1A by setting switch assembly SW -1 on the back of the process or . For the example application we used address 1.
Publicat ion 1771 -6.5.13 2 - June 2000 Hardware Setup 3-5 Installing the 1785 -ENET Ethernet Module T o go on line to the PLC-5 processor via Ether net, you must install a 1785-E NET module in the 1771 I/ O chassis. The Ether net mo dule is shippe d with a 5 8-pin connect or header that attaches to the PLC-5 processor .
Publicat ion 1 771-6.5. 132 - Jun e 2000 3-6 Hardwa re Setup 3. Insert the interface module/processor combination in the left-most slot of the 1771 I/O chas sis. 4. Assign an IP address to th e interface module. 5. Configure channel 3A for Ether net communication.
Publicat ion 1771 -6.5.13 2 - June 2000 Hardware Setup 3-7 Installing the 1771 -SDN Scanner Module Refer to the fo llowing figu re as you install the 1771-SDN mo dule. Module St atus Indicat or - indicate s whether the devi ce has power and is funct ionin g proper ly .
Publicat ion 1 771-6.5. 132 - Jun e 2000 3-8 Hardwa re Setup Setting th e Cha nnel 1 Data Ra te and No de Add ress Switch es 1. Locate the sw itchbank labeled “Ch annel 1” on the left side of the module.
Publicat ion 1771 -6.5.13 2 - June 2000 Hardware Setup 3-9 Installing the Sca nner Module in the Ch assis 1. Select a slot for the 1 771-SDN module in th e chassis . Y ou may use any slot except the leftmost slot, whi ch is reserved for the P LC-5 processor .
Publicat ion 1 771-6.5. 132 - Jun e 2000 3-10 Hardware Setup Connectin g the Scanne r to the Devic eNet Ne twork T o con nec t to the Devi ceN et ne twor k: 1. Connect the DeviceNet drop line t o the linear plug provided w ith the scanner . Match the w ire insulation colors to the colors shown on the la bel.
Publicat ion 1771 -6.5.13 2 - June 2000 Hardware Setup 3-11 Installing the RediST A TION Operator Interface Begin installing the RediST A TION b y removing the six screws fasten ing the cover and sett.
Publicat ion 1 771-6.5. 132 - Jun e 2000 3-12 Hardware Setup Installing the Series 9000 Photoeye Connect th e photoe ye to the netw ork and configu re the photoeye as follows: • Node Addr ess: 9 • Operating Mode: Light Operate (default) • Baud Rate : 500 kb For d etailed directions , see th e inst ructions t h at came w ith your photoeye.
Publicat ion 1771 -6.5.13 2 - June 2000 Hardware Setup 3-13 How Y our Example Sy s tem Will Look When you have finished installing all the devices, your example system should look similar to the one s.
Publicat ion 1 771-6.5. 132 - Jun e 2000 3-14 Hardware Setup.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Chapter 4 Configuring the Devic eNet Network What This Chapter Contains This chapter describes how to configure the DeviceNet ne twork using RSLinx and RSNetW orx for Dev iceNet softw are. The followin g table describes w hat th is chapte r contains and wher e to find sp ecific information.
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-2 Conf igur ing th e Devi ceNe t Net work Using RSLinx to Configure the DeviceNet Driver After you install the software, you use RSLinx to configure your DeviceNet driv er and RSNetW orx for DeviceNet to configure the network .
Publicat ion 1771 -6.5.13 2 - June 2000 Confi guring the De vice Net Networ k 4-3 The Allen-Bra dley 17 70-KF D Dri ver Co nfigur atio n window will appear . 5. Configure the driver using the example above as a guide and click on OK . The softwar e will tak e a f ew sec onds to c onfig ure the driver .
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-4 Conf igur ing th e Devi ceNe t Net work Using RSNetW orx for DeviceNet to Configure the Scanlist Setting Up an On line Co nnec tion Follow the proced ure bel ow to s et up an online connection t o the DeviceNet ne twork usi ng the 1770-KFD d river .
Publicat ion 1771 -6.5.13 2 - June 2000 Confi guring the De vice Net Networ k 4-5 The Browse for network window will appear . Y o u will see the drivers yo u have configure d on your syst em. 5. Select the 1770-K FD-1, Devic eNet driver and click on OK .
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-6 Conf igur ing th e Devi ceNe t Net work Setting th e 1771-SDN Node Address Once the de vices are uploaded, their n ode addresses appear to the right of their icons. For the example applicati on, the 1771-SDN scanner module sh ould have a node addres s of “0” (or “00”).
Publicat ion 1771 -6.5.13 2 - June 2000 Confi guring the De vice Net Networ k 4-7 T o change the node addr ess of a device perf orm the follow ing steps : 1. From the T ools menu sel ect Node Commissioning . 2. Click on th e Br owse but ton. Y ou will see th e Devi ce Se lect ion windo w.
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-8 Conf igur ing th e Devi ceNe t Net work The devices on the network will appear in the right panel. 4. Select the device f rom the right panel and click on OK . Y ou will see th e Node Commissioning window with the current settings for the device.
Publicat ion 1771 -6.5.13 2 - June 2000 Confi guring the De vice Net Networ k 4-9 Configurin g the I/O Devi ces Next you must add the RediST A TION and the photoeye to the 1771-SDN’s scanlist, configure and/ or verify t heir parameters, and map them to th e PLC -5 pro cess or’s me mo ry.
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-10 C onfigur ing the De viceN et Network Y o u will be prompt ed to upload or down load the con figuration. 3. Click on Upload . After uploading the Module page will appear: 4. Make sure the 17 71-SDN module’ s Rack and Group numbers are corr ect.
Publicat ion 1771 -6.5.13 2 - June 2000 Config uring the Device Net Ne twork 4-11 The Sc anlis t page will appear with the RediST A TION and the photoeye in the list of A vailable Device s . 6. For this example, uncheck the Automap on Add bo x, as shown above.
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-12 C onfigur ing the De viceN et Network Y o u will be p rompted to d ownload the chang es to the device (i.e., the sca nne r). 9. Click on Ye s . V erif ying the Phot oeye Confi guratio n 1. Double-click on th e 1771-S DN module icon and again select the Scanli st tab.
Publicat ion 1771 -6.5.13 2 - June 2000 Config uring the Device Net Ne twork 4-13 The Edit I/O Parameters window will appear for the photoeye. The I/O parameters define the configuration for t he device in terms of ho w much and w hat dat a the dev ice wil l exchan ge with t he 1771-SDN mod ule.
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-14 C onfigur ing the De viceN et Network 3. Click on OK if you made any changes and close the Edit I/O Parameters window for the RediST A TION. 4. Click on OK again. Y ou will be prompted to download the chan ges to the 1 771-SDN m odule.
Publicat ion 1771 -6.5.13 2 - June 2000 Config uring the Device Net Ne twork 4-15 The resulting device mapping will appear in the lower panel of the window: In this example, the input byte from the RediST A TION will appear in the PLC-5 processor in file N9, word 1, as bits 0-7.
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-16 C onfigur ing the De viceN et Network 4. Select the Output tab. Highligh t the RediST A TION as shown above an d click on the AutoMap button. The mapping of the RediST A TION will appear in the l ower pan el.
Publicat ion 1771 -6.5.13 2 - June 2000 Config uring the Device Net Ne twork 4-17 Download the Configur ation t o th e Scanne r 1. Click on th e Sc anli st tab and then on th e Dow nload to Scan ner button. Y o u will s ee th is wi ndow: 2. Select Channel A (default).
Publicat ion 1 771-6.5. 132 - Jun e 2000 4-18 C onfigur ing the De viceN et Network.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Chapter 5 Communicating w ith DeviceNet from Another Network What This Chapter Contains This chapter describes how to communicate with the Dev iceNet network fro m another ne twork , using the PLC -5 “pass-thro ugh” feature .
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-2 Communicati ng with DeviceN et from Another N etwork The followin g table describes what th is chapter contains and where to find specifi c information.
Publicat ion 1771 -6.5.13 2 - June 2000 Communicating with DeviceNe t from Anot her Network 5- 3 Communicating with DeviceNet from a ControlNet Network Before performing this example the Con trolNet network must be configure d and running. A Contr olNet pr ocessor (P LC-5C) is required .
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-4 Communicati ng with DeviceN et from Another N etwork Y o u will s ee th e fo llowing list of drivers . 4. Select the Allen-Brad ley 1771-S DNPT driver . The Driv er Configuration window will appear . 5. Select a pass-th rough port to be conf igured f rom the pull-d own list, e.
Publicat ion 1771 -6.5.13 2 - June 2000 Communicating with DeviceNe t from Anot her Network 5- 5 9. Click on OK . Y o u will see the following warning: 10. V erify that the routing information is accurate and click on the Ye s button. Y ou will be p rompted to choose a n ame for the driver .
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-6 Communicati ng with DeviceN et from Another N etwork Communicatin g with th e DeviceNet Ne twork Once you hav e the Cont rolNet pass- through driver conf igured, you can use RSNetW orx for DeviceNet to communi cate with the DeviceNet netw ork via th e Cont rolN et netw ork .
Publicat ion 1771 -6.5.13 2 - June 2000 Communicating with DeviceNe t from Anot her Network 5- 7 The Br owse for network window will appear . Y ou will see the drivers yo u have configure d on your syst em. 5. Highlight yo ur DeviceNet pass- through driver ( 1771-S DNPT-1 above) and click on OK .
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-8 Communicati ng with DeviceN et from Another N etwork When RS NetW orx fo r Dev ice Net is f inish ed br owsi ng, the netw ork displayed on your screen should look similar to the one shown below. Y ou are now communicating with the Devi ceNet network via th e ControlNet network.
Publicat ion 1771 -6.5.13 2 - June 2000 Communicating with DeviceNe t from Anot her Network 5- 9 Communicating with DeviceNet from an Ethern et Network Before performing this example the Ether net network must be configured and running. A 1785-ENET mod ule must be installed on the PLC -5 processor and co nnected to th e network.
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-10 Communicating with DeviceNet from Another Ne twork 2. From the Communica tions menu, select Config ure Driv ers . 3. From the lis t of Available D river T ypes , select the Eth ernet to PLC-5/SL C-5/58 20-EI driver and click on Add New .
Publicat ion 1771 -6.5.13 2 - June 2000 Communicati ng with Devi ceNet from Anot her Networ k 5-11 5. In the IP address or hostname field, en ter the IP address o f the PLC-5 processo r ( 130.130.1 30.2 in this example). 6. Click on th e Accept button.
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-12 Communicating with DeviceNet from Another Ne twork Config uring th e Dev iceNet Pass -Th rough Drive r Before you can communicate w ith the 1771-SDN modu le via the Ether net ne twork, y ou must configur e the DeviceNe t pass-t hrough driver (1771-SDNPT).
Publicat ion 1771 -6.5.13 2 - June 2000 Communicati ng with Devi ceNet from Anot her Networ k 5-13 Y o u will see the following list of drivers. 4. Select the Allen-Brad ley 1771-S DNPT driver . The All en-Bra dley 1771 -SDNPT Drive r Co nfigur ation w indow will open.
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-14 Communicating with DeviceNet from Another Ne twork 7. Select the 1771-SDN Backp lane Addr ess Config uration . W e used the following configuration for the example application. 8. Select the Dev iceNet channel ( Channel 1 for the example application).
Publicat ion 1771 -6.5.13 2 - June 2000 Communicati ng with Devi ceNet from Anot her Networ k 5-15 The new driver will be added to the list of Co nfigured Dr iver s in RSLinx. (Y our list will contain the drivers you have configured.) 12. Cl ose or Minim ize RSLinx.
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-16 Communicating with DeviceNet from Another Ne twork 2. From the File menu, select Ne w . If you have RSNetW orx for ControlNet installed on your computer you may see the f ollowing w indow. Otherwise , proceed to step 4.
Publicat ion 1771 -6.5.13 2 - June 2000 Communicati ng with Devi ceNet from Anot her Networ k 5-17 Y ou w ill receive the following prompt: 6. Click on OK to uplo ad th e device s. RSNetW orx for Device Net wi ll begin brows ing for netw ork devi ces.
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-18 Communicating with DeviceNet from Another Ne twork Communicating with DeviceNet from a DH+ Network Before performing this example the DH+ network must be configured and running. I n this example, t he PLC-5 processo r’s DH+ channel A is configure d as node 1.
Publicat ion 1771 -6.5.13 2 - June 2000 Communicati ng with Devi ceNet from Anot her Networ k 5-19 Y o u will see the following list of drivers. 4. Select the Allen-Brad ley 1771-S DNPT driver . The Driver C onfigurat ion windo w will appear . 5. Select a pass-thr ough port to be conf igured f rom the pu ll-down list, e.
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-20 Communicating with DeviceNet from Another Ne twork 9. Click on OK . Y ou will see th e following warning: 10. V erify that the routing information is accurate and click on the Ye s button. Y ou will be p rompted to enter a name for the driver .
Publicat ion 1771 -6.5.13 2 - June 2000 Communicati ng with Devi ceNet from Anot her Networ k 5-21 Communicatin g with th e Device Net Network Once y ou have the DH+ pas s-through driver configur ed, y ou can use RSNetW orx for DeviceNet to communi cate wi th the D eviceNet network v ia the DH+ netw ork.
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-22 Communicating with DeviceNet from Another Ne twork The Browse for network window will appear . Y ou will see the drivers you have configure d on your sy stem. 5. Highlig ht t he 1771-SDNPT-3 driver and click on OK .
Publicat ion 1771 -6.5.13 2 - June 2000 Communicati ng with Devi ceNet from Anot her Networ k 5-23 When RS NetW orx for Dev ice Net is fi nish ed br owsi ng, the netw ork displayed o n you r scree n should look similar to the one sho wn below. Y ou are now online t o the DeviceNet netwo rk via the Data Highway Plus network.
Publicat ion 1 771-6.5. 132 - Jun e 2000 5-24 Communicating with DeviceNet from Another Ne twork.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Chapter 6 Creating and Running the Example Application Program What This Chapter Contains This chapter d escribes th e proce dure to crea te, download, and run an example ladder logic program to test the DeviceNet n etwork.
Publicat ion 1 771-6.5. 132 - Jun e 2000 6-2 Creating and Running t he Example Appl icat ion Progr am Installing the Software Install the RS Logix 5 softwar e.
Publicat ion 1771 -6.5.13 2 - June 2000 Creatin g and Runni ng the Exa mple Appli cation Pr ogram 6-3 The Selec t Processor T ype window will open. 3. Enter the following information and c lick on OK .
Publicat ion 1 771-6.5. 132 - Jun e 2000 6-4 Creating and Running t he Example Appl icat ion Progr am 4. Enter the following ladder program. 5. Save the program using an appropriate name, e.
Publicat ion 1771 -6.5.13 2 - June 2000 Creatin g and Runni ng the Exa mple Appli cation Pr ogram 6-5 See the 177 1-SDN DeviceNet Scanner Module Installation Instructions (publication 1771-5.14) for more information on using the scanner module command register .
Publicat ion 1 771-6.5. 132 - Jun e 2000 6-6 Creating and Running t he Example Appl icat ion Progr am Downloading and Running the Program The remaining sections of this chapter provide examples of dow.
Publicat ion 1771 -6.5.13 2 - June 2000 Creatin g and Runni ng the Exa mple Appli cation Pr ogram 6-7 RSLinx will open. Y ou will see a windo w similar to the one below, displaying your sy stem’s driver configuration. 3. Expand the t ree u nder you r Contro lNet dr iver an d highlight the PLC-5 processor a s shown above.
Publicat ion 1 771-6.5. 132 - Jun e 2000 6-8 Creating and Running t he Example Appl icat ion Progr am T esting the E xample Program 1. After the download is complete , go onl ine an d pu t the PLC- 5 processo r in Run mode. 2. Press an d release th e ST ART button on the RediST A TION.
Publicat ion 1771 -6.5.13 2 - June 2000 Creatin g and Runni ng the Exa mple Appli cation Pr ogram 6-9 Down loadi ng and Runnin g the P rogram via an Et hernet Network Follow the pro cedure b elow to download an d run the example program via an Ether net network.
Publicat ion 1 771-6.5. 132 - Jun e 2000 6-10 C reatin g and Runni ng the Exam ple Appli cation Pr ogram RSLinx will open. Y ou will see a wind ow similar to the one below, displaying your sy stem’s driver configur ation. 3. Expand the tree unde r your Ether net drive r and highlight the PLC-5 processor as shown abo ve.
Publicat ion 1771 -6.5.13 2 - June 2000 Creat ing and Runni ng the Examp le Applic ation Pr ogram 6-1 1 T est ing th e Exam ple Prog ram 1. After the download is complete , go onl ine and put the PLC-5 processo r in Run mode. 2. Press an d release th e ST ART button on the RediST A TION.
Publicat ion 1 771-6.5. 132 - Jun e 2000 6-12 C reatin g and Runni ng the Exam ple Appli cation Pr ogram Down loading an d Runnin g the P rogram via a DH + Netw ork Follow the pro cedure below to download an d run the e xample program via a DH+ network.
Publicat ion 1771 -6.5.13 2 - June 2000 Creat ing and Runni ng the Examp le Applic ation Pr ogram 6-1 3 4. Click on th e Download but ton. Y o u will be asked if you want to proceed with the Download. Y ou will see a message similar to the one below. 5.
Publicat ion 1 771-6.5. 132 - Jun e 2000 6-14 C reatin g and Runni ng the Exam ple Appli cation Pr ogram T esting the E xample Program 1. After the download is complete , go onl ine an d pu t the PLC- 5 processo r in Run mode. 2. Press an d release th e ST ART button on the RediST A TION.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Chapter 7 T rouble shooting What This Chapter Contains This chapter describes the diagnostics provided by the LED diagnostic indicat ors on t he 1771-SDN module ’s fron t panel.
Publicat ion 1 771-6.5. 132 - Jun e 2000 7-2 T roubleshoot ing Network Status Indicator Each of the channels (1 and 2) on the 1771-SDN Scanne r module has a bicolor (green/red) network status indicator that provides troubleshooting information about the ch annel’s communication links.
Publicat ion 1771 -6.5.13 2 - June 2000 T roubles hooting 7-3 73 Device’s identi ty information does not match electronic key in scanlist table entry (node number alternately flashes).
Publicat ion 1 771-6.5. 132 - Jun e 2000 7-4 T roubleshoot ing 91 Bus-off condition detected on comm port. Module is detecting communication errors. Check DeviceNet connections and physical media integrity . Check s ystem for failed slave devices or other possible sources of netw ork inter ference.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Appendix A 1785-ENET Module Channel Configu ration Configuring the Communications Channel Before you can commun icate with the PLC-5 processor over an Ether n.
Publicat ion 1 771-6.5. 132 - Jun e 2000 A-2 1785-E NET Modu le Channe l Conf igurat ion 2. Select the Channel 3A tab . 3. Select Ethernet as the Channe l T yp e . 4. Uncheck the BO OTP Enabled box to dis able BO OTP . 5. Enter the IP Address you w ant to a ssi gn to the PLC- 5 p roces so r (e.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Appendix B Installing and Configuring the ControlNet Communications Driver The examples using ControlNet in this manual were perform ed with a 1784-KTCX15 communication interface card installed in the person al computer that was used as a programming ter minal.
Publicat ion 1 771-6.5. 132 - Jun e 2000 B-2 Insta lling and Co nfigur ing the Cont rolNet Communica tions Drive r These setti ngs depend o n the devices in stalled on yo ur computer .
Publicat ion 1771 -6.5.13 2 - June 2000 Install ing and Conf iguri ng the Contro lNet Commu nic ations Dri ver B-3 4. When prompted for a name for th e new driver , select the default name assigned by the system, i.e. , AB _KTC-1 . The Config ure Dev ice window will appear: 5.
Publicat ion 1 771-6.5. 132 - Jun e 2000 B-4 Insta lling and Co nfigur ing the Cont rolNet Communica tions Drive r.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Appendix C Installing and Configuring the DH+ Communications Driver The examples using Data Highway Plus (DH+) in this manual were performed with a 1784-KTX commu nication interface card insta lled in the personal computer that was used as the programming ter minal.
Publicat ion 1 771-6.5. 132 - Jun e 2000 C-2 Installin g and Conf iguring the DH+ Commun ication s Driver Configuring the 1 784-KTX Communications Driver After installing the card in the computer , you must run RS Linx to configure the commu nications driver .
Publicat ion 1771 -6.5.13 2 - June 2000 Install ing and Conf igurin g the DH+ Commu nicatio ns Driv er C-3 5. Enter the following configuration: 6. Click on OK to save your s ettings.
Publicat ion 1 771-6.5. 132 - Jun e 2000 C-4 Installin g and Conf iguring the DH+ Commun ication s Driver.
1 Publicat ion 1771 -6.5.13 2 - June 2000 Appendix D Data Map Example This appendix de scribes a basic mapping example that co nnects two DeviceNet ne tworks (cha nnels A and B o f the 1771-S DN scanner) to 62 simple sens or-ty pe devices. Each device sends on e data byte that contains one data b it and o ne status bit.
Publicat ion 1 771-6.5. 132 - Jun e 2000 D-2 Data M ap Exa mple Example Fram ework Based on t he backplane addr essing mode and t he scanner’ s block trans fer support, the foll owing number of discrete inpu ts are support ed.
Publicat ion 1771 -6.5.13 2 - June 2000 Data Map Exa mple D-3 Input Data T able Formats The ma nner in whic h bit s ar e map ped to the input data tabl e dep ends on the address density used. The following exa mple is a 2-slot conf iguration. Note that disc rete mapping is no t possible in 2-slo t mode.
Publicat ion 1 771-6.5. 132 - Jun e 2000 D-4 Data M ap Exa mple In 1-slot addressing mode eight bits are available for discrete input mapping, as sho wn below.
Publicat ion 1771 -6.5.13 2 - June 2000 Data Map Exa mple D-5 In 1/2-slot addressing 24 bits are available for discrete input mapping, as shown below. node #1 1 byte S D node # 2 1 b yte S D node #1 1.
Publicat ion 1 771-6.5. 132 - Jun e 2000 D-6 Data M ap Exa mple Example Output Mapping Scheme This example’s output mapping scheme is a simplified and f ixed map of th e discr ete o utputs and dat a from the device o utput data ta ble to DeviceNet de vices.
Publicat ion 1771 -6.5.13 2 - June 2000 Data Map Exa mple D-7 Output Data T ab le Fo rmats The following illustrate s an output data mapping scheme example for a scanner in 2-slot addres sing mode .
Publicat ion 1 771-6.5. 132 - Jun e 2000 D-8 Data M ap Exa mple The following is an output data mapping scheme example for a scanner in 1-slot addressing mode.
Publicat ion 1771 -6.5.13 2 - June 2000 Data Map Exa mple D-9 The following is an output data mapping scheme example for a scanner in 1/ 2-slot addre ssing mo de.
Publicat ion 1 771-6.5. 132 - Jun e 2000 D-10 Data Map Example.
Publicat ion 1771-6 .5.1 32 - June 200 0 Index A about thi s user manual P-1 to P-7 audience P-2 automappi ng 4-14 to 4-17 B befo re you begin 1-1 to 1-11 block tr ansfer read 2-5 , 2-8 block transfer.
Publica tion 17 71-6.5. 132 - June 2 000 2 Index settin g th e I/O chassis back plane s witches 3-2 help Rockwell Automat ion suppor t P-7 how your network wil l look 3-13 I input da ta definiti on 1-.
Publication 1771-6.5.132 - June 2000 955134-57 Allen-Bradley Publication Problem Report If you fin d a problem with ou r documentatio n, please comple te and return th is form. Pub. Name PLC-5 DeviceNet Scanner Module User Manual Cat. No. 1 771-SDN Pub.
Other Co mments PLEASE F OLD HERE NO POST AG E NECESSARY IF MAIL ED IN THE UNITED ST A TES BUSINESS REPL Y MAIL FIRST -CLASS MAIL PERMIT NO . 18235 CLEVELAND OH POST AGE W ILL BE P AID BY THE ADDRESSE.
.
Publicat ion 1 771-6.5. 132 - Jun e 2000 2 PN 955 134-57 Supersedes P ublication 1 771-6.5.118 - M ay 1997 © 2000 Rockwe ll International Cor poration.
PLC-5 DeviceNet Scanner Module User Manua l.
Un punto importante, dopo l’acquisto del dispositivo (o anche prima di acquisto) è quello di leggere il manuale. Dobbiamo farlo per diversi motivi semplici:
Se non hai ancora comprato il Rockwell Automation DEVICENET 1771-SDN è un buon momento per familiarizzare con i dati di base del prodotto. Prime consultare le pagine iniziali del manuale d’uso, che si trova al di sopra. Dovresti trovare lì i dati tecnici più importanti del Rockwell Automation DEVICENET 1771-SDN - in questo modo è possibile verificare se l’apparecchio soddisfa le tue esigenze. Esplorando le pagine segenti del manuali d’uso Rockwell Automation DEVICENET 1771-SDN imparerai tutte le caratteristiche del prodotto e le informazioni sul suo funzionamento. Le informazioni sul Rockwell Automation DEVICENET 1771-SDN ti aiuteranno sicuramente a prendere una decisione relativa all’acquisto.
In una situazione in cui hai già il Rockwell Automation DEVICENET 1771-SDN, ma non hai ancora letto il manuale d’uso, dovresti farlo per le ragioni sopra descritte. Saprai quindi se hai correttamente usato le funzioni disponibili, e se hai commesso errori che possono ridurre la durata di vita del Rockwell Automation DEVICENET 1771-SDN.
Tuttavia, uno dei ruoli più importanti per l’utente svolti dal manuale d’uso è quello di aiutare a risolvere i problemi con il Rockwell Automation DEVICENET 1771-SDN. Quasi sempre, ci troverai Troubleshooting, cioè i guasti più frequenti e malfunzionamenti del dispositivo Rockwell Automation DEVICENET 1771-SDN insieme con le istruzioni su come risolverli. Anche se non si riesci a risolvere il problema, il manuale d’uso ti mostrerà il percorso di ulteriori procedimenti – il contatto con il centro servizio clienti o il servizio più vicino.