Hi Experts,
I have KepServerEX v.5 and PCO 2.3, both on same server. I can connect successfully and read an OPC tag into MII via PCO.
HOWEVER: I am experiencing the following behavior:
- The first request for a tag fails after ~15 seconds. Error message is meaningless.
- Subsequent requests (of any tag) succeed… until I stop making requests for 60 seconds, then they succeed again after the initial time-out.
- ODD PART: If I open an OPC Test Client on on the OPC / PCO server and configure a tag (and don’t even poll it) then my issue above disappear
I see a KepWare configuration setting set to close connections/sessions if no activity for 60 seconds. (I can change the duration but not disable it.)
What I expect is happening is that the first PCO request creates the session (this takes a several seconds, even with the OPC Test Client). Subsequent PCO requests within 60 seconds use the same connection/session.
What I seek is that the PCO agent starts, it opens the session and keeps it open, like the OPC Test Client does. I don't see any obvious settings in PCO to configure it this way. Any advice or direction?
Regards,
Dave