RA -Modbus TCP AOI - number of transactions

frandESS

Lifetime Supporting Member
Join Date
Sep 2022
Location
Norway
Posts
14
Dear Forumers

I'm developing an ESS project with Compact Logix L36ERM and using the MBTCP Client AOI from Rockwell.

I'm using 4 AOI blocks for one IP adress/client. FC's used is 1/3/15/16.
When running one instance, no failures occur.

When running more than 1 AOI block enabled i get series of strange socket errors and believe i overload (not wait enough time until next poll) Error is 16#00ff that is a close socket message.

How can timings and waiting time be managed?

Capture.jpg
 
Without a Wireshark trace, I suspect that your Modbus TCP Server device can’t handle multiple TCP connections. As a result you have only one AOI connected.
If you need more than 5 transactions, then you can simply change the Ref_trasactions array size, however this will slow down processing because all transactions processed sequentially and it takes more than one scan to process a transaction. You may need to increase the default poll to 2000 or even higher.
There is another way to manage transactions dynamically:
Once transaction is done, you disable it, put new addresses and FNs and then enable it again.
 
I also see that first and second AIOs are sharing the same Modbus Data array. Is this intentional?
Is there a chance that you did not use Rung Import process for all AOIs, and used Copy/Paste?
Can you post ACD? Or can you export these 4 rungs and post these here?
 
Dear Contr_Conn,

Thank you so much for your response.

You mention something that made me think, added a few more IP addresses in the slave device, same IP adresse since Slave can have up to 6 masters. (Its a ABB RTU540)

That solved it all, and also thank you big time for seeing my experimental mistake of dropping wrong tag on the data output.

I always import this AOI's

Anyways as you see, its kind of messy in writing FC15, i have to take them one by one instead of using a range - really dont know why its like that (checked in RTU and signals is declared as FC15) - taking them single is although working fine.

FC1 and FC3 is fine reading in bulk series.

3 screendumps attached


Again - big thanks

Capture.jpg 1.jpg 2.PNG
 
Last edited:

Similar Topics

I have a PH meter that I am trying to bring its data into 1756-L81. I have downloaded the Rockwell MODBUS AOI kit, but I am not sure if I need to...
Replies
5
Views
176
Hello, I am trying the AOI provided by Rockwell to read Modbus TCP, the version is 2.04 The connection looks good to the modbus server. I...
Replies
4
Views
657
So I am working on a project and I am having problems trying to get this all to work. I had it working but lately I have been getting a fault on...
Replies
13
Views
4,862
Good Afternoon , I have a project coming up for a labeler and a CompactLogix PLC . The communication for this labeler is Modbus / TCP ...
Replies
1
Views
2,381
Hi all, I've been trying to get Modbus TCP to communicate (read only) with the Modbus TCP AOI that Rockwell provides, but I'm having issues and...
Replies
2
Views
2,161
Back
Top Bottom