The project contains three different show files, which are played in an interval of 90 minutes between 8 a.m. in the morning till 2 a.m. in the night. But only, if the key switch, which is connected to input 1 is closed.


The first show starts at 8 a.m. sharp, the second show at 8:30 a.m. and the third show at 9 a.m. sharp. Afterwards the first show starts again at 9:30 a.m. The procedure will be continued till 2 a.m. sharp of the following day.


The content of the Control.ini file looks like this:



!i1c!vmc1=1#

!i1o!vmc1=0#

!rc(h>7;m=0)!vmc2+1#

!rc(h>7;m=30)!vmc2+1#

!rc(h<3;m=0)!vmc2+1#

!rc(h<2;m=30)!vmc2+1#

!vcc1=1!vcc2=1!rsn1#

!vcc1=1!vcc2=2!rsn2#

!vcc1=1!vcc2=3!rsn3#

!vcc2=3!vmc2=0#



1st line: If input 1 is activated (!i1c), then variable 1 attains the value 1 (!vmc1=1).

2nd line:
If input 1 is disabled (!i1o), then variable 1 attains the value 0 (!vmc1=0).

3rd line: At the top of every hour which is greater than 7 a.m. (!rc(h>7;m=0), variable 2 will be incremented by one (!vmc2+1). (This covers the time span from 8:00 a.m. till 12:00 p.m.)

4th line: At every half hour, if the hour is greater than 7 a.m. (!rc(h>7;m=30), variable 2 will be incremented by one (!vmc2+1). (This covers the time span from 8:30 a.m. till 11:30 p.m.)

5th line: At the top of every hour which is less than 3 a.m. (!rc(h<3;m=0), variable 2 will be incremented by one (!vmc2+1). (This covers the time span from 0:00 a.m. till 2:00 a.m.)

6th line:
At every half hour, if the hour is less than 2 a.m. (!rc(h>2;m=30), variable 2 will be incremented by one (!vmc2+1). (This covers the time span from 0:30 a.m. till 1:30 a.m.)

7th line:
If the value of variable 1 is equal 1 (!vcc1=1), i.e. if input 1 is activated, then the first show (001_SHOW.WM1) will be started, if the value of variable 2 is equal 1 (!vcc2=1).

8th line:
If the value of variable 1 is equal 1 (!vcc1=1), i.e. if input 1 is activated, then the second show (002_SHOW.WM1) will be started, if the variable 2 is equal 2 (!vcc2=2).

9th line:
If the value of variable 1 is equal 1 (!vcc1=1), i.e. if input 1 is activated, then the third show (003_SHOW.WM1) will be started, if the variable 2 is equal 3 (!vcc2=3).

10th line: If variable 2 reaches the value 3 (!vcc2=3), the variable 2 will be cleared to zero (!vmc2=0) and the cycle 1-2-3 for variable 2 starts again.