65
Control.ini
8.2.5 Project 5 – One pushbutton controls five shows
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=1# will be inserted at
the end of the first show, !vmc1=2# at the end of the second
show, !vmc1=3# at the end of the third show and so on.
The content of the Control.ini file looks like this:
!tm00:10!vmc1=0#
!i1c!vcc1=0!rst1#
!i1c!vcc1=1!rst2#
!i1c!vcc1=2!rst3#
!i1c!vcc1=3!rst4#
!i1c!vcc1=4!rst5#
!vcc1=4!vmc1=0#
1
st
line: At 10 seconds after power on or inserting the
memory card (!tm00:10), the value of variable 1 will be set to
0 (!vmc1=0).
2
nd
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).