A script that continuously runs while the program is running is one that executes at set intervals(in seconds) during the operation of the Local Server.
If you select the 'File|Script|At Program Running' or
button in the main
menu, Module Editor, or Reporter Editor in Studio, a dialog box will appear that
allows you to add, delete, copy, etc., as shown <Figure 1>.
<Figure 1> Example of a dialog box where you can edit a script that continuously runs while Local Server is running
When you click the
button in <Figure 1>, the Add Script dialog box appears, as shown in <Figure 2>,
where you create a new script by entering the file name and description of the
script you want to add.
<Figure 2> Example of the Add Script dialog box
When you press the
button in <Figure 1>, a dialog box like <Figure 3> is displayed to confirm
whether the script has been deleted or deleted.
If you select Delete Script in the dialog box <Figure 3>, the deleted script file will be archived with only the extension changed to sav.
Scripts saved with the sav extension can be reused by changing the extension to CTLX (or CTL).
<Figure 3> Confirm Script Deletion dialog box
If you click the
button in <Figure 1> or double-click on a script in the list, you will see a
script editor dialog box like <Figure 4>.
<Figure 4> shows how to use the Script Editor and how to edit a script to edit a script that continuously runs while SCADA Server is running.
<Figure 4> Example of a Script Editor of script that continuously runs while Local Server is running.
In the dialog box in <Figure 1>, select the list of scripts to be
copied and press
the
button to copy the same script with the file name Noname1.CTLX.
If Noname1.CTLX exists, the script will be copied with the name Noname2, Noname3, etc.
When you press the
button in <Figure 1> it will end editing the script and run the SCADA Server
with the script view as the start screen.
Related Helps)