Foxboro Control Software: ® Product Specifications
Foxboro Control Software: ® Product Specifications
Foxboro Control Software: ® Product Specifications
Product Specifications
PSS 21S-10B9 B3
Foxboro® Control Software Scripting with Direct Access
Internal Loop
Command File(s) Operations Create
Update Modify
Operations Delete
Rename
XML
XML Parser Single DirectAccess
Command File Import
Command Operations
Deploy
InFusion Operations
Galaxy
Import
Files
Reports Report
SMC Operations
Logfile
Foxboro® Control Software Direct Access is a general purpose scripting and query tool that enables the user
to create, modify, deploy, delete, report, import, and export elements of an I/A Series® system and control
database configuration and ArchestrA Application Objects managed by the Galaxy repository.
Generate a complex set of reports from a single Or execute a script using the Direct Access dialog
script that can be stored box as shown in Figure 1.
This is best explained by example. Consider a query be replaced by the value of the integer being
returning all objects that are: incremented each pass through the set of
statements.
Based on $FCP270
OR Based on $AW70P Again, this is best understood by examining an
OR Based on $ZCP270 example. Consider a group of repeated statements
AND Named like XYZ% (that is, letterbugs that perform the following operations:
beginning with the characters XYZ) Create 100 controllers based on the FCP270
AND NOT assigned to equipment unit template
Equip_Unit_001.
Name the set of Controllers: A10000, A10100,
The filter statements in the Command File would look A10200, …
like this:
For each Controller, create 8 FBMs based on the
<QueryFilter Filter="Filter1" Condition="BasedOn"
FBM201 template
Value="$FCP270"/>
<QueryFilter Filter="Filter1" Condition="BasedOn" Assign the currently created FBM to the currently
Value="$AW70P"/> created controller
<QueryFilter Filter="Filter1" Condition="BasedOn"
For Controller A10000, name that set of FBMs:
Value="$ZCP270"/>
<QueryFilter Filter="Filter1" Condition="NamedLike" Va
A10001, A10002, …
lue="XYZ%"/> For Controller A10100, name that set of FBMs:
<QueryFilter Filter="Filter1" Condition="!AssignedTo" A10101, A10102, …etc.
Value="Equip_Unit_001"/>
For each Controller, create 8 FBMs based on the
Notice the use of the keyword NamedLike in the
FBM204 template
Filter construction.
Assign the currently created FBM to the currently
created controller
PSS 21S-10B9 B3
Page 5
The query statements to accomplish the above is The SetVar command allows you to specify a
constructed below. variable and associated value to be used for
<PerformOperation Repeat="100" Start="100" Pattern="ZZZ">
string substitution in any command. You can use
<CreateController Template="$FCP270"
the variable in subsequent commands by
Controller="AZZZ00"/> bracketing its name with a set of percent signs
<PerformOperation Repeat="8" Start="1" (%). Whenever such a string is encountered on
RememberStart="Yes" Pattern="#"> any command, the value of the variable will be
<CreateFBM Template="$FBM201" FBM="AZZZ0#" used to replace the variable name, resulting in
Controller="AZZZ00"/>
string substitution.
</PerformOperation>
The CommandFile command specifies a
<PerformOperation Repeat="8" Start="11"
RememberStart="Yes" Pattern="??"> command file from which one or more additional
<CreateFBM Template="$FBM204" FBM="AZZZ??" commands are to be executed.
Controller="AZZZ00"/>
The BackupGalaxy command allows you to back
</PerformOperation>
up the current Galaxy.
</PerformOperation>
The BulkCompile command allows you to bulk
Notice the pattern used for the creating the set of
compile one or more control strategy templates
FBM270's is ZZZ and the initial value for ZZZ is 100;
or instances.
the pattern used for creating the set of FBM201's is
ZZZ# and initial value of # is 1 while the pattern for The LogMessage command inserts an
creating the set of FBM204's is ZZZ?? and the initial informational log message into the ArchestrA
value of ?? is 11. The names of both of the FBMs are logger, viewable from the ArchestrA System
created from the pattern governing the outer loop of Management Console (SMC).
the Controller which is ZZZ and the pattern governing
The Reset command allows you to reset, or
the inner loop of their specific FBM which is # for
change, the most recently referenced object.
FBM type 201 and ?? for FBM type 204.
Many operations allow you to rely on the most
recently referenced object, so that you do not
need to re-enter it each time it's referenced.
However, the Reset operation allows those most
recently referenced objects to be changed, or
nulled out.
PSS 21S-10B9 B3
Page 6
H A R DWAR E A N D S O F T WA R E RE Q U I RE M E N T S
Foxboro Control Software (FCS) Scripting with Direct For more information on the Foxboro Control
Access is a component of the FCS Configuration Software Configuration Tools, refer to the Product
Tools. Specification Sheet Foxboro Control Software
For detailed instructions on how to use Scripting with Configuration Tools (PSS 21S-10B3-B3).
Direct Access, refer to the user document Foxboro
Control Software Scripting with Direct Access
(B0750BM).
PSS 21S-10B9 B3
Page 7
PSS 21S-10B9 B3
Page 8
Invensys Operations Management Invensys, Foxboro, I/A Series, InFusion, and the Invensys
5601 Granite Parkway Suite 1000 logo are trademarks of Invensys plc, its subsidiaries, and
Plano, TX 75024 affiliates.
United States of America All other brands and product names may be the
http://iom.invensys.com trademarks of their respective owners.