Contents
Cirrus Link Resources
Cirrus Link Website
Contact Us (Sales/Support)
Inductive Resources
Ignition User Manual
Knowledge Base Articles
Inductive University
Forum
...
Click here for Using the Opto 22 SNAP PAC Driver Module tips.
The Opto 22 SNAP PAC Driver module is designed to scan either:
For best performance, we strongly recommend you use the stPublicListOfStrategyTags table to get tags.
can scan specific tags. This method offers the best performance but requires setup in PAC Control.
To scan all tags, see Opto 22 SNAP PAC Driver Module Configuration.
...
...
In the Strategy tree window, right-click the String Tables folder, and then click Add. The Add Variable dialog box opens. Complete the fields.
Name: Enter the table name: stPublicListOfStrategyTags. The name is case-sensitive.
Description: Optional.
Type: Leave the default (String Table).
Initialization: Select Persistent
Initial Value: Leave the default (blank).
Table Length: Enter a number equal to or greater than the number of tags to import. For example, to import 10 floats and 6 tables, enter a Table Length of 16 or more. (A table variable counts as one tag, despite the number of elements it has.) Note: Ignition Edge has a limit of 500 tags. Ignition Enterprise does not limit the number of tags you can use
String Width: Enter a value of 100.
...
In the OptoScript block, you reference PAC Control tags using a pre-defined naming standard that consists of the tagístag's:
...
Anchor | ||||
---|---|---|---|---|
|
TIP: If you canít can't find a tag, check the following:
* The strategy is running in PAC Control.
* You correctly entered the tag name in the stPublicListOfStrategyTags table.
* After making changes to the table, you restarted the Driver module in Ignition and waited for its status to change to Connected.
For more information, see the Ignition Logs.
...
If the Driver module canít find the stPublicListOfStrategyTags table in the strategy, it automatically retrieves the strategyís inventory of all driver-supported tags in their native format. This means that PAC Control's object inventory will not match Ignitionís object inventory. (For example, a 32-bit integer in PAC Control may be used as a number, a bitmask, and a zero/non-zero Boolean value.) For performance reasons, we strongly discourage scanning all tagsGateway’s Logs (Status tab > Diagnostics > Logs).