Vt8600 series user interface guide, Lua settings, Parameter details – Viconics VT8600 User Interface Guide User Manual
Page 8
VT8600 Series
User Interface Guide
8
Viconics Technologies Inc.
9245 Langelier Blvd. Saint-Leonard, Quebec, Canada, H1P 3K9 I +1 514 321 5660
028-0441-00
www.viconics.com
November 2014
© 2
01
4 V
ic
on
ic
s T
ec
hn
ol
og
ie
s. A
ll r
ig
ht
s r
es
er
ve
d
.
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 ac-
tions
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