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 six 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<6!vmc1+1#

!vcc1=0!ess000000#

!vcc1=1!ess100000#

!vcc1=2!ess110000#

!vcc1=3!ess111000#

!vcc1=4!ess111100#

!vcc1=5!ess111110#

!vcc1=6!ess111111#

__1st line__: If input 1 is closed (

*), then the show 1 (001_SHOW.WM1) will be started in restart mode (*

**!i1c***).*

**!rsr1**__2nd line__: Each time if input 1 is activated (* !i1c*) and the variable 1 is less than 6 (

**), then the variable increments by one (**

*!vcc1<6***).**

*!vmc1+1*__3rd line__: If the value of variable 1 is equal 0 (** !vcc1=0**), then the output 1 to 6 are cleared (

**).**

*!ess000000*__4th line__: If the value of variable 1 is equal 1 (** !vcc1=1**), then the output 1 is activated and output 2 to 6 are cleared (

**).**

*!ess100000*__5th line__: If the value of variable 1 is equal 2 (** !vcc1=2**), then the output 1 and 2 are activated and output 3 to 6 are cleared (

**).**

*!ess110000*__6th line__: If the value of variable 1 is equal 3 (** !vcc1=3**), then the output 1 to 3 are activated and output 4 to 6 are cleared (

**).**

*!ess111000*__7th line__: If the value of variable 1 is equal 4 (** !vcc1=4**), then the output 1 to 4 are activated and output 5 and 6 are cleared (

*).*

**!ess111100**__8th line__: If the value of variable 1 is equal 5 (** !vcc1=5**), then the output 1 to 5 are activated and output 6 is cleared (

*).*

**!ess111110**__9th line__: If the value of variable 1 is equal 6 (* !vcc1=6*), then all six output are activated (

**).**

*!ess111111*__10th line__: If the value of variable 1 is equal 6 (* !vcc1=6*), then the value of variable 1 is set to zero (

*).*

**!vmc1=0**