Using OPC Data Client to monitor a tag
What would be the best method of monitoring a tag in my OPC server using the OPC Data Client?
There are 2 ways you can monitor a bit within the PLC using C# and the OPC Data Client.
- Subscribe to the tag using one of the many available "Subscribe" methods of the EasyDAClient or EasyUAClient objects
- Set up a timer that has a tick event that uses one of the many "Read" methods of the EasyDAClient or EasyUAClient objects