Rockwell Automation FactoryTalk Metrics Line Edition Administrators Guide User Manual
Page 41
4
•
C
ONFIGURING
F
ACTORY
T
ALK
M
ETRICS
LE
37
•
•
•
• •
6. To see the UDT’s tags, select the FTMLE_Workcell tree item.
7. Create the necessary number of instances of the FTMLE_Workcell UDT in the
controller program. In the controller program’s (project name) folder, right-click
Controller Tags and select New Tag.
8. In the New Tag dialog box’s Name field, type the name of the tag (for example,
“Workcell”) and enter an optional description.
9. After the Data Type field, click the browse button
10. In the Select Data Type dialog box, scroll the list of data types to select
FTMLE_Workcell.
11. In the Dim 0 field, change the value to the number of workcells in the controller
program. This will create an array of the same number of instances of the
FTMLE_Workcell UDT.
12. Click OK. The New Tag dialog box reappears.
13. Click OK.
The array of UDT instances now appears
at the bottom of the list of the
project name’s controller tags. The tags are named Workcell[0], Workcell[1], etc.
These instances are sufficient to configure the same number of FactoryTalk Metrics
workcells.
14. It is necessary to change the existing program file to ensure that the data points in the
UDT that you want to use in the FactoryTalk Metrics application contain accurate and
If the controller program contains datapoints for more than one workcell that will be
configured in FactoryTalk Metrics LE, you can create an array of UDTs rather than creating
several instances of the UDT with different names. UDT arrays are supported by the
FactoryTalk Metrics LE Configuration Tool as a convenience. The dimension of the array
should be the same as the number of workcells that are included in the controller program.
The suggested name of the UDT array is "Workcell" because this is the default name that the
FactoryTalk Metrics LE Configuration Tool uses.
FTMLE_Workcell defines the
structure used to collect the
information for a standard
FactoryTalk Metrics workcell
and references the
FTMLE_AnalogEvent
structure.
FTMLE Admin Guide.book Page 37 Friday, August 8, 2008 8:28 AM