CONTROL.INI – WEM | SCRIPT ™ CASE STUDIES
Attention!
During execution there is no complex syntax check. Therefore, we recommend using a code editor, such as VCCode with support for WEM | Script
The limit for an input event is one per line!
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.
The content of the Control.ini file looks like this:
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.
!i10c!vmc1=1#
!i11c!vmc1=2#
!i12c!vmc1=3#
!i13c!vmc1=0#
!i1c!vcc1=1!rsn1#
!i1c!vcc1=2!rsn7#
!i1c!vcc1=3!rsn13#
!i1c!vcc1=0!rsn19#
!i2c!vcc1=1!rsn2#
!i2c!vcc1=3!rsn14#
!i2c!vcc1=0!rsn20#
!i3c!vcc1=1!rsn3#
!i3c!vcc1=2!rsn9#
!i3c!vcc1=3!rsn15#
!i3c!vcc1=0!rsn21#
!i4c!vcc1=1!rsn4#
!i4c!vcc1=2!rsn10#
!i4c!vcc1=3!rsn16#
!i4c!vcc1=0!rsn22#
!i5c!vcc1=1!rsn5#
!i5c!vcc1=2!rsn11#
!i5c!vcc1=3!rsn17#
!i5c!vcc1=0!rsn23#
!i6c!vcc1=1!rsn6#
!i6c!vcc1=2!rsn12#
!i6c!vcc1=3!rsn18#
!i6c!vcc1=0!rsn24#
1st line: If input 10 is activated (!i10c), then variable 1 attains the value 1 (!vmc1=1).
2nd line: If input 11 is activated (!i11c), then variable 1 attains the value 2 (!vmc1=2).
3rd line: If input 12 is activated (!i12c), then variable 1 attains the value 3 (!vmc1=3).
4th line: If input 13 is activated (!i13c), then variable 1 attains the value 0 (!vmc1=0).
5th line: If input 1 is activated (!i1c) and the value of variable 1 is equal 1 (!vcc1=1), then the first show (001_SHOW.WM1) will be started (!rsn1). In this case the show for the first area is in German.
6th line: If input 1 is activated (!i1c) and the value of variable 1 is equal 2 (!vcc1=2), then the seventh show (007_SHOW.WM1) will be started (!rsn7). In this case the show for the first area is in Spanish.
7th line: If input 1 is activated (!i1c) and the value of variable 1 is equal 3 (!vcc1=3), then the thirteenth show (013_SHOW.WM1) will be started (!rsn13). In this case the show for the first area is in French.
8th line: If input 1 is activated (!i1c) and the value of variable 1 is equal 0 (!vcc1=0), then the nineteenth show (019_SHOW.WM1) will be started (!rsn19). In this case the show for the first area is in English.
9th line: If input 2 is activated (!i2c) and the value of variable 1 is equal 1 (!vcc1=1), then the second show (002_SHOW.WM1) will be started (!rsn2). In this case the show for the second area is in German.
10th line: If input 2 is activated (!i2c) and the value of variable 1 is equal 2 (!vcc1=2), then the eight show (008_SHOW.WM1) will be started (!rsn8). In this case the show for the second area is in Spanish.
11th line: If input 2 is activated (!i2c) and the value of variable 1 is equal 3 (!vcc1=3), then the fourteenth show (014_SHOW.WM1) will be started (!rsn14). In this case the show for the second area is in French.
12th line: If input 2 is activated (!i2c) and the value of variable 1 is equal 0 (!vcc1=0), then the twentieth show (020_SHOW.WM1) will be started (!rsn20). In this case the show for the second area is in English.
13th line: If input 3 is activated (!i3c) and the value of variable 1 is equal 1 (!vcc1=1), then the third show (003_SHOW.WM1) will be started (!rsn3). In this case the show for the third area is in German.
14th line: If input 3 is activated (!i3c) and the value of variable 1 is equal 2 (!vcc1=2), then the ninth show (009_SHOW.WM1) will be started (!rsn9). In this case the show for the third area is in Spanish.
15th line: If input 3 is activated (!i3c) and the value of variable 1 is equal 3 (!vcc1=3), then the fifteenth show (015_SHOW.WM1) will be started (!rsn15). In this case the show for the third area is in French.
16th line: If input 3 is activated (!i3c) and the value of variable 1 is equal 0 (!vcc1=0), then the twenty-first show (021_SHOW.WM1) will be started (!rsn21). In this case the show for the third area is in English.
17th line: If input 4 is activated (!i4c) and the value of variable 1 is equal 1 (!vcc1=1), then the fourth show (004_SHOW.WM1) will be started (!rsn4). In this case the show for the fourth area is in German.
18th line: If input 4 is activated (!i4c) and the value of variable 1 is equal 2 (!vcc1=2), then the tenth show (010_SHOW.WM1) will be started (!rsn10). In this case the show for the fourth area is in Spanish.
19th line: If input 4 is activated (!i4c) and the value of variable 1 is equal 3 (!vcc1=3), then the sixteenth show (016_SHOW.WM1) will be started (!rsn16). In this case the show for the fourth area is in French.
18th line: If input 4 is activated (!i4c) and the value of variable 1 is equal 0 (!vcc1=0), then the twenty-second show (022_SHOW.WM1) will be started (!rsn22). In this case the show for the fourth area is in English.
19th line: If input 5 is activated (!i5c) and the value of variable 1 is equal 1 (!vcc1=1), then the fifth show (005_SHOW.WM1) will be started (!rsn5). In this case the show for the fifth area is in German.
20th line: If input 5 is activated (!i5c) and the value of variable 1 is equal 2 (!vcc1=2), then the eleventh show (011_SHOW.WM1) will be started (!rsn11). In this case the show for the fifth area is in Spanish.
21th line: If input 5 is activated (!i5c) and the value of variable 1 is equal 3 (!vcc1=3), then the seventeenth show (017_SHOW.WM1) will be started (!rsn17). In this case the show for the fifth area is in French.
22th line: If input 5 is activated (!i5c) and the value of variable 1 is equal 0 (!vcc1=0), then the twenty-third show (023_SHOW.WM1) will be started (!rsn23). In this case the show for the fifth area is in English.
23th line: If input 6 is activated (!i6c) and the value of variable 1 is equal 1 (!vcc1=1), then the sixth show (006_SHOW.WM1) will be started (!rsn6). In this case the show for the sixth area is in German.
24th line: If input 6 is activated (!i6c) and the value of variable 1 is equal 2 (!vcc1=2), then the twelfth show (012_SHOW.WM1) will be started (!rsn12). In this case the show for the sixth area is in Spanish.
25th line: If input 6 is activated (!i6c) and the value of variable 1 is equal 3 (!vcc1=3), then the eighteenth show (018_SHOW.WM1) will be started (!rsn18). In this case the show for the sixth area is in French.
26th line: If input 6 is activated (!i6c) and the value of variable 1 is equal 0 (!vcc1=0), then the twenty-fourth show (024_SHOW.WM1) will be started (!rsn24). In this case the show for the sixth area is in English.