This project consists of five shows, which are controlled by one pushbutton. After each actuation of the pushbutton a new show is started.


Therefore the command !vmc1=X# has to be inserted at the end of each show, whereby the character X has to be incremented in each show by one.


In this example the command !vmc1=0# is inserted at the end of the first show, !vmc1=1# at the end of the second show, !vmc1=2# at the end of the third show and so on.


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



!i1c!vcc1
=0!rst1#

!i1c!vcc1=1!rst2#

!i1c!vcc1=2!rst3#

!i1c!vcc1=3!rst4#

!i1c!vcc1=4!rst5#

!vcc1=4!vmc1=0#



1st line
: If input 1 is closed (!i1c) and the value of variable 1 is equal 0 (!vcc1=0), then the first show (001_SHOW.WM1) will start in restart mode (!rst1).


2nd line: If input 1 is closed (!i1c) and the value of variable 1 is equal 1 (!vcc1=1), then the second show (002_SHOW.WM1) will start in restart mode (!rst2).


3rd line: If input 1 is closed (!i1c) and the value of variable 1 is equal 2 (!vcc1=2), then the third show (003_SHOW.WM1) will start in restart mode (!rst3).


4th line: If input 1 is closed (!i1c) and the value of variable 1 is equal 3 (!vcc1=3), then the fourth show (004_SHOW.WM1) will start in restart mode (!rst4).


5th line: If input 1 is closed (!i1c) and the value of variable 1 is equal 4 (!vcc1=4), then the first show (005_SHOW.WM1) will start in restart mode (!rst5).


6th line: If the value of variable 1 is equal 4 (!vcc1=4), then variable 1 will attain the value zero (!vmc1=0). If the pushbutton is activated again the whole process starts from the beginning.