WebRelay-10 Users Manual
Installation and Setup
2.4.11 Script Tab
WebRelay-10 can be used to run simple custom programs written in a language similar to BASIC. This
page is used to load and execute these programs. Before it can be loaded to WebRelay-10, a script
must first be written as a .txt file. The file must then be uploaded to WebRelay-10. The maximum size of
script that can be uploaded to the device is 2K bytes. Information on writing a basic program for
WebRelay-10 can be found in
Appendix G: Basic Scripts
.
Note: An ASCII standard text file format should be used, such as Windows Notepad, Programmer's
Notepad, vi, or other text editor that output the file as a .txt. Rich Text Format (.rtf) used by Microsoft
WordPad is NOT compatible.
BASIC Script
This field displays the .txt file that is uploaded to WebRelay-10. Text displayed in this screen cannot
be edited. In order to edit any script, it must be rewritten in the .txt file and uploaded to the unit
again.
Interpreter Status
This field displays whether the program is continuing to run, has stopped or finished, or if there are
errors contained in the script. If there are errors in the script, the line on which the error occurred is
displayed.
Upload BASIC Script
This field displays the script selected to be uploaded to the device. To upload a script to WebRelay-
10, click the 'Choose File' button, find the .txt file previously written, and select 'Open.' The location
of the file should appear in the neighboring field. To upload the script to the unit, select 'Submit.'
Xytronix Research & Design, Inc.
page 49
Figure 2.4n - Script Tab