Vt8300 series user interface guide, Lua settings, Parameter details – Viconics VT8300 Low Voltage User Interface Guide User Manual
Page 9

9
VT8300 Series
User Interface Guide
Viconics Technologies Inc.
|
9245 Langelier Blvd.
|
St.-Leonard
|
Quebec
|
Canada
|
H1P 3K9
|
Tel: (514) 321-5660
|
Fax: (514) 321-4150
028-0427-01
www.viconics.com
|
November 2014
©
2
01
4 V
ic
onic
s T
ec
hno
lo
gi
es
Inc
. A
ll r
ig
ht
s r
ese
rv
ed
.
LUA SETTINGS
The LUA settings screens show information about any custom LUA script uploaded to the controller. LUA scripts are not programmable
on the controllers, and so must be uploaded to the controllers.
1/3 LUA
LUA program’s name:
User program
Program:
if not init then
init=true
delay=0
end
if ME.BV1==1 then
ME.BO98=1
delay=60
The body of the LUA
script is shown here
The title of the LUA script
is shown here
2/3 LUA
Debug log:
Program cmd
Program status
Program error
Run
Running
No error
PARAMETER DETAILS
Configuration Parameters Default Value
Significance and Adjustments
Program cmd
Default value: Run
Run: The LUA script is activated and will run continuously until
deactivated.
Stop: The LUA script is deactivated
Program status
Read only
Running: The LUA script is current active
Halted: The LUA script has been stopped and is not active.
Idle: The LUA script is running but is not currently taking any
actions
Waiting: The LUA script is running and waiting for a response.
Program error
Read only
No error: No errors in the LUA script are detected.
Syntax: A syntax error in the LUA script is detected
Runtime: A runtime error has occurred while running the LUA
script.
Memory: The device has run out of memory for the script