EtherNet/IP - Multiple Service Packet service

Mark Short

Member
Join Date
Sep 2019
Location
Coalville
Posts
6
I am developing software in C++ to communicate with Allen Bradley devices using EtherNet/IP.

To improve performance, I am using the Multiple Service Packet service to encapsulate (i.e. bundle together) many Read Tag services. I restrict the number of services I encapsulate so that neither the request nor the reply exceeds the connection size.

It works OK most of the time, but occasionally I get a Multiple Service Packet replay with General Status = Embedded Service Error, and the last two of the encapsulated Read Tag replies have General Status = Partial Transfer. I interpret this as the ControlLogix device saying that the message it's been asked to generate is too large for its connection size. In this error case, the reply would occupy 4002 bytes, and the connection size is 4002 bytes, so I would expect it to be OK. The ControlLogix seems able to create messages up to 3992 bytes in size.

I measure the reply size by counting (inclusively) from the CIP sequence count to the end of the packet. This is based upon my interpretation of Volume 1 of the CIP Spec, section 3-5.4.1.1, where connection size is defined.

Any suggestions why the ControlLogix device is unhappy generating a message of 4002 bytes?

Mark
 
I wrote a driver for Ethernet/IP for Android and finally I limited the number of tags that can be read in a single request to a fixed number

Also your driver should be able to switch to read the Tags one by one if "Service not supported" is received when using Multiple Service Packet service, since some devices like AB Micro 800 do not support it
 

Similar Topics

I have 5, standalone Fanuc Robotic Cells that all have the same IP address (for standardization and my poor memory). I have a scrap conveyor PLC...
Replies
9
Views
1,838
I'm using the Protos X PX-TCP1 buss couplers with the Productivity 3000. I have no issues with one buss coupler, But I need to add two more. The...
Replies
1
Views
1,669
Hello Experts, I have begun working on a new project and am specifying all the components. I am planning to use the AB compact logix platform and...
Replies
10
Views
5,097
Hi, I'm currently designing a system where i need to control(communicate with) multiple KUKA robots via a SCADA on a PC. I've communicated with...
Replies
6
Views
3,110
I am having a problem with communication Ethernet /Ip. The relay time in transmitting information is roughly 6 seconds From PLC to redlion to...
Replies
2
Views
2,982
Back
Top Bottom