While both the Devices module and TagProvider connections enable data exchange with remote systems, they have different focuses and complement each other.
There are features in the Devices module that can't be accomplished using TagProviders, and features from TagProviders that could be emulated with the Devices module.
This section details what these interfaces have in common, where they differ, and provides guidance on how to select what best fits your requirements, keeping in mind that both can be used in the same solution.
On this page:
Before we explore the differences, let's start with what they have in common.
In both cases, we establish a connection with a remote system, and the configuration settings for those connection is essentially the same.
At Devices, you create a Channel a Protocol, configure the ProtocolOptions, then create a Node to configure the PrimaryStation.
At TagProviders, you select a Protocol, and the configuration of ProtocolOptions and PrimaryStation is on the same dialog.
Despite the fact the TagProvider combines the configuration of Channel and Node, the fields for ProtocolOptions and PrimaryStation are the same, which is the reason why the documentation of the protocol is the same in both cases.
Using Devices, the AccessType can customize the read and write cycles and events, and you can use multiple AccessTypes on the same Node.
Using TagProviders, there is the ReadCycle and the WriteCycle, which applies to all communication on that TagProvider Connection.
Finally, on Devices, you create Points and maps to Tags. When working with TagProviders, that steps is not necessary, as you can access directly the address within the connected system.
In summary:
• Devices Module: Maps locally created Tags with address on the connected devices, offering detailed control over read/write events and diagnostics for each address.
• TagProvider: Establishes dynamic communication with remote sources, enabling direct browsing or writing on the remote data definition without using local tags.
Best Usage for Devices Module:
Best Usage for TagProviders:
In some solutions, it is quite possible that some of the data is better suited for use with the Devices module, while other data in the solution is better acquired using TagProvider.