XPS-Q8
Tcl Manual
3.0
Tcl Script Execution at Boot
A Tcl boot script is a program that starts automatically after the controller boot
sequence. It is defined in the
system.ini
configuration file under the GENERAL section.
[GENERAL]
BootScriptFileName = testarg.tcl
BootScriptArguments = arg1, arg2, arg3, arg4, arg5
BootScriptFileName
is the file name of the Tcl script. This file must be stored in the
..\Admin\Public\Scripts
folder of the XPS controller.
BootScriptArguments
defines the list of arguments of the Tcl script. The separator
between two arguments is the comma.
Example:
A Tcl boot script could for instance contain the initialization and home search of all
motion groups. Once the controller finishes booting, the motion groups will
automatically initialize and home.
EDH0307En1041 — 10/17
15