Get status "virtual" group

Discussion in 'Third-Party Solutions' started by m.sorokin, Jul 1, 2017.

  1. m.sorokin

    m.sorokin

    Joined:
    Mar 23, 2008
    Messages:
    29
    Likes Received:
    2
    Location:
    Moscow, Russia
    Good day!

    I'm trying to integrate with the KNX through the Cytech Gateway.

    At Colour Touch Screen i use this code:

    if HasChanged(GetCBusLevel(KnxCtrlNet, KnxFBApl, 20)) then
    begin
    StatusRecResult := GetCBusLevel(KnxCtrlNet, KnxFBApl, 20);
    SetBoolIBSystemIO("HVAC Zone Enabled", 1, HVACZoneU, StatusRecResult)
    end

    When a group is changed in the KNX in C-BUS, its value comes, BUT repeated request for its status always OFF...

    What is the most correct way to proceed in this situation?
     
    m.sorokin, Jul 1, 2017
    #1
  2. m.sorokin

    m.sorokin

    Joined:
    Mar 23, 2008
    Messages:
    29
    Likes Received:
    2
    Location:
    Moscow, Russia
    The question is lifted. The problem was in the absence of a semicolon (the compiler for some reason missed ...).

    Construction as a whole is working.
     
    m.sorokin, Jul 1, 2017
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.