The script system in SCAN1000-Scada offers a comprehensive, object orientated
VBA compatible scripting language, fully integrated into the SCAN1000
object structure. Script routines are mostly event driven from the
object to which they are associated. This makes the generation of
specialized script routines very straightforward.
Examples are shown in the following format:
Sub Main
Dim X As Integer
Dim Y As Double
Dim Name$, Age% ' multiple declaration on one line Dim v
End Sub
Creating and Editing Scripts
Scripts can be added to objects such as
buttons, schedules and pages. A script could be executed, for
example, when a page is viewed or when a button is pressed.
Scripts can also be added to the ‘root’ object in the Object tree.
Scripts added to the ‘root’ object can be called from anywhere in the
SCAN1000 configuration.