Contents
Cirrus Link Resources
Cirrus Link Website
Contact Us (Sales/Support)
Inductive Resources
Ignition User Manual
Knowledge Base Articles
Inductive University
Forum
...
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 tableselements of a table, 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.
...
Code Block | ||
---|---|---|
| ||
stPublicListOfStrategyTags[3] = "/i32.MyIntVariable.rw"; stPublicListOfStrategyTags[4] = " 's.MyStringVariable"; |
Naming standard: <OptoScript data type code>.<PAC Control tag name>[<index number or range>].<bit location>.< writeable attribute>
...
To stop scanning for specific tags and start scanning all tags, you must clear the controller's RAM, and then download and start the strategy.Note that deleting RAMand restart the Driver module. (Otherwise, the stPublicListOfStrategyTags table or changing its name will not remove the table from the controller, because persistent tables stay will remain in the controller's RAM (memory, even if they don't appear in you delete it from the strategy.).
To clear the controller's RAM and restart the strategy:
For details, see OSP: Configuration.
Anchor | ||||
---|---|---|---|---|
|
...