Click or drag to resize

IDataRefreshService Interface

Connections created through the IO browser will always try to refresh cached data on model connection or reset. This is essential for PLC protocol implementations, as it ensures that there are no data discrepancies between the PLC and the model.

This causes issues for protocols that don't always need this functionality, such as stateless protocols where data exchanges are processed in isolation. This service allows protocol implementations to have control over this functionality.

Namespace:  Demo3D.PLC.Comms
Assembly:  PLC (in PLC.dll) Version: 17.00.05
Syntax
C#
public interface IDataRefreshService

The IDataRefreshService type exposes the following members.

Properties
  NameDescription
Public propertyRefreshOnConnection
True if the protocol should refresh data on model connection.
Public propertyRefreshOnReset
True if the protocol should refresh data on model reset.
Top
See Also