button creation



  • good sers I need technical information. I have to create a button to close the shutters .. I can not ..
    0_1523566999355_Immagine.png
    0_1523567055229_Cattura.JPG

    The problem as you can see for the activation with the classic button I first forced to put OFF then click on reset ..

    Actually I would like to create a button with a single push .. that self resets itself ... how should I do?


  • administrators

    @TriathletC

    This will be easier in the next HMI once the current Mervis release is finalised.

    For now you can use an analog setter with a single (positive) arrow instead, and use a modulo 2 function block behind it to transform it into a boolean state. I recognise this isn't ideal and is slightly unintuitive, which is why we changed it in the next release of Mervis.

    In terms of the button resetting itself you will need to use a timer of some sort to change the state back, as there is no obvious length of time that the button should stay "pressed".


Log in to reply
 

Looks like your connection to UniPi.technology Forum was lost, please wait while we try to reconnect.