Scan Group configuration
- Last UpdatedJul 19, 2024
- 2 minute read
Use the Scan Group tab to add scan groups to the OPCClient object.
|
Editor Option |
Associated Attribute |
Description |
Run-Time Access (Supervisory, User, Read-Only, None) |
|---|---|---|---|
|
Scan Group |
ScanGroupList |
A unique name for a scan group (device group) in the OPC communications driver from which you want to receive data. Use the Add (plus sign) button to add a group to the list. Type the group name. To delete a group, select the topic in the list and click the Delete (cross sign) button. |
Read-Only |
|
Update Interval |
ScanGroup.UpdateRateCmd |
The rate, in milliseconds, at which the object will receive updated data values for the scan group. |
Supervisory, User |
|
Scan Mode |
ScanMode |
The scanning mode for the scan group, either ActiveOnDemand, Active, or ActiveAll. For the ActiveOnDemand mode, attributes that are not actively being referenced by any client or object are not scanned. For the Active mode, an attribute is always in the active scanning state. When the last reference to the attribute is unregistered (unadvised) , the attribute is deleted. For ActiveAll, an attribute is always in the active scanning state, but when the last reference to the attribute is unregistered (unadvised), the attribute is not deleted. |
Supervisory, User |
|
Hierarchy Path |
HierarchyPath |
The full hierarchical path to the object that represents the PLC, for example, "Port.ENB_CLX.Backplane." HierarchyPath allows the OPCClient object to replace a legacy DINetwork object such ABCIP, without the need to reconfigure IO references. |
|
|
Attribute |
ScanGroup.ItemList |
A user-defined name for an item reference. This name is also known as the alias. The maximum number of attributes that can be preconfigured is 5000. |
None |
|
Item Reference |
ScanGroup._AliasReference |
The item address in the OPC communications driver. |
None |
|
import button |
<scan group name>.ItemList |
Click to import item data from a .csv file for the selected scan group. A dialog box will appear in which you can specify the file to import. The imported .csv data will be inserted as the associated attributes for the selected scan group. Each attribute and its item reference will be added to the list, as long as there is not already a configured reference with the same attribute name. For duplicate references, you will be prompted to replace the existing reference with the new reference, or ignore the new reference. The import button is unavailable if no scan group is selected or if the associated attributes section is locked from the parent object. |
None |
|
export button |
<scan group name>.ItemList |
Click to export item data to a .csv file. A dialog box will appear in which you can specify the name and location of the file to be exported. The resulting .csv file will contain one row for each attribute item. Each row includes two columns: Attribute Name and Item Reference. You can edit the file using Microsoft Excel or a text editor. The export button is unavailable if no scan group is selected or if there is no existing associated attribute. |
None |
To use the OPC Item Browser to configure attributes for each scan group, click the ellipses button that appears at the far right of the Associated attributes list when you click the Add button (plus sign). For more information about the OPC Item Browser, see Use the OPC Item Browser.