You can use EEProm variables, if you have to deal with a difficult environment, for example that a permanent power supply isn't guaranteed all the time.


The variables 71 to 100 are EEProm variables, these variables store their current status even when the device is shut off.

So if you reference to one of these variables, you could start the same show after power comes back again.

At the beginning of each show you can store a unique number in this variable with the !vmc...# command for that show. After power up you can reference to that variable and start the same show, which has been running before power failure.


If you use a time condition, then you have the guarantee, that it happens only after power up.


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



!tm00:01!vcc71=1!rsn10#

!tm00:01!vcc71=2!rsr11#

!tm00:01!vcc71=3!rsa12#

.........

and so on


 

1st line: One second after power on (!tm00:01), if the value of variable 71 is equal 1 (!vcc71=1), then the show 10 (010_SHOW.WM1) starts in normal mode (!rsn10).

2nd line: One second after power on (!tm00:01), if the value of variable 71 is equal 2 (!vcc71=2), then the show 11 (011_SHOW.WM1) starts in restart mode (!rsr11). The show 11 will be restarted. Other perhaps running shows continue running.

3rd line: One second after power on (!tm00:01), if the value of variable 71 is equal 3 (!vcc71=3), then the show 12 (012_SHOW.WM1) starts in add mode (!rsa12). If the show 12 isn't already running it will be started additionally to running shows. Maximum number of running shows are 5!