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                                7 

4/08 

 

14.  After the scanner recognizes the RUI/Gateway on the network it will then appear as an 

Available Device as shown below. Before clicking on the right arrow to add it in the scanners 
scan list consider the effect of the Automap on Add check box. If this box is checked and 
there are other currently existing nodes on the network where they may not be using 
complete words (less than 32 bits) the scanner will not consider word boundaries when 
adding a new node and will attempt 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 this action would then 
break up all of the 20 words sent to and received from the RUI/Gateway in a convoluted way. 
For this reason, it is suggested that this box be 

unchecked

 (if there are other devices on the 

network) allowing the individual doing the configuration to select the appropriate word 
boundaries manually. 

  
 

In this case, there are no other devices on the network so leaving the Automap on Add box 
checked will not have a negative impact on the gateway configuration. 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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: