background image

 

                        

RUI/Gateway & DeviceNet

TM

  

 

      Configuration & Ladder Logic Example  

 

 Using an Allen-Bradley CompactLogix PLC 

Watlow  
1241 Bundy Blvd 
Winona, MN 55987 
Telephone: 507-494-5656 
© 2007 Watlow Electric Mfg Co                                11 

4/08 

 
19.  The gateway instance represents the EZ-ZONE

®

 

control, in this case, PM 1-4. The enable 

gateway instance simply turns on that particular gateway where there is a direct correlation  

 

between gateway instance 1 and EZ-ZONE

®

 

PM controller 1. Likewise, that relationship 

 

continues through gateway instance 16 and EZ-ZONE

®

 

PM

 

controller 16. The gateway  

 

instance will always equate to the Standard Bus controller with the same address 1-16.   

 

 

 

The CIP offset allows for the PLC or any master on the DeviceNet

TM

 side to read or write the 

 

same member from any of the four controllers on the Standard Bus network via an explicit 

 message. 

 

 

Configuring the DeviceNet

TM

 Scanner (1769-SDN) Using RSLogix 5000

 

 
20.  In the examples that follow please note that the PLC being used is a CompactLogix L32E. If 

using other PLCs the steps will vary slightly but the overall concepts will be the same. As you 
might guess some configuration is required on the PLC side prior to getting started with the 
programming. 

 

 

21.  Insert a DeviceNet

TM

 scanner into the I/O structure of the PLC. Notice below the input and 

output size correlates directly to what was configured in RSNetWorx (step 15).  

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Summary of Contents for Gateway & DeviceNet

Page 1: ... com and download the EZ ZONE PM Communications Manual and follow the procedure defined in the DeviceNetTM chapter 2 Once the gateway communications parameters for DeviceNetTM are set according to your network requirements connect the gateway into the network and do the following a Run RSLinx software and configure the driver of choice b Run RSNetWorx software 3 As shown below within RSNetWorx sof...

Page 2: ...Bundy Blvd Winona MN 55987 Telephone 507 494 5656 2007 Watlow Electric Mfg Co 2 4 08 display as shown below In this particular case node 7 RUI Gateway appears with a question mark because it has not yet been registered on the network 5 To register any given node on the network click on Tools and then EDS Wizard ...

Page 3: ...gic Example Using an Allen Bradley CompactLogix PLC Watlow 1241 Bundy Blvd Winona MN 55987 Telephone 507 494 5656 2007 Watlow Electric Mfg Co 3 4 08 6 Select Register an EDS file 7 Register a single file and then click browse to locate its location ...

Page 4: ...one 507 494 5656 2007 Watlow Electric Mfg Co 4 4 08 8 When found notice that if there is an icon with the same name the software will register it along with the EDS file Click next to proceed with the registration 9 The next step verifies that there are no errors in the EDS file a green check should be displayed next to the file as shown below ...

Page 5: ... Mfg Co 5 4 08 10 After clicking next above the software will associate an icon to this device if there was none found in the previous step it will use a default icon to graphically represent this node Click next to proceed 11 Clicking next above completes the registration process where the question mark is removed and replaced with the icon of choice for node 7 Watlow RUI Gateway ...

Page 6: ...tric Mfg Co 6 4 08 12 The next series of steps involves mapping the available RUI Gateway input 84 and output 80 bytes via the scanner into the PLC memory Double click on the scanner module to proceed 13 Click on the scanlist tab where the next dialogue will suggest an upload or a download Click on the upload button to allow the scanner to see what is available on the network ...

Page 7: ...to utilize every available bit in the PLC As an example if a given device has only 9 bytes of information it will use 2 32 bit words 3 bytes not used in the last word Now when adding a new node like the RU Gateway that utilizes 80 bytes 20 32 bit words with each being a separate entity i e 32 bit Set Point of the first word will be placed in the last word of the node mentioned above The impact of ...

Page 8: ... input bytes 84 and allocated them to the first available PLC input bytes Although we can t see in the graphic below all of the addresses assigned you can trust that what was assigned are addresses 1 I Data 0 through 1 I Data 20 If there were other devices on the network and the Automap on Add box was not checked the address field below would not be populated Clicking on the Advanced button would ...

Page 9: ...ten this completes the configuration of the RUI Gateway using RSNetWorx Configuration of the RUI Gateway 17 Prior to looking at the PLC side of things let s first take a look at a possible network configuration The graphic below depicts a network consisting of an RUI Gateway with a PLC on one side talking DeviceNetTM where on the other side of the gateway we see four EZ ZONE PM controls talking St...

Page 10: ... below does not represent all of the RUI Gateway prompts that need configuration but they do represent those that are pertinent to this discussion For further information on the RUI Gateway configuration go to the Watlow website and download the RUI Gateway User Manual Gateway Instance Enable Gateway Instance CIP Offset Gtw 1 Du en Yes ost 0 Gtw 2 Du en Yes ost 4 Gtw 3 Du en Yes ost 8 Gtw 4 Du en ...

Page 11: ...he Standard Bus controller with the same address 1 16 The CIP offset allows for the PLC or any master on the DeviceNet TM side to read or write the same member from any of the four controllers on the Standard Bus network via an explicit message Configuring the DeviceNetTM Scanner 1769 SDN Using RSLogix 5000 20 In the examples that follow please note that the PLC being used is a CompactLogix L32E I...

Page 12: ... is important to note that the EZ ZONE family of controls has an on board EEPROM to back up user settings in the event of a power loss By default the non volatile save parameter is enabled therefore changes made over the network as well as any changes made from the RUI are saved to the EEPROM If the implicit output PLC to EZ ZONE Control assembly is in use where information is exchanged implicitly...

Page 13: ...The rung of logic below when enabled will execute an explicit message sent to the gateway where it will then be routed out over Standard Bus to the EZ ZONE PM control defined by the instance oSt prompt Because the CIP offset is set to 12 for gateway instance 4 this message will be routed to PM4 When done the destination tag identified under the configuration tab EEPROM _Status see below will conta...

Page 14: ...te 51 The numbers shown are in decimal where the class and the attribute will need to be converted to hexadecimal for the message instruction 27 As another example of explicit messaging to read a specific member such as PV1 of PM1 as shown in the graphic above step 17 the MSG instruction in the PLC would be configured with the class equal to 104 instance would be 1 and the attribute would be 1 as ...

Page 15: ...er Logic Example Using an Allen Bradley CompactLogix PLC Watlow 1241 Bundy Blvd Winona MN 55987 Telephone 507 494 5656 2007 Watlow Electric Mfg Co 15 4 08 Default Target to Originator T to O Assembly Default Originator to Target O to T Assembly ...

Page 16: ...w to change either of the implicit assemblies download the PM Communications manual from the Watlow website Refer to step one for the link to Watlow s website 30 For ease in programming it is suggested but not necessary that two user defined data types be created reflecting the default assembly structures or the user defined structure as shown below In the examples that follow two user defined dat...

Page 17: ...oportionally Keep in mind that the maximum number of modifiable members for the T to O and O to T assemblies is 20 where the user can dedicate all of them to one EZ ZONE PM ST excluded control or distribute them in any manner across the network The distribution of the assemblies is determined by the CIP Assembly size a nb prompt within the RUI 33 Look closely at the names and the descriptions of t...

Page 18: ...ateway Instance CIP Assembly Size Gtw 1 A nb 4 Gtw 2 A nb 10 Gtw 3 A nb 2 Gtw 4 A nb 4 As can be seen above unless changed the members that occupy any one of the 20 member locations or wherever the gateway instance changes will be according to the factory defaults So the first member of the T to O for any given gateway instance will always be PV1 regardless of where it is placed in the assembly 35...

Page 19: ...I Gateway Each of these bits can be monitored in the PLC where an alarm can be driven if communi cations with any enabled PM control fails 36 Note that in the table above step 35 showing both logical and physical addresses logical addresses are set by the user that the communications card addressing is not set directly by the user To relieve the burden of having to set multiple Standard Bus addres...

Page 20: ...ons are programmed to send and receive the implicit assemblies to from the PLC to the desired EZ ZONE controls 38 As can be seen above the controller tags created for inputs from the EZ ZONE controls to the PLC was defined as GTW_Inputs where the tag created for the outputs from PLC to EZ ZONE controls was named GTW_Outputs The ease in programming should now be apparent Due to the fact that the us...

Page 21: ...tTM Configuration Ladder Logic Example Using an Allen Bradley CompactLogix PLC Watlow 1241 Bundy Blvd Winona MN 55987 Telephone 507 494 5656 2007 Watlow Electric Mfg Co 21 4 08 Custom T to O Assembly Custom O to T Assembly ...

Reviews: