What is the shift function?

You can create a shift function for the following controls:

With the shift function you can make a button perform different actions (basic actions or advanced actions) depending on its mode (normal or shift).

If the condition is fulfilled, the button will be either in normal or in shift mode.

 

Starting point

Procedure

  1. Click on the control to activate the switch function.
    Result:
    The pane with player information appears.

  2. Click on Shift disabled and select Shift enabled to activate the shift function.
    Result:
    The control will appear with an 'S' in the drawing area.

  3. Create a Free start/stop action for the normal mode.

    BehaviourWhat?How?
    ASelect a control that will initiate the action.

    Click on the player. In this example we opt for a single push button.
    Result:
    Two possibilities are shown: normal and shift. Choose normal.

    BSelect an output player.

    Click on the player.
    In this example we choose the lamp: its start behaviour is to be on at 100%, its stop behaviour to be on at 0%.

  4. Create a Free start/stop action for the shift mode.

    BehaviourWhat?How?
    ASelect a control that will initiate the action.

    Click on the player. In this example we opt for a single push button.
    Result:
    Two possibilities are shown: normal and shift. Choose shift.

    BSelect an output player.

    Click on the player.
    In this example we choose the lamp: its start behaviour is to be on at 100%, its stop behaviour to be on at 0%.

  5. Set the conditions for the normal mode and the shift mode.


    IF...THEN...ELSE...
    ExampleIf it is between 6:00 a.m. and 11:00 p.m....Then the mode is normal (behaviour A).

    Else the mode is shift (behaviour B).

    What?Choose a time schedule as a condition.

    Choose the behaviour of the player within that time schedule.

    Choose the behaviour of the player if the condition is not fulfilled.

Video

See an example here. Turn on the sound to watch the video.

In this example, when the push button is pressed, the light in the hall will be on at 100% during the day and at 40% at night.

<iframe width="1200" height="700" src="https://youtube.com/embed/SgforhzyJJA?rel=0&amp;controls=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>