Home

DeviceNet To SCANport Communication Module with Digital Inputs

image

Contents

1. ES Tasks 148 MainTask Local1 l Status egister Eee EMS MarPiogen E Locatt 1 Data uaa Le Decimal Program Tags one El Menoa gt Locat 1 Datalo Decimal E Unscheduled Programs EL 0 Decimal 3 Trends D Decimal 5 6 Data Types 0 Decimal Eh User Defined 0 Decimal i Predefined a ier Module Defined 0 Decinal 5 85 1 0 Configuration 0 Decimal 8 111756 0N8 0 Decimal J 2 1756 048 Output ocal 1 1 D Decimal 8 3 17564416 Input o Decimal 0 Decimal D Decimal D Decimal o Decimal o Decimal N Enter a tag value Clicking on the appropriate tag can provide additional bit level data Figure 5 16 ROB pomt fyna Doce Table Window tint Sau sar LESA CITE EIA ETA us Psd ES ee EEEE Z A ne h G Apne gt SORA 2 nZ tact nanag PT ER FF i Ppi wi in ie le mr End of Chapter 5 Publication 2100 DU021B EN P January 2004 COS Change of State Allocation When you set up a COS allocation the scanner will send output data to the adapter when the data changes If no changes occur the scanner will send the output data to the adapter at a constant rate called a heartbeat To use COS you must enable COS in the adapter and in the scanner Enabling COS in the Adapter 1 Enable the desired I O and datalinks parameters 4 8 2 Set the M S Input 24 parameter Refer to the M S Inpu
2. Attribute Scaling ID Value Definition Data Type Description Supported on this Data Type 1 WORD 16 bit word No 2 UINT 16 bit unsigned integer Yes 3 INT 16 bit signed integer Yes 4 BOOL Boolean No 5 SINT Short integer Yes 6 DINT Double integer Yes 7 LINT Long integer Yes 8 USINT Unsigned short integer Yes 9 Not Supported Unsigned double Yes integer 10 Not Supported Unsigned long integer Yes 11 Not Supported Single floating point Yes format IEEE 754 12 Not Supported Double floating point Yes format IEEE 754 13 Not Supported Duration short Yes 14 Not Supported Duration Yes 15 Not Supported Duration high Yes resolution 16 Not Supported Duration long Yes 17 Not Supported Date No 18 Not Supported Time of Day No 19 Not Supported Date and time No 20 Not Supported 8 bit per character No string 21 Not Supported 16 bit per character No string 22 Not Supported N byte per character No string 23 Not Supported Short N byte character No string 24 Not Supported 8 bit string No 25 Not Supported 32 bit string No 26 Not Supported 64 bit string No Publication 2100 UM001B EN P January 2001 C 14 DeviceNet Objects Publication 2100 UM001B EN P January 2001 Common Services Implemented for pg Service Name Class Instance 0x01 No Yes Get_Attribute_All Ox0E Yes Yes Get_Attribute_Single 0x10 No Yes Set_
3. 2 1746 1012 T4 TIMER 20000000 For Help press F1 C5 COUNTER R6 CONTROL 0004 0 3 2 3 1746 1012 XREF 20006 APP READ 7 1747 SDN Publication 2100 UM001B EN P January 2001 5 14 Ladder Logic Programming Including Reading Inputs H RSLogix 500 SLC500_DEVEL1 RSS File Edit View Search Comms Tools window Help SLC Code SMP 3 output A is turned OFF when Slot 3 Input 0 is true in Rung 5 SMP 3 output B is turned OFF when Slot 3 Input 1 is true in Rung 6 In Rung 7 SMP 3 is reset when input 2 of Slot 3 input card is true Rungs 8 and 9 illustrate how SMP 3 outputs A and B are respectively turned ON when Inputs 3 and 4 of I O card in slot 3 are true Figure 5 9 pojam el see lef Y alla me ale Driver AB_DF1 1 2 SLC500_DEVEL1 RSS Project O Help Controller Zi Controller Properties a Processor Status A 10 Configuration He Channel Configuration B Multipoint Monitor 2 Program Files SYS0 SYS1 Lap 2 Data Files Cross Reference E 00 output M INPUT E s2 status O 83 BINARY T4 TIMER E C5 COUNTER R6 CONTROL N7 INTEGER E Fs FLoat Y Force Files 00 OUTPUT For Help press F1 Publication 2100 UM001B EN P January 2001 J a 678 lt gt 0 ose Bl Jr user ABit A Timericounter_ A Input Output A Compare 1746 1012 1 3 JE 1 1746 1012
4. 8 3 1756 1416 Input GK61_Input_4 GK61_Switch_4_Echo lt Local 1 1 Data 0 3 gt lt Local 2 0 Data 3 gt J E a Scanner Enable Local 1 0 CommandRegister Run Errors Rung 6 of 11 APP Publication 2100 DU021B EN P January 2004 5 18 Ladder Logic Programming Including Reading Inputs 9 RSLogix 5000 Test_1_4slot File Edit View Search Logic Communications Tools Window Help Rungs 5 through 8 also read 2100 GK61 inputs In this case however control information is being sent to an area of the Scanner where SMP 3 Command Word is located Commands pass through ScanPort to SMP 3 where Outputs A and B are turned on or off For example when 2100 GK61 input 3 is momentarily turned on in rung 7 SMP 3 Output A is energized via Local 1 0 Data 0 3 See Logic Control Data and Status Data tables from the SMP 3 manual on the last page of this Tech Note Figure 5 13 alsa 4 nje ol alalaj e ev ajaj Fanerin gt No Edits v Forces Disabled Path 4B_DF1 141 3 Controller Test_1_4slot W MainProgram MainRoutine aj Abichel 4 ell fant aot gt 4 gt User Timer JO x Controller Tags C Controller Fault Handler eleledaled eledilod ma a C Power Up Handler E Tasks 2 48 MainTask 3 68 MainProgram Program Tags 8 MainRoutine 2 Unscheduled Programs 3 Trends E Data Types Esp User Defined H E Predefined Ea Module Defined 2
5. 1 3 JE 2 1746 1012 1 3 J E 1746 1012 13 J 4 1746 1012 0010 File 2 TI XREF 2 0003 APP RESD 4 Ladder Logic Programming Including Reading Inputs 5 15 ControlLogix Programming Example Unlike PLC and SLC programs the ControlLogix utilizes a tag based technique A ControlLogix is used to read 2100 GK61 inputs and control the outputs of an SMP 3 electronic overload relay Rungs 0 through 3 illustrate XIC Examine if Closed input instructions Each 2100 GK61 input can be read by examining Scanner in slot 1 Therefore the first input is Local 1 I Data 0 0 The second input is located at Local 1 I Data 0 1 In this example status of each 2100 GK61 input is annunciated by the first four bits of the output card in slot 2 The first output is addressed as Local 2 0 Data 0 Rung 4 enables the Scanner Figure 5 10 o RSLogix 5000 Test_1_4slot File Edit View Search Logic Communications Tools Window Help alele e eje ol a alala E lv ajaj E Hll akolo NoEdts x Forces Disabled ME Path AB_DF1 141 3 Controller Test_1_4slot i MainProgram MainRoutine elededeled dae E Controller Tags 2 Controller Fault Handler Rungs 0 3 GK6linputs 1 4 are read OTE command turns on respective bit on 1756 OA8 output card GK61_Input_1 GK61_Switch_1_Echo 2 Power Up Handler E Tasks lt Local 1 Data 0 0 lt Local 2 0 Data D gt E B 48 M
6. 2 1336PLUS CLEAR FAULTS Command Bit N10 0 1746 1116 1336PLUS REFERENCE Command Word MOV Move This rung enables the scanner changes the scanner into RUN mode Source Dest 1747 SDN Scanner Enable Bit 0 1 0 This rung copies the drive command data to the scanner and out to the drive via DeviceNet 1747 SDN COP Copy File Source N10 0 Dest M0 1 0 Length 128 Publication 2100 UM001B EN P January 2001 2 END Ladder Logic Programming Including Reading Inputs 5 13 The following programming example shows how to read 2100 GK61 inputs and control SMP 3 outputs with an SLC 500 SLC Code Rung 0 enables scanner Rungs 1 through 4 read 2100 GK61 inputs and turn on respective output in Slot 3 I O Card Figure 5 8 E RSLogix 500 SLC500_DEVEL1 RSS File Edit View Search Comms Tools Window Help Dee s sele A 21615 me ejej ONE e noroc E RECREERE 0 Forces Disabled B lt gt user ABit A Timer Counter_ A Input Output A Compare Driver AB_DF1 1 Node 1d Sq Project Help 2 43 Controller i Controller Properties D Processor Status AUT 10 Configuration hi Channel Configuration E Multipoint Monitor 129 Program Files syso SYS1 amp LAD2 Data Files B cross Reference 00 OUTPUT M INPUT 52 STATUS B3 BINARY 7
7. January 2001 Appendix Objectives N File Addresses Appendix D N File Addresses Appendix D provides information on the N File addresses used when accessing the PCCC object When using messages you can use the N file addresses to locate information about the adapter or SCANport product The 2100 GK61 support the N file addresses shown below Address N File Addresses N10 0 Number of SCANport product parameters N10 1 999 SCANport product parameters 1 999 value only N11 0 999 SCANport product parameters 1000 1999 value only N12 0 999 SCANport product parameters 2000 2999 value only N13 0 Number of SCANport adapter parameters N13 1 999 SCANport adapter parameters 1 999 value only N30 1 999 SCANport product parameters 1 999 all information read only N31 1 999 SCANport product parameters 1000 1999 all information read only N32 1 999 SCANport product parameters 2000 2999 all information read only N33 1 999 SCANport adapter parameters 1 999 all information read only N40 0 63 Block Transfer Emulation file N42 5 1203 Gx2 Firmware Emulation Version the firmware version of the 1203 Gx2 this adapter emulates for Drive Tools compatibility N42 6 Max Network Node the maximum DeviceNet Node Number N42 7 Adapter Port the SCANport adapter port num
8. January 2001 Configuring a Scanner to Communicate with the Adapter 4 27 11 Click on the Input tab to view the input table map From this screen you can customize the arrangement of the scanner s data table Refer to the RSNetWorx online help for additional information Figure 4 36 Input Data Table Mapping Screen a 1747 SDN Scanner Module 9 21 x General Module Scanlist Input Output ADR Summary Ata Unmap Advanced Options Memory Discrete y Start Word fo a Bits 15 0 i5frhialr2 11 10 9 e 716151 131 2111012 Re y 02 8 02 BuL1305 Dri Polled 6 1 1 1 0 Publication 2100 UM001B EN P January 2001 4 28 Configuring a Scanner to Communicate with the Adapter 12 Clicking on the Advanced button moves to the advance memory mapping screen From this screen you can specify where to map the data to 13 Selecting the Memory Arrow under the Map To allows you to select Discrete or M File Memory This example leaves the mapping in discrete memory Figure 4 37 Advanced Mapping Screen Aer brad Company VAT LON Earn Mode Ma 14 Click on the Output tab to view the output table map From this screen you can customize the arrangement of the scanner s data table Refer to the RSNetWorx online help for additional information Figure 4 38 Output Data Table Mapping Screen Ee 1747 SDN Scanner Module 9 BE General Module Scanlist Input Output aba Summa
9. Minor Revision cuation Allen Bradley Vendor Nane ProdTypedte Spare NCC Product Type String Prodiane 3 ve Product Nape Catalog 13365 A0415 Catalog 50_Iato Default ozod Default PollInfo 0X000 Polled Defaule gt Impuri 1 Default Output Outputl 0 Polied HM Publication 2100 UM001B EN P January 2001 4 14 Configuring a Scanner to Communicate with the Adapter Publication 2100 UM001B EN P January 2001 A scientific calculator such as the one in Windows can be used to convert decimal to hexadecimal and v s In the example 122 is entered in the calculator with Dec button selected When the Hex button is chosen the display changes to 7A 1 122 1026 4 ID code in decimal 0001 007A 0402 0400 in hexadecimal Figure 4 20 Windows Scientific Calculator Used for Conversion Ed View Help Clee dec Coa Bn C Degees Rada C Grade Cw We P r EEE Catcvtato 2 Ea a adele A ERREEEE p o E e sn yj to MS 1 T hw Ta F a A Ela la 4 eff ef gt To aa oe ESOS E OO Zaj ES ee A el Y 0 gt 1040 8 pe E E Figure 4 21 Device Configuration Screen Noch mall Autoras Aber Brainy We Important This screen allows you to edit any of the parameters in the SMP or adapter itself Refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs for information on editing parameters 19 Click on the Cancel
10. The adapter is also capable of connecting to four 4 common switch inputs These inputs can monitor status of disconnect switches starter and contactor auxiliary contact relays push buttons or any ON OFF device capable of switching 230Vac 115Vac or 24Vdc Features of the Communication Adapter Overview 1 3 Figure 1 3 Example of 2100 GK61 Module Connecting Digital Inputs CiSCONNECT STATUS DNET In Figure 1 3 discrete wiring connects up to four 4 digital inputs to the 2100 GK61 module A DeviceNet cable connects the module to the DeviceNet network and a SCANport cable connects a SCANport product to the module The contact status is then translated into a DeviceNet message that can be used to control SCANport devices attached to the module or other devices on the DeviceNet network The DeviceNet network is an open global industry standard communication network designed to provide an interface through a single cable from a programmable controller directly to smart devices such as sensors push buttons motor starters simple operator interfaces and drives The 2100 GK61 module lets you connect your SCANport products to a DeviceNet network This adapter features the following e Flash upgradeability allows for field updates in the event of changes to the adapter s firmware Publication 2100 UM001B EN P January 2001 1 4 Overview Publication 2100 UM001B EN P January 2001 COS Change of State
11. nee Fl ma E e f 3 Lea _ ye Doral E A pemean Dela AA Magamine 3 Sade Otte Aian trating Company 177 SON Scara Moe Verify the default values listed on this page Edit them as necessary Refer to RSNetworx for DeviceNet online help for more information 4 Click Apply to save Publication 2100 UM001B EN P January 2001 4 18 Configuring a Scanner to Communicate with the Adapter 5 Click on the Scanlist tab so that the Scanlist page appears Figure 4 24 Scanlist Screen Ar brad Company 1771 SON Scorer Moa aol 6 Select the available devices you wish to add to the scan list Verify that the Automap on Add box is checked This will map the devices into the scanner s memory automatically when added Refer to the RSNetWorx for DeviceNet help menu for additional information on automapping Once a device is selected click on the Add gt or Add All gt gt button Figure 4 25 Scanlist Configuration Screen Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 19 7 Modify each device s I O parameters if needed Select the device and click on the Edit I O Parameters button The I O Parameters dialog screen appears Figure 4 26 I O Configuration Edit Screen Edit 1 0 Parameters A63 SMP 3 8A to 37A 15 E x SI AV Change of State Cyclic Bx Size E Bytes Change of State C Cyclic Wee Ty Bit E Rx Siz
12. 14 4 gt ae evice Identity Primary Vendor Rockwell Automation Allen Bradley 1 Device Smart MCC 122 Product Unknown Device Code 20 20 Catalog foo Revision Jo 3 EDS files are available for download at the Allen Bradley web site http www ab com networks eds There is a unique EDS Electronic Data Sheet file for each size of E3 each type of DSA and every combination of 2100 GK61 and connected SCANPort Product Drive SMC or SMP 3 Publication 2100 UM001B EN P January 2001 4 6 Configuring a Scanner to Communicate with the Adapter Publication 2100 UM001B EN P January 2001 4 In the example below a search is being performed for an EDS file for a 1336 drive with 2100 GK61 The procedure involves 1 selecting Smart MCC for the device type 2100 GK61 2 entering at least a portion of the catalog numbers and 3 clicking on Search Figure 4 5 EDS Search for 1336 Drive with 2100 GK61 aaa AS Prodect DewceNet Conteetiet Le E Device Type Sman MEC gt osos bate Shook 2as Brand Any ol per oro Product Mamo SSCS alates Lome A SS ton Renton Lt Abend ias Majes Revison Cane hates a asssa Miner Revision Md E tinca Sesto A Satan ates pintaa Perera m k mn a 5 The next example displays an EDS search for an SMP 3 Solid State Overload Relay with 2100 GK61 The procedure involves 1 selecting Smart MCC for the devic
13. January 2001 6 24 Using DeviceNet Explicit Messaging 3 Type in a unique name a Slot for the DNB module and the revision of the DNB module By selecting Disable Keying upgrading the revision of the DNB will not cause a major error to the logix processor Select Finish to create an I O module for the DNB Figure 6 12 Configuration Screen fal Module Properties Local 1 1756 DNB 3 1 xj General Connection Module Info Backplane Type 1756 DNB 1756 DeviceNet Scanner Vendor Allen Bradley Name p netScannerl Slot 1 Description a Input Size 125 j 32 bit zi Output Size 124 4 32 bit Status Size 32 y 32 bit Revision ey fi Electronic Keying Disable Keying y Status Offline Cancel App Help Publication 2100 UM001B EN P January 2001 Using DeviceNet Explicit Messaging 6 25 e Rung 0 Create a free running timer that will set the interval of executing the message instruction In this case there is a two second timer e Rung 1 Each time the timer is done XIC of timer0 dn the message MSG instruction will be executed Figure 6 13 Example Ladder Program Explanation O RSLogix 5000 IntelliCenter File Edit View Search Logic Communications Tools Window Help alem el al Y alala le e ala Femen y a e ES a Hlal 3 Hr Di Ks ha gt No Edits y Forces Disabled y Forces Disabled Path AB_PCC 1 1 Backplane 0 1 gt user BEX TinerKourter MainProgram
14. January 2004 0000 0001 0002 0003 Ladder Logic Programming lncluding Reading Inputs 5 9 PLC Ladder Logic Example The following example uses a PLC 5 a 1771 SDN DeviceNet scanner and a 2100 GK61 to control a 1305 1336 PLUS or 1336 PLUS II drive The example program shows how to obtain status information from the drive and how to control it e g starting the drive stopping the drive jogging the drive sending reference and clearing faults When you understand this example you should be able to customize the program to fit your application needs The example assumes that there is an operator s station wired to an I O module in slot zero of module group zero of rack zero IMPORTANT You may want to verify a device has not failed using word 0 of block transfer 62 before sending control data If a device has failed use block transfer 52 to find out which device failed Refer to the 1771 SDN DeviceNet Scanner Module Manual Publication 1771 5 14 for more information Figure 5 4 Example PLC Ladder Logic Program BTR Block Transfer Read Module Type Generic Block Transfer Rack 000 Group 0 Module 0 Control Block BT20 0 Data File N9 0 Length 62 Continuous No Setup Screen 0 002 0 0 002 de 1 MOV Move Source N9 3 32767 lt Dest N21 1 32767 lt Publication 2100 DU021B EN P January 2004 5 10 Ladder Logic Programming Including Reading Inputs
15. No Forces No Forces INoEdts Forces Disabled Forces Disabled E 3X m Ul JEM lt gt 0 0 oe a Sea Fm NVI CY ALA ATENTA 535 1001 N10 1 a 0006 JE lt gt 3 3 1001 N10 1 0007 4 1002 B30 BTW 0008 ONS Block Transfer Write z 1 0 Module Type Generic Block Transfer Rack 000 N gt 1002 T4 1 Group 0 JE JE Module o ER gt 2 DN Control Block BT202 Data File N300 Length 64 Contumous No gy OV Move Source 0 0 lt Dest N30 70 Si3 lt BT 202 CMP BTR 0009 Comparison Block Transfer Read Expression N30 70 gt N300 DN Module Type Generic Block Transfer Rack 000 Group 0 Module 0 Control Block BT203 Data File N3070 Length 54 Contismous KO fT E S of For Help press Fl XREF Class 1 20000 APP Fran Publication 2100 UM001B EN P January 2001 6 12 Using DeviceNet Explicit Messaging e Rung 10 GK61 input status is read at N30 73 and sent to Output 001 a 1771 SIM card in slot 1 The hexadecimal mask OFH transfers only the four least significant bits e Rungs 11 and 12 Generator provides a 20 ms read pulse every 500 ms T4 1 DN must be enabled on Rung 8 as shown previously Figure 6 6 ASLogix 5 Devel2 rsp LAD 2 GS Ele Edt Vew Seach Comm look Window Help 18 x SALA EE irl E ESA 0012 Timer On Delay N DN Timer T4 Time Basa ool i gt Proset 50 lt Acom 46 i Publication 2100 UM001B E
16. Supported Minimum Maximum 2100 GK61 1305 AC MICRO Drive 5 0 10 Yes 1336 IMPACT Drive 60 0 10 Yes 1336 PLUS AC Drive 60 0 10 Yes 1336 PLUS II Drive 60 0 10 Yes 1336 FORCE Drive 60 0 10 Yes 1394 AC Mult Axis Motion 5 0 10 Yes Control System SMC Dialog Plus 1 0 2 Yes SMP 3 Smart Motor Protector 2 0 2 Yes 1397 Digital DC Drive 5 0 10 Yes 1557 Medium Voltage Drive 5 0 10 Yes Lower horsepower products may not support a sixth peripheral Refer to your user manual to verify that your product supports a sixth peripheral Important To connect multiple peripherals to a SCANport product a port expander may be required Refer to your product s documentation for more information Important If you intend to use datalinks to communicate with and control your SCANport product verify that your SCANport product supports datalinks before enabling them in the adapter Publication 2100 UM001B EN P January 2001 1 6 Overview Hardware and Parts 2100 GK61 Module Hardware Description Figure 1 4 illustrates and the following table lists the main parts of the 2100 GK61 DeviceNet to SCANport communication module with Digital Inputs Figure 1 4 Parts of the 2100 GK61 Module Number Part Description 1 Panel mount Attach module to sub panel through mounting holes 2 SCANport Provides a standard SCANport 8 pin circular mini DIN connector for the Connection SCANport cable 3 Digital Input Allows connect
17. lb Messages Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 13 18 Registered EDS files are stored on a PC s hard drive under c Program Files Rockwell Software RS Common Eds A typical location is shown here Figure 4 18 PC Hard Drive Directory Example BX Exploring C Program Files Rockwell Software ASCommon EDS olx Eie Edt View Tools Help All Folders Contents of C Program Files Rocku J Outlook Express Y Panel Builder 0001007403140200 eds Y PictueT aker Es 3 Phs E Powe Fiex7000 Y Rockwell Software Y ContiolLogx Gateway 1 91 a OPCTooks Y ASCommon Sy Eds E Icons a Y OrlinDoc a Y ASLinx Y ASLogk 5 English 23 RSLogix 500 Engish Step 18 3 ASLogx 5000 E 1 ASNetwondll E Ey ASU x symantec gt fM abieci seected 77MKB oo E7 Additional EDS detail can be viewed by opening the file with a text editor such as WordPad EDS identifiers are in decimal within the body of the EDS document RSNetWorx for DeviceNet also uses decimal IDs 1 122 1026 4 Refer to the example in Figure 4 20 The equivalent EDS file name is in hexadecimal 0001007A04020400 eds Figure 4 19 EDS File Detail EDS Tile Translator Version 2 02 01 Electronic Dats Sheer Pile Desc Text Createbate 10 CreateTime Noddace ModTime Revision Vendor Code Product Type Product Code Major Revision
18. s parameter number to 4000H A Reset or Name yore values Default Writable Power Description Settings Cycle 1 SCANport 0 7 NA No No Identifies the port number to which the adapter Adapter is connected on the SCANport product 2 DN Node 0 63 63 Yes Yes Identifies the DeviceNet Node Address for the Address adapter 3 DN Data Rate 125K Auto Yes Yes Identifies the data rate used on the DeviceNet 250K network 500K Important At least one node on your Auto DeviceNet network must be configured to a data rate 125 250 or 500 K not autobaud 4 Cmd Stat Con Off On On Yes Yes Determines whether to pass logic command and fig analog reference control data from a DeviceNet connection to a SCANport product 5 Datalink A Cfg Off On Off Yes Yes Determines whether to pass control data contained in datalink A from a DeviceNet connection to the SCANport product 6 Datalink B Cfg Off On Off Yes Yes Determines whether to pass control data contained in datalink B from a DeviceNet connection to the SCANport product 7 Datalink C Cfg Off On Off Yes Yes Determines whether to pass control data contained in datalink C from a DeviceNet connection to the SCANport product 8 Datalink D Cfg Off On Off Yes Yes Determines whether to pass control data contained in datalink D from a DeviceNet connection to the SCANport product Important For information on accessing and editing parameters refer to Chapter 3
19. 0 00 cee eee E 1 What is Emulated Block Transfer E 1 Supported Emulated Block Transfer Commands E 1 Emulated Block Transfer Status Word E 2 Parameter Value Read ooo ooooocmocmoom oo E 3 PLC Block Transfer Emulation Instruction Data E 3 Message Operation 0 000 e cece eee E 3 Example s isang iras es E 3 Parameter Value Write ooooooooo o E 4 PLC Block Transfer Emulation Instruction Data E 4 Message Operati0N oooooooooommoo E 4 Example it aii E 4 Parameter Read Full o E 5 PLC Block Transfer Emulation Instruction Data E 5 Message Operati0N oo o ooooooooomoo E 6 Example ri ai cit E 6 Product ID Number Read o oooocooo cmo E 8 PLC Block Transfer Emulation Instruction Data E 8 Message Operati0M ooooooooooocmmoo E 9 EXAMple ud ia ii E 9 Scattered Parameter Value Read E 10 PLC Block Transfer Emulation Instruction Data E 10 Message Operation 0 0 00 e eee eee eens E 11 Example inanidacida a od tis Coe ease EN E 11 Scattered Parameter Value Write E 12 PLC Block Transfer Emulation Instruction Data E 12 Message Operation 0 00 e eee eee eee E 13 EXample sce de site Rafik as Gert hota ie Ee ae E 13 NYS FUNCIONS T oee 224 a ts E 14 PLC Block Transfer Emulation Instruction D
20. 40 to 185 F Relative Humidity Operating 5 to 95 non condensing Relative Humidity Non Operating 5 to 95 non condensing Shock Operating 30g peak acceleration 11 1 ms pulse width Shock Non Operating 50g peak acceleration 11 1 ms pulse width Vibration Operating 2 5g at 5Hz 2KHz Vibration Non Operating 5g at 5Hz 2KHz Power Consumption Supplied through DeviceNet 24Vdc 120mA Supplied through SCANPort 12Vdc 50mA Digital Inputs At 24V 10mA each Input At 115V 10mA each Input At 230V 10mA each Input Regulatory Agencies UL 508 and CUL Publication 2100 UM001B EN P January 2001 A 2 Product Specifications Publication 2100 UM001B EN P January 2001 Appendix Objectives Setting the Node Address Appendix B DeviceNet to SCANport Communication Module with Digital Inputs Parameters Appendix B provides information on the DeviceNet to SCANport Communication Module with Digital Inputs parameters and how to configure them In this appendix you will read about the following e Setting the node address e Setting the data rate e Using datalinks and command I O e Using Master Slave communications e Using Peer to Peer communications e Using Fault Configurable inputs e Parameters in the DeviceNet to SCANport Communication Module with Digital Inputs Important The number for parameters appears in parentheses after the
21. BYTE Hour 0 23 ENE Day of Week 0 6 0 BYTE Date 1 31 BYTE Month 1 12 BYTE Year 0 990 129 Get Read ARRAY 16 character string no Warning ofBYTE length information no Text String terminating null Only O Sunday is a value of zero Year is an offset from 1990 Common Services Service Code Implemented for Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Publication 2100 UM001B EN P January 2001 DeviceNet Objects C 23 Class Code 0x99 SCANport The SCANport Pass Through Link Object lets you perform a Pass Through Link Object scattered read or write of a number of links or a single read or write of a link Class Attributes Attribute ID Access Rule Name Data Type Description 0 Set Link Command BYTE 1 Clear all links 1 Get NVS Link Diagnostic Value WORD Checksum Instance Attributeso Attribute ID Access Rule Name Data Type Description 0 Set Parameter Link Referenceo WORD O An instance in this class is the number of a parameter that is to get its value from another parameter The Parameter Link Reference value is the number of the parameter whose value is to be transferred Common Services Implemented for Service Code Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Object Specific S
22. Class Attributes Not supported Instances Instance Description 1 Message Router Object Instance Attributes Attribute Access Name Data Describtion ID Rule Type p 2 Get Number UINT Maximum number of available connections supported by the message router 3 Get Number UINT Number of connections active currently used by system components 4 Get Active ARRAY A list of the connection IDs of connec of UINT the currently active tions connections This attribute not used Reserved for compatibility purposes Common Services Implemented for Service Code Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single Publication 2100 UM001B EN P January 2001 Class Code 0x03 DeviceNet Object DeviceNet Objects C 5 The DeviceNet Object is used to provide the configuration and status of a physical attachment to DeviceNet A product must support one and only one DeviceNet Object per physical network attachment Class Attributes Attribute Access Nam Data Description ID Rule Type p 1 Get DeviceNet Word Returns 2 Specification Instances Not supported Instance Attributes Attribute Access Name Data Description ID Rule Type p 1 Get Mac ID USINT Node Address 2 Get Data Rate USINT Data Rate 3 Get BOI BOOL Default 0 4 Set Bus Off USINT Increments if BOI is non Counter zero and Bus Off occurs Can
23. Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 UM001B EN P January 2001 B 18 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Name ldle Flt Action Valid Values Settings Fault Zero Data Hold Last Fault Cfg Default Fault Writable Yes Reset or Power Cycle No Description Determines the action the adapter should instruct the SCANport product to take if the adapter detects that the PLC is set to program mode Important If you change this parameter s value the user application may not be able to control the product after a fault ATTENTION Risk of severe bodily injury or equipment damage exists The dle Fit Action 9 and Comm Flt Action 10 parameters allow the user to change the default configuration that would allow the module and associated drive to continue to operate if communication is lost Precautions should be taken to assure that your settings for these parameters and your application do not create a hazard of bodily injury or equipment damage 10 Comm FIt Action Fault Zero Data Hold Last Fault Cfg Fault Yes No Determines the action the adapter should instruct the SCANport product to take if the adapter detects a network failure Important If you change this parameter s value the user application may not be able to control the product after a fa
24. Datalink C2 Datalink D1 Datalink D2 Logic Status Feedback Datalink A1 Datalink A2 Datalink B1 Datalink B2 Datalink C1 Datalink C2 Datalink D1 Datalink D2 Message Buffers Block Reference Data In A1 Data In A2 Data In B1 Data In B2 Data In C1 Data In C2 Data In D1 Logic Status Feedback Data Out A1 Data Out A2 Data Out B1 Data Out B2 Data Out C1 Data Out C2 Data Out D1 Data Out D2 Message Handler Important Datalinks are optionally enabled in the adapter and configured in the product Refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs and your product s user manual for more information Publication 2100 UM001B EN P January 2001 5 4 Ladder Logic Programming Including Reading Inputs Example Ladder Logic Programs Publication 2100 UM001B EN P January 2001 The following are example ladder logic programs for an SMP 3 solid state overload relay ATTENTION The example ladder logic program shown in this manual is intended solely for purpose of example Because there are many variables and requirements associated with any particular installation Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use based upon the example shown in this publication Important Refer to the user manual for your SCANport product for specific I O definitions Different SCANport
25. Figure 5 5 Example PLC Ladder Logic Program continued 0004 0005 0006 0007 0008 0009 Source N9 1 2 lt Dest N21 0 2 lt BT20 0 ETW 0010 Block Transfer Write El EN Module Type Generic Block Transfer Rack 000 DN gt Group 0 Module 0 ER Control Block BT20 1 Data File N10 0 Length 62 Comtiro1ous No Setup Screen 0011 END The following table represents the control file for the block transfers Offset EN ST DN ER CO EW NR TO RW RLEN DLEN FILE ELEM R G S BT20 0 0 0 0 0 0 0 0 0 0 62 0 9 0 00 0 0 BT20 1 0 0 0 0 0 0 0 0 0 62 0 10 0 00 0 0 In the following programming example a PLC is used to read the inputs of a 2100 GK61 and control the outputs of an SMP 3 electronic overload relay Publication 2100 DU021B EN P January 2004 Ladder Logic Programming lIncluding Reading Inputs 5 11 PLC Code Rung 0 enables scanner Rungs 1 and 2 are Block Transfer Read amp Write SMP 3 Output A is turned OFF when 1 001 0 in Rung 3 is momentarily turned ON SMP 3 output B is turned OFF when 1 001 1 in Rung 4 is momentarily turned ON Figure 5 6 E x 5 Devel2 rsp File Edit View Search Comms Tools Window Help BEI ES E A E a REM IAA e e Driver AB_DF1 E Devel2 1sp EY Project 1 3 Help Controller i Controller Properties Processor Status AU 10 Configuration El his Channel Configuration El
26. arial Aaa ala Controller Tags 3 Controller Fault Handler Bit 4 on ControlLogix 1756 OA8 output card is turned on when SMP 3 Output Ais energized Local 1 1Data 0 16 Local 2 0 Data 4 LX Power Up Handler E Tasks E E8 MainTask E E MainProgram A Program Tags MainRoutine 3 Unscheduled Programs E Trends B S Data Types Ep User Defined Ca Predefined o Oa Module Defined 1 3 1 0 Configuration B 1 1756 DNB B 2 1756 048 Output 8 3 1756 1416 Input Bit 5 on ControlLogix 1756 OA8 output card is turned on when SMP 3 Output B is energized Local 1 1Data 0 17 Local 2 0 Data 5 Rung 3 of 11 APP The next word after Status word is analog information from SMP 3 Average Current Current Imbalance Thermal Capacity Utilized and Full Load Current Setting can be monitored The parameter to be monitored is selected by logic state of bits 13 15 in the Logix Control Word Publication 2100 DU021B EN P January 2004 5 20 Ladder Logic Programming Including Reading Inputs Input and Output states can be seen by selecting Monitor Tag Screen shown below Figure 5 15 aja a A A aaae E ajali rozas y al BEE F EE aji gt j o Edits orces Disable y gt user ABRA Tmencounter A npon A Path AB_DF1 141 B Controller Test_1_4slot Controller Tags Controller Fault Handler E Power Up Handler
27. chapter Important For information on accessing and editing parameters refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 UM001B EN P January 2001 DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 21 Valid Values de De Name Default Writable Power Description Settings Cycle 26 COS Status O or 1 for each 0 Yes No Provides a mask of the Logic Status word to Mask bit define which bits are checked for changes during COS allocation 0 Off not checked 1 On checked Important Refer to your SCANport product s documentation for information on its Logic Status word 27 COS Feed 0 disable 0 dis Yes No Determines how much the feedback word back Change able can change before a message is sent during COS operations 28 COS Cyc N A N A No No Displays the interval used by the controller to Interval check for data in the adapter during COS or Cyclic allocation 29 Peer A Input Off Off Yes No Determines where the peer A input is sent in the Cmd Ref SCANport product DL A Input Important This parameter cannot be changed DL B Input when the Peer Inp Enable 36 parameter is On DL C Input DL D Input 30 Peer B Input Off Off Yes No Determines where the peer B input is sent in the Cmd Ref SCANport product DL A Input Important This parameter cannot be changed DL B Input when the Peer Inp Enable 36 param
28. two words of data 5 If using four words of input set the Peer B Input 30 parameter to a destination for the second two words of data 6 Ifreceiving Cmd Ref input data set the bits in the Peer Cmd Mask 31 parameter according to the following table Important If both Master Slave data and Peer data are being used to control the adapter make sure you know which one is transmitting which control bits The adapter will receive each control bit from only one source This includes the stop bit If receiving I O from Then set bit to Master device PLC or SLC 0 Peer device another DeviceNet to 1 SCANport Communication Module with Digital Inputs 7 Tf sending Cmd Ref I O data set the percentage in the Peer Ref Adjust 23 parameter The adapter multiplies this value with the speed reference value to determine the drive s speed 8 Set the Peer Inp Timeout 35 parameter to the maximum amount of time the adapter will wait for a message before timing out Important This value must be greater than the product of Peer Out Time 41 parameter multiplied by the Peer Out Skip 42 parameter in the adapter from which you are receiving I O 9 Set the Peer Fit Action 33 parameter to determine what the adapter should do if it times out 10 Set the Peer Inp Enable 36 parameter to On 11 Check the Peer Inp Status 37 parameter to verify operation It should either be Waiting meaning it is waiting for the first
29. under Networks and Communication Products Publication 2100 UM001B EN P January 2001 4 2 Configuring a Scanner to Communicate with the Adapter Getting Started Using Online Mode in RSNetWorx for DeviceNet Publication 2100 UM001B EN P January 2001 For the scanner on the DeviceNet network to transmit control I O and or messages to the adapter you must first configure it to recognize and communicate with the adapter The following instructions describe how to use RSNetWorx for DeviceNet to configure a new DeviceNet network in online mode The main steps in the configuration are e Using online mode in RSNetWorx for DeviceNet e Downloading an EDS file for your SCANport product if necessary e Configuring the PLC scanner or SLC scanner Although you can configure the DeviceNet network offline it is easier to configure the network online because you can see a graphical representation of your network in RSNetWorx for DeviceNet The following directions explain how to use online mode 1 Start RSLinx to configure the DeviceNet Drivers for your system using the Configure Drivers option in the Communications menu 2 Start RSNetWorx for DeviceNet The RSNetWorx for DeviceNet screen appears Figure 4 1 RSNetWorx for DeviceNet Screen d s s epe cali rea Dae naonao a 3 Y Capo sb veris 41 0990 Gion Spanien ja A A 2 paz eager Pan Configuring a Scanner to Communicate with the Adapter
30. 25 parameter is set to 1 For example xxx0 0001 This enables status feedback to be sent over the slave connection Set the COS Status Mask 26 parameter to specify which bits in the logic status word will trigger a message to the scanner when changed 0 do not check the corresponding bit Set the COS Fdbk Change 27 parameter to specify the amount of change required in the reference word needed to trigger a message to the scanner 0 do not check the corresponding bit Reset the adapter by setting the Reset Adapter 22 parameter to Enable Publication 2100 UM001B EN P January 2001 B 8 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Publication 2100 UM001B EN P January 2001 Enabling COS in the Scanner Use RSNetWorx to enable COS in the scanner Refer to Chapter 4 Configuring a Scanner to Communicate with the Adapter for more information on configuring the scanner COS must be enabled in the Edit Device I O Parameters dialog box Figure B 4 Edit Device I O Parameters Dialog Box for COS EIS DNNIA ES y he Menea Hodde Semit irpa Ouse ADA Summary Avollagle Devices Score y Eu Oe ETT Edil 170 Praezamatass U2 ek FIS Drive SA AED JA Loi se Ds F oe al z mse F Bipa a TeSqe A t we foe Fm ete Toe r Pone EE Ga Concal_ Anice tO Sime e eaaa a g al 3 jt iY E Alen Bracing 1756 ONE nine Wet
31. 250 Kbps e 500 Kbps e Autobaud The adapter defaults to using autobaud data rate detection Important At least one continually transmitting device on the network usually the scanner must be set to a fixed data rate not autobaud This device sets the data rate for the network that the other nodes using autobaud detect If you want to change your adapter s data rate you need to 1 Access the adapter s parameters using the DeviceNet network refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs 2 Set the DN Data Rate 3 parameter to the desired value Refer to the following table for information on acceptable values Before connecting modules to the network you must determine if your network is within the limits of the cable system Class 1 cables are rated 600 volts 8 amps Class 2 cables are rated 300 volts 4 amps The cables in the chart below can be used for Trunk or Drop applications When used for Trunk length limits must be observed Cable Type Part Number Data Rates 125 Kbps 250 Kbps 500 Kbps Class 1 Flat 1485C P1 E75 420m 1378 ft 200m 656 ft 75m 246 ft Class 2 Thick Round 1485C P1 A50 500m 1640 ft 250m 820 ft 100m 328 ft Class 2 Thin Round 1485C P1 C50 100m 328 ft 100m 328 ft 100m 328 ft Publication 2100 UM001B EN P January 2001 Class 1 round drop cable is recommended for connecti
32. 4 3 3 In the Network menu select Online or click on the Online icon as indicated in Figure 4 2 4 The Browse Network screen appears requesting specification of which network you wish to go online with Select the DeviceNet network desired and click on OK Figure 4 2 Online Screen lt Step 3 fpa pe Ned prte e UA Use the Fiebre Sectas lashes yous FEL Covet he Greed Decide ranma u rot ed af a 2 oe 5 The network will be scanned and the screen will build the online configuration as shown in Figure 4 3 Figure 4 3 Online Graphical View En LO View imot Device Job Het k a 6 01 Gant an De a iman Important In our example our module is Node 3 It has a Unrecognized Device icon and the error code lists it as an unregistered device so we will need to download an EDS file for it Publication 2100 UM001B EN P January 2001 4 4 Configuring a Scanner to Communicate with the Adapter Downloading an EDS File for Your SCANport Product Publication 2100 UM001B EN P January 2001 You are now in online mode You must check to see if you need an EDS file for the device you are adding Refer to the Download an EDS file for Your SCANport product selection in this chapter Each DeviceNet product has a unique EDS file based on electrical ratings I O and DeviceNet to SCANPort communication interface if used For IntelliCENTER software or RSNetWorx to function properly a ma
33. Allocation 332 2 sate aid sea pira Bk ete eRe B 5 COS Change of State Allocation B 7 Cyclic AIIOCANOM cds Bare Gaede ee a CE B 8 Polled and COS Allocation oooo oo oo B 10 Polled and Cyclic Allocation B 11 Using Peer to Peer Communications B 12 Enabling the Adapter to Receive Peer I O B 13 Enabling the Adapter to Transmit Peer I O B 15 Using Fault Configurable Inputs B 16 DeviceNet Objects DeviceNet to SCANport Communication Module with Digital Inputs Parameters o oo oo B 17 M S Input Parameter Configurations B 24 M S Output Parameter Configurations B 26 Appendix Objectives 2 oe cae taiwee sede eed meee eens C 1 Object Glasses exacta Kee eRe oe le ea C 1 Class Code 0x01 Identity Object C 2 Class Attributes n n onanan aa eee C 2 INSTANCES ld Sn C 2 Instance Attributes 0 0 00 a a a ee C 3 Common Services 0 cee eee eee eee C 3 Get_Attribute_All Response o o o oooo C 3 Class Code 0x02 Message Router Object C 4 Class Attributes 0 0 0 0 00 cee eee C 4 INSTANCES se a at lada C 4 Instance Attributes nuana naaa aaa C 4 Common ServiceS 0 cee eee eee eens C 4 Class Code 0x03 DeviceNet Object C 5 Class Attributes 0 0 0 0 0 0 ce eee eee C 5 INSIANCES E e
34. Brong 1 Ifnecessary deselect the Polled section Y In the Change of State Cyclic section click on the box next to Change of State Cyclic A W appears Click Change of State In the Rx field enter 6 for the size for the I O input In the Tx field enter 4 for the size of the I O output SNA In the Heartbeat Rate field enter the desired time for the maximum interval between messages 7 Click OK Important After you have configured the scanner and adapter for COS you can verify the desired heartbeat rate is used by viewing the COS CYC Interval 28 parameter in the adapter Cyclic Allocation When you set up cyclic allocation your adapter sends or receives data based on a periodic time interval To use Cyclic you must enable Cyclic in the adapter and in the scanner DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 9 Enabling Cyclic in the Adapter 1 Enable the desired command I O and datalinks Refer to the Using Datalinks and Command I O section in this chapter Set the M S Input 24 parameter Refer to the M S Input Parameter Configurations section in this chapter Set the M S Output 25 parameter Refer to the M S Output Parameter Configurations section in this chapter Ensure the Cmd Stat Config 4 parameter is set to On Ensure the lowest bit in M S Output 25 parameter is set to 1 Reset the adapter by setting the Reset Adapter 22 parame
35. Controller Properties D Processor Status AU lO Configuration E his Channel Configuration w Passwords and Privileges 2 9 Program Files syso df LAD2 LAD2 5 Data Files Cross Reference Bj oo NO E mo Ej brazo Ej nz E nao Ej m20 Y Force Files Ej oo fancr Cias ooo arr ESD For i isip preso i i Publication 2100 DU021B EN P January 2004 0000 0001 0002 0003 Ladder Logic Programming Including Reading Inputs 5 13 SLC Ladder Logic Program Example The following example uses an SLC 5 03 a 1747 SDN DeviceNet scanner and a 2100 GK61 to control a 1336 PLUS 1336 PLUS II or 1305 drive The example assumes that there is an operator s station wired to an I O module in slot two of module group zero of rack zero IMPORTANT You may want to verify a device has not failed using word 1 S 0 If a device has failed read the appropriate M1 File to find out which device failed Refer to the 1747 SDN DeviceNet Scanner Module Manual Publication 1747 5 8 for more information Figure 5 8 Example SLC Ladder Logic Program continued on next page 5 14 Publication 2100 DU021B EN P January 2004 5 14 Ladder Logic Programming Including Reading Inputs Figure 5 9 Example SLC Ladder Logic Program continued 0004 0005 18 0007 1746 1012 0008 0009 0010 0011 Publication 2100 DU021B EN P January 2004 Ladder L
36. Digital Inputs Parameters B 13 To enable peer to peer communications you must enable one adapter to transmit peer I O and one or more adapters to receive peer I O Enabling the Adapter to Receive Peer I O To have your DeviceNet to SCANport Communication Module with Digital Inputs receive input data from another DeviceNet to SCANport Communication Module with Digital Inputs on the network you must configure it for peer to peer communications Figure B 7 Receiving I O from a Peer Device Peer A Input Logic Command Peer Ref Adjust D pi O SCANport Data from DeviceNet Deuce Peer A Word 1 Peer A Word 2 Peer B Word 1 DL D2mp D2 Inp O Module Output Peer B Word 2 Data from the SCANport Device Peer B Input In Peer to Peer communications you can receive two or four I O words from another adapter Follow these directions 1 Enable the desired I O and datalinks within the adapter and SCANport product Refer to the Using Datalinks and Command 1 0 section in this chapter 2 Ensure the Peer Inp Enable 36 parameter is Off 3 Set the Peer Node to Inp 34 parameter to the number of the node from which you want to receive data Publication 2100 UM001B EN P January 2001 B 14 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Publication 2100 UM001B EN P January 2001 4 Set the Peer A Input 29 parameter to a destination for the first
37. EC 1756 DNB A 5 27x General Module Scaniist Input Output aa Summary Advanced Options Memory Assembly Data Start DWord fo a esso OO DOOR AAA NES 1 0 Datal0 DE 15 1 0 Datali1 1 0 Dataf21 1 0 Hakani q l1 0 Datal41 Oda gt 10 Daa TEE ooo 1 0 Datal8l Configuring a Scanner to Communicate with the Adapter 4 37 13 Click on the Summary tab This screen provides the user with a concise summary of how the scanner has been configured Note all of the information that appears on this page is read only If you want to change any of the parameters you have to edit them on the appropriate property page Figure 4 48 Summary Screen EY 1756 DNB A 5 27x General Module Scaniist Input Output ADR Summary Node Active Key Rx RxMap Tx TxMap f 00 lt Slav No 0 No 0 No B 14 SMP Yes DVP 6 Yes 4 Yes 14 Click on the OK button You are returned to the online screen 15 To save the information just entered to your computer select Save As under the File menu 16 Select a path to store the information 17 Enter a file name and click on Save Figure 4 49 Save As Dialog Screen En EM Yow ewok Deves Los te is i 83 98 128 y Sart y aime Publication 2100 UM001B EN P January 2001 4 38 Configuring a Scanner to Communicate with the Adapter Publication 2100 UM001B EN P Ja
38. Ea Passwords and Privileges 5 0 Program Files B syso df LAD2 LAD2 5 1 Data Files Cross Reference o0 DO n Ng N10 Ej BT20 Ej n2 E nao E m20 Y Force Files o0 For Help press F1 ee a Bl 41 gt user ABit A Timericounter_ A Input Output A Compare JES LAD 2 LAD2 Rw ex S s BTR Block Transfer Read Module Type Generic Block Transfer Rack Group Module Control Block Data File Length Contimmous 000 0 0 BT20 0 N9 0 62 No BTW Block Transfer Write Module Type Generic Block Transfer Rack Group Module Control Block Data File Length Contimious 000 0 0 BT20 1 N10 0 62 No XREF Class1 20000 APP RESD Publication 2100 DU021B EN P January 2004 5 12 Ladder Logic Programming Including Reading Inputs PLC Code SMP 3 is RESET when 1 001 4 in Rung 5 is turned ON SMP 3 Output A is turned ON when 1 001 3 in Rung 6 is momentarily turned ON SMP 3 output B is turned ON when 1 001 4 in Rung 7 is momentarily turned ON Rungs 8 11 read GK61 inputs and turn on respective LED in SIM card located in PLC Chassis Slot 1 Figure 5 7 E RSLogix 5 Devel2 rsp MES File Edit View Search Comms Tools Window Help Osa S ae aj 125 AQ al oe oe om a y No Edits Forces Disabled E Diver AB DFTA IN user Ket A mercante paca K Compare Devel2 tsp EQ Project Help Controller i
39. GK61 Discrete Inputs 11 2 Status Data for a Drive SMC or SMP 3 1 1 3 Analog Feedback for a Drive SMC or SMP 3 Publication 2100 DU021B EN P January 2004 5 4 Ladder Logic Programming Including Reading Inputs Table 5 F Scanner Input Map ControlLogix Example Par Arama e 1 1 Data 0 SCANport Device Status Not Used 2100 GK61 discrete inputs 1 1 Data 1 Analog Feedback for a Drive SMC or SMP 3 Example Ladder Logic The following are example ladder logic programs Programs ATTENTION The example ladder logic program shown in this manual is intended solely for purpose of example Because there are many variables and requirements associated with any particular installation Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use based upon the example shown in this publication IMPORTANT Refer to the user manual for your SCANport product for specific I O definitions Different SCANport products have different Logic Command Logic Status Reference and Feedback I O interpretations NOTE Prior to the programming examples are logic control structure tables and logic status structure tables for various products Publication 2100 DU021B EN P January 2004 Ladder Logic Programming lIncluding Reading Inputs 5 5 Figure 5 2 The 1305 1336 PLUS or 1336 PLUS II Drive in this example sends the following logic status to the PLC via the sc
40. GK61 input can be read by examining Scanner in slot 1 Therefore the first input is Local 1 I Data 0 0 The second input is located at Local 1 I Data 0 1 In this example status of each 2100 GK61 input is annunciated by the first four bits of the output card in slot 2 The first output is addressed as Local 2 0 Data 0 Rung 4 enables the Scanner Figure 5 12 9 RSLogix 5000 Test_1_4slot MES File Edit View Search Logic Communications Tools Window Help ajaj a elej oj alalajle m9 ala E e id o Edits y Forces Disabled y a eee Path 4B_DF1 141 3 Controller Test_1_4slot i MainProgram MainRoutine Fiil x sexe e sae Controller Tags Rungs 0 3 GK61inputs 1 4 are read OTE command turns on respective bit on 1756 OA8 output card C Controller Fault Handler 2 Power Up Handler 3 Tasks GK61_Input_1 GK61_Switch_1_Echo 5 MainTask ps LI i an lt Local 1 Data 0 0 gt lt Local 2 0 Data D gt Program Tags CI MainRoutine 2 Unscheduled Programs E Trends GK61_Input_2 GK61_Switch_2_Echo amp Data Types lt Local 1 lData 0 1 gt lt Local 2 0 Data 1 gt qa GK61_Input_3 GK61_Switch_3_Echo lt Local 1 1 Data 0 2 gt lt Local 2 0 Data 2 gt ae CR User Defined E Predefined 64 Ejp Module Defined 1 0 Configuration 8 111756 DNB B 2 1756 048 Output
41. Locating the LEDs e Using the LEDs to troubleshoot the adapter Your communications adapter has three LED status indicators The LEDs provide status information about the DeviceNet network SCANport connection and the adapter itself Refer to Figure 7 1 Figure 7 1 LED Status Indicators Input Status 1 4 Publication 2100 UM001B EN P January 2001 7 2 Troubleshooting DeviceNet Network Status LED The LED closest to the DeviceNet connector is the DeviceNet Status States LED labeled NET It functions as follows RED If State Indicates Action Viewed LED is off Not powered Not No power Duplicate 1 Verify that the network supply is connected and online ID not completed that power is reaching the adapter through the connector 2 Make sure one or more nodes are communicating on the network 3 Make sure at least one other node on the network is operational at the same time and data rate as the adapter LED is flashing Online Not Passed duplicate No action needed The LED is flashing to signify that green connected ID No connection there are no open communication connections Network established between the adapter and any other device Any Status LED connection I O or explicit message made to the adapter over DeviceNet will cause the LED to stop flashing and remain steady on for the duration of any open connection LED is steady Online Connected One or more No action needed green connection
42. MainRoutine E E Controller IntelliCenter Controller Tags ea al X AEI e 3 Controller Fault Handler 3 Power Up Handler timer0 DN TON EE Tasks Timer On Delay MainTask rol E E3 MainProgram Accum Program Tags 8 MainRoutine hen DN aac a vt la Programs TE E H E Data Types Message Control E oa I O Configuration PJ 1 1756 DNB DnetScanner 2 1756 ENET Ethernet E 3 3 1756 CNB B ControlNet fil 1 1788 CN2DN cn2dn End 4 y MainRoutine r ARRE Rung End of 2 APP fer E H Publication 2100 UM001B EN P January 2001 6 26 Using DeviceNet Explicit Messaging 4 Select a message type of CIP Generic The next information Object Type Object ID and Object Attribute corresponds to DeviceNet Class Instance and Attribute Service code is the same service code used in DeviceNet Note Class instance and attribute information can be found in Appendix B of the E3 Overload Relay User Manual For example Overload Object Class Code 0x2C Instances Supported 1 Attribute 112 0x70 Time to trip Service Code Supported Ox0E Message type Get_Attribute_Single Note Numbers that start as Ox are hexadecimal numbers All other numbers are decimal Figure 6 14 Message Configuration message0 xj Configuration Communication Message Type CIP Generic Service Code je Hex Source Object Type e o H
43. Ove 30 ini SIN Alen Brody 1795 DNB SE Orina Hot Brenna In the Polled section click on the box next to Polled A W appears In the Rx field enter the size for the 1 O input Enter 4 for each datalink enabled and 6 if Com Ref is enabled For example if Cmd Ref and all 4 datalinks are enabled you would enter 22 In the Tx field enter the size of the I O output Enter 4 for each datalink enabled and 4 if Com Ref is enabled For example if Cmd Ref and all 4 datalinks are enabled you would enter 20 In the Poll Rate field select the appropriate rate In the Change of State Cyclic section click the box next to Change of State Cyclic A W appears Click Cyclic In the Rx field enter 6 for the size of the I O input In the Send Rate field enter the time for the message interval Click OK To have your adapter receive data from or transmit data to another 2100 GK61 1203 GU6 or 1336 GM6 on the DeviceNet network you must configure it for peer to peer communications Peer to peer communications are best used in the following instances A PLC sends data to a drive That drive re transmits the data to other drives on the network A drive is configured on a network It sends data to other drives on the network Important After setting up peer to peer communications you must make sure the configuration that you set up works as you intend it to work DeviceNet to SCANport Communication Module with
44. Queue BYTE Reads the index of the fault that tripped Trip Index the product Instance Attributes Attribute ID Access Rule Name Data Type Description 0 Get Read Fault Queue STRUCT of Entry Full All Info Fault Text ARRAY of BYTE 16 character string no length information no terminating null Fault Code WORD Fault Code Fault Time Stamp STRUCT BYTE 1 100 Second 0 99 BYTE Second 0 59 BYTE Minute 0 59 BYTE Hour 0 23 BYTE Day of Week 0 6 BYTE Date 1 31 BYTE Month 1 12 BYTE Year 0 999 128 Get Fault Code and Time STRUCT of Stamp Fault Code WORD Fault Code Fault Time Stamp STRUCT of BYTE 1 100 Second 0 99 BYTE Second 0 59 BYTE Minute 0 59 BYTE Hour 0 23 BYTE Day of Week 0 6 BYTE Date 1 31 BYTE Month 1 12 BYTE Year 0 999 129 Get Read Fault Text ARRAY of BYTE 16 character string no length information String Only no terminating null O Sunday is a value of zero Year is an offset from 1990 Publication 2100 UM001B EN P January 2001 C 20 DeviceNet Objects Publication 2100 UM001B EN P January 2001 Common Services Service Code Implemented for Service Name Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 Yes Yes Set_Attribute_Single Class Code 0x98 SCANport Pass Through Warning Object DeviceNet Objects C 21 The SCANport Pass Thro
45. RSNetWorx to Edit Your The following instructions describe how to use RSNetWorx for Adapter s Parameters DeviceNet in online mode to edit your adapter s parameters 1 Use RSLinx to configure the DeviceNet drivers for your system using the Configure Drivers option in the Communications menu 2 Start RSNetWorx for DeviceNet The RSNetWorx for DeviceNet screen appears as seen in Figure 3 1 Figure 3 1 RSNetWorx for DeviceNet Screen DeviceNet RSNetworx for DeviceNet a x l File Edit View Network Device Tools Help als 416 hele lear tas mle Hardware EY DeviceNet E Category Vendor 141 41 bl Graph Spreadsheet Master Slave Configuration J lt of Messages la lx High 3 Inthe Network menu select Online or click on the Online icon as indicated in Figure 3 2 4 The Browse Network screen appears asking to select which network you wish to go online with Select the DeviceNet network desired and click on OK Publication 2100 UM001B EN P January 2001 Net RSNetWorx Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Figure 3 2 Online Screen _ DeviceNet RSNetWorx for DeviceNet File Edt View Network Device Tools Help aS aa ep e aE E a x me y Hardware sj DeviceNet oe Step 3 Vendor Use the Refresh or Autobrowse feature if your FiSLins diver or the desired Devic
46. Reset Adapter 22 parameter to Enable DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 5 Using Master Slave To have your DeviceNet to SCANport Communication Module with Communications Digital Inputs receive its I O from a scanner PLC or SLC on the DeviceNet network you must configure it for Master Slave communications Figure B 2 Master Slave Communications M S Input 24 M S Output 25 1 Enable MSB x x x LSB MSB x X x sg O Disable Master Data from DeviceNet Slave Data to DeviceNet Adapter Input a Logic Command o gt Reference DL A1 In oO Por DL A2 Inp Data to the e E o OF SCANport A A DL B2 Inp A TA ee Device p O gt DL C2 Inp DL D1 Inp oe o DL D2 Inp Adapter Output Logic Status o O g w n0 Feedback DLAT Out oo os DL A2 Out Data from the cto static La So SCANport DL B2 Out A A A A A _ LEDO A Device octo O DL C2 Out DL D1 Out lo a DL D2 Out Master Slave communications let you transmit 2 10 words of I O data between the adapter and the scanner How you configure your adapter and scanner depends on the type of allocation you are using The adapter supports the following e Polled e COS Change of State e Cyclic e Poll
47. Vac or 24Vdc voltage depending on installation The input connector is capable of installing 12 24AWG wite Installing the DeviceNet to SCANport Communication Module with Digital Inputs 2100 GK61 The following instructions explain how to physically install your DeviceNet to SCANport Communication Module with Digital Inputs ATTENTION Severe injury or death can result from electrical shock burn or unintended actuation of controlled equipment Hazardous voltages may exist in the cabinet even with the circuit breaker in the off position Recommended practice is to disconnect and lock out control equipment from power sources and discharge stored energy in capacitors if present If itis necessary to work in the vicinity of energized equipment the safety related work practices of NFPA 70E Electrical Safety Requirements for Employee Workplaces must be followed ATTENTION DO NOT work alone on energized equipment 1 Before installing the module set the Digital Input selection switch SW1 to the proper input voltage per the table below swi VIN 1 2 230Vac OFF OFF 115Vac OFF ON 24Vdc ON OFF Publication 2100 UM001B EN P January 2001 2 4 Installation SW1 is accessed through the plastic cover on the 2100 GK61 module as show in Figure 2 1 ATTENTION To guard against possible component damage assure that Dip Switch SW 1 is set for the correct input voltage used in the system before power is applie
48. and configure a 2100 GK61 module you need the following DeviceNet to SCANport Communication Module with Digital Inputs 2100 GK61 10 pin plug in DeviceNet connector supplied with module Appropriate cables for SCANport and DeviceNet connections Refer to the Selecting Cables section in Chapter 2 Installation 6 pin plug in Input connector supplied with module 10 hardware for attaching module to a panel A PC that is Running RSNetWorx Connected to and communicating with the DeviceNet network using a 1784 PCD card or a 1770 KFD adapter Running RS Linx Running RSLogix3 if using PLC or RSLogix500 if using SLC Important Refer to http www software rockwell com for more information on these software products Publication 2100 UM001B EN P January 2001 1 8 Overview Publication 2100 UM001B EN P January 2001 Chapter Objectives Installing a 2100 GK61 Module Chapter 2 Installation Chapter 2 provides the information that you need to install the 2100 GK61 module In this chapter you will read about the following Required tools and equipment Selecting cables Installing the adapter Removing the adapter Follow these procedures to install a 2100 GK61 module Required Tools and Equipment To install your 2100 GK61 module you will need the following tools and equipment DeviceNet to SCANport Communication Module with Digital Inputs 2100 GK61 A 6 pin and 10
49. are enabled you would enter 20 4 In the Poll Rate field select the appropriate rate 5 In the Change of State Cyclic section click the box next to Change of State Cyclic A W appears 6 Click Change of State 7 In the Rx field enter 6 for the size of the I O input S In the Heartbeat Rate field enter the desired time for the maximum interval between messages 9 Click OK Polled and Cyclic Allocation You can enable both polling and cyclic allocations This allows the scanner to poll the adapter at fixed intervals and the adapter to send its status to the scanner at fixed intervals Enabling Polling and Cyclic in the Adapter Refer to both the Polled Allocation section and the Cyclic Allocation section in this chapter for information Enabling Polling in the Scanner Use RSNetWorx to enable polling in the scanner Refer to Chapter 4 Configuring a Scanner to Communicate with the Adapter for more information on configuring the scanner Polling and Cyclic must be enabled in the Edit Device I O Parameters dialog box Publication 2100 UM001B EN P January 2001 B 12 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Step 1 Using Peer to Peer Communications Publication 2100 UM001B EN P January 2001 u 6 7 8 9 Figure B 7 Edit Device I O Parameters Dialog Box for Polling and Cyclic Gerais Hodde Gorda iros Ouma AON Summay pr p W Eun
50. button The online screen appears Once all your devices have registered EDS files for RSNetWorx to Configuring a Scanner to Communicate with the Adapter 4 15 use do one of the following Configuring a Scanner To configure the scanner you verify its properties add devices on the network to its scan list and determine how the scanner will communicate e g polling with each device Follow these directions If Using PLC Scanner 1771 SDN Refer To Configuring a PLC Scanner 1771 SDN to Communicate with the Adapter on page 4 15 SLC Scanner 1747 SDN Configuring an SLC Scanner 1747 SDN to Communicate with the Adapter on page 4 23 ControlLogix Scanner 1756 DNB Configuring a ControlLogix Scanner 1756 DNB to Communicate with the Adapter on page 4 30 RSNetworx for DeviceNet to edit parameters Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Configuring a PLC Scanner 1771 SDN to Communicate with the Adapter The following instructions describe how to configure a PLC scanner on a DeviceNet network For the PLC to recognize your device you must do the following e Configure the PLC scanner e Map your adapter to the PLC scanner 1771 SDN 1 In the Online screen double click on the scanner icon The 1771 SDN Scanner Module properties and configuration screen appears Publication 2100 UM001B EN P January 2001 4
51. capability lets you customize this device s activity on the network by configuring the adapter to report only new data Cyclic operation lets you customize the devices s activity on the network by configuring the adapter to report its data at specific intervals Polled operation allows you to customize the device s activity on the network to respond only after the scanner sends control data Peer I O capabilities let the drive s I O logic command reference logic status feedback and datalinks be broadcast to or received from other drives connected via 1203 GU6 1336 GM6 or 2100 GK61 adapters Software configuration lets you configure the adapter using RSNetWorx for DeviceNet Faulted Node Recovery lets you change an item such as a node address of a device even when it is faulted on the network User configurable fault response provides the ability to customize the adapter s actions to communication errors A Module Status LED helps to diagnose network module and SCANport product health Monitor and report status of four 4 individual digital inputs SCANport Products Overview 1 5 Some SCANport products support one peripheral others support up to six peripherals The table below lists SCANport products the number of peripherals each supports the minimum and maximum I O words and the type of adapter that can be used Number of 1 0 Words Adapter Use Product Peripherals
52. is Get and the Parameter Value can only be read Y Data type specified in instance attributes 4 Descriptor 5 Data Type and 6 Data Size Bit Definitions for Instance Attribute 4 Bit Definition Value 0 Supports settable path 0 Link path cannot be set 1 Link path can be set 1 Supports enumerated strings 0 Enumerated strings are not supported 1 Enumerated strings are supported and may be read with the Get_Enum_String service 2 Supports scaling 0 Scaling not supported 1 Scaling is supported The scaling attributes are implemented and the value presented is in engineering units 3 Supports scaling links 0 Scaling links not supported 1 The values for the scaling attributes may be retrieved from other parameter object instances 4 Read only parameter 0 Parameter value attribute can be written set and read get Access rule is set 1 Parameter value attribute can only be read Access rule is get 5 Monitor parameter 0 Parameter value attribute is not updated in real time by the device 1 Parameter value attribute is updated in real time by the device 6 Supports extended precision 0 Extended precision scaling is not supported scaling 1 Extended precision scaling should be implemented and the value presented to the user in engineering units Publication 2100 UM001B EN P January 2001 DeviceNet Objects Data Types for Instance Attribute 5
53. products have different Logic Command Logic Status Reference and Feedback I O interpretations Ladder Logic Programming Including Reading Inputs Drive Status Structure This provides the drive status information that will be sent to the logic controller s input im age table when the Communication Module is set to control the drive Bit 1 Bit 14Bit 12Bit 12Bit 11Bit 1C Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 BitO Y Y Reference Local Adapter ID ID Reference 15 14 13 12 Local 11 10 9 Freq Select 0 0 0 0 TB3 0o 0 0 PresetFreq10 0 O 1 il 0 0 1 PresetFreq40 0 1 0 2 OO Preset Freq 0 O0 1 1 3 dd PresetFreq40 1 0 0 4 1 0 0 PresetFreq90 1 0 1 5 1 4 PresetFreq60 1 1 0 6 1 i Preset Freq70 1 1 1 Unused 1 it FreqSelect41 0 0 0 Adapter 1 1 O 4 Adapter 2 LO AS O Adapter 3 i OF 4 1 Adapter 4 s a a Adapter 5 if ab e 4 Adapter 6 AI len TO Jog Frequentyi1 1 1 1 Y Fault 1 Faulted y 0 Not Fau At Speed 1 At Speed 0 Not at Speed Enabled 1 Enabled 0 Not En Running 1 Running 0 Not Run Command Di rection Rotating Direc tion Y Accelerating 1 Accelerating y 0 Not Accelerat Decelerating 1 Decelerating 0 Not Decelerat Alarm 1 Alarm y 0 No Ited Logic Control Structure This information provides the control logic information that is sent to the drive through the logic controller s output image table when the Communi
54. red Hardware failure Failed internal or external RAM test Replace unit Publication 2100 UM001B EN P January 2001 SCANport Status LED States Troubleshooting 7 3 The LED furthest from the DeviceNet connector is the SCANport Status LED and is labeled SP It indicates the status of the SCANport connection and functions as follows LED Viewed SCANport Status LED LED is off State Not powered Indicates No power Action Ensure that the connected SCANport device is powered and that the product is connected to the adapter LED is flashing green Online I O connecting Requesting l O connections or no I O is selected No action needed Adapter is establishing one or more of the I O connections with the SCANport device LED is steady I O operational One or more No action needed green connections established LED is flashing Configuration SCANport 1 Reseat cable properly red fault problem No 2 Replace cable communications seen from the SCANport device to request connections 3 Data links improperly configured reset adapter to factory default LED is steady red Link failure SCANport failure Poor cable connection does not allow proper port identification or the SCANport device isn t allowing the configured I O connections 1 Check all SCANport cables and connections to the SCANport device 2 Ensure datalinks are not enabled on
55. the explicit Message Response from the scanner s buffer upload 5 The Block Transfer Read file is completed The transaction IDs are deleted and can be reused Publication 2100 UM001B EN P January 2001 Message Translations Messaging for the 1771 SDN Scanner Using DeviceNet Explicit Messaging 6 3 The scanner module requires a precisely formatted block transfer read and write size of 64 words The Explicit Message Control table in the scanner module is 64 words The scanner module uses the block transfer size as an indicator that the content is a client server request The communications adapter provides electronic translations of DeviceNet explicit messages into SCANport messages and back The format of all DeviceNet explicit messages supported by the adapter is 8 16 within an explicit message the class field is 8 bits long and the instance field is 16 bits long The PLC uses a 64 word Block Transfer Write BTW to copy an Explicit Message into the 1771 SDN scanner Ten explicit message buffers are available within the 1771 SDN scanner When the BTW completes the scanner executes the message The PLC must then poll the scanner by performing a 64 word Block Transfer Read BTR to complete the message Note both the BTW and BTR commands are of module type 1771 SDN DeviceNet Scanner Module and of length 64 The PLC can transfer two Explicit Messages per BTW or BTR and the scanner can have up to ten Explicit Me
56. the contents of this copyrighted publication in whole or in part without written permission of Rockwell Automation is prohibited 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 e Identify a hazard e Avoid the hazard e Recognize the consequences IMPORTANT Identifies information that is critical for successful application and understanding of the product Objectives Who Should Use this Manual Purpose of this Manual Preface Using this Manual Read this preface to become familiar with the organization of the manual In this preface you will read about the following e Who should use this manual e An overview of the DeviceNet to SCANport Communication Module with Digital Inputs e The purpose of this manual Terms and abbreviations Conventions used in this manual e Rockwell Automation support Use this manual if you are responsible for installing wiring programming or troubleshooting control systems that use the DeviceNet to SCANport Communication Module with Digital Inputs This manual is intended for qualified service personnel responsible for setting up and servicing the DeviceNet to SCANport Communication Module with Digital Inputs You must have previous experience with and a basic
57. to the RSNetWorx online help for additional information Figure 4 27 Input Data Table Map Screen 1771 SDN Scanner Module 6 27x General Module Scanlist Input Output Summary A 0 C N3 1 0 Unmap Advanced Options Memory Block xfer 62 Start Word fo a Bits 15 0 hishahsheliholslelzlelsl4lsleli lola Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 21 12 Click on the Output tab to view the output table map From this screen you can customize the arrangement of the scanner s data table Refer to the RSNetWorx online help for additional information Figure 4 28 Output Data Table Map Screen Ee 1771 SDN Scanner Module 6 128 x General Module Scaniist Input Output Summary AutoMap Unmap Advanced Options Memory Block xter 62 3 Start Word p Bits 15 0 jishaishinholslelzlelslalslel ola 10 0 IMM YT N10 1 E N10 2 E o II MO TN IN TN s NZ IS s 1101 ol Publication 2100 UM001B EN P January 2001 4 22 Configuring a Scanner to Communicate with the Adapter 13 Click on the Summary tab This screen provides the user with a concise summary of how the scanner has been configured Note all of the information that appears on this page is read only If you want to change any of the parameters you have to edit them on the appropriate property page Figure 4 2
58. to the object from where this path seg parameter value is retrieved ments The link path is limited to 255 BYTEs Segment type port BYTE Segment Address Path format depends on data contained in segment type port 4 Get Stub Descriptor WORD Descriptor of parameter Refer to the table on page C 12 5 Get Stub Data Type USINT Data type code Refer to the table on page C 13 6 Get Stub Data Size USINT Number of BYTEs in attribute 1 Parameter Value 7 Get Full Parameter Name SHORT _ A human readable string String STRING representing the parameter name For example frequency 1 The maximum number of characters is 16 The first byte is a length code 8 Get Full Units String SHORT_ Engineering unit string STRING The maximum number of characters is 4 The first byte is a length code 9 Get Full SHORT _ The maximum number of characters STRING is 64 The first byte is a length code Always returns 0 10 Get Full Minimum Value Same as The minimum valid actual value to attribute 1 which attribute 1 Parameter Value can be set 11 Get Full Maximum Value Same as The maximum valid actual value to attribute 1 which attribute 1 Parameter Value can be set The access rule is defined in bit 4 of instance attribute 4 the Descriptor If bit 4 is O the access rule is Set and the Parameter Value can be read and written If bit 4 is 1 the access rule is Get and the Parameter Value can only be read Data type spec
59. to various register objects that are buffering the I O data The guidelines are as follows e The adapter cannot be allocated by a master scanner in order to allow explicit writes to the register object e Write access to any register object within the adapter will not be allowed if the message is passed through a connection whose expected packet rate EPR is zero e The adapter is required to mark any explicit connection after allowing a write to a register object through it e Ifa marked explicit connection times out based on the EPR then the I O fault action will be that configured for Communication Loss over the I O connection e Ifa marked explicit connection is deleted then the I O fault action will be that configured for Idle over the I O connection Multiple explicit connections can write overwrite the control I O 1f they meet the guidelines specified Each connection will need to be marked individually within the adapter If the adapter gets allocated re allocated by a controller such that valid I O data is being sent to the adapter or if an Idle condition from the allocating controller is transitioned back to valid data then all marked explicit connections will be reset to unmarked Publication 2100 UM001B EN P January 2001 6 22 Writing to Register Objects Using DeviceNet Explicit Messaging and future writes blocked e Ifa marked connection has its EPR value reset to zero 0 after being marked then the
60. 0 mC ER gt Control Block BT20 3 Data File N30 70 Length 64 Continuous No END 0002 Publication 2100 UM001B EN P January 2001 Using DeviceNet Explicit Messaging 6 7 1 000 17 When you set this instruction to the true state the next instruction a one shot block transfer write sends data to the scanner The Move instruction then initializes the first word of the data file that is used by the block transfer read instruction in the next rung Instruction BT20 2 DN This instruction will be true when the block transfer write has completed The compare instruction that follows compares the first word of data sent from the scanner to the first word of data you send to the scanner When the messaging function has completed these two words will be equal Instruction BT20 3 EN Any time the block transfer read is not enabled this instruction causes the block transfer read to be enabled if the two earlier conditions are true BTR Reads 64 words of data from the scanner The following table displays data sent to and received from the scanner Values are in hexadecimal Offset 0 2 3 4 5 6 7 8 9 N30 0 201 6 E03 97 0 1 0 0 0 0 N30 10 0 0 0 0 0 0 0 0 0 0 N30 20 0 0 0 0 0 0 0 0 0 0 N30 30 0 0 0 0 0 0 0 0 0 0 N30 40 0 0 0 0 0 0 0 0 0 0 N30 50 0 0 0 0 0 0 0 0 0 0 N30 60 0 0 0 0 0 0 0 0 0 0 N30 70 201 6 8E03 4 0 0 0 0 0 0 N30 80 0 0 0 0 0 0 0 0 0 0 N30 90 0 0 0 0 0 0 0 0 0 0
61. 000 ATTRIBUTE N20 15 0001 Publication 2100 UM001B EN P January 2001 Data in N20 10 15 is data associated with the BTW command All of these values are entered into the data table Data in N20 50 52 is data associated with the BTR command All of these values are entered into the data table Data at N20 53 is the data read from the DeviceNet Module as a result of the commands entered in the table Using Messages to Control SCANport Products Using DeviceNet Explicit Messaging 6 21 In this example there were four entries in the fault queue Notice the following about the data Location Value Meaning N20 10 0x0201 TXID of 2 Command 1 Execute N20 11 0x0006 Port 0 Size 6 bytes N30 3 5 N20 12 0x0E03 Service E Get Attribute Single Node 3 N20 13 0x0097 SCANport Pass Through Fault Object N20 14 0x0000 Instance O Class Access N20 15 0x0001 Attribute 1 Number of Fault Queues N20 50 0x0201 TXID of 2 Status 1 Success N20 51 0x0006 Port 0 Size 6 bytes N30 3 5 N20 52 0x8E03 Service 8E Get Attribute Single Response N20 53 0x0004 4 fault queues Refer to Appendix C DeviceNet Objects for more information on object descriptions Explicit messages provide multi purpose point to point communication paths between two devices It is possible to control SCANport devices through explicit messaging on DeviceNet by following particular guidelines and by writing
62. 01 1111 63 3F 0011 1111 Publication 2100 UM001B EN P January 2001 Using DeviceNet Explicit Messaging 6 15 Explicit Message Program Use the Explicit Message Program Control feature to configure Control for SLC device parameters on your DeviceNet network via the MO and M1 files in the SLC processor that is controlling these devices You can use the Explicit Message Program Control feature to e Transmit configuration data from your scanner module to its slave devices on your DeviceNet network e Receive status and diagnostics from these devices on your DeviceNet network e Make runtime adjustments to device parameters according to changing conditions detected by your processor Figure 6 8 How the Explicit Message Program Control Feature Works MCO file wanster including words 224 255 sen from processor to scanner module Explica Message A message used lo mansmit commands data requests lor data or fesporses The message is sent fom a diem on the DeviceNet network to a server on that network MC Tile rarster inching words 224 755 sent ram scanner module ta processor Request An explicit message sent by a cliem 1 lo a Server requesting the server to perform a function e qq pesen 4 Response An expict message sent by a server to a cient in response to the chent s request For every request ssued there is a fespor 5e MC1 le transter is completed TXID s are delet
63. 0xXX13 1557 Medium Voltage AC Drive S B 0xXX13 0xXX14 193 SMP 3 S B 0xXX14 0xXX15 150 SMC Dialog Plus S B 0xXX15 0xXX17 1305 AC Drive S B 0xXX17 0xXX18 1397 DC Drive S B 0xXX18 OxXX19 1336 VSC S B 0xXX19 OxXX20 1336T Force w Std Adapter S B 0xXX20 OxXX22 1336 IMPACT S B 0xXX22 Note the high byte of each code indicates a particular size or configuration within a product family Get Revision STRUCT of Major Revision USINT Minor Revision USINT Revision of the item that this instance of the Identity Object represents Value varies based on product Get Status WORD Summary status of product Value varies based on product Get Serial Number UDINT Serial number of product Value varies based on product Get Product Name SHORT_ STRING Human readable identification Value varies based on product Common Services Sanie Implemented for ES hate Class Instance 0x05 Yes No Reset Ox0E Yes Yes Get_Attribute_Single 0x10 No No Set_Attribute_Single 0x11 Yes N A Find_Next_Obj_Instan ce Get_Attribute_All Response None supported Publication 2100 UM001B EN P January 2001 C 4 DeviceNet Objects Class Code 0x02 Message The Message Router Object provides a messaging connection point Router Object through which a client may address to any object class or instance residing in the physical devices
64. 11 xxxx0 10 NA NA NA NA 00000 xxxx1 0 0 0 0 0 0 0 00001 xxxx1 2 2 2 2 0 2 0 00010 xxxx1 2 2 2 2 0 2 0 00011 xxxx1 4 4 4 4 0 4 0 00100 xxxx1 2 2 2 2 0 2 0 00101 xxxx1 4 4 4 4 0 4 0 00110 xxxx1 4 4 4 4 0 4 0 00111 XXXX1 6 6 6 6 0 6 0 01000 xxxx1 2 2 2 2 0 2 0 01001 xxxx1 4 4 4 4 0 4 0 01010 xxxx1 4 4 4 4 0 4 0 01011 XXXX1 6 6 6 6 0 6 0 01100 xxxx1 4 4 4 4 0 4 0 01101 xxxx1 6 6 6 6 0 6 0 Publication 2100 UM001B EN P January 2001 B 26 DeviceNet to SCANport Communication Module with Digital Inputs Parameters ALLOCATION Number Of Words ADAPTER SONCICO Ramon Data Size Sent From The Controller To The Adapter M S Input lu Poll Only COS Only one os ee 01110 XXXX1 6 6 6 6 0 6 0 01111 XXXX1 8 8 8 8 0 8 0 10000 XXXX1 2 2 2 2 0 2 0 10001 XXXX1 4 4 4 4 0 4 0 10010 XXXX1 4 4 4 4 0 4 0 10011 XXXX1 6 6 6 6 0 6 0 10100 XXXX1 4 4 4 4 0 4 0 10101 XXXX1 6 6 6 6 0 6 0 10110 XXXX1 6 6 6 6 0 6 0 10111 xxxx1 8 8 8 8 0 8 0 11000 XXXX1 4 4 4 4 0 4 0 11001 XXXX1 6 6 6 6 0 6 0 11011 XXXX1 8 8 8 8 0 8 0 11100 XXXX1 6 6 6 6 0 6 0 11101 XXXX1 8 8 8 8 0 8 0 11110 XXXX 1 8 8 8 8 0 8 0 11111 xxxx1 10 10 10 10 0 10 0 M S Output Parameter Configurations Publication 2100 UM001B EN P January 2001 The M S Output parameter has the following five configurable bits Figure 7 3 Bits and Corresponding I O datalink B datalink C datalink A d
65. 14 Using DeviceNet Explicit Messaging DeviceNet Node addresses in Decimal Hexadecimal and Binary Decimal node number is in bold type To the right of the decimal value is the equivalent hexadecimal value used in N register locations N30 2 and N30 72 See previous page Node Node Node Node Node Node Dec Hex Bin Dec Hex Bin 0 00 0000 0000 32 20 0010 0000 1 01 0000 0001 33 21 0010 0001 2 02 0000 0010 34 22 0010 0010 3 03 0000 0011 35 23 0010 0011 4 04 0000 0100 36 24 0010 0100 5 05 0000 0101 37 25 0010 0101 6 06 0000 0110 38 26 0010 0110 7 07 0000 0111 39 27 0010 0111 8 08 0000 1000 40 28 0010 1000 9 09 0000 1001 41 29 0010 1001 10 OA 0000 1010 42 2A 0010 1010 11 OB 0000 1011 43 2B 0010 1011 12 OC 0000 1100 44 2C 0010 1100 13 0D 0000 1101 45 2D 0010 1101 14 OE 0000 1110 46 2E 0010 1110 15 OF 0000 1111 47 2F 0010 1111 16 10 0001 0000 48 30 0011 0000 17 11 0001 0001 49 31 0011 0001 18 12 0001 0010 50 32 0011 0010 19 13 0001 0011 51 33 0011 0011 20 14 0001 0100 52 34 0011 0100 21 15 0001 0101 53 35 0011 0101 22 16 0001 0110 54 36 0011 0110 23 17 0001 0111 55 37 0011 0111 24 18 0001 1000 56 38 0011 1000 25 19 0001 1001 57 39 0011 1001 26 1A 0001 1010 58 3A 0011 1010 27 1B 0001 1011 59 3B 0011 1011 28 1C 0001 1100 60 3C 0011 1100 29 1D 0001 1101 61 3D 0011 1101 30 1E 0001 1110 62 3E 0011 1110 31 1F 00
66. 16 Configuring a Scanner to Communicate with the Adapter Figure 4 22 1771 SDN Configuration Dialog Box Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 17 The dialog box contains 6 data tabs which are used to configure various portions of the scanner The General tab allows the user to edit the name and descriptions of the scanner The Module tab allows the user to configure the scanner setup properties The Scanlist tab allows the user to choose which components the scanner will scan for data The Input and Output tab is where the user sets up where the data from the scanned devices is kept to be used by the PLC processor Finally the Summary tab allows the user to view a concise summary of how the scanner has been configured 2 On the General page place the cursor in the name field and type the name you want to assign the scanner If you want to add a description to the scanner place the cursor in the description field and enter a description Click on the Apply button to save the information Click on the Module tab A dialog box will appear requesting to upload or download information from the scanner Click on Upload All the scanlist information currently stored in the scanner will be uploaded Once the upload is complete the Module screen will appear Figure 4 23 1771 SDN Module Screen Gorei Modise Scoria ino Ospu Summon Fogata 1771600 o eee
67. 3 1 0 Configuration B 1 1756 DNB 2 1756 048 Output B 3 1756 1416 Input SMP3 Output A is turned off when GK61 Input 1 is turned on typically a momentary closure GK61_Input_1 SMP3_Output_A_OFF lt Local 1 Data 0 0 gt lt Local 1 0 Data 0 0 gt co SMP3 Output B is turned off when GK61 Input 2 is turned on typically a momentary closure GK61_Input_2 SMP3_Output_B_OFF lt Local 1 Data 0 1 gt lt Local 1 0 Data 0 1 gt JE C gt SMP3 Output A is turned on when GK61 Input 3 is turned on typically a momentary closure GK61_Input_3 lt Local 1 lData 0 2 gt Local 1 0 Data 0 3 C gt SMP3 Output B is turned on when GK61 Input 4 is turned on typically a momentary closure GK61_Input_4 lt Local 1 1 Data 0 3 gt Local 1 0 Data 0 4 Enter BOOL operand Publication 2100 DU021B EN P January 2004 Rung 3 of 11 APP Ladder Logic Programming Including Reading Inputs 5 19 Rungs 9 and 10 show how SMP 3 Status Word information is read The Output card in slot 2 shows status at bits 4 and 5 Figure 5 14 SS RSLogix 5000 Test_1_4slot File Edit View Search Logic Communications Tools Window Help alsa a ejel Aaa la ajaj In Edit z For bled F E BEE ee 4 o Edits orces Disable ajel User CM IA Path AB_DF1 141 E E Controller Test_1_4slot i MainProgram MainRoutine Pi ES
68. 4 or datalink 5 8 parameter s in the adapter you must set the corresponding bit in the M S Input 24 parameter if you want the input data to come from the scanner or master device The following table lists possible configurations for the M S Input 24 parameter and the types of allocation associated with each ADAPTER ALLOCATION Number Of Words ARRUS Data Size Sent From The Controller To The Adapter M S Input M S Poll Only COS Only Cyclic Poll amp Poll amp Output Only COS Cyclic 00000 XXXX0 0 NA NA NA NA 00001 XXxx0 2 NA NA NA NA 00010 XXxx0 2 NA NA NA NA 00011 XXxx0 4 NA NA NA NA 00100 XXxx0 2 NA NA NA NA 00101 XXxx0 4 NA NA NA NA 00110 XXxx0 4 NA NA NA NA 00111 XXxx0 6 NA NA NA NA 01000 XXxx0 2 NA NA NA NA 01001 XXxx0 4 NA NA NA NA 01010 XXxx0 4 NA NA NA NA 01011 XXxx0 6 NA NA NA NA 01100 XXxx0 4 NA NA NA NA 01101 XXxx0 6 NA NA NA NA 01110 XXxx0 6 NA NA NA NA Publication 2100 DU021B EN P January 2004 B 26 DeviceNet to SCANport Communication Module with Digital Inputs Parameters ADAPTER ALLOCATION Number Of Words CONFIGURATION Data Size Sent From The Controller To The Adapter M S Input M S Poll Only COS Only Cyclic Poll amp Poll amp Output Only cos Cyclic 01110 XXXX1 6 6 6 6 0 6 0 01111 XXXX1 8 8 8 8 0 8 0 10000 XXXX1 2 2 2 2 0 2 0 10001 XXXX1 4 4 4 4 0 4 0 10010 XXXX1 4
69. 4 4 4 0 4 0 10011 XXXX1 6 6 6 6 0 6 0 0100 XXXX1 4 4 4 4 0 4 0 10101 XXXX1 6 6 6 6 0 6 0 10110 XXXX1 6 6 6 6 0 6 0 10111 XXXX1 8 8 8 8 0 8 0 11000 XXXX1 4 4 4 4 0 4 0 1001 XXXX1 6 6 6 6 0 6 0 11011 XXXX1 8 8 8 8 0 8 0 100 XXXX1 6 6 6 6 0 6 0 1101 XXXX1 8 8 8 8 0 8 0 110 XXXX1 8 8 8 8 0 8 0 111 XXXX1 10 10 10 10 0 10 0 M S Output Parameter Configurations The M S Output parameter has the following five configurable bits Figure 6 Bits and Corresponding 1 0 datalink B datalink C datalink A datalink D Stat Fdbk xxx0 00 00 0 Peer or other output 1 Master Slave output When you enable the Cmd Stat 4 or datalink 5 8 parameter s in the adapter you must set the corresponding bit in the M S Output 25 parameter if you want the output data to be sent to the scanner or master device Publication 2100 DU021B EN P January 2004 www rockwellautomation com Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation Vorstlaan Boulevard du Souverain 36 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core F Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 2100 DU021B EN P January 2004 Supersedes Publication 2100 D
70. 9 Summary Screen 14 Click on the OK button You are returned to the online screen 15 To save the information just entered to your computer select Save As under the File menu 16 Select a path to store the information 17 Enter a file name and click on Save Figure 4 30 Save As Dialog Screen WSMefufees hos Derio Baot Device Tech Hote a s asuen cait n Da a venta Step 17 Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 23 Configuring an SLC Scanner 1747 SDN to Communicate with the Adapter Your device is now configured on the DeviceNet network The network LED on the module is solid green If it is not refer to Chapter 7 Troubleshooting for more information Refer to Chapter 5 Ladder Logic Programming Including Reading Inputs for information on creating a PLC Ladder Logic Program The following instructions describe how to configure an SLC scanner on a DeviceNet network For the SLC to recognize your device you must do the following e Configure the SLC Scanner e Map your adapter to the SLC 1747 SDN Configuring an SLC Scanner To configure the scanner you verify its properties add devices on the network to its scan list and determine how the scanner will communicate e g polling with each device Follow these directions 1 Inthe Online screen double click on the scanner icon The 1747 SDN Scanner Modu
71. Allen Bradley DeviceNet To SCANport Communication Module with Digital Inputs Catalog Number 2100 GK61 Firmware 2 xxx AER r H m User Manual i i n i A j i il SA 2 Automation Important User Information Publication 2100 UM001B EN P January 2001 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 guide are intended solely for purposes of example Since there are many variables and requirements associated with any particular installation Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use based upon the examples shown in this publication Rockwell Automation publication SGI 1 1 Safety Guidelines for the Application Installation and Maintenance of Solid State Control available from your local Rockwell Automation 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
72. Attribute_Single 0x4B No Yes Get_Enum_String 0x05 Yes No Reset_Request sets all parameters to default values 0x15 Yes No Restore_Request 0x16 Yes No Save_Request Get_Attribute_All Response Not supported At the instance level the order of attributes returned in the Get_Attributes_All response is as follows o ID Attribute Name and Default Value 1 Parameter Value 2 Link Path Size 3 Link Path 4 Descriptor 5 Data Type 6 Data Size 7 Parameter Name String default character count 0 8 Units String default character count 0 9 Help String default character count 0 10 Minimum Value default 0 11 Maximum Value default 0 12 Default Value default 0 13 Scaling Multiplier Default 1 14 Scaling Divisor Default 1 15 Scaling Base Default 1 16 Scaling Offset Default 0 17 Multiplier Link Default 0 18 Divisor Link Default 0 19 Base Link Default 0 20 Offset Link Default 0 21 Decimal Precision Default 0 Object Specific Services DeviceNet Objects Service Implemented for Code 0x4B Class No Instance Yes Service Name Get_Enum_String Enumerated strings are human readable strings that describe either a bit or a value depending on the data type of instance attribute 1 the Parameter Value If the data type is a BYTE or WORD the enumerated string is a bit enumerated string If the data ty
73. Command Bit Command Bit 1 000 N10 1 0006 11 0 Operator Input 1305 Drive Drive Jog JOG Command Bit Command Bit 1 000 N10 1 0007 12 2 Operator Input 1305 Drive Drive Clear Faults CLEAR FAULT Command Bit Command Bit 1000 N10 1 0008 E 3 1305 Drive REFERENCE Command Word MOV 0009 Move Source N21 0 Dest N10 2 The Block Transfer Write in this rung send the drive command data to the scanner and out to the drive via DeviceNet BT20 0 BTW 0010 34 Block Transfer Write mu EN EN Module Type Generic Block Transfer Rack 000 mm DN ms Group 0 Module O EER mm Control Block BT20 1 Data File N10 0 Length 62 Continuous No 0011 END The following table represents the control file for the block transfers Offset EN ST DN ER CO EW NR TO RW RLEN DLEN FILE ELE R G S M BT20 0 0 0 0 0 0 0 0 0 0 62 0 9 00 0 0 BT20 1 0 0 0 0 0 0 0 0 0 62 0 10 0 00 0 0 Publication 2100 UM001B EN P January 2001 Ladder Logic Programming Including Reading Inputs 5 9 In the following programming example a PLC is used to read the inputs of a 2100 GK61 and control the outputs of an SMP 3 electronic overload relay PLC Code Rung 0 enables scanner Rungs 1 and 2 are Block Transfer Read amp Write SMP 3 Output A is turned OFF when 1 001 0 in Rung 3 is momentarily turned ON SMP 3 output B is turned OFF when 1 001 1 in Rung 4 is momentarily turned ON Figure 5 4 E RSLogix 5 Dev
74. GK61 module in the DeviceNet cable system to the DeviceNet trunk Before connecting modules to the network you must determine if your network is within limits of the cable system Class 1 cables are rated 600 volts 8 amps Class 2 cables are rated 300 volts 4 amps The cables in the chart below can be used for Trunk or Drop applications When used for Trunk length limits must be observed Cable Type Part Number Data Rates 125 Kbps 250 Kbps 500 Kbps Class 1 Flat 1485C P1 E75 420m 1378 ft 200m 656 ft 75m 246 ft Class 2 Thick Round 1485C P1 A50 500m 1640 ft 250m 820 ft 100m 328 ft Class 2 Thin Round 1485C P1 C50 100m 328 ft 100m 328 ft 100m 328 ft Class 1 round drop cable is recommended for connections between devices and Class 1 Trunk Maximum drop length is 6m 20 ft Cumulative Drop Budget is based on Data Rate 125 Kbps 156m 512 ft 250 Kbps 78m 256 ft 500 Kbps 39m 128 ft Publication 2100 UM001B EN P January 2001 Installation 2 3 Class 1 Drop Cable is available in three spool sizes Cable Part Number Spool Size 1485C P1 B50 50m 164 ft 1485C P1 B150 150m 492 ft 1485C P1 B300 300m 984 ft For more information on DeviceNet cables and cable systems refer to the DeviceNet Cable System Planning and Installation Manual Publication DN 6 7 2 Input Wires Choose a suitable wire to handle 230Vac 115
75. Including Reading Inputs for information on creating a Ladder Logic Program The following instructions describe how to configure a ControlLogix scanner on a DeviceNet network For the ControlLogix to recognize your device you must do the following e Configure the ControlLogix scanner e Map your adapter to the ControlLogix scanner 1756 DBN To configure the scanner you verify its properties add devices on the network to its scan list and determine how the scanner will communicate e g polling with each device Follow these directions 1 In the Online screen double click on the scanner icon The 1756 DBN Scanner Module properties and configuration screen appears Configuring a Scanner to Communicate with the Adapter 4 31 Figure 4 41 1756 DBN Configuration Dialog Box Publication 2100 UM001B EN P January 2001 4 32 Configuring a Scanner to Communicate with the Adapter The dialog box contains six data tabs which are used to configure various portions of the scanner The General tab allows the user to edit the name and descriptions of the scanner The Module tab allows the user to configure the scanner setup properties The Scanlist tab allows the user to choose which components the scanner will scan for data The Input and Output tab is where the user sets up where the data from the scanned devices is kept for use by the PLC processor Finally the Summary tab allows the user to view a concise summary of how the
76. K61 module This allows the product connected to the adapter to be an active node on the DeviceNet network In this chapter you will read about the following e RSNetWorx for DeviceNet software e Equipment and software needed for the configuration e Configuring a PLC SLC or ControlLogix scanner to communicate with the adapter This chapter assumes you have experience using RSNetWorx for DeviceNet to configure a DeviceNet network RSNetWorx for DeviceNet is a Windows application that lets you configure DeviceNet networks Using a graphical representation of your network you can configure network wide parameters and the network wide schedule After installing and configuring the DeviceNet to SCANport Communication Module with Digital Inputs you can use RSNetWorx for DeviceNet to configure the scanner to recognize and communicate with it For more information on RSNetWorx for DeviceNet refer to the RSNetWorx for DeviceNet online help Before configuring the scanner your PC must be Running RSNetWorx for DeviceNet Refer to http www software rockwell com for more information on this product e Connected to and communicating with the DeviceNet network using a 1784 PCD card a 1784 PCID card a 1784 PCIDS card or a 1770 KFD adapter running with RSLinx Refer to http www software rockwell com for more information on the RSLinx product Refer to http www ab com products html for more information on DeviceNet Network
77. Language ID for all Language STRING accesses 0 English 1 French 2 Spanish Mexican 3 Italian 4 German 5 Japanese 6 Portuguese Instances The number of instances varies based on the number of groups in the SCANport product One additional group is added for the module Instance Description 1 n 1 SCANport product groups no Module group nis the value returned by a get from class attribute 2 max instance Instance Attributes Attribute ID Access Rule Name Data Type Description 1 Get Group Name SHORT_ A human readable string representing the group String STRING name e g set up frequency set Maximum number of characters 16 2 Get Number of UINT Number of parameters in group Members in Group 3 Get 1st Parameter UINT Parameter instance number Number in Group 4 Get 2nd Parameter UINT Parameter instance number Number in Group n Get n 2 th Parameter UINT Parameter instance number Number in Group Publication 2100 UM001B EN P January 2001 DeviceNet Objects C 17 Common Services Implemented for Service Service Name Code Class Instance 0x0E Yes Yes Get_Attribute_Single Get_Attribute_All Response Not supported Publication 2100 UM001B EN P January 2001 C 18 DeviceNet Objects Class Code 0x93 SCANport The SCANport Pass Through Parameter Object lets you perform a scattered read or write Pass Through Parameter Object Publication 2100 UM001B EN
78. N P January 2001 Using DeviceNet Explicit Messaging 6 13 Data must be entered in N Register as shown below Set Radix to Hex BCD A chart is provided on the next page to convert decimal node numbers to hexadecimal format N30 0 0201 02 transaction ID 01 Execute command e N30 1 0006 00 Port 0 06 word size of 6 bytes e N30 2 OEOE Service OE Get Attribute Single 2nd OE bold is Node number e N30 3 0093 0093 class code SCANport Pass Through Parameter Object e N30 4 4015 4015 parameter number for GK61 inputs e N30 5 0001 Attribute 1 e N30 70 0201 02 transaction ID Status 01 Success e N30 71 0002 00 Port 0 04 originally typed in PLC changed value to 02 e N30 72 8E0E Service 8E Get Attribute Singe 2nd OE bold is Node number e N30 73 Results of GK61 input read Data is in Hexadecimal format 0 F 0 0000 all bits off F 1111 all bits off F 1111 all bits on Figure 6 7 RSLogix 5 Devel2 1sp File N30 hex jose a veo oc yy Ae RIV RaQ 2 No Forces Tit lt gt o om ou Noea E Foce Onated fE Driver AB_DF1 1 AZ A AR 0000004 0000000 0 0000000000006 0000000000006 0000000000000 0000000000000 0000000000000 0000000000000 0 0 0 0 0 0 1 0 0 0 o 0 0 ET oe a aan Cokmne 10 7 Desc po Hep REF Goni OD APP READ Publication 2100 UM001B EN P January 2001 6
79. N30 100 0 0 0 0 0 0 0 0 0 0 N30 110 0 0 0 0 0 0 0 0 0 0 N30 120 0 0 0 0 0 0 0 0 0 0 N30 130 0 0 0 0 Publication 2100 UM001B EN P January 2001 6 8 Using DeviceNet Explicit Messaging Using the format of Figure 6 3 the above data would be defined as Publication 2100 UM001B EN P January 2001 follows BTW Format BTR Format Location Value Location Value TXID COMMAND TXID COMMAND N30 0 N30 70 02 01 02 01 PORT SIZE N30 71 PORT SIZE Ngo 00 06 l 00 06 SERVICE MAC ID SERVICE MAC ID N30 2 N30 72 OE 03 8E 03 CLASS Data N30 3 N30 73 0097 0004 INSTANCE N30 4 0000 ATTRIBUTE N30 5 0001 Data in N30 0 5 is data associated with the BTW command All of these values are entered into the data table Data in N30 70 72 is data associated with the BTR command All of these values are entered into the data table Data at N30 73 1s the data read from the DeviceNet Module as a result of the command s entered data Using DeviceNet Explicit Messaging 6 9 In this example there were four entries in the fault queue Notice the following about the data Location Value Meaning N30 0 0x0201 TXID of 2 Command 1 Execute N30 1 0x0006 Port 0 Size 6 bytes N30 3 5 N30 2 0x0E03 Service E Get Attribute Single Node 3 N30 3 0x0097 SCANport Pass Through Fault Object N30 4 0x0000 Instance O Class Ac
80. OS in the Adapter Refer to both the Polled Allocation and the COS Change of State Allocation sections in this chapter for information Enabling Polling and COS in the Scanner Use RSNetWorx to enable polling in the scanner Refer to Chapter 4 Configuring a Scanner to Communicate with the Adapter for more information on configuring the scanner Polling and COS must be enabled in the Edit Device I O Parameters dialog box Figure B 6 Edit Device I O Parameters Dialog Box for Polling and COS APAGAN CS KEN Gorei Hodde Bomi irpa Ou AOR Sumay m Avonia Devices prr AL 30 135 be 3 ESA Step 5 gt ie Step 6 Step 1 E ms f oye nse F oa fgsos me Hosio Rae 50 2 me Iie O Hoye Mewncad Pahaa Evey scons a Publication 2100 UM001B EN P January 2001 Comcel gio UO Sise ere an a A al 4 ato A Al Aller Brocas 1756 DBA Brine Wet Browning 1 In the Polled section click on the box next to Polled A W appears 2 In the Rx field enter the size for the I O input Enter 4 for each datalink enabled and 6 1f Com Ref is enabled For example if Cmd Ref and all 4 datalinks are enabled you would enter 22 DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 11 3 In the Tx field enter the size of the I O output Enter 4 for each datalink enabled and 4 if Com Ref is enabled For example if Cmd Ref and all 4 datalinks
81. Output Time 41 parameter to the minimum time interval between peer messages 5 Set the Peer Output Skip 42 parameter to a value between 1 and 16 The product of this value and the value of the Peer Output Time 41 parameter determine the maximum time interval between peer messages if there is not a change in status 6 Set the Peer Output Enable 40 parameter to On Your adapter is now configured to transmit I O data to another DeviceNet to SCANport Communication Module with Digital Inputs Make sure another DeviceNet to SCANport Communication Module with Digital Inputs on the DeviceNet network is configured to receive peer data Refer to the Enabling the Adapter to Receive Peer I O section in this chapter Publication 2100 UM001B EN P January 2001 B 16 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Using Fault Configurable Inputs Publication 2100 UM001B EN P January 2001 You can select constant values that your adapter will maintain in the event of a controller mode change or error These constant values are referred to as Fault Configurable inputs When the controller is placed in program mode or a DeviceNet network fault occurs the control outputs from the adapter to the SCANport product can be set to automatically switch to the constant values set in the Fault Cfg In parameters This lets you define a safe operating state for controlled devices that depend on pre programmed output fr
82. P January 2001 Class Attributes Not supported Instance Attributes Not supported Common Services Service Code Implemented for Parameter Number Service Name Ox0E 21 digital inputs Get_Attribute_Single Object Specific Services Implemented for Service E Service Name Code Class Instance Scattered_Parameter 2 Y N ae oe a 5 Value_Read Scattered_Parameter 4 Y N ER e me E d Value _Write Must be directed to Attribute 0 Instance 0 The table below lists the parameters for the Scattered_Parameter_ Value_Read and Scattered_Parameter_Value_Write object specific services Name Data Type Description Scattered STRUCT of Parameters Parameter WORD Parameter to read or write Number Parameter WORD Parameter value to write zero when Value reading Important The STRUCT may repeat up to 32 times in a single message DeviceNet Objects C 19 Class Code 0x97 SCANport Pass Through Fault Object The SCANport Pass Through Fault Object provides information on the product s fault queue Class Attributes Attribute ID Access Rule Name Data Type Description 0 Set Write Fault BYTE 1 Clear Faults Command 2 Clear Fault Queue 3 Reset Product 1 Get Read Number of BYTE Reads the number of fault queue entries Fault Queue Entries 2 Get Read Fault
83. Product Satisfaction Return Rockwell Automation tests all of its products to ensure that they are fully operational when shipped from the manufacturing facility However if your product is not functioning and needs to be returned follow these procedures United States Contact your distributor You must provide a Customer Support case number call the phone number above to obtain one to your distributor in order to complete the return process Outside United Please contact your local Rockwell Automation representative for the States return procedure www rockwellautomation com Power Control and Information Solutions Headquarters Americas Rockwell Automation 1201 South Second Street Milwaukee WI 53204 2496 USA Tel 1 414 382 2000 Fax 1 414 382 4444 Europe Middle East Africa Rockwell Automation Vorstlaan Boulevard du Souverain 36 1170 Brussels Belgium Tel 32 2 663 0600 Fax 32 2 663 0640 Asia Pacific Rockwell Automation Level 14 Core F Cyberport 3 100 Cyberport Road Hong Kong Tel 852 2887 4788 Fax 852 2508 1846 Publication 2100 UM001B EN P January 2001 PN 25168 Supersedes Publication 2100 UM001A EN P January 2000 Copyright 2001 Rockwell Automation Inc All rights reserved Printed in the U S A a Reference How to Use Document Update DeviceNet to SCANport Communications Module with Digital Inputs Additions and Corrections DeviceNet to SCANport Communications Module with Digi
84. SS SERVICE RESPONSE DATA INSTANCE il ATTRIBUTE E SERVICE DATA s y word 31 For information on M File locations refer to the 1747 SDN DeviceNet Scanner Module Manual Publication 1747 5 8 The message buffer is composed of two sections e Transaction header three words that contain information identifying the message transaction e Transaction body in a request this contains the DeviceNet Class Instance Attribute and Service Data portions of the transaction See Appendix C In a response this contains the Service Data only Publication 2100 UM001B EN P January 2001 6 18 Using DeviceNet Explicit Messaging Each of the data fields in the transaction header is one byte in length The table below details the information required Data Field Description TXID Transaction ID when the processor creates and downloads a request to the scanner the processor s ladder logic program assigns a TXID to the transaction This is a one byte integer in word 31 with a range of 1 to 255 The scanner uses this value to track the transaction to completion and returns the value with the response that matches the request downloaded by the processor COMMAND For each download a command code instructs the scanner how to administer the request 0 Ignore transaction block block empty 1 Execute this transaction block 2 Get status of transaction TXID 3 Reset all client server transactions 4 Delete
85. Tx or Running meaning it is receiving input data Your adapter is now configured to accept I O data from another DeviceNet to SCANport Communication Module with Digital Inputs Make sure another DeviceNet to SCANport Communication Module with Digital Inputs on the DeviceNet network is configured to transmit peer data Refer to the Enabling the Adapter to Transmit Peer I O section in this chapter DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 15 Enabling the Adapter to Transmit Peer I O You can have your DeviceNet to SCANport Communication Module with Digital Inputs send I O data to another DeviceNet to SCANport Communication Module with Digital Inputs on the network Figure B 8 Transmitting I O to Another Adapter M S Input Data from Peer A Output Peer Input DeviceNet Data from DeviceNet Module Input DL Ct Inp DL D1 Inp Data to the O SCANport Device Peer Output Data to DeviceNet Feedback DL A2 Out e Data from the U cios DL C1 Out evice DL C2 Out DL D1 Out DL D2 Out Peer B Output To have your adapter send output data to another adapter you need to 1 Ensure the Peer Output Enable 40 parameter is Off 2 Set the Peer A Output 38 parameter to the source of the output data 3 If transmitting four words set the Peer B Output 39 parameter to a different source of output data 4 Set the Peer
86. U021A EN P February 2003 Copyright 2004 Rockwell Automation Inc All rights reserved Printed in the U S A
87. a product that doesn t support datalinks Or ensure that a particular datalink is not already being used by another adapter on the same SCANport device In either case the adapter must be properly configured and power cycled after the problem is fixed LED is steady orange Failed SCANport compatibility test Call Rockwell Automation support Publication 2100 UM001B EN P January 2001 7 4 Troubleshooting Input Status LED States The row of LED s furthest right on the front of the module are the Input Status LED s and function as follows LED Viewed LED is Red Input Off If State Indicates No power to input Action 1 Input is off No action is required 2 Power is missing from Input 1 verify external wiring to module 3 Verify Dip Switch setting matches Input voltage LED is Green Input On Input has power applied 1 Input is on No action is required 2 Voltage is applied to Input verify external wiring to module LED is Red Input Off No power to input 1 Input is off No action is required 2 Power is missing from Input 2 verify external wiring to module 3 Verify Dip Switch setting matches Input voltage LED is Green Input On Input has power applied 1 Input is on No action is required 2 Voltage is applied to Input verify external wiring to module LED is Red Input Off No power to input 1 Input is off No action i
88. a Size Sent From The Adapter To The Controller M S Output Cyclic Poll amp Poll amp Poll Only COS Only Only cos Cyclic 11101 9 3 3 9 3 9 3 11111 11 3 3 Ma 3 Publication 2100 UM001B EN P January 2001 Appendix Objectives Object Classes DeviceNet Objects Appendix C Appendix C defines the DeviceNet object classes class services and attributes that are supported by the DeviceNet to SCANport Communication Module with Digital Inputs These objects can be used to develop programs for the module This appendix assumes that you have experience in object programming The DeviceNet to SCANport Communication Module with Digital Inputs supports the following object classes Class Object Page 0x01 Identity C 2 0x02 Message Router C 4 0x03 DeviceNet C 5 0x05 Connection C 6 0x07 Register C 8 Ox0F Parameter C 10 0x10 Parameter Group C 16 0x93 SCANport Pass Through Parameter C 18 0x97 SCANport Pass Through Fault Queue C 19 0x98 SCANport Pass Through Warning C 21 Queue 0x99 SCANport Pass Through Link C 23 0x67 PCCC Object C 25 Publication 2100 UM001B EN P January 2001 C 2 DeviceNet Objects Class Code 0x01 Identity The identity object provides identification and general information Object about the device Class Attributes Attribute Access Name Data Description ID Rule Type p 2 Get Max UINT Maximum instance Instance number o
89. age 34 Peer Node to 0 63 0 Yes No Determines the node address of the node Inp producing I O for the adapter to receive Important This parameter cannot be changed when the Peer Inp Enable 36 parameter is On 35 Peer Inp Time 01 180 00 sec 10 00 Yes No Determines the time out time If the adapter out does not receive input from the peer node in this amount of time it will do what is selected in Peer Flt Action 33 parameter 36 Peer Inp Off On Off Yes No Off Disables peer input communications Enable On Enables peer input communications 37 Peer Inp Sta Off NA No No Displays the status of the consumed peer input tus Waiting connection Running Faulted 38 Peer A Output Off Off Yes No Determines the source of peer A output data in Cmd Ref the SCANport product DL A Input Important This parameter cannot be changed DL B Input when the Peer Out Enable 40 parameter is On DL C Input DL D Input DL A Output DL B Output DL C Output DL D Output Important For information on accessing and editing parameters refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 UM001B EN P January 2001 DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 23 Valid Values edi ee Name Default Writable Power Description Settings Cycle 39 Peer B Output Off Off Yes No Determines the source of peer B output data in Cmd Ref the SCAN
90. ainTask E8 MainProgram Program Tags MainRoutine 2 Unscheduled Programs 3 Trends amp Data Types Ci User Defined Oy Predefined Ep Module Defined 140 Configuration B 1 1756 DNB 2 1756 048 Output B 3 1756 1416 Input GK61_Input_2 GK61_Switch_2_Echo lt Local 1 lData 0 1 lt Local 2 0 Data 1 gt cD GK61_Input_3 GK61_Switch_3_Echo lt Local 1 1 Data 0 2 gt lt Local 2 0 Data 2 gt GK61_Input_4 GK61_Switch_4_Echo lt Local 1 1 Data 0 3 gt lt Local 2 0 Data 3 gt E Scanner Enable Local 1 0 CommandRegister Run Search Results Fo O m Ready Rung 6 of 17 APP Publication 2100 UM001B EN P January 2001 5 16 Ladder Logic Programming Including Reading Inputs Rungs 5 through 8 also read 2100 GK61 inputs In this case however control information is being sent to an area of the Scanner where SMP 3 Command Word is located Commands pass through ScanPort to SMP 3 where Outputs A and B are turned on or off For example when 2100 GK61 input 3 is momentarily turned on in rung 7 SMP 3 Output A is energized via Local 1 0 Data 0 3 See Logic Control Data and Status Data tables from the SMP 3 manual on the last page of this Tech Note Figure 5 11 9 RSLogix 5000 Test_1_4slot ME E Fie Edit View Search Logic Communications Tools Window Help alela a eje ol 7 alll le ajaj O 4 Aliada 40 gt no Edits z Forces Disabled g
91. alue can range from 0 to 63 The port and MAC ID uniquely identify the target slave device The slave device must be listed in the scanner module s scan list and be on line for the Explicit Message transaction to be completed Publication 2100 UM001B EN P January 2001 Using DeviceNet Explicit Messaging 6 19 SLC Ladder Example SLC Messaging Figure 6 10 shows an example message in the SLC ladder logic program started in Chapter 5 Ladder Logic Programming lIncluding Reading Inputs Figure 6 10 SLC Messaging Example LAD 4 MESSAGING Total Rungs in File 3 Message buffer When B3 0 0 is set true this rung will copy the 32 words of the Explicit Message from the buffer at N20 10 to the MO File Explicit The 1747 SDN will send the message out over DeviceNet Initiate Explicit Explicit Message Message B3 0 COP 0000 m Copy File 0 Source N20 10 Dest M0 1 224 Length 32 Initiate Explicit Message B3 0 Explicit Message Response Available 1 1 0 0001 15 1747 SDN 0002 When 1 1 0 15 is true and the Explicit Message response has been received and is in the M1 File this rung 1 Copies the response message into N10 50 2 Copies a command byte of 4 into the M1 File commands the 1747 SDN scanner to discard the response data so that the buffer can be used for the next available response message Explicit M
92. am Stall Fault illegal FLC Set Fault Non Vol Memory Fault Comm Loss Fault Note The next 16 bit word following the 16 bit Status Data word is the unscaled analog value of the parameter selected by bits 13 15 in the Logic Control Data word al 1973 a 74 or 107 Jm esxeren Eis y 5 Document Done 45 SP Ed ve 4 Publication 2100 UM001B EN P January 2001 0000 0001 0002 0003 The scanner gathers drive status information via DeviceNet The Block Transfer Read in this rung then moves the drive status data from the scanner to the PLC s N9 data file Ladder Logic Programming Including Reading Inputs 5 7 PLC Ladder Logic Example The following example uses a PLC 5 a 1771 SDN DeviceNet scanner and a 2100 GK61 to control a 1305 1336 PLUS or 1336 PLUS II drive The example program shows how to obtain status information from the drive and how to control it e g starting the drive stopping the drive jogging the drive sending reference and clearing faults When you understand this example you should be able to customize the program to fit your application needs The example assumes that there is an operator s station wired to an VO module in slot zero of module group zero of rack zero Important You may want to verify a device has not failed using word 0 of block transfer 62 before sending control data If a device has failed use block transfer 52 to find out which
93. anner Drive Status Structure This provides the drive status information that will be sent to the logic controller s input im age table when the Communication Module is set to control the drive Bit 15Bit 14Bit 13Bit 12Bit 11Bit 10 Bit9 Bit8 Bit7 Bit6 BitS Bit4 Bit3 Bit2 Bit1 BitO Y Reference ID 15 14 Reference 13 Local Adapter ID Local n1n 10 Freq Select 1 Preset Freq 1 Preset Freq 2 Preset Freq 3 Preset Freq 4 Preset Freq 5 Preset Freq 6 Preset Freq 7 Freq Select 2 Adapter 1 Adapter 2 Adapter 3 Adapter 4 Adapter 5 Adapter 6 Jog Frequency 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 E OS at TB3 oO nor GON Unused SS SS aS Ss 0 0 1 1 0 0 1 1 Se Se St Sls Y y Alarm Alarm 0 No Alarm y Fault 1 Faul 0 Not At Speed 1 At Speed 0 Not at Speed ed Faulted ale 1 Enabled 0 Not Enabled Running 1 Running 0 Not Running Command Direction 1 Forward y _ 0 Reverse Rotating Direction Forward 0 Reverse Accelerating Accelerating 0 Not Accelerating Decelerating Decelerating 0 Not Decelerating Figure 5 3 The 1305 1336 PLUS or 1336 PLUS II Drive in this example accepts the following logic command data from the PLC via the scanner Logic Control Structure This information provides the control logic information that is sent to the driv
94. aphic images associeled wih a device oeste en EDS Stub 9 Select Register an EDS file s Figure 4 10 Registering an EDS File s Step 9 Options The EDS Wizard provides you with several tasks gt va Unregister a device This option will remove a device that has been registered by an EDS file from our database Y Change a device s graphic image i 3 di option allows you to replace the graphic image icon file associated with a levice f Create an EDS Stub ioe This option creates an EDS file with information that describes the file device and 1 0 characteristics Upload EDS A This wil allow you to Upload parameter data froma device to be used to create an EDS file a Configuring a Scanner to Communicate with the Adapter 4 9 10 A single EDS file or a directory of EDS files may be registered as illustrated here After selecting file or directory click Next to continue Figure 4 11 Registering an EDS File EDS Wizard x Register Device a Electronic Data Sheet file s will be added to your system for use in Rockwell Software applications Ca Register a directory of EDS files gt Lookin subfolder Named CATEMP 0001007416200300 eds i If there 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 installati ssl ne _ Cancel test o
95. apter 1 3 SCANport Products esla goza eee raed a eed 1 5 Hardware and Parts Description o 1 6 2100 GK61 Module Hardware 005 1 6 Overview of Setting Up the Adapter 1 7 Required Tools and Equipment 1 7 Chapter 2 Installation Chapter Objectives rosana daa A 2 1 Installing a 2100 GK61 Module o ooo 2 1 Required Tools and Equipment 2 1 Selecting Cables oooocoooccononrro o 2 1 Installing the DeviceNet to SCANport Communication Module with Digital Inputs 2100 GK61 2 3 Removing the DeviceNet to SCANport Communication Module with Digital Inputs 2100 GK61 2 10 Chapter 3 Configuring the DeviceNet to Chapter Objectives cite paid em we th awa ia a 3 1 SCANport Communication Module Factory Default Settings for the 2100 GK61 3 1 with Digital Inputs What is RSNetWorx for DeviceNet 3 2 Required Equipment and Software 3 2 Using RSNetWorx to Edit Your Adapter s Parameters 3 3 Chapter 4 Configuring a Scanner to Commu Chapter Objectives 0 0 2c eee eee 4 1 nicate with the Adapter What is RSNetWorx for DeviceNet 4 1 Required Equipment and Software 4 1 Getting Started 250 O a ees nen See eee 4 2 Using Online Mode in RSNetWorx for DeviceNet 4 2 Downloading an EDS File for Your SCAN
96. arameters to their factory default values 23 Active 1 0 Cfg 0 or 1 for each N A No No Displays what 1 0 is activated in the adapter pi datalink B datalink C datalink A datalink D Cmd Stat xxx0 0000 0 Off 1 On 24 M S Input 0 or 1 for each xxx0 0001 Yes Yes Determines the source of the bits for input bit datalink B datalink C datalink A datalink D Cmd Ref xxx0 0000 0 Peer or other input 1 Master Slave input For more information refer to the M S Input Parameter Configurations section in this chapter 25 M S Output 0 or 1 for each xxx0 0001 Yes Yes Determines the source of the bits for output bit datalink B datalink C datalink A datalink D Stat Fdbk xxx0 0000 0 Peer or other output 1 Master Slave output For more information refer to the M S Output Parameter Configurations section in this chapter IMPORTANT For information on accessing and editing parameters refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 DU021B EN P January 2004 B 24 DeviceNet to SCANport Communication Module with Digital Inputs Parameters M S Input Parameter Configurations The M S Input 24 parameter has the following five configurable bits Figure 5 Bits and Corresponding 1 0 datalink B datalink C datalink A datalink D Cmd Ref xxx0 0000 0 Peer or other input 1 Master Slave input When you enable the Cmd Stat
97. ata E 14 Message Operation oooooooooommoo E 14 Example da a AE a E 14 Fault Command Write o ooooooooo E 15 PLC Block Transfer Emulation Instruction Data E 15 Message Operati0N o ooooooooommoo E 15 Fault Queue Entry Read Full E 16 PLC Block Transfer Emulation Instruction Data E 16 Message Operation oooocoooooommoo E 17 Example tai MES aes ee eee mae RET E 17 Fault Queue Size 1 ee E 18 PLC Block Transfer Emulation Instruction Data E 18 Message Operation 000 ce eee eee ee E 18 Example tt a ad ns sto la e DA Ba E 18 Trip Fault Queue Number coocococcccccoc E 19 PLC Block Transfer Emulation Instruction Data E 19 Message Operation o oooooocoocccoronoo E 19 EXAMIPIG tc ete cd e ak ti hee Al Ed a E 19 Digital Input Parameter Read ooooooooooo E 20 PLC Block Transfer Emulation Instructions Data E 20 Message Operati0M o ooooooooooooo E 21 Example seco of die aa elo E 21 Overview Chapter 1 Chapter Objectives Chapter 1 provides an overview of your DeviceNet to SCANport Communication module with Digital Inputs In this chapter you will read about the following Function of the 2100 GK61 module Features of the 2100 GK61 module e SCANport products Parts and hardware of the 2100 GK61 module e Steps for setting up the adapter e Req
98. atalink D Stat Fdbk 0 Peer or other output xxx0 0000 When you enable the Cmd Stat 4 or datalink 5 8 parameter s in the adapter you must set the corresponding bit in the M S Output 25 parameter if you want the output data to be sent to the scanner or master device DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 27 The following table lists possible configurations for the M S Output 25 parameter and the types of allocation associated with each ALLOCATION Number Of Words Data Size Sent From The Adapter To The Controller M S Output Poll Only COS Only ae pes uE 00000 0 NA NA d de 00010 3 NA NA NA k 00100 3 NA Ba hd va 00110 5 NA NA NA Me 01000 3 NA NA Me ue 01010 5 NA NA DA HA 01100 5 NA NA Ne Me 01110 7 NA NA NA MA 10000 3 NA ya b hi 10010 5 NA NA k hia 10100 5 NA NA b des 10110 7 NA NA NA no 11000 5 NA No NA i 11010 7 NA DA we dd 11100 7 NA NA NA NA 11110 9 NA NA NA NA 00001 3 3 3 3 3 3 3 00011 5 3 3 5 3 5 3 00101 5 3 3 5 3 5 3 00111 7 3 3 ng a8 01011 7 3 3 ue aS 01101 7 3 3 us me 01111 9 3 3 9 3 9 3 10001 5 3 3 5 3 5 3 10011 7 3 3 e e 10101 7 3 3 us i 10111 9 3 3 9 3 9 3 11001 7 3 3 13 is Publication 2100 UM001B EN P January 2001 B 28 DeviceNet to SCANport Communication Module with Digital Inputs Parameters ALLOCATION Number Of Words Dat
99. ation Allen Bradley next to the chosen product description in Figure 4 8 an EDS File Details screen appears Figure 4 9 The example for a 1336 Drive provides file detail and a file download button After clicking on the Download File button download the EDS file to a temporary directory on your PC s hard drive Figure 4 8 EDS File Details and Download Button 3 EDS File Detads Netscape o Ed Yow Es Cormaic Hep iaj r X3 Y a al B Back Reload Home Seach Netscape Pim Seculy wai Bookmatis M Mete hna 7000 ab com retwarks eds cg bev detal pe ON OD01O07ADSI20600 ed Binetak Message E webMal PY Contact EF Peopte Y vYelowPages G Dowiosd E FrdSies LJ Channels EDS File Details Brand Rockwell Automanon Allen Bradley Device Type Smart MCC Product Name 1336 PLI Catalog Number 13365 AQF15 Major Revison 4 Minor Revision 2 Drive 60 A 230V EDS File Content EDS File Translator Version 2 02 01 Electronic Data Sheet File DescText CreateDate CreateTime KodDate ModTime Publication 2100 UM001B EN P January 2001 4 8 Configuring a Scanner to Communicate with the Adapter Publication 2100 UM001B EN P January 2001 Figure 4 9 EDS Wizard in RSNetWorx for DeviceNet 8 To register the EDS file start EDS Wizard from the toolbar in RSNetWorx for DeviceNet Welcome to the EDS Wizard The EDS Wizard allows you to register EDS bated devices uruegistes device change the gr
100. ber the adapter is connected to on the SCANport product N42 8 Reserved for future use always zero N50 0 Number of SCANport product parameters N50 1 249 SCANport product parameters 1 249 value only Publication 2100 UM001B EN P January 2001 Publication 2100 UM001B EN P January 2001 Rockwell Automation Rockwell Automation provides technical information on the Web to assist you in using its products At http support rockwellautomation com you can Support find technical manuals a knowledge base of FAQs technical and application notes sample code and links to software service packs and a MySupport feature that you can customize to make the best use of these tools For an additional level of technical phone support for installation configuration and troubleshooting we offer TechConnect support programs For more information contact your local distributor or Rockwell Automation representative or visit http support rockwellautomation com Installation Assistance If you experience a problem within the first 24 hours of installation please review the information that s contained in this manual You can also contact a special Customer Support number for initial help in getting your product up and running United States 1 440 646 3434 Monday Friday 8am 5pm EST Outside United Please contact your local Rockwell Automation representative for any States technical support issues New
101. bjects Setting of an assembly attribute can only be accomplished through a connection This feature is to prevent accidental control of the SCANport product Attribute Access Data ae ID Rule Name Type Description 1 Get Bad Flag BOOL Ifsetto 1 then attribute 4 may contain invalid bad or otherwise corrupt data 0 good 1 bad 2 Get Direction BOOL Direction of data transfer 0 Producer Register 1 Consumer Register 3 Get Size UINT Size of register data in bits 4 Condi Data ARRAY Data to be transferred tionalo of BITS O The access rule of Set is optional if attribute 2 Direction 1 If Direction 0 the access tule is Get Common Services Implemented for Service y Service Name Code Class Instance Ox0E Yes Yes Get_Attribute_Single 0x10 No Yes Set_Attribute_Single Publication 2100 UM001B EN P January 2001 C 10 DeviceNet Objects Class Code 0x0F Parameter Object Publication 2100 UM001B EN P January 2001 The Parameter Object provides a known public interface for device configuration data This object also provides all the information necessary to define and describe each individual configuration parameter of a device Class Attributes Attribute Access ID Rule Name pa Description Type 4 Get Revision UINT Revision of this object First revision value 1 Get Max Instance UINT Maximum in
102. cation Module is set to control the drive Bit 1 Bit 14Bit 13Bit 12Bit 11Bit 10 Bit 9 Bit 8 l o l 7 7 Reference Se Decel Accel 53 Reference 14 13 12 No Commandd O 0 Freq Select t0 0 1 Freq Selectp0 1 0 Preset Freqi30 1 1 l Preset Freqi41 0 0 Time 1 Oo 1 Preset Freql51 0 1 Time 2 1 0 Preset Freq 61 1 0 Hold Time 1 1 Preset Freq 71 1 1 MOP Decrement 1 Decrement 0 Not Decrement Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bito L y Stop 1 Stop 0 Not Stop Start 1 Start 0 Not Start Jog 1 Jog 0 Not Jog Clear Faults y 1 Clear Faults 0 Not Clear Direction 5 4 No Commando 0 Forward 0 il Reverse 1 y Hold Directidni 1 Local 1 Local Lockout y 0 Not Local MOP Increment 1 Increment 0 Not Incremen t Publication 2100 UM001B EN P January 2001 5 6 Ladder Logic Programming Including Reading Inputs For reference Logic Control Data and Status Data tables from the SMP 3 manual are included below Netscape x lt Edit View Go Communicator Help au Bookmarks Netsite http 7 www ab com manuals ms 0193 5 0 pdf Ga whats Related EN a Ah i sz BE Forward Home Seach Netscape Print Security Stop RSA Message WebMail Contact People Yelow Pages E Download Find Sites Channels E Alltheweb Al E Networks Elec i lt Sica gt 0 Bir 4 amp oes
103. cel Rate 2 Command 11 Hold Decel Rate X X X Reference 000 No Command Select 001 Ref 1 Ref A Select 010 Ref 2 Ref B Select 011 Ref 3 Preset 3 100 Ref 4 Preset 4 101 Ref 5 Preset 5 110 Ref 6 Preset 6 111 Ref 7 Preset 7 X MOP 0 Not Decrement Decrement 1 Decrement Publication 2100 DU021B EN P January 2004 5 8 Ladder Logic Programming Including Reading Inputs For reference Logic Control Data and Status Data tables from the SMP 3 manual are included below Netscape EA Edit View Go Communicator Help a E 7 M Bookmarks Netsite http www ab com manuals ms 0193 5 0 pdf gt Fa what s Related EN A gt a atk a c Cy Back Forward Reload Home Search Netscape Print Security Stop instant Message E WebMail E Contact People H Yellow Pages Download Find Sites C Channels All the Web Al Networks Elec ra AS 1 5 ler Ql Tali lt gt ore gt 10 BI 000 Logic Control Data a The information in Table 6 B illustrates the logic control data that is sent to the SMP 3 overload relay through the logic controller output image table When using the Bulletin 1203 GD1 communication module this information is sent to the SMP 3 overload relay when SW3 dip 2 on the 1203 GD1 module is ON Table 6 8 SMP 3 Logic Control Data Explanation Tum Out A off Turn Out B off Clear Fault Tu
104. cess N30 5 0x0001 Attribute 1 Number of Fault Queues N30 70 0x0201 TXID of 2 Status 1 Success N30 71 0x0006 Port 0 Size 6 bytes N30 3 5 N30 72 0x8E03 Service 8E Get Attribute Single Response N30 73 0x0004 4 fault queues Refer to Appendix C DeviceNet Objects for more information on object descriptions Publication 2100 UM001B EN P January 2001 6 10 Using DeviceNet Explicit Messaging Explicit Messaging Programming Example Example Ladder Program Explanation ASLogix 5 Devel2 13p LAD 2 Ele Edt View Search Comms Tools Window Help si EA MEA ASES A Diver AB_DFTA AK B Jire TAN e Faces Obes fE Node 10 mm Bick Trarufer Vte EN The example below illustrates how to read 2100 GK61 inputs and control the outputs of an SMP 3 electronic overload relay using explicit messaging e Rung 0 N10 0 0 enables 1771 SDN Scanner Port A e Rung 1 BTR Block Transfer Read gathers SMP 3 Status Data via DeviceNet The Block Transfer then moves the status data from the scanner to the PLC s N9 data file e Rung 2 BTW Block Transfer Write sends SMP 3 command data to the scanner and out to the SMP 3 via DeviceNet e Rung 3 Turns off SMP 3 Output A by momentarily turning on 1 001 0 Rung 4 Turns off SMP 3 Output B by momentarily turning on 1 001 1 e Rung 5 Clears SMP 3 Fault by momentarily turning on 1 001 2 Figur
105. connection will become unmarked Within the DeviceNet to SCANport Communication Module with Digital Inputs various register objects buffer I O in the following fashion RO Read Only R PW Read Write Protected Instance Access Size Function 1 RO See M S Out Poll Response l O data to controller put 2 R PW See M S Out Buffered Poll I O data from controller put 3 RO 32 bits Logic Status amp Feedback 4 R PW 32 bits Datalink A from SCANport Device if enabled 5 RO 32 bits Datalink A to SCANport Device if enabled 6 R PW 32 bits Datalink A from SCANport Device if enabled 7 RO 32 bits Datalink B to SCANport Device if enabled 8 R PW 32 bits Datalink B from SCANport Device if enabled 9 RO 32 bits Datalink C to SCANport Device if enabled 10 R PW 32 bits Datalink C from SCANport Device if enabled 11 RO 32 bits Datalink D to SCANport Device if enabled 12 R PW 32 bits Datalink D from SCANport Device if enabled 13 RO 32 bits Logic Status and Feedback 14 R PW 32 bits Logic Command Last Logic Command is ANDed with the first word in this command and ORed with the second word in the command The reference is not modified This command allows bit changes to the logic command without affecting the speed reference or other control bits Refer to the Class Code 0x07 Register Object section in Appendix C DeviceNet Objects for more information on the Register Ob
106. control procedures refer to Allen Bradley Publication 8000 4 5 2 Guarding Against Electrostatic Damage or other applicable ESD protection handbook Figure 2 3 DeviceNet Connections Color Key 1 Red V 2 White CAN_H 3 Shield 4 Blue CAN_L 5 Black V 10 pin Dual Row DeviceNet Connection DeviceNet I Allen Bradley Front View of 2100 GK61 Module Publication 2100 UM001B EN P January 2001 2 8 Installation 5 Plug the connector into the module ATTENTION Danger of electrical shock exists if power is not disconnected to Digital Input Devices Verify power is removed before proceeding 6 Connect the Digital Inputs to the Digital Input six 6 pin connec tors Below is the connection pinout detail Figure 2 4 Digital Input Connections Pin 1 Input 1 Pin 2 Input 2 Pin 3 Input 3 Pin 4 Input 4 Pin 5 Input Common Pin 6 Input Common 7 Plug the Input connector into the module 8 Connect the SCANport cable to the communications adapter and then to the SCANport product Publication 2100 UM001B EN P January 2001 Installation 2 9 Figure 2 5 SCANport Connection SCANport Cable 9 Reapply power to the DeviceNet network 10 If necessary apply power to the connected SCANport product and to the Digital Inputs Publication 2100 UM001B EN P January 2001 2 10 Installation Publication 2100 UM001B EN P January 2001 Your 2100 GK61 module is now in
107. d is true Rungs 8 and 9 illustrate how SMP 3 outputs A and B are respectively turned ON when Inputs 3 and 4 of I O card in slot 3 are true Figure 5 11 4 RSLogix 500 SLC500_DEVEL1 RSS ES File Edit View Search Comms Tools Window Help oca s see AS sf Cole al OFFLINE No Forces a 07 3 636 lt gt Joen Bl Forces Disabled B Node 14 C gt Nuser ABRA TmerCanier A npalOuipat K Compare Driver AB_DF1 1 SLC500_DEYELI RSS Mie E3 3 Project H E Help EQ Controller i Controller Properties a Processor Status A 10 Configuration hi Channel Configuration EJ Muttipoint Monitor 5 0 Program Files 13 E svso 3 E Bi sys1 1746 1012 LAD2 5 Data Files 1 3 B Cross Reference J E ORs OUTRUT 17461012 M INPUT Bi s2 status 13 DP B3 BINARY J E Bl 74 Ter 1746 1012 C5 COUNTER RB CONTROL 13 El N7 INTEGER J E F8 FLOAT 1746 1012 Y Force Files 00 OUTPUT PR ieee 1746 1012 XREF 20003 APP READ y For Help press F1 Publication 2100 DU021B EN P January 2004 Ladder Logic Programming Including Reading Inputs 5 17 ControlLogix Programming Example Unlike PLC and SLC programs the ControlLogix utilizes a tag based technique A ControlLogix is used to read 2100 GK61 inputs and control the outputs of an SMP 3 electronic overload relay Rungs 0 through 3 illustrate XIC Examine if Closed input instructions Each 2100
108. d to the module Publication 2100 UM001B EN P January 2001 Installation 2 5 Figure 2 1 Dip Switch Access Side View of 2100 GK61 Module Dip Switch Location 2 Determine a suitable mounting location within a desired location close to its interconnecting devices and or components ATTENTION The2100 GK61 moduleis an open panel device and must be mounted inside a suitable enclosure When choosing a suitable mounting location allow 1 0 2 54cm clearance from the front of the module to the door of the enclo sure or other devices This clearance is needed for DeviceNet wir ing harness bend radius Publication 2100 UM001B EN P January 2001 2 6 Installation 517 4 13 130m 11430m 3920909 Publication 2100 UM001B EN P January 2001 Mount the module to the panel with 10 hardware as detailed in Figure 2 2 Figure 2 2 Mounting Dimensions Digital Input DeviceNet K Connector Connector i 5 00 1 00 12 7 em 2 54m Min Clearance Installation 2 7 3 Remove power from the network 4 Insert the DeviceNet cable wires into the 10 pin connector Make sure you follow the color key next to the connector receptacle on the module ATTENTION If you wire the 10 pin header after you ve connected it to the module static control precautions are required Device malfunction may occur if you do not follow ESD control procedures If you are not familiar with static
109. device failed Refer to the 1771 SDN DeviceNet Scanner Module Manual Publication 1771 5 14 for more information Figure 5 2 Example PLC Ladder Logic Program BT20 0 BTR 3 a Block Transfer Read ma EN EN Module Type Generic Block Transfer Rack 000 mm DN am Group 0 Module 0 ER Control Block BT20 0 Data File N9 0 Length 62 Continuous No Rungs 0001 through 0003 move the drive status from the Block Transfer Read data file to an operator display 1305 Drive Operator Display RUNNING Drive Running Status Bit Status Bit N9 1 0 000 1 E o 1305 Drive Operator Display FAULTED Drive Faulted Status Bit Status Bit N9 1 0 000 a 7 i Operator Display Drive Feedback Status Word MOV Move Source N9 2 Dest N21 1 Publication 2100 UM001B EN P January 2001 Ladder Logic Programming Including Reading Inputs Figure 5 3 Example PLC Ladder Logic Program continued This rung enables the scanner 1771 SDN Scanner Port A Enable N10 0 0004 CA 0 Rungs 0005 through 0009 move the operator s inputs from the operator station to the Block Transfer Write data file where they will be sent to the scanner and out to the drive via DeviceNet Operator Input 1305 Drive Drive Start START Command Bit Command Bit 1 000 N10 1 0005 10 1 Operator Input 1305 Drive Drive Stop STOP
110. e B Z Bytes Tx Size fa Bytes T Polled Ra Size p Bytes Heartbeat Rate 250 msec A az Tx Size f Z Bytes Advanced Poll Rate Sea Cancel Restore 1 0 Sizes Publication 2100 UM001B EN P January 2001 4 20 Configuring a Scanner to Communicate with the Adapter 8 Make the changes as necessary You must configure your PLC based on how your adapter s parameters are configured and how you want your module to send and receive data from the network Refer to the following table If Using Refer To Polled Polled Allocation on page B 5 COS Change of State COS Change of State Allocation on page B 7 Cyclic Cyclic Allocation on page B 8 Polled and COS Polled and COS Allocation on page B 10 Polled and Cyclic Polled and Cyclic Allocation on page B 11 9 Click OK to return to the Scanlist screen 10 Click on the Apply button A dialog box appears asking if you wish to download the changes to the device Click on Yes Important If the processor is not in Program mode a dialog box will appear stating which mode the processor is in Clicking on the OK button returns the Scanlist screen without downloading any information to the processor You must now place the processor in program mode and repeat the apply function 11 Click on the Input tab to view the input table map From this screen you can customize the arrangement of the scanner s data table Refer
111. e 6 4 a m OJE AS p Jo user Bt K TmerCourter_ A notOuput X Compare ro BTR Block Trasfer Read Module Type Genere Block Tramfer Rack 000 Group 0 Module 0 Control Block BT200 Data Fie N90 Length Module Type Generic Block Transfer Rack 000 CDi G 0 Control Block BT20 1 Data File 100 Length 62 Contimow No File 2 IKI sf REF Osui 20000 APP FEED Publication 2100 UM001B EN P January 2001 Using DeviceNet Explicit Messaging 6 11 Rung 6 Turns on SMP 3 Output A by momentarily turning on 1 001 3 Rung 7 Turns on SMP 3 Output B by momentarily turning on 1 001 4 e Rung 8 When I 002 1 is set to the true state the next instruction a one shot Block Transfer Write sends data to the scanner The Move instruction then initializes the first word of the data file that is used by the Block Transfer Read instruction in the next rung Alternatively I 002 2 can be set true to enable a continuous read mode based on cycle rate of T4 1 DN e Rung 9 This instruction will be true when the Block Transfer Write has completed The compare instruction that follows compares the first word of data sent from the scanner to the first word of data you send to the scanner When the messaging function has completed these two words will be equal Figure 6 5 RSLogix 5 DevelZ 15p LAD 2 ise Vew Search Comms Tools Window Help la x S AA A ARA AA
112. e MA oye e vid y a erez Fon PAR Evey Scan Dr Cancel Agio tO Sies e a a A Alen Bracing 1756 ONE Brine Wet Breng In the Polled section click Enabled A W appears In the Rx field enter the size for the I O input Enter 4 for each datalink enabled and 6 if Com Ref is enabled For example if Cmd Ref and all 4 datalinks are enabled you would enter 22 In the Tx field enter the size of the I O output Enter 4 for each datalink enabled and 4 if Com Ref is enabled For example if Cmd Ref and all 4 datalinks are enabled you would enter 20 In the Poll Rate field select the desired rate Click OK DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 7 COS Change of State Allocation When you set up COS allocation the scanner sends data to the adapter at a constant rate called a heartbeat If data in the adapter changes between messages from the scanner your adapter sends its new status to the scanner To use COS you must enable COS in the adapter and in the scanner Enabling COS in the Adapter 1 2 Enable the desired I O and datalinks parameters 4 8 Set the M S Input 24 parameter Refer to the M S Input Parameter Configurations section in this chapter Set the M S Output 25 parameter Refer to the M S Output Parameter Configurations section in this chapter Ensure the Cmd Stat Config 4 parameter is On Ensure the lowest bit in the M S Output
113. e following examples show messages used with the ladder logic programs begun in Chapter 5 Ladder Logic Programming Including Reading Inputs ATTENTION The example ladder logic program shown in this manual is intended solely for purpose of example Because there are many variables and requirements associated with any particular installation Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use based upon the example shown in this publication The SLC copies an Explicit Message into the scanners MO file When the copy is completed the scanner moves the message into a queue for processing Up to ten Explicit Messages may be in this queue When the scanner receives a response message it is placed into a queue The first response in the queue is available from the M1 file When the message delete command is copied into the scanner the message is complete and the next available response will appear in the M1 file Transaction Header 3 words Transaction Data up to 29 words Using DeviceNet Explicit Messaging 6 17 The format of Request and Response messages is in Figure 6 9 Figure 6 9 Format of DeviceNet Messages Format of 32 word MO file Format of 32 word M1 file Write of Explicit Message Request Read of Explicit Message Response 15 0 15 TXID COMMAND TXID STATUS word 0 PORT SIZE PORT SIZE SERVICE MAC ID SERVICE MAC ID CLA
114. e the module in a point to point connection 6 Double click the icon for the 2100 GK61 module In our example it is node 63 in Figure 3 3 The DeviceNet Configuration screen appears for the selected device The screen has three tabs to choose from General Device Parameters and EDS I O Default The General tab allows you to give the device a name and add a description for the device These names and descriptions will be used to represent and describe the product throughout RSNetWorx for DeviceNet The DeviceNet Parameters and EDS I O Default tabs allow you to see the parameters and configuration of the device selected 7 Click on the Device Parameters tab A dialog box requesting to upload or download the device s parameters appears Click on the Upload button to upload the parameters from the module The screen listing all the device s parameters appears In this example the 2100 GK61 is configured with an SMP3 device Figure 3 4 Device Parameters all Publication 2100 UM001B EN P January 2001 3 6 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs 8 Click on the Groups pull down arrow and select DeviceNet Module The display changes listing only the parameters associated with the 2100 GK61 Figure 3 5 Device Parameters Module Only I BB SMP via 2100 GK61 2 ER General Device Parameters EDS 1 0 Defa
115. e through the logic controller s output image table when the Communication Module is set to control the drive Bit 15Bit 14Bit 13Bit 12Bit 11Bit 10 Bit9 Bit8 Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 BitO l y y l y Reference Select Decel Time Accel Time Reference 14 13 12 No Command 0 0 0 Freq Select10 0 0 1 Freq Select 20 0 1 0 Time 911 8 10 Preset Freg30 0 1 1 No o wt Preset Freq 40 1 0 0 Command Preset Freq50 1 0 1 Time 1 0 1 Preset Freq60 1 1 0 Time 2 1 0 Preset Freq 70 1 1 1 Hold Time 1 1 MOP Decrement 1 Decrement 0 Not Decrement 0 Not Increment m Y top 1 Stop 0 Not Stop Start 1 Start 0 Not Start Jog 1 Jog y 0 Not Jog Clear Faults y Clear Faults 0 Not Clear Faults Direction 5 4 No Command 0 0 Forward 0 1 Reverse 1 0 y Hold Direction 1 1 Local Local Lockout y 0 Not Local MOP Increment Increment Publication 2100 DU021B EN P January 2004 5 6 Ladder Logic Programming Including Reading Inputs Table 5 G PowerFlex 70 and PowerFlex 700 Drives Logic Status Logic Bits 15 14 13 12 11 109 8 7 6 5 4 3 2 1 O Status Description X Ready 0 Not Ready 1 Ready X Active 0 Not Active 1 Active X Command 0 Reverse Direction 1 Forward X Actual 0 Reverse Direction 1 Forward X Accel 0 Not Accelerating 1 Accelerating X Decel 0 Not Decelerating 1 Deceleratin
116. e type 2100 GK61 2 entering SMP 3 for the product name and 3 clicking on Search Figure 4 6 EDS Search for SMP 3 with 2100 GK61 Use the fofowing form to ac by network contquration toot products ang ect ation products are enhanced naw EOS ties ataiog Numer andlor Mayor and Mace St rT 5 duct A a e 05 de Dn a pancar Suve defined your search Colona select the Search bumen You see Mes thal met your search crtena Product Descatiet C Contras Device Type Sman Moc aas Brand Any hase Castas Product Mamo PT Sabet Les PCC Catalog hombar andar stat platana aad Majer Reviean 7 Conk hatin takanasi Mines Revisi 4 jon EF Kuyer Search tatanman ama Palas beant Saach Reset gre s a iea Doomas Dore La 4 a 2 Configuring a Scanner to Communicate with the Adapter 4 7 6 The search results display nine different EDS files available for a combination of an SMP 3 with a 2100 GK61 The correct one can be selected based on SMP 3 current range Figure 4 7 EDS Search Results for SMP 3 with 2100 GK61 A A Nata e e SE Toro T Aiuri G w F Corn F Poca F Yei Page Y Obst F Find tie L Charnets EDS File Search Results Chick on the Brand Name to get complete information about the EDS file Catalog Number Major Rev Minor Rev SMP 3 2A te 104 SMP 3 8A to 1 1 1 1 1 1 1 1 SMP 3 20A to 75A 1 ia Docs Dore 20900 2 7 By clicking on Rockwell Autom
117. eNet network is not displayed T Astobiome Retesh E Workstation WCRTM1 Step 4 L x toma DLI Graph Spreadsheet Master 5E 4 Un Messages labo The network will be scanned and the screen will build the online configuration as shown in Figure 3 3 Figure 3 3 RSNetWorx Graphical View for DeviceNet Publication 2100 UM001B EN P January 2001 File Edit View Network Device Tools Help als w5 s elw e aE E ael Hardware xl E E EY DeviceNet Category Vendor WCRTMI 1771 SDN lodule SMP via 2100 GK61 2 ES 14141 gt I Graph Spreadsheet Master7S 4 Messages la bx In Figure 3 3 Node 00 is scanner Node 62 is the PC and Node 63 is the module we are configuring Your module appears as Node 63 by default If you have changed its node address parameter and reset the module its new node address will appear on the screen Configuring the DeviceNet to SCANport Communication Module with Digital Inputs 3 5 Step 47 Important If the module does not appear Verify there is an EDS file for the device Refer to Creating an EDS file for your SCANport Product in Chapter 4 Configuring a Scanner to Communicate with the Adapter Verify that the device has a unique node address Check the network LED on the module If it is red it is not an unique address You must configur
118. ed and COS e Polled and Cyclic Polled Allocation In polling the scanner sends control data to the adapter and then the adapter responds with its status data To use polling you must enable polling in the adapter and in the scanner Publication 2100 UM001B EN P January 2001 B 6 DeviceNet to SCANport Communication Module with Digital Inputs Parameters as am a RO A A FT e Step 1 ey eso Publication 2100 UM001B EN P January 2001 Enabling Polling in the Adapter The following must be configured in the adapter 1 2 Enable the desired I O and datalinks parameters 4 8 Set the M S Input 24 parameter Refer to the M S Input Parameter Configurations section in this chapter Set the M S Output 25 parameter Refer to the M S Output Parameter Configurations section in this chapter Reset the adapter by setting the Reset Adapter 22 parameter to Enable Enabling Polling in the Scanner Use RSNetWorx to enable polling in the scanner Refer to Chapter 4 Configuring a Scanner to Communicate with the Adapter for more information on configuring the scanner Polling must be enabled in the Edit Device I O Parameters dialog box Figure B 3 Edit Device I O Parameters Dialog Box for Polling General Modde Semit ingre Our ADR Summay Devices Seist q Eua Ove 30 El 170 Peza mamadas 102 Ud FIS Drive SOA AREY JA KE T gpobed T Change of State Cyclic BrSu
119. ed and can be reused DeviceNet trunk ine Slave s Explica Response 1305 AC ome 2100 GK61 Communication Adapter 1 Format an MO file transfer in the processor to send an Explicit Message Request to the scanner module download 2 The scanner module transmits the Explicit Message Request to the DeviceNet Network Publication 2100 UM001B EN P January 2001 6 16 Using DeviceNet Explicit Messaging 3 The slave device transmits the Explicit Message Response back Message Translations Examples Messaging for the 1747 SDN Scanner Publication 2100 UM001B EN P January 2001 to the scanner and is queued into a file transfer buffer 4 The processor uses an M1 file transfer to retrieve the Explicit Message Response from the scanner s buffer upload 5 Format an MO file transfer with a Delete Response Command and the current transaction ID read in step 4 The transaction IDs are deleted and can be reused The scanner module requires a precisely formatted MO and M1 file transfer size of 32 words including words 224 253 The scanner module uses the file memory content as client server request The communications adapter provides electronic translations of DeviceNet explicit messages into SCANport messages and back The format of all DeviceNet explicit messages supported by the adapter is 8 16 within an explicit message the class field is 8 bits long and the instance field is 16 bits long Th
120. el2 rsp EL File Edit View Search Comms Tools Window Help osa 6 we gt o RARA a AAA a lora Plisson Driver AB_DF1 1 Node 1o LAL User ABt A TimeriCounter Input Output A Compare Devel2 rsp E Project H E Help Controller i Controller Properties D Processor Status A 10 Configuration El his Channel Configuration BTR Block Transfer Read Module Type Generic Block Transfer a Passwords and Privileges pag a 5 Program Files Group 0 sYso Module 0 amp LAD 2 LAD2 Control Block BT20 0 4 Data Files sat gs Cross Reference Contimious No Ej oo M BTW 2 Block Transfer Write B3 Module Type Generic Block Transfer El ta Rack 000 c5 s A k Module 0 E rs Control Block BT20 1 El nz Data File N10 0 h Length 62 FB Continous No Ng E mo Ej BT20 Ej n21 E nao Ej m20 Y Force Files o0 j 6h For Help press F1 XREF Class 1 20000 APP READ Publication 2100 UM001B EN P January 2001 5 10 Ladder Logic Programming Including Reading Inputs PLC Code SMP 3 is RESET when I 001 4 in Rung 5 is turned ON SMP 3 Output A is turned ON when 1 001 3 in Rung 6 is momentarily turned ON SMP 3 output B is turned ON when 1 001 4 in Rung 7 is momentarily turned ON Rungs 8 11 read GK61 inputs and turn on respective LED in SIM card located in PLC Chassis Slot 1 Figure 5 5 E RSLogix 5 Devel2 rsp BE EI Fie Edit View Searc
121. ervices Implemented for Service Code Service Name Class Instance 0x32 Yes No Scattered_Link_ Reference_Value_Reado 0x34 Yes No Scattered_Link_ Reference_Value_Write O Moust be directed to Attribute 0 Instance 0 Publication 2100 UM001B EN P January 2001 C 24 DeviceNet Objects The table below lists parameters for Scattered_Link_Reference_Read and Scattered_Link_Reference_Write object specific services Name Data Type Description Scattered Link Read Write STRUCT of Parameter Number WORD Parameter Link Reference to read or write Parameter Link Reference WORD Link Reference value to write zero when reading Important The STRUCT may repeat up to 32 times in a single message Publication 2100 UM001B EN P January 2001 Class Code 0x67 PCCC DeviceNet Objects C 25 The PCCC Object is used to process encapsulated PCCC messages Object from DeviceNet The PCCC Object does not implement any specific class or instance attributes so the instance field for any received messages is ignored Class Attributes Not supported Instance Attributes Not supported Common Services Not supported Object Specific Services Implemented for Service Code Service Name Class Instance 0x4B No Yes Execute_PCCC 0x4D No Yes Execute_Local_PCCC Message Structure for Execute_PCCC Request Response Data asno Data ey Name Type Description Na
122. es support offices more than 500 authorized distributors and more than 250 authorized systems integrators located throughout the United States alone In addition Rockwell Automation representatives are in every major country in the world Local Product Support Contact your local Rockwell Automation representative for e Sales and order support e Product technical training e Warranty support e Support service agreements Technical Product Support If you need to contact Rockwell Automation for technical assistance please call your local Rockwell Automation representative Publication 2100 UM001B EN P January 2001 P 4 Using this Manual Publication 2100 UM001B EN P January 2001 Table of Contents Important User Information 0 0000 eee eee 2 Using this Manual OBJSCIVES niu ao conte soit AAA P 1 Who Should Use this Manual 0 55 P 1 Purpose of this Manual iis n2cca5 0 0 8 tiger ee ede ales eed oe P 1 Related Publications o0oooooooo P 1 Safety Precautions eos ae P 2 Terms and Abbreviations ooooocoooooooo o P 2 Conventions Used in this Manual P 3 Rockwell Automation Support 2 0 05 P 3 Local Product Support sele ta Geet P 3 Technical Product Support 00 eee P 3 Chapter 1 Overview Chapter Objectives ies sane daha oO 1 1 Overview of the Communication Adapter 1 1 Features of the Communication Ad
123. essage Response COP Copy File Source M1 1 224 Dest N20 50 Length 32 Explicit Message EQU MVM Equal Masked Move Source A N20 10 Source N20 0 257 lt 4 lt Source B N20 50 Mask OOFFh 257 lt 255 lt Dest MO0 1 224 lt lt mo Important To originate a scanner transaction you must use a copy operation to MO slot number 224 Then use a copy operation to read M1 1 224 for the results If you have more than one message enabled you will have to use the TXID to determine which message you are reading Publication 2100 UM001B EN P January 2001 6 20 Using DeviceNet Explicit Messaging The following table displays data sent to and received from the scanner Values are in hexadecimal Offset 0 2 3 4 5 6 7 8 9 N20 0 4 0 0 0 0 0 0 0 0 0 N20 10 201 6 E02 97 0 1 0 0 0 0 N20 20 0 0 0 0 0 0 0 0 0 0 N20 30 0 0 0 0 0 0 0 0 0 0 N20 40 0 0 0 0 0 0 0 0 0 0 N20 50 201 6 8E02 4 0 0 0 0 0 0 N20 60 0 0 0 0 0 0 0 0 0 0 N20 70 0 0 0 0 0 0 0 0 0 0 N20 80 0 0 Using the format of Figure 6 4 the above data would be defined as follows BTW Format BTR Format Location Value Location Value TXID COMMAND TXID COMMAND N20 10 N20 50 02 01 02 01 PORT SIZE R505 PORT SIZE eo 00 06 00 06 SERVICE MAC ID SERVICE MAC ID N20 12 N20 52 OE 03 8E 03 CLASS DATA N20 13 N20 53 0097 0004 INSTANCE N20 14 0
124. eter is On DL C Input DL D Input 31 Peer Cmd 0 or 1 for each 0 Yes Yes Provides a mask for the Logic Status word Mask bit when it is received through peer input 0 Off input received from Master 1 On input received from Peer 32 Peer Ref 0 200 00 0 Yes No Provides the percentage of the Reference value Adjust received through peer input that will be applied to the SCANport reference value Important For information on accessing and editing parameters refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 UM001B EN P January 2001 B 22 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Valid Values ae La Name Default Writable Power Description Settings Cycle 33 Peer Fit Action Fault Fault Yes No Determines the action the adapter should Zero Data instruct the SCANport product to take if the Hold Last adapter does not receive peer input in the Fault Cfg allowed time ATTENTION Risk of severe bodily injury or equipment damage exists The Peer Fit Action 33 parameter allows the user to change the default configuration that would allow the module and associated drive to continue to operate if communication is lost Precautions should be taken to assure that your settings for these parameters and your application do not create a hazard of bodily injury or equipment dam
125. ex Num Of Elements o Bytes Object ID i Destination E3_Time_to_Trip y Object Attribute o Hex Create Tag O Enable Enable Waiting Start Done Done Length 2 O Error Code I Timed Out Extended Error Code Cancel Apply Help Publication 2100 UM001B EN P January 2001 Using DeviceNet Explicit Messaging 6 27 5 The Source field can be left blank as long as the number of Elements is 0 6 Create a destination for the proper data type being read In this example Time to Trip is an integer value 7 Next click the Communication tab on the Message Configuration Dialog Figure 6 15 Message Communication Communication Method fe COP D Enannel z Destination Lirik CIP with Source ID Source LINK TTT Destination Node Publication 2100 UM001B EN P January 2001 6 28 Using DeviceNet Explicit Messaging 8 The communication path must be entered here In this example we enter DnetScanner1 2 4 DnetScannerl is the name given to the 1756 DNB module 2 is the DeviceNet Port on that module and 4 is the node of the E3 we want to read from Please adjust your entries to properly match your hardware configuration 9 Select OK to finish MSG configuration 10 Accept and assemble the rungs of logic just entered and then look at the destination tag for the value being read Figure 6 16 RSLogix 5000 Complete 7 RSLogix 5000 IntelliCenter File Edit View Search Logic Comm
126. f an object currently created in this class level of the device Instances The total number of instances depends on the number of microprocessors in the SCANport product connected to the module e Instance 1 includes information on both the adapter and the product e The instances for the SCANport product s microprocessors start at instance 2 e The instance for the adapter is present after all the instances for the SCANport product s microprocessors Instance Description 1 Total Product 2 through n 19 Product components no DeviceNet to SCANport Communication Module with Digital Inputs The value of nis the maximum instance in the object This value is obtainable via class attribute 2 Publication 2100 UM001B EN P January 2001 DeviceNet Objects C 3 Instance Attributes Attribute ID Access Rule Name Data Type Description Get Vendor ID UINT Identification of each vendor by number 1 Allen Bradley Get Device Type UINT Indication of general type of product 0x69 Sub Component 0x7A SCANport Device Get Product Code UINT Identification of a particular product of an individual vendor OxXX02 1336 PLUS 0 5 10 HP S B 0xXX02 OxXX03 1336 PLUS 7 5 800 HP S B 0xXX03 OxXX07 1336 PLUS II S B OxXX07 0xXX10 1336 FORCE w PLC Adapter S B 0xXX10 OxXX11 2364F RGU S B 0xXX11 0xXX12 1394 Motion Drive S B 0xXX12
127. g e Required equipment e Message translations e Messaging guidelines for the 1771 SDN scanner e Messaging guidelines for the 1747 SDN scanner e Example messages e Using messages to control SCANport products e Writing to register objects Refer to Appendix C DeviceNet Objects for information on object data support Before using messaging your PC must be e Running Logix5 and RSLinx if you are using a PLC Refer to http www software rockwell com for more information on these products OR Running RSLogix500 and RSLinx if you are using an SLC Refer to http www software rockwell com for more information on these products e Connected to and communicating with the DeviceNet network using a 1784 PCD card 1784 PCID card or a 1770 KFIO adapter Use the Explicit Message Program Control feature to configure device parameters on your DeviceNet network via the ladder logic program in the PLC 5 processor that is controlling these devices You can use Explicit Message Program Control only with devices that are slaves of your 1771 SDN Scanner Module These slave devices must be mapped in the scanner module s scan list Use the Explicit Message Program Control feature to e Transmit configuration data from your scanner module to its slave devices on your DeviceNet network Publication 2100 UM001B EN P January 2001 6 2 Using DeviceNet Explicit Messaging e Receive status and diagnostics from these devices on yo
128. g X Alarm 0 No Alarm 1 Alarm X Fault 0 Fault 1 Fault X At Speed 0 Not At Reference 1 At Reference X X X Local 000 Port 0 TB Control 001 Port 1 010 Port 2 011 Port 3 100 Port 4 101 Port 5 110 Port 6 111 No Local X X X X Reference 0000 Ref A Auto 0001 Ref B Auto 0010 Preset 2 Auto 0011 Preset 3 Auto 0100 Preset 4 Auto 0101 Preset 5 Auto 0110 Preset 6 Auto 0111 Preset 7 Auto 1000 Term Blk Manual 1001 DPI 1 Manual 1010 DPI 2 Manual 1011 DPI 3 Manual 1100 DPI 4 Manual 1101 DPI 5 Manual 1110 DPI 6 Manual 111 Jog Ref Publication 2100 DU021B EN P January 2004 Ladder Logic Programming lIncluding Reading Inputs 5 7 Table 5 H PowerFlex 70 and PowerFlex 700 Drives Logic Control Logic Bits 15 14 13 12 11 10 6 5 4 3 2 1 Status Description X Stop 0 Not Stop 1 Stop X Start 0 Not Start 1 Start X Jog 0 Not Jog 1 Jog X Clear Faults 0 Not Clear Faults 1 Clear Faults X X Direction 00 No Command 01 Forward 10 Reverse Command 11 Hold Direction Control X Local 0 Not Local Control Control 1 Local Control MOP 0 Not Increment Increment 1 Increment Accel Rate 00 No Command 01 Accel Rate 1 Command 10 Accel Rate 2 Command 11 Hold Decel Rate X X Decel Rate 00 No Command 01 Decel Rate 1 Command 10 De
129. gt Logic Control Data The information in Table 6 B illustrates the logic control data that is sent to the SMP 3 overload relay through the logic controller output image table When using the Bulletin 1203 GD1 communication module this information is sent to the SMP 3 overload relay when SW3 dip 2 on the 1203 GD1 module is ON Table 6 8 SMP 3 Logic Control Data Explanation Tum Out A off Tum Out B off Clear Fault Turn Out A on Tum Out B on XXX Average Current Thermal Capacity Utilized Full Load Current Setting Current Unbalance D These three bits are used to specify request the analog reference parameter the Note The Turn Triac Off Turn Triac On and Clear Fault SMP 3 overload relay should send back with the SMP 3 Status Data signals are edge sensitive 6 2 X 14796 Ea 72 or 107 e 8 5 x 6 78 in El aI E D Document Done 34 Wa ae EN Sl Z Netscape Ml ES Eile Edt View Go EEES Help Es whats Related EN lt lt 3 4 2 0 3 E Forward Reload Stop a E WebMail Contact E People Yellow Pages Download Find Sites C4 Channels E All the Web Al Networks Elec Explanation Control Disabled Control Enabled Fixed Help detect if connected XXX Analog Feedback 000 Default Average Current Designator Average Current Thermal Capacity Utilized Full Load Current Setting Current Unbalance Fault Code No Fault Trip Test Overload Fault Phase Loss Fault Ground Fault J
130. h Comms Tools Window Help beue sses x RESITI oo No Foces E H T aee o a a ons k Forces Disabled Diver AB_DFTA ap user Ket A TimeriCounier K npavOuipa K Compare Devel2 rsp E LAD 2 LAD2 EE Project Lia exa Help Controller i Controller Properties D Processor Status A lO Configuration El his Channel Configuration 41 23 Passwords and Privileges Program Files SYS0 A LAD2 LAD2 Data Files Cross Reference E mo Ej BT20 Ej 21 E no Ej m20 Y Force Files Ej oo For i isip press i 1 ner cies i ou fare CEAD Publication 2100 UM001B EN P January 2001 0000 0001 0002 0003 Ladder Logic Programming Including Reading Inputs SLC Ladder Logic Program Example The following example uses an SLC 5 03 a 1747 SDN DeviceNet scanner and a 2100 GK61 to control a 1336 PLUS 1336 PLUS II or 1305 drive The example assumes that there is an operator s station wired to an VO module in slot one of module group zero of rack zero Important You may want to verify a device has not failed using word I S 0 If a device has failed read the appropriate M1 File to find out which device failed Refer to the 1747 SDN DeviceNet Scanner Module Manual Publication 1747 5 8 for more information Figure 5 6 Example SLC Ladder Logic Program The scanner gathers drive status information via DeviceNet The M File is c
131. he M S Input 24 parameter and the types of allocation associated with each ADAPTER ALLOCATION Number Of Words CONFIGURATION Data Size Sent From The Controller To The Adapter M S Input tal Poll Only COS Only ci par Gale 00000 xxxx0 0 NA NA NA NA 00001 xxxx0 2 NA NA NA NA 00010 xxxx0 2 NA NA NA NA 00011 xxxx0 4 NA NA NA NA 00100 xxxx0 2 NA NA NA NA 00101 xxxx0 4 NA NA NA NA 00110 XXXX0 4 NA NA NA NA 00111 XXXX0 6 NA NA NA NA 01000 xxxx0 2 NA NA NA NA 01001 xxxx0 4 NA NA NA NA 01010 xxxx0 4 NA NA NA NA 01011 xxxx0 6 NA NA NA NA 01100 xXxx0 4 NA NA NA NA 01101 xxxx0 6 NA NA NA NA 01110 xxxx0 6 NA NA NA NA Publication 2100 UM001B EN P January 2001 DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 25 ADAPTER ALLOCATION Number Of Words PONEIOURATION Data Size Sent From The Controller To The Adapter M S Input Sait Poll Only COS Only ioe po ae 01111 xxxx0 8 NA NA NA NA 10000 xxxx0 2 NA NA NA NA 10001 xxxx0 4 NA NA NA NA 10010 XXXX0 4 NA NA NA NA 10011 xxxx0 6 NA NA NA NA 10100 xxxx0 4 NA NA NA NA 10101 XXXX0 6 NA NA NA NA 10110 xxxx0 6 NA NA NA NA 10111 xXxx0 8 NA NA NA NA 11000 xxxx0 4 NA NA NA NA 11001 xxxx0 6 NA NA NA NA 11011 xxxx0 8 NA NA NA NA 11100 xxxx0 6 NA NA NA NA 11101 xxxx0 8 NA NA NA NA 11110 xXxx0 8 NA NA NA NA 111
132. help menu for additional information on automapping Once a device is selected click on the Add gt or Add All gt gt button Figure 4 44 Scanlist Configuration Screen Publication 2100 UM001B EN P January 2001 4 34 Configuring a Scanner to Communicate with the Adapter 7 Modify each device s I O parameters if needed Select the device and click on the Edit I O Parameters button The I O Parameters dialog screen appears Figure 4 45 I O Configuration Edit Screen Edit 1 0 Parameters 14 SMP 3 8A to 37A 15 24 x T Stobe gt Change of State Cyce Bix Size p 4 Bytes Change of State C Cyclic Use TF Bit E y Rx Size fe 4 Bytes T Polled Tx Size a les Rg Size F 4 Bytes Heartbeat Rate 250 msec An game Tx Size I Bytes Advanced Poll Rate very Scan Cancel Restore 140 Sizes Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 35 8 Make the changes as necessary You must configure your PLC based on how your adapter s parameters are configured and how you want your module to send and receive data from the network Refer to the following table If Using Refer To Polled Polled Allocation on page B 5 COS Change of State COS Change of State Allocation on page B 7 Cyclic Cyclic Allocation on page B 8 Polled and COS Polled and COS Allocation on page B 10 P
133. ified in instance attributes 4 Descriptor 5 Data Type and 6 Data Size Publication 2100 UM001B EN P January 2001 C 12 DeviceNet Objects s A pee Attribute ID nie Stub Full Name Data Type Description 12 Get Full Default Value Same as The actual value attribute 1 Parameter attribute 1 Value should be set to when the user wants the default for the parameter 13 Get Full Scaling Multiplier UINT Multiplier for scaling formula 14 Get Full Scaling Divisor UINT Divisor for scaling formula 15 Get Full Scaling Base UINT Base for scaling formula 16 Get Full Scaling Offset UINT Offset for scaling formula 17 Get Full Multiplier Link UINT Parameter object instance number of multiplier source 18 Get Full Divisor Link UINT Parameter object instance number of base source 19 Get Full Base Link UINT Parameter object instance number of offset source 20 Get Full Offset Link UINT Parameter object instance number of offset source 21 Get Full Decimal Precision USINT Specifies number of decimal places to use when displaying the scaled engineering value Also used to determine actual increment value so that incrementing a value causes a change in scaled engineering value to this precision The access rule is defined in bit 4 of instance attribute 4 the Descriptor If bit 4 is O the access rule is Set and the Parameter Value can be read and written If bit 4 is 1 the access rule
134. ing DeviceNet Explicit Messaging Examples PLC 5 Ladder Example 0000 The following examples show messages used with the ladder logic programs begun in Chapter 5 Ladder Logic Programming Including Reading Inputs ATTENTION The example ladder logic program shown in this manual is intended solely for purpose of example Because there are many variables and requirements associated with any particular installation Rockwell Automation does not assume responsibility or liability to include intellectual property liability for actual use based upon the example shown in this publication PLC Messaging Figure 6 3 started in Chapter 5 Ladder Logic Programming Including Reading Inputs shows an example PLC ladder logic program that sends an explicit message The message sent is contained in N30 beginning at word 0 The response data will appear in N30 starting at word 70 0001 Figure 6 3 PLC Messaging Example 1 000 B3 0 BTW ONS E Block Transfer Write CEN _ 17 0 Module Type 1771 SDN DeviceNet Scanner Module Rack 000 DN gt Group 0 Module 0 ER Control Block BT20 2 Data File N30 0 Length 64 Continuous No MOV Move Source 0 0 lt Dest N30 70 257 lt BT20 2 CMP BT20 3 Comparison 3 E Expression N30 70 lt gt N30 0 EN BTR Block Transfer Read ma EN Module Type 1771 SDN DeviceNet Scanner Module Rack 000 DN gt Group 0 Module
135. ing RSNetWorx software This section assumes you have experience using RSNetWorx software to configure a DeviceNet network The factory default settings of the DeviceNet to SCANport Communication Module with Digital Inputs include the following e 16 bit Logic Command Status enabled for polling e 16 bit Reference Feedback enabled for polling e Ifthe scanner is put into program mode or the network faults the SCANport product will be faulted by the module Firmware must be version 2 080 or above Earlier firmware versions are flash upgradeable Consult the factory e lt A node address of 63 e DeviceNet autobaud detection enabled Publication 2100 UM001B EN P January 2001 3 2 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs What is RSNetWorx for DeviceNet Required Equipment and Software Publication 2100 UM001B EN P January 2001 You should change the node address by editing the DN Node Address 2 parameter Note The number in following the parameter name corresponds to the parameter number as found in Appendix B DeviceNet to SCANport Communication Module with Digital Inputs Parameters You must change the autobaud detection if no other devices on your DeviceNet network have a fixed data rate by editing DN Data Rate 3 parameter in the module Important Refer to Appendix B DeviceNet to SCANport Communication Module with Digital Inputs Parameters for information on chang
136. ing the node address or data rate If you wish to change other functions e g Fault Configurable inputs or add more functions e g datalinks you must edit the adapter s parameters To do so refer to e Appendix B DeviceNet to SCANport Communication Module with Digital Inputs Parameters for detailed information about the adapter s parameters e Instructions in this chapter on using RSNetWorx for DeviceNet to edit parameters RSNetWorx for DeviceNet is a Windows application that lets you configure DeviceNet networks Using a graphical representation of your network you can configure network wide parameters and the network wide schedule After installing or mounting the adapter you can use RSNetWorx for DeviceNet to configure or edit the adapter s parameters Before configuring or editing your adapter s parameters your PC must be Running RSNetWorx for DeviceNet Refer to http www software rockwell com for more information on this product e Connected to and communicating with the DeviceNet network using a 1784 PCD card a 1784 PCID card a 1784 PCIDS card or a 1770 KFD adapter running with RSLinx Refer to http www software rockwell com for more information on the RSLinx product Refer to http www ab com products html for more information on DeviceNet Network under Networks and Communication Products Configuring the DeviceNet to SCANport Communication Module with Digital Inputs 3 3 Using
137. ion of switched 230Vac 115Vac or 24Vdc inputs to module Connector The 6 pin plug in connector PIN 192 929 is supplied with the module 4 Bi Color LEDs Indicate the status of the DeviceNet media channel of the SCANport con nection and of the module For more information refer to Chapter 7 Trou bleshooting 5 DeviceNet Con Provides a 10 pin Phoenix connector to attach the module to the DeviceNet nection network The 10 pin plug in connector PIN 94220605 is supplied with the module 6 Input Status LEDs Indicate the ON OFF status of the digital inputs 7 Swi Set to match the digital input voltage applied of 230Vac 115Vac or 24Vdc Publication 2100 UM001B EN P January 2001 Overview of Setting Up the Adapter Required Tools and Equipment Overview 1 7 To set up the DeviceNet to SCANport Communication Module with Digital Inputs you must perform the following tasks 1 2 Install the module Refer to Chapter 2 Installation Set the adapter s node address and configure the adapter s parameters Refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Configure a scanner either PLC or SLC to communicate with the Adapter Refer to Chapter 4 Configuring a Scanner to Communicate with the Adapter If necessary create a ladder logic program to control the SCANport product Refer to Chapter 5 Ladder Logic Programming Including Reading Inputs To install
138. ist 4 Error slave off line 5 Error DeviceNet port disabled or off line 6 Error transaction TXID unknown 7 Unused 8 Error Invalid command code 9 Error Scanner out of buffers 10 Error Other client server transaction in progress 11 Error could not connect to slave device 12 Error response data too large for block 13 Error invalid port 14 Error invalid size specified 15 Error connection busy 16 255 Reserved Port The DeviceNet port where the transaction is routed The port can be zero Channel A or one Channel B on a 1771 SDN scanner Size The size of the transaction body in bytes The transaction body can be up to 29 words 58 bytes in length If the size exceeds 29 words an error code will be returned SERVICE The service attribute contains the DeviceNet service request and response codes that match the corresponding request for the TXID Service codes vary for each DeviceNet object Appendix C details available Service Codes referred to as Common Services for each object MAC ID The DeviceNet network address of the slave device where the transaction is sent This value can range from 0 to 63 The port and MAC ID attributes coupled together identify the target slave device The slave device must be listed in the scanner module s scan list and be on line for the Explicit Message transaction to be completed Publication 2100 UM001B EN P January 2001 6 6 Us
139. ject Publication 2100 UM001B EN P January 2001 Reading Values from DeviceNet Using Explicit Messaging and ControlLogix Using DeviceNet Explicit Messaging 6 23 Explicit messaging can be used to read any value from any device on a DeviceNet network An example program and explanation are used to illustrate the technique using ControlLogix Configure the 1 0 The DeviceNet communications card must be configured before programming any ladder logic I O Configuration must be done offline in RSLogix 5000 1 Insert a 1756 DNB into the I O Configuration by selecting I O Configuration right clicking and selecting New Module Figure 6 11 List of Devices Select Module Type x Type f 756 DNB Major Revision Pa Description 1756 ControlNet Bridge 1756 ControlNet Bridge 1756 ControlNet Bridge 1756 ControlNet Bridge Redundant Media 1756 ControlNet Bridge Redundant Media 1756 ControlNet Bridge Redundant Media 1756 DH Bridge RIO Scanner 1756 DeviceNet Scanner 1756 Ethernet Communication Interface 1756 High Speed Counter 16 Point 794 132 AC Input 16 Point 794 132 AC Isolated Input Y Analog IV Digital y IV Other Select All z Y Communication M Motion IV Processor Dexal All Cancel Help 2 Scroll through the module options and select the 1756 DNB Module Click on the OK button to select the module and open the configuration screen Publication 2100 UM001B EN P
140. k E see toes hae Code ees ey de den Be C 5 Instance Attributes oooooooooooo o C 5 Common Services ooo ooo C 5 Class Code 0x05 Connection o ooooo C 6 Class Attributes 20 onanan aaa eee C 6 INSTANCES at eta OF ee baie esis ia oe C 6 Instance Attributes o oooooooooo o C 7 Common Services ooo a a C 7 Class Code 0x07 Register Object C 8 Class Attributes o o ooocoooococooncooon o C 8 INSTANCOS ici a ad C 8 Instance Attributes o o oooooooocmomoo mo C 9 Common Services ooo ooo C 9 Class Code Ox0F Parameter Object C 10 Glass Atiributese ias A ad oS C 10 INSTANCES A a Oh a gd a aT a eo C 10 Instance Attributes oooooooooooo o o C 11 Bit Definitions for Instance Attribute 4 C 12 Data Types for Instance Attribute 5 C 13 Common Services ooo ooo C 14 Get_Attribute_All Response o ooo C 14 Object Specific Services oooooooooo C 15 Class Code 0x10 Parameter Group Object C 16 Class Attributes o o oooooococooocoooooo C 16 INSTANCES ii a la C 16 Instance Attributes o ooooooomoo o C 16 Common Services o ooo C 17 Get_Attribute_All Response o ooo C 17 Class Code 0x93 SCANport Pass Through C 18 Class Attributess io
141. l be uploaded Once the upload is complete the Module screen will appear Figure 4 32 1747 SDN Module Configuration Screen Gorei Modde Garda inout Ospu Summary De toman De E Se osiin a ran Dewrioat ts Semne 1707300 E Ea 14 4 DD Geach Ian a a l gg 3 IS Ar rag Compary 1747 SON Earn Moa Wigs Verify the default values listed on this page Edit them as necessary Refer to RSNetWorx for DeviceNet online help for more information 4 Click Apply to save 5 Click on the Scanlist tab so that the Scanlist page appears Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 25 Figure 4 33 1747 SDN Scanlist Configuration Screen 6 Selectthe available devices you wish to add to the Scanlist Verify that the Automap on Add box is checked This will map the devices into the scanners memory automatically when added Refer to the RSNetWorx for DeviceNet help menu for additional information on automapping Once a device is selected click on the Add gt or Add All gt gt button Figure 4 34 Scanlist Configuration Screen a Omu Same T a E Publication 2100 UM001B EN P January 2001 4 26 Configuring a Scanner to Communicate with the Adapter 7 Modify each device s I O parameters if needed Select the device and click on the Edit I O Parameters button The I O Parameters dia
142. l the drive and the messaging from the processor to the drive Figure 5 1 shows how the I O image table for a DeviceNet scanner relates to the 1336 PLUS drive when a DeviceNet to SCANport Communication Module with Digital Inputs is used Figure 5 1 1 0 Image Table DeviceNet SCANpON l 2100 GK61 1336 PLUS Drive Enhanced DeviceNet Word 0 Logic Command Word 0 Logic Command Word 1 Reference TP TT Word 1 Reference Word 2 Datalink A1 TT Word 2 Data in A1 Word 3 Datalink A2 TT Word 3 Data in A2 Word 4 Datalink B1 TT TT Word 4 Data in B1 Word 5 Datalink B2 TT TT Word 5 Data in B2 Word 6 Datalink C1 TT Word 6 Data in C1 Word 7 Datalink C2 r TT Word 7 Data in C2 Word 8 Datalink D1 TT Word 8 Data in D1 Word 9 Datalink D2 PITT Word 9 Data in D2 Word 0 Digital Inputs Word 1 Logic Status lt Word 1 Logic Status Word 2 Feedback Word 2 Feedback Word 3 Datalink A1 Word 3 Data Out A1 Word 4 Datalink A2 Word 4 Data Out A2 Word 5 Datalink B1 Word 5 Data Out B1 Word 6 Datalink B2 lt _ _ __ Word 6 Data Out B2 Word 7 Datalink C1 Word 7 Data Out C1 Word 8 Datalink C2 4 Word 8 Data Out C2 Word 9 Datalink D1 lt _1_1 1 Word 9 Data Out D1 Word 10 DatalinkD2 lt Word 10 Data Out D2 Message Message Handler Buffers IMPORTANT Datalinks are optionally enabled in the adapter and configured in the product Refe
143. le properties and configuration screen appears Figure 4 31 1747 SDN Configuration Dialog Box Genes bocie Scar Inout Opu Summon De 3 174750N Score Modde 3 Ne A encon r Canalo a fel Eee po Ean Eu LES TE IT id 3 A Adan ray Company 17AT SON Carner Mochta ng The dialog box contains six data tabs which are used to configure various portions of the scanner The General tab allows the user to edit the name and descriptions of the scanner The Module tab allows the user to configure the scanner setup properties The Scanlist tab Publication 2100 UM001B EN P January 2001 4 24 Configuring a Scanner to Communicate with the Adapter allows the user to choose which components the scanner will scan for data The Input and Output tabs are for setting up where the data from the scanned devices is kept for use by the SLC processor Finally the Summary tab allows the user to view a concise summary of how the scanner has been configured 2 On the General page place the cursor in the name field and type the name you want to assign the scanner If you want to add a description to the scanner place the cursor in the description field and enter a description Click on the Apply button to save the information 3 Click on the Module tab A dialog box will appear requesting to upload or download information from the scanner Click on Upload The scanlist information currently stored in the scanner wil
144. log screen appears Figure 4 35 1 O Configuration Edit Screen Edit 1 0 Parameters A63 SMP 3 8A to 37A 15 121 x Mv Change of State Cyclic Faces F Bytes Change of State Cyclic Use Ty Bit F Rx Size 6 4 Bytes I Polled Tx Size 4 Si Bytes Ry Size F 3 Bytes Heartbeat Rate 250 msec Tk Size p Z Bytes Advanced Poll Rate Every Scan Cancel Restore 10 Sizes 8 Make the changes as necessary You must configure your PLC based on how your adapter s parameters are configured and how you want your module to send and receive data from the network Refer to the following table If Using Refer To Polled Polled Allocation on page B 5 COS Change of State COS Change of State Allocation on page B 7 Cyclic Cyclic Allocation on page B 8 Polled and COS Polled and COS Allocation on page B 10 Polled and Cyclic Polled and Cyclic Allocation on page B 11 9 Click OK to return to the Scanlist screen 10 Click on the Apply button A dialog box appears asking if you wish to download the changes to the device Click on Yes Important If the processor is not in Program mode a dialog box will appear stating which mode the processor is in Clicking on the OK button returns you to the Scanlist screen without downloading any information to the processor You must now place the process in program mode and repeat the apply function Publication 2100 UM001B EN P
145. m Out A on Tum Out B on XXX Average Current Thermal Capacity Utilized Full Load Current Setting Current Unbalance These three bits are used to specify request the analog reference parameter the Note The Turn Triac Off Turn Triac On and Clear Fault SMP 3 overload relay should send back with the SMP 3 Status Data signals are edge sensitive 6 2 ars S ay 720107 Ames LEI z e Document Done S 3 es S2 Ed sel z Netscape Lol File Edit View Go Communicator Help Gal What s Related E y Y 3 Z 2 a Sa Back Forward Reload Home Search Netscape Print Secu Stop amp Instant Message 5 WebMail E Contact People Yellow Pages Download Find Sites eS Channels All the Web Al Networks Elec EM PEI Control Disabled Control Enabled Fixed Help detect if connected Analog Feedback 000 Default Average Current Designator Average Current Thermal Capacity Utilized Full Load Current Setting Current Unbalance Fault Code No Fault Trip Test Overload Fault Phase Loss Fault Ground Fault Jam Stall Fault illegal FLC Set Fault Non Vol Memory Fault Comm Loss Fault Note The next 16 bit word following the 16 bit Status Data word is the unscaled analog value of the parameter selected by bits 13 15 in the Logic Control Data word 147 ha aa lt f 74 of 107 gt lol 85x678in El aj a Document Done Publication 2100 DU021B EN P
146. me Type Description Length USINT Length of requestor ID Length USINT Length of requestor ID Vendor UINT Vendor number of Vendor UINT Vendor number of requestor requestor Serial Number UDINT ASA serial number of Serial Number UDINT ASA serial number of requestor requestor Other Product Identifier of user task etc Other Product Identifier of user task etc Specific on the requestor Specific on the requestor CMD USINT Command byte CMD USINT Command byte STS USINT 0 STS USINT Status byte TNSW UINT Transport word TNSW UINT Transport word Same value as the request FNC USINT Function code Not used for EXT_STS USINT Extended status Not used all CMD s for all CMD s PCCC_params ARRAY of CMD FNC specific PCCC_results ARRAY of CMD FNC specific result USINT parameters USINT data Publication 2100 UM001B EN P January 2001 C 26 DeviceNet Objects Message Structure for Execute_Local_PCCC Request Response Data oer Data woke Name Type Description Name Type Description CMD USINT Command byte CMD USINT Command byte STS USINT 0 STS USINT Status byte TNSW UINT Transport word TNSW UINT Transport word Same value as the request FNC USINT Function code Notusedfor EXT_STS USINT Extended status Not used all CMD s for all CMD s PCCC_params ARRAY CMD FNC specific PCCC_results ARRAY of CMD FNC specific result of parameters USINT data USINT Publication 2100 UM001B EN P
147. multiplexing scheme SCANport A standard peripheral communications interface for various Allen Bradley drives and power products SCANport A device that provides an interface between SCANport and Peripheral a network It is often referred to as an adapter For example the DeviceNet to SCANport Communication Module with Digital Inputs is a SCANport peripheral SCANport A device that uses the SCANport communications interface Product to communicate with one or more peripheral devices For example a motor drive such as a 1336 PLUS is a SCANport product Digital Input ON OFF input voltages of 230Vac 115Vac or 24Vdc RSNetWorx Rockwell Software products which provide communication to RSLinx a wide range of applications Refer to RSLogix http www software rockwell com for more information RSLogix500 Conventions Used in this Manual Rockwell Automation Support Using this Manual P 3 The following conventions are used throughout this manual e Bulleted lists provide information not procedural steps e Numbered lists provide sequential steps or hierarchical information e Italic type is used for chapter names and for parameter names e Bold type is used for names of menus menu options screens and dialog boxes Important This type of paragraph contains tips or notes that have been added to call attention to useful information Rockwell Automation offers support services worldwide with more than 75 sal
148. n Seton tend aad oad C 18 Instance Attributes oo oooooooo o C 18 Common Services 0000 eee eee ee eee C 18 Object Specific Services oooooooooooo C 18 Class Code 0x97 SCANport Pass Through Fault Object a En C 19 Class AttributeS o oooooococoonnnoooo o C 19 Instance Attributes oooooooooo mo C 19 COMMON Services ooo C 20 N File Addresses Supported Emulated Block Trans fer Commands Class Code 0x98 SCANport Pass Through Warning C 21 Class Attributes 0 0 0 0 0 0 00 cee eee C 21 Instance Attributes 0 0 00 0 cc eee C 21 Common Services 0000 eee eee eens C 22 Class Code 0x99 SCANport Pass Through Link Object C 23 Class Attributes 0 0 00 ce ee C 23 Instance Attributes 0 0 0 0 0 ee C 23 Common Services 0000 eee eee eens C 23 Object Specific Services ooooooooo C 23 Class Code 0x67 PCCC Object C 25 Class Attributes oo ooooccoonnnonn o C 25 Instance Attributes oooooooooomo o C 25 Common Service 0 ccc eee eee eee C 25 Object Specific Services ooooooooooo C 25 Message Structure for Execute PCCC C 25 Message Structure for Execute_Local PCCC C 26 Appendix Objectives 0 0000 eee eee D 1 N File Addresses 0 000 cee eee ee ee eee D 1 Appendix Objectives
149. n be seen by selecting Monitor Tag Screen shown below Figure 5 13 ajelaj a eje Jj alaja li wm ejej Fara no Edits y Forces Disabled y Path AB_DF1 141 3 Controller Test_1_4slot A Controller Tags a Controller Fault Handler 2 Power Up Handler Force Mask Style ES Tasks e polla H Local 1 1 StatusRegister 7 E MainProgram ora Local Data T Decimal MainRoutine Peat 1 Data 0 Decimal E Unscheduled Programs Decimal 3 Trends D Decimal B 85 Data Types 0 Decimal Gi User Defined 0 Decimal Oi Predefined Oj Module Defined 0 Kenma 5 8 1 0 Configuration 0 Decimal 8 111756 0N8 D Decimal 2 1756 048 Output 0 Decimal B 3 1756 1416 Input 0 Decimal D Decimal 0 Decimal D Decimal D Decimal D Decimal Clicking on the appropriate tag can provide additional bit level data Figure 5 14 ROB OSH SOF 6875 9 ee EDs O Deine my al Ae norm DS lums h G agone S SETE loz ae a EST mi wi h o ren fr ros Publication 2100 UM001B EN P January 2001 Chapter Objectives Required Equipment Explicit Message Program Control for PLC 5 Chapter 6 Using DeviceNet Explicit Messaging Chapter 6 provides information you need to monitor and configure the SCANport device using explicit messaging on DeviceNet In this chapter you will read about the followin
150. n the filefs click Next 11 EDS files are evaluated for errors Click Next to continue Figure 4 12 EDS File Validity Test EDS Wizard x EDS File Installation Test Results a This test evaluates each EDS file for errors in the EDS file This test does not guarantee EDS file validity E Installation Test Results A c temp 0001007a04140200 eds View file More Information Step 11 Pe Cancel Publication 2100 UM001B EN P January 2001 4 10 Configuring a Scanner to Communicate with the Adapter 12 The Change Icon screen now appears Here you will be able to select an icon that best represents the connected devices for the graph presentation of the network 13 Select the device description you wish to change In this example we click on the test SMP 3 via 2100 GK61 Click the Change icon button Figure 4 13 Change Icon Screen EDS Wizard x Change Graphic Image a You can change the graphic image that is associated with a device Product Types E Vendor Specific Type 3 SMP 3 204 to 754 Step 13 lt Back Cancel Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 11 14 Pictures of various icons appear Select the icon by clicking on the one which best represents your device Figure 4 14 Icon Options Change Icon x Rockwell Automation Icon Library A a JE aim J
151. name This is the number in the adapter If you are using RSNetWorx for DeviceNet the number for each adapter parameter varies depending on the type of drive you are using The DeviceNet to SCANport Communication Module with Digital Inputs has a default node address of 63 This address should be changed to a unique address between 0 and 62 on your DeviceNet network Important If you are installing multiple DeviceNet to SCANport Communication Modules with Digital Inputs on the network at the same time or there is already a node 63 on the network you need to do one of the following e Power up only one adapter at a time on the network and give each a unique node address e Ifusing software that supports the Fault Node Recovery feature of DeviceNet power up all the adapters at the same time and give each a unique node address To set the node address you need to 1 Access the adapter s parameters over the DeviceNet network refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 UM001B EN P January 2001 B 2 DeviceNet to SCANport Communication Module with Digital Inputs Parameters 2 Set the DN Node Address 2 parameter to the desired address 3 Reset the adapter by setting the Reset Adapter 22 parameter to Enable Setting the Data Rate The DeviceNet to SCANport Communication Module with Digital Inputs supports the following data rates e 125 Kbps e
152. nfiguration These parameters are Data In Al D2 and Data Out Al D2 If you intend to use command I O and or datalinks you must do the following 1 Access the adapter s parameters using DeviceNet network refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs 2 Enable the Cmd Stat Config 4 parameter and or desired DataLink 5 8 parameters within the DeviceNet to SCANport Communication Module with Digital Inputs Figure B 1 Module I O Configuration Cmd Stat Config Datalink A Config Datalink B Config Datalink C Config I l l l Datalink D Config Module Input ri ake lt 3 ji a lu die a Logic Command l Reference t o l Data to the O gt SCANport I 4 DLG inp oo Device DL C2 inp t DL D1 Inp DL D2 Inp Module Output T Logic Status Feedback Data from the SCANport DL C1 Out Device DL C2 Out DL D1 Out DL D2 Out Configure or link the Data In Al D2 and Data Out Al D2 parameters in the SCANport product Refer to the documentation for your SCANport product Configure the M S Input parameter and M S Output parameter as desired Refer to the M S Input Parameter Configurations section or the M S Output Parameter Configurations section in this chapter Reset the adapter by setting the
153. nuary 2001 Chapter Objectives Required Equipment Chapter 5 Ladder Logic Programming Including Reading Inputs Chapter 5 provides information needed to create the PLC SLC or ControlLogix Ladder Logic program that the controller will use to transmit control I O and messages to and from the SCANport product In this chapter you will read about the following Equipment and software needed to create either a PLC or SLC ladder logic program PLC SLC and ControlLogix ladder logic programs Creating a PLC SLC or ControlLogix ladder logic program This chapter assumes you are familiar with the hardware components and programming procedures necessary to operate DeviceNet and SCANport devices including the following PLC 5 SLC 500 or ControlLogix 1771 SDN 1747 SDN or 1756 DNB scanner Ladder programming RSLogix5 for PLC 5 RSLogix500 for SLC 5 02 through SLC 5 05 and RSLogix 5000 for ControlLogix You may need to refer to the documentation associated with these products to create a ladder logic program Before creating a ladder logic program for the PLC SLC or ControlLogix your PC must be Running RSLogix5 and RSLinx if using a PLC Refer to http www software rockwell com for more information on these products Running RSLogix500 and RSLinx if using an SLC Refer to http www software rockwell com for more information on these products Running RSLogix5000 and RSLinx if using a ControlLogix Refe
154. oan ge t IF E Ey es TE E i l 15 Click Next to complete EDS file registration Figure 4 15 Final Task Summary Screen Final Task Summary a This is a review of the task you want to complete ou would like to register the following device SMP 3 204 to 754 Step 15 To complete tg above task click Next lt Back Next gt Cancel Publication 2100 UM001B EN P January 2001 4 12 Configuring a Scanner to Communicate with the Adapter 16 Click Finish Figure 4 16 EDS Installation Complete Screen EDS Wizard Completing the EDS Wizard You have successfully completed the EDS Wizard Step 16 17 The program updates the EDS directory registry for the computer and redraws the graphical representation of the device with the new icon as shown Figure 4 17 Updated Online Screen lt lt Cnt Logx GK61 Test dnt RSNetWorx for DeviceNet Eie Edit View Network Device Tools Help a 5 q18 e eak ES sma Hardware x DLJENSEN 37A 15 al Barcode Scanner O Communication Adapter DeviceNet to SCANport Dodge EZLINK D General Purpose Discrete 1 0 D Generic Device Human Machine Interface O Inductive Proximity Switch O Limit Switch O Motor Protector D Photoelectric Sensor fl Ea ell Automation El E E El E El E E E E E H 4 gt M Graph Spreadsheet Master 5k 4 A
155. ogic Programming Including Reading Inputs 5 15 The following programming example shows how to read 2100 GK61 inputs and control SMP 3 outputs with an SLC 500 SLC Code Rung 0 enables scanner Rungs 1 through 4 read 2100 GK61 inputs and turn on respective output in Slot 3 I O Card Figure 5 10 8 RSLogix 500 SLC500 _ DEVEL1 RSS File Edit View Search Comms Tools Window Help oela s slae lef Y alla e all OFFLINE No Forces El 50 76 lt gt a e Joso Bl Forces Disabled Tr user Bit A Timer Counter_ A Input Output A Compare Driver AB_DF1 1 Node 1d SLC500_DEVEL1 ASS Mi E3 y Project f Help O 1 Controller CD i Controller Properties 17 ee a Processor Status ALl 10 Configuration be Channel Configuration E Multipoint Monitor a 1 Program Files 1746 1012 E syso SYS1 f eS amp Lap2 1 Y Data Files 1746 1012 Y Cross Reference 00 OUTPUT 11 INPUT 52 STATUS B3 BINARY T4 TIMER C5 COUNTER R6 CONTROL FA XREF 2 0006 APP READ 7 Lx 23 3 1747 SDN 1746 1012 20000000 For Help pres a Publication 2100 DU021B EN P January 2004 5 16 Ladder Logic Programming Including Reading Inputs SLC Code SMP 3 output A is turned OFF when Slot 3 Input 0 is true in Rung 5 SMP 3 output B is turned OFF when Slot 3 Input 1 is true in Rung 6 In Rung 7 SMP 3 is reset when input 2 of Slot 3 input car
156. olled and Cyclic Polled and Cyclic Allocation on page B 11 9 Click on OK to return to the Scanlist screen 10 Click on the Apply button A dialog box appears asking if you wish to download the changes to the device Click on Yes Important If the processor is not in Program mode a dialog box will appear stating which mode the processor is in Clicking on the OK button returns the Scanlist screen without downloading any information to the processor You must now place the processor in program mode and repeat the apply function 11 Click on the Input tab to view the input table map From this screen you can customize the arrangement of the scanner s data table Refer to the RSNetWorx online help for additional information Figure 4 46 Input Data Table Map Screen EY 1756 DNB A 5 21x General Module Scanlist Input Output ADR Summary Memory Assembly Data Bits 31 0 LED L HE Datal01 4 SM es tiDatara gt ENEE E gt iDatale gt Daaa gt 1 Datafel Publication 2100 UM001B EN P January 2001 4 36 Configuring a Scanner to Communicate with the Adapter Publication 2100 UM001B EN P January 2001 12 Click on the Output tab to view the output table map From this screen you can customize the arrangement of the scanner s data table Refer to the RSNetWorx online help for additional information Figure 4 47 Output Data Table Map Screen
157. om the adapter ATTENTION Risk of severe bodily injury or equipment damage exists The dle Fit Action 9 and Comm Flt Action 10 parameters allow the user to change the default configuration that would allow the module and associated drive to continue to operate if communication is lost Precautions should be taken to assure that your settings for these parameters and your application do not create a hazard of bodily injury or equipment damage If you intend to use Fault Configurable inputs you must do the following 1 Set desired values for the Fault Cfg Logic 11 Fault Cfg Ref 12 and Fault Cft In 13 20 parameters 2 Set the Idle Fault Config 9 parameter and or the Comm Flt Action 10 parameter to Fault Cfg Refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs for instructions on editing parameters DeviceNet to SCANport Communication Module with Digital Inputs Parameters DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 17 The following table provides information on the DeviceNet to SCANport Communication Module with Digital Inputs parameter set Important When accessing this parameter set through the DeviceNet Parameter Class add the adapter s parameter number to the number of the last parameter of the SCANport device When accessing this parameter set through the vendor specific SCANport Variables Linear Class add the adapter
158. only be set to zero 5 Get Allocation STRUC The allocation Information Tof information a slave BYTE supports when the USINT master allocates 6 Get Node Adx BOOL If non zero the Node Switch Err Address NVS value does not match the online value 7 Get Data Rate BOOL If non zero the Data Switch Err Rate NVS value does not match the online value 8 Get Node Adx USINT The actual value in the Switch EEPROM 9 Get Data Rate USINT The actual value in the Switch Val EEPROM or the operating value after an autobaud was completed Common Services Not supported Publication 2100 UM001B EN P January 2001 C 6 DeviceNet Objects Class Code 0x05 Connection The Connection Class allocates and manages the internal resources associated with both I O and Explicit Messaging Connections The specific instance generated by the Connection Class is referred to as a Connection Instance or a Connection Object Important An externally visible interface to the Connection Class across Explicit Messaging Connections DOES exist Unless otherwise noted all services attributes noted in the following sections are accessible using Explicit Messaging A Connection Object within a particular module actually represents one of the end points of a Connection It is possible for one of the Connection end points to be configured and active e g transmitting without the other end point s being present Connection Objects are
159. ons between devices and Class 1 Trunk Maximum drop length is 6m 20 ft Cumulative Drop Budget is based on Data Rate 125 Kbps 156m 512 ft 250 Kbps 78m 256 ft 500 Kbps 39m 128 ft DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 3 Using Datalinks and Command 1 0 Class 1 Drop Cable is available in three spool sizes Cable Part Number Spool Size 1485C P1 B50 50m 164 ft 1485C P1 B150 150m 492 ft 1485C P1 B300 300m 984 ft 3 Reset the adapter by setting the Reset Adapter 22 parameter to Enable Command I O provides two 16 bit words of input and two 16 bit words of output when enabled Datalinks let you increase the size of T O to and from a SCANport device provided the SCANport device supports datalinks By enabling datalinks you can continuously change or monitor the value of a parameter without using the DeviceNet to SCANport messaging function Datalinks consist of two 16 bit words of input and two 16 bit words of output when enabled They provide up to eight words in and out of data if they are supported in the connected SCANport product Publication 2100 UM001B EN P January 2001 B 4 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Data from DeviceNet Data to DeviceNet Publication 2100 UM001B EN P January 2001 SCANport devices that support this function have a group of parameters for datalink co
160. opied into the SLC s N9 data file to move the drive status information into a convenient location 1336PLUS RUNNING Status Bit N9 0 COP Copy File Source M1 1 0 Dest N9 0 Length 128 Rungs 0001 through 0003 move the drive status from the N9 data file to an operator display a 1 1336PLUS FAULTED Status Bit N9 0 Operator Display Drive Feedback Status Word Operator Display Drive Running Status Bit 0 3 0 0 1746 0 8 Operator Display Drive Faulted Status Bit 0 3 0 5 1746 0 8 MOV Move Source N9 2 0 lt Dest N21 1 0 lt Publication 2100 UM001B EN P January 2001 5 12 Ladder Logic Programming Including Reading Inputs 0004 0005 0006 0007 0008 0009 0010 0011 Figure 5 7 Example SLC Ladder Logic Program continued and out to the drive via DeviceNet Operator Input Drive Start Command Bit 1 2 0 Rungs 0004 through 0008 move the operator s inputs from the operator station to the N9 data file where they will be sent to the scanner 1336PLUS START Command Bit N10 0 1746 1 16 Operator Input Drive Stop Command Bit 1 2 0 p a 1 1336PLUS STOP Command Bit N10 0 1746 I 16 Operator Input Drive Jog Command Bit 1 2 0 0 1336PLUS JOG Command Bit N10 0 y 2 1746 I 16 Operator Input Drive Clear Faults Command Bit 1 2 0 a
161. panded be ts prontos 6 6 Explicit Messaging Programming Example 6 10 Example Ladder Program Explanation 6 10 Explicit Message Program Control for SLC 6 15 Message TranslatiONS ooooooomo m o o 6 16 EXIMPplOS s as da ERA a raid racers 6 16 Messaging for the 1747 SDN Scanner 6 16 SLC Ladder Example coo eld ee ieeh oot 6 19 SLC Messaging aese eek ees pew end wea ede ews 6 19 Using Messages to Control SCANport Products 6 21 Writing to Register ObjectS oooo oo 6 22 Reading Values from DeviceNet Using Explicit Messaging and Control ogix aes asd dea ae wade ale ea5 6 23 Configure the WO og cisterna ean A ae 6 23 Chapter 7 Chapter Objectives Soca pelear sia 7 1 LEDs on the 2100 GK61 Module 4 7 1 DeviceNet Network Status LED States 7 2 Module Status LED StateS 0oo oooooooo 7 2 SCANport Status LED States o oo ooooo 7 3 Input Status LED States oooocooococooooo 7 4 Appendix ObjectiVeS oooooooccocoooco oo A 1 2100 GK61 Specifications oooooooo A 1 Appendix ObjectiVeS oooocooococooocoo oo B 1 Setting the Node AddresS o oooooooooooo B 1 Setting the Data Rate oooooooococomomoo B 2 Using Datalinks and Command I O B 3 Using Master Slave Communications B 5 Polled
162. pe is INT or UINT the enumerated string is a value enumerated string Any other data type does not have enumerated strings The table below lists the parameters for the Get_Enum_String request service Name Data Type Description of Attribute Enumerated USINT Number of enumerated string to String Number retrieve MAX value is 255 e If the string to be returned is a bit enumerated string then the enumerated string number represents a bit position and the Get_Enum_String service returns a string from that bit e If the string to be returned is a value enumerated string then the enumerated string number represents a value and the Get_Enum_String service returns a string for that value The enumerated string is returned in the form of a SHORT_STRING and is 16 characters long plus the preceding length byte Publication 2100 UM001B EN P January 2001 C 16 Class Code 0x10 Parameter DeviceNet Objects The Parameter Group Object identifies and provides access to groups Group Object Of parameters in a device grouping The Parameter Group Object provides convenient access to related sets of parameters Class Attributes Attribute Access Nam Data Describtion ID Rule Type p 1 Get Parameter UINT Returns 1 group version 2 Get Max UINT Maximum instance Instance number of an object currently created in this class level of the device 8 Get Native USINT
163. pin plug in connector supplied with module Screwdriver or nutdriver and mounting screws 10 Appropriate cables for SCANport and DeviceNet connections Refer to the Selecting Cables section below Selecting Cables To connect the 2100 GK61 to the SCANport product and the DeviceNet network you must select an appropriate DeviceNet cable and Allen Bradley SCANport cable Use the following information to select appropriate cables for each connection Publication 2100 UM001B EN P January 2001 2 2 Installation SCANport Cables When selecting the SCANport cable to connect the 2100 GK61 module to the SCANport product you need to e Use an Allen Bradley SCANport cable Refer to the table below Male to Male Connection Male to Female Connection Length Catalog Number Length Catalog Number 1 3 m 1202 C03 1 3 m 1202 H03 1m 1202 C10 1m 1202 H10 3m 1202 C30 3m 1202 H30 9m 1202 C90 9m 1202 H90 e Use less than 10 meters 33 feet of cable between the SCANport product and adapter e Keep SCANport cables away from high power cables to guard against introducing noise into your system DeviceNet Cables The 2100 GK61 module comes with a 10 pin dual row 5 pin connector This connector is used to wire the module for both single drops when only one side of each terminal is used or to daisy chain devices together when both sides of the terminals are used A drop line connects a node such as a 2100
164. port Product 4 4 Configuring a Scanner oooccccccoco eee 4 15 Configuring a PLC Scanner 1771 SDN to Communicate with the Adapter 0c0 s 2 5 eek Ne rr 4 15 Configuring an SLC Scanner 1747 SDN to Communicate with the Adapter vacacionar e a dd 4 23 Configuring an SLC Scanner o oooooooooooo 4 23 Configuring a ControlLogix Scanner 1756 DNB to Communicate with the Adapter 4 30 Ladder Logic Programming Including Reading Inputs Using DeviceNet Explicit Messaging Troubleshooting Product Specifications DeviceNet to SCANport Communi cation Module with Digital Inputs Parameters Chapter 5 Chapter Objectives ooooocooooonooronnooo 5 1 Required EquipMent oo oooocoooooono no 5 1 Whatis RSLOgIX oie dagen REO wb dee uke 5 2 What are Ladder Logic Programs 5 3 Example Ladder Logic Programs 5 4 PLC Ladder Logic Example 2 5 7 SLC Ladder Logic Program Example 5 11 ControlLogix Programming Example 5 15 Chapter 6 Chapter Objectives oooocoooocooooooo 6 1 Required Equipment 2 2 au ten oes eee e ate 6 1 Explicit Message Program Control for PLC 5 6 1 Message Translations ooooooooooomo 6 3 Messaging for the 1771 SDN Scanner 6 3 EXAMPpl S iei wnat wet iii 6 6 PLC 5 Ladder Example 200 0c ee eee 6 6 PUG Messaging
165. port product DL A Input Important This parameter cannot be changed DL B Input when the Peer Out Enable 40 parameter is On DL C Input DL D Input DL A Output DL B Output DL C Output DL D Output 40 Peer Out On Off Off Yes No Off Disables peer output communications Enable On Enables peer output communications 41 Peer Out Time 0 01 10 00 1 00 Yes No Determines the minimum interval of time between peer transmissions 42 Peer Out Skip 1 16 1 Yes No Determines the maximum interval of time between peer transmissions by multiplying this value by the value in the Peer Out Time 41 parameter Important For information on accessing and editing parameters refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 UM001B EN P January 2001 B 24 DeviceNet to SCANport Communication Module with Digital Inputs Parameters M S Input Parameter Configurations The M S Input 24 parameter has the following five configurable bits Figure 7 2 Bits and Corresponding I O datalink B datalink C datalink A datalink D Cmd Ref 0 Peer or other input 1 Master Slave input xxx0 0000 When you enable the Cmd Stat 4 or datalink 5 8 parameter s in the adapter you must set the corresponding bit in the M S Input 24 parameter if you want the input data to come from the scanner or master device The following table lists possible configurations for t
166. r to Chapter 3 and your product s user manual for more information Publication 2100 DU021B EN P January 2004 Ladder Logic Programming lIncluding Reading Inputs 5 3 2100 GK61 Scanner Output See Chapter 4 for configuring a scanner The 1st word consists of command bits for the SCANport product such as Drive SMC or SMP 3 The 2nd word is an analog reference supported for Drives but not for an SMC or SMP 3 Table 5 A Scanner Output Map PLC Example AAA E PAE N10 1 SCANport Device Command N10 2 Analog Reference For Drives Table 5 B Scanner Output Map SLC Example ae ae pee Command or Logic Control Data for a Drive SMC or SMP 3 0 1 2 Analog Reference For Drives Table 5 C Scanner Output Map ControlLogix Example Eco arar ee Rie 1 I Data 0 Analog Reference For Drives Command or Logic Control Data for a Drive SMC or SMP 3 2100 GK61 Scanner Input See Chapter 4 for configuring a scanner The scanner s first 4 bits of 1st word are 2100 GK61 discrete inputs Bit 4 through 15 of 1st word are not used The 2nd word is status of SCANport product such as a Drive or SMC and the 3rd word is the analog feedback Table 5 D Scanner Input Map PLC Example Bits 15 0 N9 1 Not Used 2100 GK61 Discrete Inputs N9 2 Status Data for a Drive SMC or SMP 3 N9 3 Analog Feedback for a Drive SMC or SMP 3 Table 5 E Scanner Input Map SLC Example Bits 15 0 Not Used 2100
167. r to http www software rockwell com for more information on these products Connected to and communicating with the DeviceNet network using a 1784 PCD card 1784 PCID card 1784 PCIDS card or a 1770 KFD adapter Publication 2100 UM001B EN P January 2001 5 2 Ladder Logic Programming Including Reading Inputs What is RSLogix RSLogix5 for the PLC 5 RSLogix500 for the SLC 5 03 and RSLogix5000 for ControlLogix software let you create the ladder logic programs you need and download them to the processor They also let you monitor the program as the processor is using it For more information on RSLogix5 RSLogix500 or RSLogix5000 consult the respective software s documentation Publication 2100 UM001B EN P January 2001 Ladder Logic Programming Including Reading Inputs 5 3 What are Ladder Logic A PLC SLC or ControlLogix ladder logic program lets you control Programs the drive and the messaging from the processor to the drive Figure 5 1 shows how the I O image table for a DeviceNet scanner relates to the 1336 PLUS drive when a DeviceNet to SCANport Communication Module with Digital Inputs is used Figure 5 1 1 0 Image Table DeviceNet SCANport Scanner 2100 GK61 1336 PLUS Drive Enhanced DeviceNet Logic Command Logic Command Output Mapping Write Input Mapping Read Message Handler Reference Datalink A1 Datalink A2 Datalink B1 Datalink B2 Datalink C1
168. rx Cnxn s apply 7 Get Produced Cnxn Size UINT Max bytes to transmit across this connection 8 Get Consumed Cnxn UINT Max bytes to receive across this Size connection 9 Get Set EPR UINT Expected Packet Rate 12 Get Set Watchdog Action USINT How to handle inactivity watchdog time outs 13 Get Produced Path UINT Number of bytes in the produced Length connection path attribute 14 Get Produced Cnxn Path ARRAY of Specifies the application object whose data USINT is to be produced by this connection 15 Get Consumed Path UINT Number of bytes in the consumed Length connection path attribute 16 Get Consumed Cnxn ARRAY of Specifies the application object to receive Path USINT the data consumed by this application 17 Get Set Production Inhibit UINT Defines minimum time between new data Time production for COS connections Common Services Not supported Publication 2100 UM001B EN P January 2001 C 8 DeviceNet Objects Class Code 0x07 Register Object Publication 2100 UM001B EN P January 2001 The Register Object is used to address individual bits or a range of bits It may operate as either a producer input register or a consumer output register A producer register object produces data onto the network A consumer register object consumes data from the network Message writes to the Register Object can perform control functions Therefore message writes are only allowed when the controller is not ac
169. ry AutoM ap Unmap Options Memory Discrete Start Word fo a Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 29 15 Click on the Summary tab This screen provides the user with a concise summary of how the scanner has been configured Note all of the information that appears on this page is read only If you want to change any of the parameters you have to edit them on the appropriate property page Figure 4 39 Summary Screen eel Moche Scar tra ga Soy De Coe coos too _ nw _ 16 Click on the OK button You are returned to the online screen 17 To save the information just entered select Save As under the File menu 18 Select a path to store the information 19 Enter a file name and click on Save Publication 2100 UM001B EN P January 2001 4 30 Configuring a Scanner to Communicate with the Adapter Configuring a ControlLogix Scanner 1756 DNB to Communicate with the Adapter Publication 2100 UM001B EN P January 2001 Figure 4 40 Save As Dialog Screen Step 419 Step 19 4 4D DO Graph radial s l Era Coge Tengen Merge Lie Your device is now configured on the DeviceNet network The network LED on the module is solid green If it is not refer to Chapter 7 Troubleshooting for more information Refer to Chapter 5 Ladder Logic Programming
170. s established LED is flashing red Online Time out 1 O connection timed out 1 Bring controller back onto the network 2 Reduce traffic or errors on the network so that messages can get through within the necessary time frame LED is steady red Network failure Failed Duplicate ID or Bus off 1 Ensure that all nodes have unique addresses 2 If all node addresses are unique examine network for correct media installation Module Status LED States The middle LED labeled MOD is the Module Status LED It indicates the operation of the DeviceNet to SCANport Communication Module with Digital Inputs and functions as follows LED A If State Indicates Action Viewed LED is off Not powered No power Ensure that the connected SCANport product is powered and connected to the adapter LED is flashing Waiting for I O data Normal operation No action needed Adapter has passed all green No I O or PLC in operational tests and is waiting to pass l O data program between the DeviceNet and SCANport interfaces LED is solid green Operational Normal operation No action needed Module I O operational Status LED p LED is flashing red Configuration problem Bad CRC of Adapter parameters or flash program 1 Power cycle the adapter to reset it 2 Enable an adapter reset via the adapter s configuration parameter 3 Re flash the adapter LED is steady
171. s required 2 Power is missing from Input 3 verify external wiring to module 3 Verify Dip Switch setting matches Input voltage LED is Green Input On Input has power applied 1 Input is on No action is required 2 Voltage is applied to Input verify external wiring to module LED is Red Input Off No power to input 1 Input is off No action is required 2 Power is missing from Input 4 verify external wiring to module 3 Verify Dip Switch setting matches Input voltage LED is Green Input On Input has power applied 1 Input is on No action is required 2 Voltage is applied to Input verify external wiring to module Publication 2100 UM001B EN P January 2001 Appendix Objectives 2100 GK61 Specifications Appendix A Product Specifications Appendix A provides the specifications that you may need to install or use the 2100 GK61 module These adapters are non repairable units If they are broken you must replace them The following table gives the specifications for the 2100 GK61 DeviceNet to SCANport Communication Module with Digital Inputs Category Dimensions Specifications Mounting 1 55 W X 5 17 H X 5 00 D Mounting 3 94cm X 13 13cm X 12 70cm Module 1 55 W X 3 48 H X 5 00 D Module 3 94cm X 8 84cm X 12 70cm Weight 17 oz 482g Operating Temperature 0 to 55 C 32 to 131 F Storage Temperature 40 to 85 C
172. saction Blocks are divided into two parts e Transaction header contains information that identifies the transaction to the scanner and processor e Transaction body in a request this contains the DeviceNet Class Instance Attribute and Service Data portion of the transaction See Appendix C In a response this contains the Service Data only Each of the data attributes in the transaction header is one byte in length The table below details the information required Data Field Description TXID Transaction ID when the processor creates and downloads a request to the scanner the processor s ladder logic program assigns a TXID to the transaction This is a one byte integer in word 31 with a range of 1 to 255 The scanner uses this value to track the transaction to completion and returns the value with the response that matches the request downloaded by the processor COMMAND In each message request a command code instructs the scanner how to administer the request 0 Ignore transaction block block empty 1 Execute this transaction block 2 Get status of transaction TXID 3 Reset all client server transactions 4 255 Reserved STATUS In each message response the status code provides the processor with status on the device and its response 0 Ignore transaction block block empty 1 Transaction completed successfully 2 Transaction in progress not ready 3 Error slave not in scan l
173. scanner has been configured 2 On the General page place the cursor in the name field and type the name you want to assign the scanner If you want to add a description to the scanner place the cursor in the description field and enter a description Click on the Apply button to save the information 3 Click on the Module tab A dialog box will appear requesting to upload or download information from the scanner Click on Upload All the scanlist information currently stored in the scanner will be uploaded Once the upload is complete the Module screen will appear Figure 4 42 1756 DBN Module Screen THER hr 2 1100 wh Lg tt SM Int Dead Mi E General Modde cartas inoit Oou ADR Summary Ipterscan Delay TENA preci A 3 Module Delauts Glew Mote Alen Bradey 1756 ONB A tine Verify the default values listed on this page Edit them as necessary Refer to RSNetworx for DeviceNet online help for more information 4 Click Apply to save Publication 2100 UM001B EN P January 2001 Configuring a Scanner to Communicate with the Adapter 4 33 5 Click on the Scanlist tab so that the Scanlist page appears Figure 4 43 Scanlist Screen DA IS Aten ade 88 ONE ie 6 Select the available devices you wish to add to the scanlist Verify that the Automap on Add box is checked This will map the devices into the scanner s memory automatically when added Refer to the RSNetWorx for DeviceNet
174. ssages active at any time When the BTR completes the data received by the PLC will contain information about the status of the current Explicit Message being processed by the scanner If an Explicit Message has completed the STATUS code in the Explicit Message Response is set to 1 and the response message contains the data requested If the message status indicates that it is not completed the BTR should be repeated until the message is complete The format of Request and Response Data File messages is in Figure 6 2 Publication 2100 UM001B EN P January 2001 Transaction 1 Header 3 words Transaction 1 Body up to 29 words Transaction 2 Header 3 words Transaction 2 Body up to 29 words Using DeviceNet Explicit Messaging Format of 64 word Block Transfer Write for Explicit Message Request Figure 6 2 Format of DeviceNet Messages Format of 64 word Block Transfer Read for Explicit Message Response 15 0 15 0 TXID COMMAND TXID STATUS word 0 PORT SIZE PORT SIZE SERVICE MAC ID SERVICE MAC ID CLASS SERVICE RESPONSE DATA INSTANCE i ATTRIBUTE SERVICE DATA m word 31 TXID COMMAND TXID STATUS word 32 PORT SIZE PORT SIZE SERVICE MAC ID SERVICE MAC ID CLASS SERVICE RESPONSE DATA INSTANCE ATTRIBUTE SERVICE DATA m E R word 63 Publication 2100 UM001B EN P January 2001 Using DeviceNet Explicit Messaging 6 5 Tran
175. stalled The SCANport LED is green The network and module LEDs are blinking green If your module s LEDs are different refer to Chapter 7 Troubleshooting for more information You must now edit the adapter s node address and you may want to edit some of its other parameters Refer to Chapter 3 for more information Removing the DeviceNet to SCANport Communication Module with Digital Inputs 2100 GK61 To remove the DeviceNet to SCANport Communication Module with Digital Inputs you need to 1 Disconnect Input Power from Digital Inputs ATTENTION Electrical shock hazard exists if power is not disconnected to Digital Input Devices Verify power is removed before proceeding 2 Remove the SCANport cable from the SCANport product and then from the module 3 Unplug the 10 pin DeviceNet connector from the module 4 Unplug the 6 pin Digital Input connector from the module 5 Remove the module from the panel Chapter Objectives Factory Default Settings for the 2100 GK61 Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Using RSNetWorx for DeviceNet Chapter 3 provides information that you need to configure the 2100 GK61 module over the DeviceNet network In this chapter you will read about the following e Factory default settings for the module e RSNetWorx software Equipment necessary to use RSNetWorx software e Editing the 2100 GK61 adapter s parameters us
176. stance number of an object currently created in this class level of the device Get Parameter WORD Bits that describe Class parameters Descriptor Get Configuration UINT Instance number of the Assembly configuration assembly Instance This attribute is set to zero because a configuration assembly is not supported 10 Set Native USINT Language ID for all Language character array accesses 0 English 1 French 2 Spanish 3 Italian 4 German 5 Japanese 6 Portuguese Instances The number of instances varies based on the number of parameters in your SCANport product The adapter parameters immediately follow the SCANport product parameters Instance 1 through n 410 Description SCANport Product Parameters n 41 through n O Module Parameters The value of nis the maximum instance in the object This value is obtainable via class attribute 2 DeviceNet Objects C 11 Instance Attributes Attribute ID ea Stub Full Name Data Type Description 1 Stub Parameter Value Specifiedin Actual value of parameter Data type Descriptor specified in descriptor data type and Data Type data size and Data Size attributes 2 Get Stub Link Path Size USINT Size of Link Path attribute If this attribute is 0 then no link is specified Number of BYTEs in attribute 3 3 Get Stub Link Path ARRAY of Path
177. t Path AB_DF1 141 4 gt User BE K TimeriCounter A InputiOutput XC Controller Test_1_4slot Controller Tags 3 Controller Fault Handler CI Power Up Handler H E Tasks y W MainProgram MainRoutine PEREPERE SMP3 Output A is turned off when GK61 Input 1 is turned on typically a momentary closure A GK61_Input_1 SMP3_Output_A_OFF E MainTask 7 poa lt Local 1 1 Data 0 0 gt lt Local 1 0 Data 0 0 gt Program Tags CD E MainRoutine Ca Unscheduled Programs E Trends SMP3 Output B is turned off when GK61 Input 2 is turned on typically a momentary closure 1 83 Data Types GK61_Input_2 SMP3_Output_B_OFF User Defined lt Local 1 1 Data 0 1 gt lt Local 1 0 Data 0 1 gt On Predefined a E C gt H E Module Defined 2 6 1 0 Configuration 8 1 1756 DNB B 2 1756 048 Output 8 3 1756 1416 Input SMP3 Output A is turned on when GK61 Input 3 is turned on typically a momentary closure GK61_Input_3 lt Local 1 lData 0 2 gt Local 1 0 Data 0 3 si SMP3 Output B is turned on when GK61 Input 4 is turned on typically a momentary closure GK61_Input_4 lt Local 1 1 Data 0 3 gt Local 1 0 Data 0 4 es Enter BOOL operand Rung 3 of 11 APP Publication 2100 UM001B EN P January 2001 Ladder Logic Programming Including Reading Inputs 5 17 Rungs 9 and 10 show how SMP 3 Status Word information is read The Output card in slo
178. t 2 shows status at bits 4 and 5 Figure 5 12 So RSLogix 5000 Test_1_4slot Fie Edit View Search Logic Communications Tools Window Help alela a 52 Es ll as y ajaja e ul aja focas y E mo Hobe Lolo gt o Edis orces Disable Le User ABE XTimeriCounter_XinputiOuipat Path AB_DF1 141 W MainProgram MainRoutine 3 Controller Test_1_4slot Controller Tags Bit 4 on ControlLogix 1756 OA8 output card is turned on when SMP 3 Output Ais energized 3 Controller Fault Handler C Power Up Handler Local 1 Data 0 16 Local 2 0 Data 4 E Tasks 8 MainTask 5 8 MainProgram Program Tags 8 MainRoutine OF Unscheduled Programs E Trends Data Types i User Defined Bit 5 on ControlLogix 1756 OA8 output card is turned on when SMP 3 Output B is energized Local 1 Data 0 17 Local 2 0 Data 5 E H E Predefined Eh Module Defined 2 4 1 0 Configuration 8 111756 DNB 8 2 1756 048 Output B 3 1756 1416 Input Rung 3 of 11 APP The next word after Status word is analog information from SMP 3 Average Current Current Imbalance Thermal Capacity Utilized and Full Load Current Setting can be monitored The parameter to be monitored is selected by logic state of bits 13 15 in the Logix Control Word Publication 2100 UM001B EN P January 2001 5 18 Ladder Logic Programming lIncluding Reading Inputs Input and Output states ca
179. t Parameter Configurations section in this chapter 3 Set the M S Output 25 parameter Refer to the M S Output Parameter Configurations section in this chapter 4 Ensure the Cmd Stat Config 4 parameter is On 5 Ensure the lowest bit in the M S Output 25 parameter is set to 1 For example xxx0 0001 This enables status feedback to be sent over the slave connection 6 Set the COS Status Mask 26 parameter to specify which bits in the logic status word will trigger a message to the scanner when changed 0 do not check the corresponding bit 7 Set the COS Fdbk Change 27 parameter to specify the amount of change required in the reference word needed to trigger a message to the scanner 0 do not check the corresponding bit 8 Reset the adapter by setting the Reset Adapter 22 parameter to Enable Enabling COS in the Scanner Use RSNetWorx to enable COS in the scanner Refer to Chapter 4 Configuring a Scanner to Communicate with the Adapter for more information on configuring the scanner COS must be enabled in the Edit Device I O Parameters dialog box Publication 2100 DU021B EN P January 2004 B 20 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Name Valid Values Default Writable Resetor Description Settings Power Cycle 22 Reset Adapter Ready Ready Yes No Ready No change or reset Enable Enable Resets the module Set Defaults Set Defaults Sets all p
180. t Status 1 power applied to Input 0 no power at Input Important For information on accessing and editing parameters refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 UM001B EN P January 2001 B 20 DeviceNet to SCANport Communication Module with Digital Inputs Parameters Reset or Name valle sae Default Writable Power Description Settings Cycle 22 Reset Adapter Ready Ready Yes No Ready No change or reset Enable Enable Resets the module Set Defaults Set Defaults Sets all parameters to their factory default values 23 Active O Cfg Oor1 foreach N A No No Displays what I O is activated in the adapter bit datalink B datalink C datalink A datalink D Cmd Stat xxx0 0000 0 Off 1 On 24 M S Input O or 1 for each Xxx0 Yes Yes Determines the source of the bits for input bit 0001 datalink B datalink C datalink A datalink D Cmd Ref xxx0 0000 0 Peer or other input 1 Master Slave input For more information refer to the M S Input Parameter Configurations section in this chapter 25 M S Output O or 1 for each Xxx0 Yes Yes Determines the source of the bits for output bit 0001 datalink B datalink C datalink A Stat Fdbk ye xxx0 0000 datalink D 0 Peer or other output 1 Master Slave output For more information refer to the M S Output Parameter Configurations section in this
181. tal Inputs Publication 2100 UM001B EN P January 2001 This document is intended to replace Chapter 5 completely and Page 7 20 24 and 26 of Appendix B in Publication 2100 UM001B EN P DeviceNet to SCAN port Communications Module with Digital Inputs When using Publication 2100 UM001B EN P DeviceNet to SCANport Communications Module with Digital Inputs reference the material within this document and disregard the information in the book Publication 2100 DU021B EN P January 2004 Chapter 5 Ladder Logic Programming Including Reading Inputs Chapter Objectives Chapter 5 provides information needed to create the PLC SLC or ControlLogix Ladder Logic program that the controller will use to transmit control I O and messages to and from the SCANport product In this chapter you will read about the following e Software needed to create a PLC SLC or ControlLogix ladder logic program e PLC SLC and ControlLogix ladder logic programs e Creating a PLC SLC or ControlLogix ladder logic program This chapter assumes you are familiar with the hardware components and programming procedures necessary to operate DeviceNet and SCANport devices including the following e PLC 5 SLC 500 or ControlLogix e 1771 SDN 1747 SDN or 1756 DNB scanner e Ladder programming e RSLogix5 for PLC 5 RSLogix500 for SLC 5 02 through SLC 5 05 and RSLogix 5000 for ControlLogix You may need to refer to the documentation associated
182. tching EDS file must be registered on the PC or laptop connected to DeviceNet network An Electronic Data Sheet EDS is a simple file format that includes the device s configurable parameters e There is a unique EDS file for each size of E3 each type of DSA and every combination of GK61 and connected ScanPort Product Drive SMC SMP 3 EDS files can be used by network tools such as RSNetworx for DeviceNet to read or set device parameters e Each vendor is required to supply the configuration information The vendor must also supply an EDS file to successfully pass conformance testing 1 To get information about an unregistered Device in RSNetworx for DeviceNet double click the icon Figure 4 4 Unrecognized Device in RSNetWorx Ee EM Yew Metro Dewe Too Het 2 00 10r y alte Da Hardware a z recognized JENSEN reas Step 1 MLAD M Graph pain A AA Onine Na bro Configuring a Scanner to Communicate with the Adapter 4 5 2 An Unrecognized Device screen appears The device identity can be obtained from this screen Included in the example shown in Figure 4 4 are Vendor Code 1 Device Code 122 Product Code 20 and Major Revision Code 1 RSNetWorx Information Screen for Unrecognized Device re Unrecognized Device 11 General Unregistered Device Name Unrecognized Device 11 Description Step 2 Address
183. ter to Enable Enabling Cyclic in the Scanner Use RSNetWorx to enable Cyclic in the scanner Consult Chapter 4 Configuring a Scanner to Communicate with the Adapter for more information on configuring the scanner Cyclic must be enabled in the Edit Device I O Parameters dialog box Figure B 5 Edit Device I O Parameters Dialog Box for Cyclic Step 1 a Er FOBIA 51 T Geral Hodde Seri irga Ouse AON Summary Faris AOS POS Dive SNA MN Alen Biadap 1798 DBA rine Wot Bining If necessary deselect the Polled section In the Change of State Cyclic section click on the box next to Change of State Cyclic A W appears Click Cyclic In the Rx field enter 6 for the size of the I O input Publication 2100 UM001B EN P January 2001 B 10 DeviceNet to SCANport Communication Module with Digital Inputs Parameters 5 In the Tx field enter 4 for the size of the I O output 6 In the Send Rate field enter the desired time for the interval between messages 7 Click OK Important After you have configured the scanner and adapter for Cyclic you can verify the desired send rate is used by viewing the COS CYC Interval 28 parameter in the adapter Polled and COS Allocation You can enable both polling and COS allocations This lets the scanner poll the adapter at a fixed interval and the adapter report its status changes to the scanner after they occur Enabling Polling and C
184. this transaction block 5 255 Reserved STATUS For each upload the status code provides the processor with status on the device and its response 0 Ignore transaction block block empty 1 Transaction completed successfully 2 Transaction in progress not ready 3 Error Slave not in scan list 4 Error Slave off line 5 Error DeviceNet port disabled or off line 6 Error Transaction TXID unknown 7 Unused 8 Error Invalid command code 9 Error Scanner out of buffers 10 Error Other client server transaction in progress 11 Error Could not connect to slave device 12 Error Response data too large for block 13 Error Invalid port 14 Error Invalid size specified 15 Error Connection busy 16 255 Reserved PORT The DeviceNet port used by this message The port must be zero Channel A on a 1747 SDN scanner SIZE The size of the transaction body in bytes The transaction body can be up to 29 words 58 bytes in length If the size exceeds 29 words an error code will be returned SERVICE The service attribute contains the DeviceNet service request and response codes that match the corresponding request for the TXID Service Codes vary for each DeviceNet object Appendix C details available service codes referred to as Common Services for each object MAC ID The DeviceNet network address of the slave device where the transaction is sent This v
185. tively controlling the module and the message write is done through a connection with a time out value not equal to zero Writes cannot be performed through an unconnected message After a write any time out or closure of the connection may cause the SCANport product to fault Refer to Chapter 6 Using DeviceNet Explicit Messaging for information about writing to the Register Object Class Attributes Not supported Instances Instance Description 1 All polled data being read from the SCANport device read only 2 All polled data written to the SCANport device read write 3 Logic Status and Feedback data read only 4 Logic Command and Reference data read write 5 Datalink A input data read only 6 Datalink A output data read write 7 Datalink B input data read only 8 Datalink B output data read write 9 Datalink C input data read only 10 Datalink C output data read write 11 Datalink D input data read only 12 Datalink D output data read write 13 Logic Status and Feedback Data read only 14 Logic Command and Reference Data read write O Thecommand word is set to the value of the first word of the data where there are ones in the second word of the data Command word 1 and not word 2 or word 1 and word 2 This only controls specified bits in the logic command data to the SCANport product and does not change the reference value Instance Attributes DeviceNet O
186. ugh Warning Object provides information on the product s warning queue Class Attributes Attribute Access Name Data DescApti n ID Rule Type p 0 Set Write BYTE Write Warning Warning Command Command 1 Clear Warnings 2 Clear Warning Queue 3 Reset Product 1 Set Read BYTE Number of Warning Queue Entries Instance Attributes Attribute Access Name Data Desciibti n ID Rule Type p 0 Get Read STRUCT Warning of Queue Entry Full All Info Warning ARRAY 16 character string no Text of BYTE length information no terminating null Warning WORD Fault Code Code Warning STRUCT Time Stamp Time Stamps not available in all products BYTE 1 100 Second 0 99 BYTE Second 0 59 BYTE Minute 0 59 BYTE Hour 0 23 PENS Day of Week 0 6 BYTE Date 1 31 BYTE Month 1 12 BYTE Year 0 990 Sunday is a value of zero Year is an offset from 1990 Publication 2100 UM001B EN P January 2001 C 22 DeviceNet Objects Attribute Access Data e ID Rule Name Type Description 128 Get Warning STRUCT Code and of Time Stamp Time Stamps not available in all products Warning WORD Fault Code Code Warning STRUCT Time of Stamp Time Stamps not available in all products BYTE 1 100 Second 0 99 BYTE Second 0 59 BYTE Minute 0 59
187. uired tools and equipment Overview of the Communication Adapter Figure 1 1 2100 GK61 Module 2100 GK61 Module Front View 2100 GK61 Module DeviceNet Allen Bradley 2100 GK61 Module Top View 4 BSCANPort f e A DIP Switch Settings 1 The 2100 GK61 module mounts on a panel and connects to the SCANport product via a SCANport cable Digital inputs of 230Vac 115Vac or 24V dc are connected to the adapter via discrete wires The voltage level used for the digital inputs is set via a dip switch SW1 Publication 2100 UM001B EN P January 2001 1 2 Overview Publication 2100 UM001B EN P January 2001 The communications adapter provides an electronic communications interface between a DeviceNet network and any single SCANport product Figure 1 2 Example of 2100 GK61 Modules Connecting SCANport Products to DeviceNet 1336 PLUS 1305 gt e ea er SMC Dialog Plus POODO 000Ya ales a al oa E 1 DeviceNet In Figure 1 2 a SCANport cable connects a 2100 GK61 module to a SCANport product through a port on the SCANport product A DeviceNet cable connects the module to the DeviceNet network The module then translates the DeviceNet messages into SCANport messages that can be understood by the connected product
188. ult ATTENTION Risk of severe bodily injury or equipment damage exists The Comm Fit Action 10 parameter allows the user to change the default configuration that would allow the module and associated drive to continue to operate if communication is lost Precautions should be taken to assure that your settings for these parameters and your application do not create a hazard of bodily injury or equipment damage Important For information on accessing and editing parameters refer to Chapter 3 Configuring the DeviceNet to SCANport Communication Module with Digital Inputs Publication 2100 UM001B EN P January 2001 DeviceNet to SCANport Communication Module with Digital Inputs Parameters B 19 11 Name Fault Cfg Logic Valid Values Seitings 0 65535 Default Writable Yes Reset or Power Cycle No Description Provides the logic command data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 12 Fault Cfg Ref 0 65535 Yes No Provides the analog reference data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 13 Fault Cfg A1 In 0 65535 Yes No Provides the first word of datalink A data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 14 Fault Cfg A2 In 0 65535 Yes No Pro
189. understanding of electrical terminology programming procedures networking required equipment and software and safety precautions This manual is a learning and reference guide for the DeviceNet to SCANport Communication Module with Digital Inputs It describes the procedures needed to install configure and troubleshoot the adapter Related Publications Title Publication Number 1771 SDN Scanner Configuration Manual 1771 6 5 118 DeviceNet Scanner Configuration Manual 1747 6 5 2 DeviceNet Cable System Planning and Installation DN 6 7 2 Manual Publication 2100 UM001B EN P January 2001 P 2 Using this Manual Safety Precautions Terms and Abbreviations Publication 2100 UM001B EN P January 2001 Please read the following safety precautions carefully ATTENTION Only personnel familiar with SCANport products and associated machinery should plan or implement the installation start up configuration and subsequent maintenance of the DeviceNet to SCANport Communication Module with Digital Inputs Failure to comply may result in personal injury and or equipment damage The following terms and abbreviations are specific to this product For a complete listing of Allen Bradley terminology refer to the Allen Bradley Industrial Automation Glossary Publication AG 7 1 Terms Definition DeviceNet An open network that provides probabilistic I O control through a managed bit wise non destructive
190. unications Tools Window Help alsa a see 219 glaa lie i lal Fenae ar f No Fares y al H teri 414 00090 gt fo Edits Forces Disabled Path AB_PCC 1 Backplane O gt User ABit A TimerfCounter A Input Output C Controller Tags MainProgram MainRoutine 3 Controller Fault Handler de 7 3 Power Up Handler ajaja pr ed ef a a E Tasks timed DN TON 48 MainTask Timer On Delay E Ea MainProgram Program Tags MainRoutine 3 Unscheduled Programs E Trends timer0 DN Type CIP Generic Om Pinel JE Meios Control messagel Ej Predefined W axis BOOL CAM CAM_PROFILE CONTROL COUNTER DINT INT MESSAGE MOTION_GROUP MOTION_INSTRUCTION PID 4 y MainRoutine f REAL SERIAL PORT CONTROL Controller Tags IntelliCenter controller SINT f TIMER CA Module Defined asi I O Configuration 8 1 1756 DNB DnetScanner1 B 2 1756 ENET Ethernet 3 1756 CNB B ControlWet fi 1 1788 CN2DN cn2dn 4 gt Monitor Tags Publication 2100 UM001B EN P January 2001 Chapter Objectives LEDs on the 2100 GK61 Module SCANPort Status 1 Module Status 2 pm DeviceNet Status 3 a Chapter Troubleshooting Chapter 7 provides information about the adapter s LEDs and basic troubleshooting procedures In this chapter you will read about the following e
191. ur DeviceNet network e Make runtime adjustments to device parameters according to changing conditions detected by your processor Figure 6 1 How the Explicit Message Program Control Feature Works Block Transfer Write file 64 words sent from processor to scanner modde Explicit Message A message used to transmit commands dala requests lor data of responses The message is ser fom a cient on the Device Net network to a server on that network m Block Transfer Read file 64 words H sent from scanner module to processor Request An explicit message sem by a chent to a server requesting the server to perform a funcion L Response An explicit message sent by a server 10 a diem n response to the chent s request Far every request issued here is a response Block Transfer Read Io is completed TXID s are deleted and can be reused DeviceNet trunk ne DemceNet drop ine Slave s Explot Rasponta 1305 AC dnve 2100 GK61 Communication Adapter 1 Format a Block Transfer Write file in the processor to send an Explicit Message Request to the scanner module download 2 The scanner module transmits the Explicit Message Request to the slave device over the DeviceNet network 3 The slave device transmits the Explicit Message Response back to the scanner and is queued into a block transfer buffer 4 The processor uses a Block Transfer Read file to retrieve
192. used to model the communication specific characteristics of a particular Application to Applications s relationship A specific Connection Object Instance manages the communication specific aspects related to an end point A Connection Object on DeviceNet uses the services provided by a Link Producer and or Link Consumer to perform low level data transmission and reception functions Class Attributes Attribute ID Access Rule Name Data Type Description 1 Get Revision UINT Revision of the Connection Object class definition upon which the implementation is based Range 1 65535 Publication 2100 UM001B EN P January 2001 Instances Instance Description 1 Group 2 Messaging 2 Group 2 Polling 4 Group 2 COS Cyclic 6 Group 3 Messaging 7 Group 3 Messaging 8 Group 3 Messaging 9 Group 3 Messaging 10 Group 3 Messaging Instance Attributes DeviceNet Objects C 7 Attribute ID Access Rule Name Data Type Description 1 Get State USINT State of the connection as defined in the DeviceNet specification 2 Get Instance type USINT Indicates I O or Messaging connection 3 Get Transport Class USINT The Transport Class Trigger for this Trigger instance 4 Get Produced Cnxn ID USINT CAN Identifier to transmit on 5 Get Consumed Cnxn ID USINT CAN Identifier to receive on 6 Get Initial Comm Char USINT Defines the DeviceNet message groups that the tx
193. ut mues OnLine load From Devi ae AE AA Download To Device aeaa Vales Step H8 Parameter Help SE MP via 0003 SCANport Adapter 1 AN 0010 DN Node Address 63 0011 DN Data Rate 125K 0012 Cmd Stat Config On a 0013 Datalnk A Config Off e St 9 0014 Datalnk B Config aff ep 0015 Datalink C Config of 0016 Datalnk D Config of 0017 Idle Fk Action Faut 0018 Comm Flt Action Faut 0018 Faut Cg Logic 00000000 00000000 0020 Fault Cig Ref 0 y 141419 pil Graph Spreadsheet Mastek 4 E xj Lal 3 ES E E Rockwell Automation Allen Bradley High 9 Double click on the parameter s you wish to edit Change the data to the desired value refer to Appendix B for acceptable values for each parameter A lock icon indicates that the parameter is read only and cannot be changed 10 Click on the Download to Device button to save the changes made to the module Important It may be necessary to reset the adapter for the changes to take effect Refer to Appendix B to see if the parameter you changed required the module to be reset in order to take effect 11 Click on the OK button to return to the graph screen Publication 2100 UM001B EN P January 2001 Chapter Objectives What is RSNetWorx for DeviceNet Required Equipment and Software Chapter 4 Configuring a Scanner to Communicate with the Adapter Chapter 4 provides instructions for configuring your scanner to communicate with the 2100 G
194. vides the second word of datalink A data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 15 Fault Cfg B1 In 0 65535 Yes No Provides the first word of datalink B data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 16 Fault Cfg B2 In 0 65535 Yes No Provides the second word of datalink B data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 17 Fault Cfg C1 In 0 65535 Yes No Provides the first word of datalink C data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 18 Fault Cfg C2 In 0 65535 No No Provides the second word of datalink C data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 19 Fault Cfg D1 In 0 65535 Yes No Provides the first word of datalink D data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 20 Fault Cfg D2 In 0 65535 Yes No Provides the second word of datalink D data to the SCANport product when the adapter is instructed to use the values for the Fault Cfg parameters 21 Digital Input xxxx 0000 xxxx 1111 NA No No Digital Inpu
195. with these products to create a ladder logic program Required Equipment Before creating a ladder logic program for the PLC SLC or ControlLogix your PC must be e Running RSLogix5 and RSLinx if using a PLC Refer to http www software rockwell com for more information on these products e Running RSLogix500 and RSLinx if using an SLC Refer to http www softwate rockwell com for more information on these products e Running RSLogix5000 and RSLinx if using a ControlLogix Refer to http www software rockwell com for more information on these products e Connected to and communicating with the DeviceNet network using a 1784 PCD card 1784 PCID card 1784 PCID5 card or a 1770 KFD adapter Publication 2100 DU021B EN P January 2004 5 2 Ladder Logic Programming Including Reading Inputs What is RSLogix What are Ladder Logic Programs PLC SLC ControlLogix PC Scanner Output Mapping Write Input Mapping Read Message Handler RSLogix5 for the PLC 5 RSLogix500 for the SLC 5 03 and RSLogix5000 for ControlLogix software let you create the ladder logic programs you need and download them to the processor They also let you monitor the program as the processor is using it For more information on RSLogix5 RSLogix500 or RSLogix5000 consult the respective software s documentation A PLC SLC or ControlLogix ladder logic program lets you contro

Download Pdf Manuals

image

Related Search

Related Contents

Ovation® SP+ RNA-Seq Library Systems  User`s Manual - Mediaform Informationssysteme GmbH  product user guide - Mabey Hire International  Puma/Cougar Implementor`s Guide  Acco TFTSaver  Dell PowerVault TL4000 Quick Start Manual  Tascam US-2400  

Copyright © All rights reserved.
Failed to retrieve file