Organize Tags For Produced Or Consumed Data - Rockwell Automation Allen-Bradley ControlNet 1734-ACNR User Manual

For logix5000 control systems
Table of Contents

Advertisement

Organize Tags for Produced
or Consumed Data
Guideline
Create the tags at the controller
scope.
Produce and consume specific
tags.
Use one of these data types:
• DINT
• REAL
• array of DINTs or REALs
• user-defined
Limit the size of the tag to ≤ 480
bytes.
To share tags with a PLC-5C
controller, use a user-defined
data type.
Use the highest permissible RPI
for your application.
This table describes the guideline to follow as you organize your tags for
produced or consumed data (shared data).
Table 5.2 Guidelines for Produced or Consumed Data Tags
Details
You can only produce and consume controller-scoped tags.
You cannot produce or consume the following tag types:
• Alias
• Axis type
• BOOL
• Consumed
• I/O
• INT
• Message
• To share other data types, create a user-defined data type that contains the required data.
• Use the same data type for the produced tag and corresponding consumed tag or tags.
If you must transfer more than 480 bytes, create logic to transfer the data in smaller packets or create
multiple produce/consume tags.
To
This
produce
integers, BOOLs or
combinations of
both
only one REAL value Use the REAL data type.
more than one REAL
value
consume
integers
If the controller consumes the tag over a ControlNet network, use a binary multiple of the ControlNet
network update time (NUT). For example, if the NUT is 5 ms, use an RPI of 5, 10, 20, 40 ms.
Produce and Consume Tags (Interlock Controllers)
Then
Create a user-defined data type that contains an array of INTs
with an even number of elements, such as INT[2].
Create a user-defined data type that contains an array of REALs.
Create a user-defined data type that contains the following
members:
Data type
DINT
INT[x], where x is the output
size of the data from the PLC-5C
controller. (If you are consuming
only one INT, omit x.)
Publication CNET-UM001C-EN-P - November 2005
5-5
Description
Status
BIT 0 = 0 PLC5 in PROG mode
= 1 PLC5 in RUN mode
Data produced by a PLC-5C
controller

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents