123
*BB
*EE0,2,key2
*EE1,10,evnt10
*EE1,20,evnt20
*BR
SD
WTEvent Demo
*BI
*LAevnt20
cm7,0
WTEvent 20 Occurred
EL
*DT10
CL7
*BI
*LAEvnt10
cm7,0
WTEvent 10 Occurred
EL
*DT5
CL7
*BI
*LAkey2
cm7,0
WTKey 2 Pressed
EL
*DT5
CL7
*BI
This example is the same as the previous one but the set up of the three events is protected.
Timer Event (Firmware 3.4 Onwards)
A new command to create a timer event after a specified number of seconds has been added.
*TEn,
label
generates an
event after
n
seconds has elapsed. It is a one shot event that can be cancelled by specifying a zero delay to the same
label i.e.
*TE0,
label
This example script will switch output1 on and off at 5 second intervals
SD
Set the display in to a known state
*TE5,on
Enable a Timer Event to happen after 5 seconds
*BI
Become Idle
*LBon
OE1
Set output 1 on
*TE5,off
Enable a Timer Event to happen after 5 seconds
*BI
Become Idle
*LBoff
OD1
Set output 1 off
*TE5,on
Enable a Timer Event to happen after 5 seconds
*BI
Become Idle