LEGRAND Raritan PX3TS User Manual page 477

Transfer switch
Table of Contents

Advertisement

Checkbox
Start automatically at
system boot
Restart after termination The script is automatically executed each time after 10
Writing or Loading a Lua Script
You can enter or load up to 4 scripts to the PX3TS.
Tip: If you can no longer enter or load a new script after reaching the upper
limit, you can either delete any existing script or simply modify/replace an
existing script's codes. See
To write or load a Lua script:
1.
Choose Device Settings > Lua Scripts >
2.
Type a name for this script. Its length ranges between 1 to 63 characters.
The name must contain the following characters only.
Alphanumeric characters
Underscore (_)
Minus (-)
Note: Spaces are NOT permitted.
3.
Determine whether and when to automatically execute the loaded script.
Behavior when selected
Whenever the PX3TS reboots, the script is automatically
executed.
seconds since the script execution finishes.
4.
(Optional) Determine the arguments that will be executed by default.
a.
Click
b. Type the key and value.
c.
Repeat the same steps to enter more arguments as needed.
▪ To remove any existing argument, click
Note: The above default arguments will be overridden by new arguments
specified with the "Start with Arguments" command or with any
Lua-script-related event rule. See
(on page 459) or
Start or Stop a Lua Script
5.
In the Source Code section, do one of the following. It is recommended to
leave the Enable Syntax Highlighting checkbox selected unless you do not
need different text colors to identify diverse code syntaxes.
Modifying or Deleting a Script
.
Manually Starting or Stopping a Script
(on page 412).
Chapter 7: Using the Web Interface
(on page 461).
.
adjacent to it.
457

Advertisement

Table of Contents
loading

Table of Contents