63
Control.ini
8.2.4 Project 4 – External control of a VU-meter
display
The project consists of one show, which is triggered by
each contact closure via input 1. Therefore the restart mode is
required.
In show 1 there are four variable decrement commands
(!vmc-1#) with a time gap of one second. If LEDs are connected
on the digital outputs, each time the button is activated another
LED is illuminated similar to a VU-meter display. If the button
isn't activated, the variable will be decremented by the variable
commands in the show and the LEDs turn off.
The content of the Control.ini file looks like this:
!i1c!rsr1#
!i1c!vcc1<4!vmc1+1#
!vcc1=0!ess0000#
!vcc1=1!ess1000#
!vcc1=2!ess1100#
!vcc1=3!ess1110#
!vcc1=4!ess1111#
!vcc1=4!vmc1=0#
1
st
line: If input 1 is closed (!i1c), then the show 1 (001_
SHOW.WM1) will start in restart mode (!rsr1).
2
nd
line: Each time if input 1 is activated (!i1c) and the variable
1 is less than 4 (!vcc1<4), then the variable increments by one
(!vmc1+1).