Check if PLC is active with an interop dll


Thread Starter

Pedro Sousa

Currently, I'm developing an application with the objective to track the values of some tags. For that I'm using RSLinx, connected through the interop dll.

The application is running ok, I can check the value correctly in the precise time stamp, using the datachange handle.

The problem is when I stop the PLC. Because the data is not changed, I can't check if the PLC is active (the handle is not called).

How can I check if a PLC is not active, using the interop dll?