reset eib switch

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

    #1

    reset eib switch

    Hello,

    I have a strange question... I have an EIB switch-block that shows a status (populated via a VI) and its changes trigger sending of a UDP packet. When in the app I press that switch, its status changes and it sends the command to the device.

    Now the issue is: the device may or may not change its state (depending on the device state); this is the behaviour of the device controlled by the eib switch.
    If the device changes its state, then everything is ok (I will also receive the state via the VI, but it will already match the eib block state).
    If the device does not change its state, it sends the current state via the VI. As this is the same state it was before, this does not trigger a change of the eib-block state, so it shows the wrong state at this point.

    How do I keep the eib-block state correct?
    (it should still catch changes of the device)

    I was thinking something with analog memory, pulse, delay, but it seems far fetched. Also something with remembering the previous state seems too much... Is there some simple way?
  • darkrain
    MS Profi
    • 25.08.2015
    • 553

    #2
    Please post a screenshot from the LOX config and the ETS config. What is the type / manufacturer of the KNX actor?

    Kommentar

    • J V
      LoxBus Spammer
      • 28.08.2015
      • 367

      #3
      It is not a KNX device. I use the EIB block as a switch that can show me the state, while providing an interface to change it.
      The EIB block gets its state (S-input) from a status block (in turn getting its inputs from a UDP input). The output of the EIB-block triggers the pushbutton where Qon and Qoff sendi different UDP packets.

      Ideally, I would disable the EIB-block in this case, but there are many states of the device in which I would have to disable it.

      The issue is that the S-input never changes and the block does not interpret a new incoming value on S a change if the value is the same (even if the state of the eib-switch differs). The external device (my amplifier) can be in a state in which the functionality does not work. I would need a way to have it re-read the S-input...

      Kommentar

      • darkrain
        MS Profi
        • 25.08.2015
        • 553

        #4
        Lox Docu.
        S State - This input transfer the status of an EIB actuator to the EIB switch, but is no an triggering action on the output.

        Hope this helps.

        Kommentar

        • J V
          LoxBus Spammer
          • 28.08.2015
          • 367

          #5
          I know... The problem is that if S is set to OFF, and you switch the EIB switch ON, but this action does not happen (and the state of the switch should be reverted to OFF to reflect this), there is no easy way to set the state of the EIB switch back to OFF.
          The fact that the input S was OFF and remains OFF means its state will not affect the state of the EIB, which will remain ON.

          edit: This does not work
          Maybe I could try to change S from the Q-output of the pushbutton at the end of the EIB block, to effectively reset the EIB button to its old state; expecting that the state of the device will impose a subsequent state-change if needed...
          Thinking out loud: Switching the EIB block ON will trigger S back to OFF. If the device does not change state, everything is ok; if it does the state change will be sent to S...


          I can do it probably with a digital VI, as that one also shows the state, but just offers a pushbutton.
          Zuletzt geändert von J V; 02.10.2020, 16:43.

          Kommentar

          Lädt...