Professional Documents
Culture Documents
This Document will allow a user to quickly setup and get started using the 1756-DNB module for
DeviceNet applications. Basic configuration and usage information will be detailed for some common
devices.
Last updated
December 2002
Page 1 of 57
Table of Contents
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
Device Mismatches
Looking at Device Properties
Configuring the Series 9000 Photoeye
Configuring the 1734-IV4 Module
Looking at the Parameter Help
Configuring the 1734-OW2
Configuring an 855T Stack Light
Configuring the 1792D-VT0D MaXum Block
Using the Monitor on the Parameters Tab
Configuring a 1794-ADN with 4 modules
Configuring a 1794-ID2 in RSNetWorx for DeviceNet
Configuring a 1794-OE4 in RSNetWorx for DeviceNet
Configuring a 1794-IB16 in RSNetWorx for DeviceNet
Configuring a Bulletin 160 Drive with a DN2 module
Scaled Parameters
Locked Parameters
Configuring the 1756-DNB Module
Configuring the Module Tab of the 1756-DNB
Slave Mode for the 1756-DNB
Foreground to Background Ratio
Configuring the Scanlist
Configuring Shared Inputs for devices
Automapping
Data Definitions in the I/O Table
Manually Mapping (Advanced Mapping)
Summary Tab for the 1794-ADN
Getting a mapping error for the 1794 ADN module
Downloading the Scanlist to the 1756-DNB Scanner
ADR (Auto Device Replacement)
1756-DNB Summary Tab
16
18
19
20
20
22
23
24
24
26
27
29
30
32
34
34
35
35
35
35
36
36
37
39
39
42
42
44
44
45
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
46
46
46
47
48
49
51
52
52
54
55
58
58
Page 2 of 57
3
3
4
5
5
6
7
13
15
16
Click OK to select the new module and follow though the rest of the screens to finish configuring the
module. Once the module has been added you should now see the module in the I/O tree.
Page 3 of 57
To configure a remote 1756-DNB first select the network for the remote rack. Ill show 2 remote
connections a remote ControlNet rack and a remote EtherNet rack.
You should also see that Tags for the module have been created under the Controller Tags.
Page 4 of 57
Then Click Ok. RSNetWorx will then begin to browse the network. RSNetWorx will see all the devices
that are listed under the driver, including the 1784-PCD card.
Once the browse is completed, all the devices on the network, that are communicating properly, will be
shown as an Icon on the network Graph.
Page 5 of 57
As you can see all the devices that were shown in the RSLinx Browse window in the above step are shown
here on the Network Graph view. Here we have an Unrecognized Device as shown by the Icon below.
Youll also get an error message in the message box at the bottom of the window.
To resolve the unrecognized (Unregistered) device, we need to obtain the EDS file for it.
Page 6 of 57
Page 7 of 57
First right click on the Unrecognized Device Icon and choose Register Device.
Page 8 of 57
Page 9 of 57
I have chosen to leave mine blank. Again, it does not effect proper device operation.
Next well be prompted to select the type of default connection (Polled, COS [Change Of State], or
Strobed). By default most drives are polled, so well click on the polled connection checkbox and then
enter the default sizes for the drive. The sizes are 4 receive (input) and 4 transmit (output). These sizes can
vary especially on these and other drives.
But for now, well select the default values.
Click Next to continue on At this point, RSNetWorx should be uploading the parameter information from
the drive and start building the EDS file. If you get an error you may have to check the connection to the
device and start this process over again. If you continue to have communication problems while uploading
you may have larger network trouble. Visit our Knowledge base at http://support.rockwellautomation.com
and look at document G15098. This is our DeviceNet Trouble Shooting Guide. It addresses many
commons communication issues due to cabling problems, as well as, termination and grounding.
Once all the parameters have been uploaded, youll be prompted to select a graphic image, or icon, for the
device, sometimes an appropriate Icon will be selected by default. If this choice is Ok with you, just click
next. Otherwise, click the change icon button and choose from the built in selection of icons or point to a
location that contains the icon file by clicking the browse button.
Here the image of the 160 drive is already selected from the built in database of icons, so well just leave it
alone and click next.
Page 10 of 57
Finally, it will ask you to register the device, go ahead and click next. This step is crucial. RSNetWorx will
add this file to its list of known device types as well as create a registry entry in the Operating system
(Windows 98, NT 4.0, 2000, etc..)
Once you click next here, it may take a few minutes to update RSNetWorxs files as well as update the
registry information.
If you find that you are unable to upload the file, you have to get the EDS file from the vendor of that
product and the Register the file.
Again, go to the EDS Wizard; select Tools from the toolbar, then EDS Wizard
Page 11 of 57
Then Select Register and EDS File from the four available options.
Then select whether you want to register a Single file or a directory of files.
Then either type in the path to the EDS file you want to configure or use the Browse button to browse out
to the folder where the file(s) is (are) stored.
Complete the Wizard by following to the prompts (Next and Finish).
Once you click next here, it may take a few minutes to update RSNetWorxs files as well as update the
registry information.
You may also need to shut down and restart RSNetWorx for the update to fully complete. If the Icon shows
up automatically after the hourglass disappears then you should not have to restart RSNetWorx. Otherwise,
if the unrecognized device Icon remains, close RSNetWorx and restart it. Then, follow the above
procedures again to get back Online. It should be as easy as restarting and clicking the online button or
hitting the F10 function key.
OK! Now we have all the devices registered and we can move on
Page 12 of 57
Now we can upload the devices information from the device the software. If you have an offline file skip
the following section. If you upload now, to your preconfigured file, youll lose all your configuration
information.
Page 13 of 57
Page 14 of 57
After the Network information has been uploaded you may double click on any of the devices to configure
them.
Also Note: The message window at the bottom of the screen will have information about the upload for
each device.
If the device was successfully uploaded then youll see a message like the following messages for each
node.
Page 15 of 57
Missing Devices
If the software cannot find a device it will show and Icon that has a red box with a yellow minus sign.
And the messaged below will be displayed in the message window at the bottom of the window.
Device Mismatches
If you are using an Off-Line file and you get the following error message and Icon, this means that more
than likely the devices firmware is different.
With version 3.21 of RSNetWorx for DeviceNet youll get a device mismatch dialog box.
If the Vendor, Device and Product Types are the same, it is just a revision difference and youll only need to
click the OK button.
Page 16 of 57
If online identity and offline identity information other than Revision is different, then the whole device is
different. It should tell you what is out there and what RSNetWorx was expecting. If this is the case then
you should double check dip switches and consult with the people that created your offline file to verify
what should really be there. Ladder Logic depends on a particular device to be there.
If the mismatch can be resolved by the software then the following message will appear in the message
window.
Page 17 of 57
Page 18 of 57
Note the Lock Icons next to the parameter information. This means this parameter is a READ ONLY
parameter and it cannot be changed. Usually this is a value or an internal state of the device.
Now click the Apply button to save the information to RSNetWorx. If you dont click the Apply button the
default information will be used when it comes time to download to the device. So always make sure you
click the Apply to save the information. Also, the information is automatically applied if you click OK.
Page 19 of 57
Since there are more parameters than the window can show the lower screen capture shows the additional
parameter.
Parameters 5 through 12 are filter values for the inputs the module.
Help for the Off-to-On delays (parameters 5, 7, 9 and11) can be found by right clicking on the parameter
and selecting Parameter Help.
Page 20 of 57
Since I know my input signal will be high for 10ms every time it comes and I want to know when it is on
for 5ms, I can set these parameters for 5 ms. So after 5ms the Input on the IV4 module will be turned on.
To change the value of the parameter, left click in the current value portion of the window and type in the
desired value. Here I selected 5ms.
Configure the rest of the parameters as desired. I have no further changes, so Ill leave the rest of the
parameters at their default values. Ill then click the apply button and Ill get the Query window that asks
if Id like to download to the device. I prefer to download at this time since I know everything I want to
configure is completed for this module.
So Ill click Yes and download the changes the module. Then click Ok to close the device properties Box.
Page 21 of 57
First, fault actions and values should be determined. They have been configured as shown above. Next the
Idle values should be configured. These values will be used if the system is switched out of run mode OR
parameter 11, the Run/Idle Command is used. Normally the module will be set to the Idle setting for
scanner control. If you wish to manually test the outputs, set parameter 11 to RUN. This will allow output
to be toggled from Parameters 1 and 2, the Output values.
Now that the changes are made, click Apply and download.
Page 22 of 57
Page 23 of 57
The Parameters I have chosen to look at are the Connector Fault Status and the Connector Diagnostics.
Since I am only going to be using 8 inputs I have chosen to group them to the first 4 connectors. There are
two input points per connector. I have disabled the Diagnostics for the last four connectors (E through H) so
the block does not indicate an Open condition (OFF Wire). If I leave the Diagnostics enabled, the block
would sense there is nothing connected to those connectors and set the fault bit and Flash the MS (module
status) LED RED the Output LED, too, would flash red. With the Diagnostics disabled for those
connectors, there wont be any false alarm condition generated.
If the connectors to on the MaXum are removed then, in RSNetWorx you can also monitor the parameters
to see if there is an OFF WIRE condition. First, choose whether you want to monitor one or all parameters.
Then, start the monitor by clicking the Start Monitor button.
Then watch the scrolling blue ball as it moves through the parameters. This will display the state of the
parameter, as it is currently help within the device.
Once the parameter information is display you can shut off the monitor by clicking the Stop Monitor
button.
Page 24 of 57
So again, click apply to save the configuration information to the software and download to the module.
Page 25 of 57
Under the Module configuration tab, there will be a list of the modules the ADN module sees connected to
the right if itself.
Here we have three modules connected. They are all being displayed correctly.
We have a 1794-ID2/A, an incremental Encoder, a 1794-OE4/B, and analog output module, a 1794-IB16, a
16 pt 24V DC sink input module and Ill leave the fourth module, a 1794-OB16 and 16 point output
module up to the reader.
Page 26 of 57
Here is the channel 0 tab configuration. I have enabled the Rollover and Count Enable bits. I have also
configured the preset to be 1000. Since I want channel 1 to be the same Ill repeat these settings there.
Page 27 of 57
Page 28 of 57
Otherwise, if I had chosen Set for I/O Only, then I would be able to configure the module through
RSNetWorx. Use the Pulldown to configure the input signal type.
Page 29 of 57
Page 30 of 57
These are the values for the 1794-ADN flex I/O adapter.
Again, Ill leave the 1794-OB16 Module as an Exercise for the user.
Page 31 of 57
Page 32 of 57
Once the 160 shows up in RSLinx and RSNetWorx, open the properties up for the drive and go to the
properties for that drive.
There are several parameters that are very important to note for operation on DeviceNet.
First is parameter 46. This parameter MUST be set to Network Control.
Next is parameter 59. This parameter MUST be set to Internal Frequency
Next are the data Assemblies that are to be used
Youll want to consult the manual again at this point in Appendix B, pages 24 to 28. These assemblies will
determine what data will be sent back to the 1756-DNB and processor from the drive.
Here I have used Input assembly 71. This corresponds to:
Page 33 of 57
To make the Drive operate, in the output assembly I have to set bit 5 for the Net Reference (for the Speed
Reference) and bit 6 for the Net Control (Network Control).
Then once these bits are set I can set bits 0 or 1 for run forward or reverse, respectively.
Some of the parameters have a symbol next to them that looks like a scale.
This means the parameter is
being displayed as a scaled value rather than its raw data form.
So when we look at parameter 1 the output frequency, we see the value as a scaled frequency value instead
of the raw data coming back from the drive. Youll also notice that this parameter is a READ ONLY
parameter. This is known from the Lock symbol.
Page 34 of 57
Two Parameters that may be of interest are the Slave Mode button. By enabling this feature data from this
scanner (set up as a Slave device) can be sent to another Master Scanner Module. This is useful for nonCritical data transfers between two or more processors over DeviceNet.
The other parameter is the Foreground to Background Poll Ratio. This parameter is useful if:
1. You have very slow devices on the network that do not update their data often.
2. You do not require data from a particular device as often as the other devices.
3. Or, if the device has many bytes of data to transfer and bandwidth usage is an issue.
Page 35 of 57
To add all the devices to the scanlist at one time use the Double Arrow
pointing to the scanlist window,
otherwise use the single arrow to add just one device at a time. If you choose to add them all, they will be
automatically added to the scanlist in node order and the data will be as compacted into the I/O tables as
possible.
Sometimes, as shown in the pictures data can be split in, not so friendly ways as shown by the bulletin
160 drive mapping. The words have been split and the speed reference has been split.
Note: If you right click on an Icon in the Available Devices window you can choose to share the Inputs for
that device (Or in the white background for all the devices). This means that you can monitor the inputs of
that device in another scanner on the same Network. It is like a listen only mode.
Then when you go to the second scanners Scanlist and choose Shared Inputs, youll get the following Icon
For more information on configuring Shared Inputs, refer to knowledgebase Document ID G17769.
http://domino.automation.rockwell.com/applications/kb/RAKB.nsf/$$Search?OpenForm&Seq=1
Page 36 of 57
You can leave this mapped this way and correct it in the logic, but that can increase the scan time of the
processor or you can Unmap
they are mapped.
the devices you want to and change the locations and ways
To Unmap go back to the scanlist and click the device to Unmap then click the single arrow
pointing
back to the available devices.
Here Im going to move everything around because I have particular requirements for certain devices. So
Ill click the double arrow
Page 37 of 57
In addition to this information, if we select one of those input values, its position can be seen in the data
table below. Not all devices have this additional functionality within the software. The devices that do will
have the plus + sign next to the module name.
We can see then that the 2nd input point of the module will be available at address:
<slot number>:I.Data[17] here, 1:I.Data[17] since the 1756-DNB Module is in slot one of the
ControlLogix Processor rack.
Next, Ill map the 1734-OW2 module.
But I want to manually map this module to the next available word.
So by default, the 1734-OW2 module will be mapped to the second byte of Dword 0
on the output tab and Ill get a window with the location of
Page 38 of 57
Ill need to change some of these values. Since I dont need to make any changes to the Map From location,
Ill make only changes to the Map To location.
First Ill need to change the Bit from 8 to 30.
Also, since only 2 bits are being used for this module Ill change the bit length to 2 also.
Page 39 of 57
I mapped the 160 drives output data in the same word location to make it easier to keep track of. I could
have easily mapped it the next available word, (1:O.Data[1]) but this can make for difficult troubleshooting
later on.
Next Ill map the 1794-ADN Flex adapter.
We have already configured the individual Flex modules previously, so the only thing left to do is add the
1794-ADN module to the scanlist.
Page 40 of 57
What this means is the 1794-ADN is mapped to a master scanner module, here the 1756-DNB module.
First we have to Unmap the module and download to the 1756-DNB module to make the changes to the
1794-ADN. Once the module has been removed from the scanlist, the changed can be downloaded to the
1794-ADN module. Once the changes have been made, the module can be added back into the scanlist.
Page 41 of 57
Output table
Page 42 of 57
There thats done. The entire DeviceNet Network has been configured using RSNetWorx for DeviceNet.
There are a couple of more Tabs for the Scanner Module. I wont go into great detail here.
There is the ADR tab. By selecting this tab you can set up the Auto Device Replacement feature.
Page 43 of 57
If the Active column said yes then the scanner would be in slave mode. Under normal operation the
scanner should not be in slave mode.
Page 44 of 57
Page 45 of 57
Page 46 of 57
You can see that the command word is the In the Local Output, under the Command Register in the
ControlLogix Processor data table.
Page 47 of 57
Here, the bit is used with an Unlatch command for safety reasons. I want the module to be put in Idle mode
under certain circumstances. Youre application may vary.
Now that weve set the run bit for the scanner take a look at the LED display on the front of the 1756-DNB
Module. You should now see the scanners node address as a solid display (by default the display is A00
since the module is set to node 00).
If you dont have A00 and RUN flashing (or alternate node address) youll have a flashing error code and
node address of the node having a problem instead.
Page 48 of 57
A few of the Common error codes are listed here for convenience. There are many error codes that can be
displayed. Refer to publication 1756-IN5668B-EN-P for a list of those error codes
77 means there is a size mismatch and most likely the module is configured improperly. Go back and
check the module in question, also verify the scanlist entry.
78 or 72 means the module in question is not communicating properly. A 72 means the connection is very
intermittent and a 78 means the module is not responding at all. Usually faulty wiring or power are the
causes of these errors.
Bus Off condition.
This can mean several things:
1. There is a short between one or both of the CAN lines (Blue or White) to either Ground (Shield or
Black) or to 24v (Red). (Verify wiring with an ohmmeter or the 1788-MCHKR media checker).
2. It could mean there are devices on the network with the incorrect baud rate. Removed devices and cycle
power after each device is removed. Check the 1756-DNBs baud rate refer the knowledge base and
download the troubleshooting guide (document ID number G15098).
3. It could mean that there is a large amount of noise on your network. This could be due to High Voltage
power cables being too close. Improper or lack of termination. Improper grounding (again refer
Knowledge base document ID G15098 or to the DeviceNet Media installation guide, publication DN-6.7.2.
No Network Power (24V). Verify cabling or use an isolated, regulated, power supply rated for DeviceNet
usage.
Once all the error codes have been resolved we can control the outputs and monitor the slave modules.
Im not going to go into writing ladder logic here, but rather I will show the bits that should be used to set
outputs, set the reference speed on the bulletin 160 drive and start it running, how to see the status of the
Photoeye.
Back in the scan list we mapped all the devices on our network. Each device now has its place in the
processors data tables.
Page 49 of 57
Then the New tag will be added to the List of available tags
Page 50 of 57
The StackLight is mapped to the low byte of output Dword 0. I have created a single tag for the
StackLight. This will help me conserve some memory in my L1 processor. But in doing this, I am forced to
use ladder. Ill need to add a rung of ladder to move or copy the data from the Local Data array to the
StackLight data array.
Since the StackLight has 5 lights attached to the base the first 1 bit of that byte will turn on lights
Ill set bits 0, 2 and 4 so that every other light is on.
Heres how it looks in the data table
Here I have, again, used Alias tags to clearly identify the 1734- OW2 Outputs.
Well set both relay outputs to 1.
Now well turn on the drive and set the reference speed.
First I have added four tags, each 1 INT long to accept the command word, speed Reference of the Drive
for the output and the Command status and Speed reference status. Ill leave creating the ladder as an
exercise for the user to get the data to and from the Local:1.Data array to the Tags created here.
Page 51 of 57
Ill need to set a reference speed Ill just pick a random value to make the drive run.
So Ill set the register speed reference word to 345. This should give a decent visual speed.
Next Ill set the Net Reference and Net Control bits, bits 5 and 6. Without these bits set using these
instances the drive will not function.
Lastly Ill set the run forward bit, bit 0. Once I set the run forward bit the drive begins to run forward.
You can see the status of the drive in the tags I have created for the command and speed reference data
coming back from the drive. Ill leave the Flex module as an exercise.
Well look at the bulletin 160 drive status first.
Looking now at the command and speed reference status tags in the Controller tags:
Page 52 of 57
Well see the Running Forward bit, bit 2 of the first word, is set to 1, As well as bits 5 and 6 set, Reference
from Net and Control from Net.
After some time well see the At Reference Bit set, Bit 7 of word one
In the second word well see the speed of the drive. If, At Reference (bit 7) is set, then the reference speed
will match the set control speed. Well look at the drive at reference.
Next well look at is the Input from the Photoeye. The other inputs, Ill leave as an exercise.
Well see our Aliased tag we crated toggle from 1 to 0 and back again as the Photoeye is triggered.
ON:
OFF:
Page 53 of 57
We are using the following data from the 1794-ADN configuration when we set up the modules in the
modules configuration tab.
Page 54 of 57
Since we are not using all the data for the 1794-OE4, we will create tags to correspond to the data table
below.
Ill leave creating the tags and setting the delay time for the 1794-IB4 module as an Exercise.
Ill also leave creating tags and monitoring the 1794-ID2 module as an exercise.
Page 55 of 57
Page 56 of 57
Description of this table can be found either in the Help In RSLogix 5000 or in publication 1756-UM515BEN-P.
The Scrolling DeviceAddress and ScrollingDeviceStatus tags are a reflection of what is displayed on the
LED display on the 1756-DNB Module.
The Device Failure table has one bit for each node in order. I.e. Bit 0 of word 216 is for node 0, bit 1 of 216
is for node 1 etc. The table shows if there is any problem with any node. Not communicating, having
trouble communication, returning error responses, etc.
Those are the most used tables, for details on the other tables refer to publication 1756-UM515B-EN-P.
Page 57 of 57