For this application we only need two groups. One for monitoring data and the other for data that is set in our application and sent to the DeltaV system. The way the data is divided into groups is up to the discretion of the programmer. There are a few settings that are changed at the group level. They are:
Name - Name of the group. The name must be a unique group name, with respect to the naming of other groups created by this client.
UpdateRate - The rate, in milliseconds, at which group data is updated with the values in the DeltaV system.
Deadband - The amount that the data must change before it is reported as changed. The amount is given as a percentage of the engineering units of the individual data values. In other words, if the PercentDeadband is 5% then a data value that ranges from 0 to 200 GPM must change at least 10 GPM before it is reported.
TimeBias - A Time Zone offset in minutes.
LocaleID - Identifies a locale for national language support. The LCID for US-English is 409 hexadecimal.
ClientHandle - This value is any unsigned 32-bit integer. The DeltaV OPC Data Access Server will provide this handle when returning data in an asynchronous connection. This allows the client application to identify the group to which the data belongs.
IsActive - Controls the active state of the group. A group that is active acquires data. An inactive group typically does not continue data acquisition except as required for read/writes.
IsSubscribed - Controls asynchronous notifications to the group. A group that is subscribed receives data changes from the server.
The client application can change the active state of a group at any time. If the active state of the group is false, the DeltaV OPC Data Access Server will not keep the values of its items up to date. The client application will not be notified of changes. Read requests to cache will return successfully however, the data values will be stale and the quality statuses will be "bad" (for a detailed description of statuses, refer to Appendix B). Read requests to "device" are sent directly to the DeltaV controller and always return the current values if no errors are encountered.