AB Msg_Write taking a long time

spif

Member
Join Date
Jun 2021
Location
Ohio
Posts
3
Hi, all! I'm currently working on an AB program using MSG instructions to open a socket and write then read messages via the socket. Everything works fine, except the MSG "WriteSocket" command seems to take well over 10 seconds to complete and it seems to me the message write should be extremely quick.

Before I share code or anything like that, has anyone else experienced the same issue?
 
MSG Write should not take 10 seconds. Not sure how you are measuring it.
MSG Write Socket actually getting DN bit when data is written to the EN2T buffer, not to the peer device.
You can't read and write at the same time.

I would recommend to start with Knowledge base samples and AOIs instead of writing something own.
 
You can't read and write at the same time

I used an example from the Rockwell Database for my program, but your above quote was my problem. I accidentally used the same bit in my program to toggle the read and write message instructions, so they were both running simultaneously. Thanks!
 

Similar Topics

Hello All I'm trying to write a Dint from a Compact Logix 5069-L306ER and a 2080-LC20-20AWB. I was able to get a CIP Data Table Read to function...
Replies
2
Views
1,116
The Ethernet has 3 pieces of PLC5 processors (PLC5-40E), for easy explanations, we name A,B and C. All pings are OK and RSLogix5 can connect all...
Replies
13
Views
4,897
Hi All. I can write an N7 value to a modbus register in an Automation Direct Servo but I can't read a holding register to an N7 address. I've...
Replies
3
Views
1,899
Hello All, I've got a Compactlogix (v30.11) communicating to a SLC 5/04 over ethernet (CL side) through a AN-X2-AB-DHRIO module to DH+ (SLC...
Replies
4
Views
2,327
Got a trouble call from a customer this AM that one of the compressor systems is getting its setpoint overwritten and mode (local/remote)...
Replies
4
Views
2,092
Back
Top Bottom