View single post by ekarak
 Posted: Saturday Apr 16th, 2016 02:51 pm
 PM  Quote  Reply  Full Topic 
ekarak

 

Joined: Wednesday Apr 21st, 2010
Location: Athens, Greece
Posts: 51
Status: 
Offline

  back to top

Hi all,

There looks to be a race condition within Comfort (7.0.92) and/or UCM/KNX (7.0.30). If I send two consecutive telegrams to switch on and off some load, then Comfort starts emitting an endless stream of on-off telegrams and I need to reset the unit. I've noticed this today when I heard that relay clicking on and off twice per second.

In the attached screenshot a Zennio Z38i touchscreen (phys. addr. = 1.1.11) is sending two telegrams, an ON and an OFF, after which Comfort starts sending an endless stream of on and off telegrams. This looks to be a race condition of sorts.

The group address is mapped to counter #139 ('KNX-3-0-3')
     <Counter Number="139" Name="KNX-3-0-3" />
...
     <UcmKnxToComfort Type="OneBitSwitching" GroupAddress="6147" ItemNumber="139" />


The relevant counter is only mapped to a control menu item, and it has two simple responses to turn the load on or off as follows:

    <Response Fixed="false" Number="109" Description="anakykloforia ZNX" Name="KNX_3_0_3_ON" ActionCodeString="197,18,2,24,3,1, 255">
      <ActionSource>
        <string>Knx On UCM02_KNX 6147 ! 3/0/3</string>
      </ActionSource>
      <Errors />
    </Response>
    <Response Fixed="false" Number="110" Description="anakykloforia ZNX OFF" Name="KNX_3_0_3_OFF" ActionCodeString="197,18,2,24,3,0, 255">
      <ActionSource>
        <string>Knx Off UCM02_KNX 6147 ! 3/0/3</string>
      </ActionSource>
      <Errors />
    </Response>
 

This is difficult to reproduce (it doesn't happen always), however whenever it happens its very annoying as it clogs down the bus and it can cause premature wear to the relays.



Attachment: race_condition.png (Downloaded 16 times)

 Close Window