As a start condition, either an “!i: Input event“, “!t: Time event“, “!rc: Real time clock event“, “!v: Variable event“, “!d: DMX event” or “!k: Infrared event” can be used at the beginning of the line only.
Unlimited (within reason) variable evaluations can be used between the start condition and the execution. This is a great way for example to combine inputs etc.
Attention!
During execution there is no complex syntax check. Therefore, we recommend using a code editor, such as VCCode with support for WEM | Script
Only variable conditions can be combined in one line. If you need a combination of several trigger events you have to do this via variables.
This trigger event can ONLY be executed by the ProCommander® 2/3!
** As a start condition either an “!i: Input event“, “!t: Time event“, “!rc: Real time clock event“, “!v: Variable event“, “!d: DMX event” or “!k: Infrared event” can be used.
Attention!
After each “#“-character a new line should be started again, using the “!” syntax to denote the next command
Before you edit your Control.ini., please update always your WEIGL device first with the latest firmware version. In this way you ensure that your device is able to interpret the latest ASCII commands properly.
!k: Infrared event
A infrared remote control can be used to start a command line. Input 1 to 10 can be used, whereby the digit 0 is equivalent to 10.
A level change may be defined as “close” (activation of an input), “open” (deactivation of an input) or “toggle” (every level change of an input). With toggle, both the press and the release of a key action will cause a trigger event.
Example:
!k1c!…# -> If input 1 on the infrared remote control is activated (c=close), then the downstream command will be executed.
!k5o!…# -> If input 5 on the infrared remote control is deactivated (o=open), then the downstream command will be executed.
!k0t!…# -> If input 10 on the infrared remote control changes (t=toggle), then the downstream command will be executed.