Switches and buttons...

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • J V
    LoxBus Spammer
    • 28.08.2015
    • 367

    #1

    Switches and buttons...

    Ok, some stupid questions, but I cannot seem to find it...

    My system is KNX, so I used KNX/EIB buttons. They can take the current status from the KNX bus and show this on the button position.


    1. Can you do the same for normal buttons?
    Suppose I want a switch that shows some current status (which comes from an external source), how can I show the status for the button? An example could be a power switch for a pc (status on/off determined by ping), or a power switch for squeezebox player? How do you get the status? Or do you then just use the KNX/EIB button with appropriate inputs?

    2. How do you make a button that does not show a status?
    A bit like a button on a web page: you click it to trigger something, but it does not show a state.

    Thanks!


    Jörg
  • Christian Fenzl
    Lebende Foren Legende
    • 31.08.2015
    • 11234

    #2
    Hi,

    1. For this case you can use the EIB Button block without EIB switches.

    2. Use a Virtual Input. In the visualisation, it is shown as a push button without state.

    Regards, Christian
    Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

    Kommentar

    • J V
      LoxBus Spammer
      • 28.08.2015
      • 367

      #3
      Thanks!
      I thought I could use the EIB button as a workaround, but was not sure that was the way to go.
      The virtual input workaround is quite clever, hadn't though of that...

      Thanks again,


      Jörg

      Kommentar

      • J V
        LoxBus Spammer
        • 28.08.2015
        • 367

        #4
        Ok, still an issue... the EIB button has a single output... While it allows me to set the state, how can I use that single output to connect to one block that e.g. triggers on and a second one that triggers off?

        I thought I was smart and connect it to the block I want to use to send the on signal, and then I connected it with a logical not to the block for the off signal. But this triggers both actions when the buttons is changed.

        Jörg
        Zuletzt geändert von J V; 21.04.2016, 10:53.

        Kommentar

        • Christian Fenzl
          Lebende Foren Legende
          • 31.08.2015
          • 11234

          #5
          There's a block, in German called "Tastschalter", in English possibly "Switch button" or "Switch"(?) in the buttons category, with a Q, Qon and Qoff output. Qon and Qoff pulses on rising/falling edge of the input.
          Hilfe für die Menschen der Ukraine: https://www.loxforum.com/forum/proje...Cr-die-ukraine

          Kommentar

          • J V
            LoxBus Spammer
            • 28.08.2015
            • 367

            #6
            Thanks! That might do it!

            I'm often puzzled by the names they give the blocks as I haven't found the logic (button, switch, ...). The more programming blocks (flipflop, multiplexer, etc.) do remind me of highschool programming courses and basic computer technology courses, so they are easier to grasp.

            Kommentar


            • J V
              J V kommentierte
              Kommentar bearbeiten
              I found the block, but some other issues prevented me from testing it...
          • J V
            LoxBus Spammer
            • 28.08.2015
            • 367

            #7
            Is there a way to refresh the buttons?
            It currently is working partly: the EIB buttons do not always reflect the correct status. E.g. it can occur that S shows on, but Q is off (and the button shows as off). I have the impression I need to get a rising edge on S in order to trigger it, is that the case? Is there a way of setting the EIB button to on as long as S is true (there may be a block for that, but I don't know which...)

            Thanks,


            Jörg

            Kommentar

            Lädt...