Join us today!

Notifications
Clear all

ADS client comms - noob questions

3 Posts
2 Users
1 Reactions
512 Views
Posts: 15
Topic starter
(@duncan)
Eminent Member
Joined: 2 years ago

Hi guys,

Couple of noob questions on ADS client.

Should intention be to maintain an open connection for the life of the application (reconnecting as necessary) and then just read / write whenever desired? Or open, read, close each time?
I assume the former...

Does this scale happily? I have 24 PLCs to connect to on my finished line.

Also, my software guy has had a crack at this, and is telling me the connection is timing out after around 6 secs. Is this expected behaviour? Does it require a heartbeat to hold it open?

Any advice, or pointers to info gratefully received!

 

Cheers

Duncan

Reply
Topic Tags
2 Replies
rruiter
Posts: 63
(@rruiter)
Estimable Member
Joined: 2 years ago

I've always kept the connection open, although I connected to a single PLC. I can't recall that I had a lot of issues with connections timing out. Maybe 24 PLCs is an issue or the connection there is spotty?

Reply
Posts: 15
Topic starter
(@duncan)
Eminent Member
Joined: 2 years ago

Thanks Roald!
Will stick with that approach then.
On further investigation, it seems like having TwinCAT running on the same PC is causing the problem, so will check for port or address conflicts and see if I can find anything there...

Cheers

Duncan

Reply
Share: