Sensaphone SCADA 3000 Users manual User Manual
Page 234
22-2
SCADA 3000 User’s Manual
This will place the Distributed Control management screen (shown below) on the palette.
Figure 2: Distributed Control management screen
To bring up the Distributed Control program editor, click once on the management screen so
that it is highlighted, then locate the EditScript item on the Property Editor (shown below).
Figure 3: Distributed Control property editor
Now double-click on the filename of the Script program, which should be the word Empty ini-
tially. This will open the script editor window as shown below:
Figure 4: Script Editor window
Use this screen to write and edit your Distributed Control programs. You do not have to be
on-line with the SCADA 3000 to write a program. The buttons on the screen are, from left to
right: Load, Save, SyntaxCheck, Help, and Close. The first step in creating a Distributed Control
Program is to load the template program (template.vbs). This program includes some pre- and
post-program instructions, which are required for your program to run properly. To load the
template program, click the Load button, then go to the following folder and select the template.
vbs program: C:\Program Files>SCADA 3000>Samples>Scripts>template.vbs. Click on template.
vbs and click OK. The template program should appear in the window. The program you will
write must be entered between the comments labeled “Begin User Program” and “End User
Program.” Do not change or delete any of the instructions that appear before or after the User
Program area.