Você está na página 1de 22

RSLogix 5000

DeviceNet
Tag Generator

(Confidential – For Internal Use Only)

Copyright © 2007 Rockwell Automation, Inc. All rights reserved.

1
Tag
Generator
Tool
Customer Needs

Programming Software Controller DeviceNet Configuration


for Controller Scanner Software for
DeviceNet
Logix5000 17xx-DNB

RSLogix
5000 DNB Config I/O Data Devices Config RSNetWorx

Launch w/context
• Today, customers use two software packages to use DeviceNet products in Logix
– RSLogix 5000 configures the Logix5000 to communicate to the DNB (DeviceNet scanner) module
and sets up the controller’s memory to receive data from the module
– RSNetWorx for DeviceNet configures the scan list in the DNB and maps the devices into a data
array
• Why customers dislike this approach
– Sticky notes required to remember where devices map into the DeviceNet data array
– Device’ manuals required to understand DeviceNet data array data meaning
• Approach is similar to that used by other fieldbus networks, not just DeviceNet!

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 2
Tag
Generator
Tool
Solution

RSLogix 5000 Tag Generator RSNetWorx


Tags, UDT, + Logic Device details
(v12 & >) Tool (v7.00)

EDS
Files
• Customer uses RSLogix 5000 to configure DeviceNet scanners, same as today
• Customer uses RSNetWorx to configure scanlist and download to DeviceNet scanner, same as
today
• Customer launches Tag Generator Tool to retrieve and select DeviceNet scanners configured in
RSLogix 5000 *.ACD project and in the RSNetWorx *.dnt project file
• Tag Generator Tool retrieves device details from RSNetWorx (details included in completed
Electronic Data Sheet files)
• Tool defines structures, tags, User Defined Datatype (UDT) and logic and creates them in the
RSLogix 5000 ACD project using the built-in automation interface

New or updated

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 3
Tag
Generator
Tool
User Work Flow – RSLogix 5000

• Create RSLogix 5000


project file (*.ACD)
• Add DeviceNet
scanner(s) in the I/O
tree
• Assign RSNetWorx for
DeviceNet project file
(*.dnt) to each scanner
(optional operation)
• Same as today!

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 4
Tag
Generator
Tool
User Work Flow - RSNetWorx

• Create *.dnt file


• Add DeviceNet scanner(s)
to network
• Add devices, configure
them, and map them into
the scanner
• Download scanlist to
scanner
• Same as today!

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 5
Tag
Generator
Tool
Tag Generator Tool – Step 1

• Launch tool
• Select *.ACD file
• Go to Step 2

Tool’s icon on
RSLogix 5000
Custom toolbar

RSLogix 5000 default


project directory view

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 6
Tag
Generator
Tool
Tag Generator Tool – Step 2

• Tool displays all the


Selected ACD
scanners configured file name
in the RSLogix 5000
*.ACD file
• User selects one
• Go to Step 3

Scanner(s) configured in
the selected ACD file

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 7
Tag
Generator
Tool
Tag Generator Tool – Step 3

• User selects
Selected scanner and
RSNetWorx for ACD file names
DeviceNet *.dnt file
• Go to Step 4

*.dnt file associated


w/scanner in selected
ACD file (Step 2)

Display all *.dnt files

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 8
Tag
Generator
Tool
Tag Generator Tool – Step 4

• Tool displays all the


DeviceNet scanners
configured in the project
*.dnt file
• User selects scanner
• Go to Step 5

Scanner with node #


matching what user
selected in Step 2

Display all scanners


configured in dnt file

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 9
Tag
Generator
Tool
Tag Generator Tool – Step 5

• User clicks Generate


Tags button
Information
• Tags, UDT, and logic summary
are created and
automatically written in
the selected *.ACD file
• Done!

Results window

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 10
Tag
Generator
Tool
Final Result

• RSLogix 5000 project file now


contains Programs copying data
– A UDT for each device type to/from DeviceNet data
– Tags for each device array tags
– One program that copies data
from DeviceNet Input data
array tags to each device’s
tag
– One program that copies data
from each device’s tag to
DNB Output data array tags

Device Tags

Device UDTs

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 11
Tag
Generator
Tool
Auto-Generated Tags

Device’s description
DNB data array tags

Device’s UDT

Structured tags, addressing


“What is in the data?”

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 12
Tag
Generator
Tool
Auto-Generated Logic

Program copying data


from DNB data array tags
to device tags
Logic, addressing
Program copying data “Where is the data?”
from device tags to DNB
data array tags

Device UDT
(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 13
Tag
Generator
Tool
Device Data Representation (Example)

Scanner DINT Array Device Detailed data type(*) Device SINT Array
All devices RA and Licensed only Third party
Local:2:I.Data [0] MyDNB_N03_COS_I.SensorMargin MyDNB_N05_COS_I.Data [n]

Local:2:I.Data [1] MyDNB_N05_COS_O.Data [n]
MyDNB_N03_COS_O.SensorActive
Local:2:I.Data [2] …
Local:2:I.Data [3] MyDNB_N06_COS_I.Data [n]
MyDNB_N04_POL_I.DriveReady
… … MyDNB_N05_COS_O.Data [n]

Local:2:O.Data [0] MyDNB_N04_POL_O.DriveStart


MyDNB_Nxx_COS_I.Data [n]

Local:2:O.Data [1] MyDNB_N05_COS_O.Data [n]
Local:2:O.Data [2] MyDNB_Nxx_POL_I..xxxxxx

Local:2:O.Data [3]
MyDNB_Nxx_POL_O.xxxxxxx
… …
Scanner & Device
Status
Scanner & Device Scanner & Device
Status Status

(*) Requires completed EDS

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 14
Tag
Generator
Tool
Summary

• Free-of-charge standalone tool automates steps that some users do


manually today
• Solves the DeviceNet data array tags problem by creating structured
tags and logic
– Logic copies data to/from DeviceNet data array tags to device tags
– Structured tags capability will be licensed to third party vendors
• Manual synchronization required between RSNetWorx file and RSLogix
5000 (off-line only)
– No synch check performed (same as today)
• Independent of RSLogix 5000 release*
• Independent of controller*/scanner type and firmware revision
• Supports DeviceLogix products

* V12 and greater


(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 15
Tag
Generator
Tool
Dependencies

• RSNetWorx for DeviceNet v7.00


• RSLogix 5000 DeviceNet Tag Generator Tool
• RSLogix 5000 (v12 and greater)
• Completed EDS files – I/O assembly section filled out
– Rockwell Automation devices that do not comply will be represented
via non-descriptive SINT (single integer) datatype array tags - still an
improvement over today’s solution
– Completed Rockwell Automation EDS files are included and installed
with RSNetWorx 7.0

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 16
Tag
Generator
List of RA Devices Supporting Detailed Data
Tool Structures (At Release Date)

For complete
list scroll here

Important: EDS files may have been updated only for the latest firmware version of the above listed devices.

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 17
Tag
Generator
How Else Can Find Out Whether a Device
Tool Supports Detailed Tags?

• Expand node information in scanner’s scanlist or…


• …display device’s I/O data
I/O data displays
actual data
descriptions

I/O data displays


actual data
descriptions

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 18
Tag
Generator
Tool
Using the 1769-SDN Scanner

• Make sure to set the scanner’s


“Platform” parameter configuration to
be “CompactLogix”
– Default is MicroLogix
• Incorrect logic is created if the platform
configuration is left as “MicroLogix”
Set to
• Next release of the RSLogix 5000 CompactLogix

DeviceNet Tag Generator will report an


error if a platform type mismatch is
detected

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 19
Tag
Generator
Tool
Licensing

• Descriptive tags capability will be licensed to third party vendors


– Unlicensed devices will be represented via non-descriptive SINT (single integer)
datatype array tags - still an improvement over today’s solution

• Interested third party vendors can contact Frank Watkins, RA Business


Development, Mayfield Heights, OH, USA
– fdwatkins@ra.rockwell.com Tel: +1 (440) 646-5391

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 20
Tag
Generator
In Conclusion the RSLogix 5000 DeviceNet
Tool Tag Generator…
• Solves the following problems:
– DeviceNet data array - Where is the data? What is in the data?

• Provides
– DeviceNet users with enhanced ease of use compared to that of other fieldbus networks
– Preferred integration for Rockwell Automation and licensed products

• Supports:
– All Logix Controllers (v12 and higher) and all DeviceNet scanners

• Is Targeted to:
– Mainly new users, but can also be used by existing users

• Is Available by:
– With RSNetWorx for DeviceNet v7.00 release

(Confidential – For Internal Use Only) Copyright © 2007 Rockwell Automation, Inc. All rights reserved. 21
(Confidential – For Internal Use Only)

Copyright © 2007 Rockwell Automation, Inc. All rights reserved.

22

Você também pode gostar