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.
22-2
SCADA 3000 User’s Manual
Summary of Contents for Sensaphone SCADA 3000
Page 1: ...Sensaphone SCADA 3000 User s Manual Version 2 34...
Page 6: ...vi SCADA 3000 User s Manual...
Page 10: ...x SCADA 3000 User s Manual...
Page 30: ...1 6 SCADA 3000 User s Manual...
Page 48: ...4 6 SCADA 3000 User s Manual...
Page 70: ...9 8 SCADA 3000 User s Manual...
Page 122: ...12 8 SCADA 3000 User s Manual...
Page 190: ...15 30 SCADA 3000 User s Manual...
Page 211: ...lead 1 lag 0 else lead 0 lag 1 16 21 Chapter 16 Programming in C...
Page 212: ...16 22 SCADA 3000 User s Manual...
Page 236: ...21 8 SCADA 3000 User s Manual...
Page 248: ...22 12 SCADA 3000 User s Manual...
Page 258: ...23 10 SCADA 3000 User s Manual...
Page 274: ...25 8 SCADA 3000 User s Manual...
Page 288: ...27 8 SCADA 3000 User s Manual...
Page 294: ...28 6 SCADA 3000 User s Manual...
Page 296: ...A 2 SCADA 3000 User s Manual...
Page 302: ...D 2 SCADA 3000 User s Manual...
Page 318: ...I 2 SCADA 3000 User s Manual...
Page 320: ...J 2 SCADA 3000 User s Manual...
Page 322: ...K 2 SCADA 3000 User s Manual...
Page 335: ...Test Log...
Page 336: ......