login about faq

Is there a guideline to go by when messaging? I have over 100 message read instructions. Can I execute them all at once? Should I stagger them? What is the deciding factor to consider?

asked Jul 29 '10 at 17:59

Jeremy%20Sluyters's gravatar image

Jeremy Sluyters ♦♦
419213

edited Oct 29 '10 at 15:38


The program I am working on reads messages from 10 other PLCs. I am currently using the staggering method.

Basically, msg read 1 executes on first scan, when msg read 1 is done or error, unlatch the trigger bit for msg read 1 (previously latched by the PLC first scan bit) and latch the trigger bit for msg read 2. Continue with this process until msg read 100 is done or error and unlatch the trigger for msg read 100 and latch the trigger for msg read 1.

According to Rockwell, the recommended number of message instructions executing at the same time should be 5, so messages should be grouped and sequentially executed so that no more than 5 message intructions are executing.

Other good practices - use produced/consumed tags for data that needs to be there fast (however uses CIP connections in ENBT), and consolidate data so that you are only reading once or twice from each controller.

link

answered Jul 29 '10 at 20:15

Jordan%20Querin's gravatar image

Jordan Querin
462

edited Sep 07 '10 at 01:23

Jeremy%20Sluyters's gravatar image

Jeremy Sluyters ♦♦
419213

To quote Peter Nachtwey's answer:

ENBT 64 TCP/IP and 128 CIP and 5000 packets/sec
EN2T 128 TCP/IP and 256 CIP and 10000 packets/sec
The packets per second seem to be the most limiting specification.

link

answered Jul 30 '10 at 10:01

Scott%20Whitlock's gravatar image

Scott Whitlock ♦♦
635115

These worksheets may help. I think we got the info from Rockwell documentation:

EtherNet/IP TCP/IP Requirements PLC Worksheet

Each EtherNet/IP application should be reviewed for its TCP/IP connection requirements. The following worksheet will assist in determining the number of connections required for each Allen-Bradley PLC within the system.

TCP/IP Connections (for each PLC in the system)

            Quantity

RSLogix connection to the PLC using EtherNet/IP (enter 1 here)

How many RSLinx or 3rd Party OPC/DDE Servers?

How many PAC devices will be accessed via an unconnected MSG instruction?

How many other (Non Opto 22) EtherNet/IP devices?

How many Logix to other EtherNet/IP PLC TCP/IP connections?

How many remote PLCs will connect to this PLC using a TCP/IP connection?

How many Generic Ethernet Modules are defined?

Total Number of TCP/IP connections (sum the “Quantity” column together)

Depending on the specific PLC or EtherNet/IP module, your application could exceed the TCP/IP connection resources. If this should happen for users of ControlLogix, additional EtherNet/IP modules may be used.

Typically, ControlLogix modules may support 64 (1756-ENBT) or 128 (1756-EN2T or 1756-EN2F) TCP/IP connections. CompactLogix typically supports 32 connections.

Please see Allen-Bradley form “enet-um001_-en-p.pdf” for the specific TCP/IP limitations of your PLC.

MicroLogix PLC’s such as the 1100 and 1400 support 8 TCP/IP connections. An SLC-5/05 supports 64 TCP/IP connections. These limits are described in each product’s published specifications.

EtherNet/IP Multicast Requirements PLC Worksheet

Each EtherNet/IP application should be reviewed for its multicast requirements. The following worksheet will assist in determining the number of connections required for each Allen-Bradley PLC within the system.

Multicast Connections (for each PLC in the system):

Quantity           Total

How many “Generic Ethernet Modules,” with status? x 2

How many remaining “Generic Ethernet Modules?”

How many consumed tags to other EtherNet/IP PLC’s?

How many produced tags to other EtherNet/IP PLC’s?

Total Number of Multicast Connections (add ”Total” column together)

This total reflects the total number of CIP connections required for the application. Use the latest version of the “EtherNet/IP Capacity Tool” to accurately determine limits of your application. This is only necessary in applications that have large numbers of I/O especially when PLCS themselves are producing and consuming tags.

Please note that only some of the ControlLogix EtherNet/IP modules support implicit messaging. The modules that support implicit messaging are the 1756-ENBT, 1756-EN2T and the 1756-EN2F EtherNet/IP modules.

link

answered Aug 13 '10 at 17:29

Arun's gravatar image

Arun
1

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×9
×7
×2

Asked: Jul 29 '10 at 17:59

Seen: 1,272 times

Last updated: Oct 29 '10 at 15:38