Determine whether to cache message connections, Calculate connection use – Rockwell Automation 1756-L6x_L7x ControlLogix System User Manual User Manual

Page 122

Advertising
background image

122

Rockwell Automation Publication 1756-UM001O-EN-P - October 2014

Chapter 7

Manage Controller Communication

the backplane or a network. The size of the instruction depends on the data types
and message command that you program.

Messages use connection resources to send or receive data. Messages can leave the
connection open (cache) or closed when the message is done transmitting.

Each message uses one connection out of the controller, regardless of how many
devices are in the message path. To conserve connections, configure one message
to read from or write to multiple devices.

For more information about using messages, see these publications:

Logix5000 Controllers Messages, publication

1756-PM012

Logix5000 Controllers General Instructions, publication

1756-RM003

Determine Whether to Cache Message Connections

When you configure a MSG instruction, you can choose whether to cache the
connection.

Use

Table 30

to determine options for caching connections

.

Calculate Connection Use

The total connection requirements of a ControlLogix system include local and
remote connections.

Table 29 - Message Types

Message Type

Communication
Method

Connected Message

Message Can Be
Cached

CIP data table read or write

N/A

Configurable

Yes

PLC-2®, PLC-3®, PLC-5®, or SLC
(all types)

CIP

No

No

CIP with Source ID

No

No

DH+

Yes

Yes

CIP generic

N/A

Optional

(1)

(1) You can connect CIP generic messages. However, for most applications we recommend that you leave CIP generic messages

unconnected.

Yes

(2)

(2) Consider caching only if the target module requires a connection.

Block-transfer read or write

N/A

Yes

Yes

Table 30 - Options for Caching Connections

If the message executes

Then

Repeatedly

Cache the connection.
This keeps the connection open and optimizes execution time. Opening a
connection each time the message executes increases execution time.

Infrequently

Do not cache the connection.
This closes the connection upon completion of the message, which frees up that
connection for other uses.

TIP

Cached connections transfer data faster than uncached connections. The
controller only supports 32 cached messages.

Advertising