Skip to content
Discussion options

You must be logged in to vote

I had right a closer look to the code I wrote in c++ much time ago linking the same c library. And I apologize, I misremembered! My implementation upon the library did it, but without support of the library because it is maybe UDP communication. Having also a closer look in the library the assertion ("communication closed by remote") is reported simply when closing connection and no reply response is received.
What I used for? 2 mechanism:

  1. I use poll the AdsSyncReadStateReqEx to request the PLC status so getting also the internal behavior let's say: RUNNING MODE, CONFIG MODE, and all others. These function doesn't requires any symbol handling, nor index research and return only 2 ushorts…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by davidemannone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #444 on January 24, 2025 12:07.