Fan speed from Thermostat to PAC?

Discussion in 'Pascal Logic Code Examples' started by m.sorokin, Dec 5, 2016.

  1. m.sorokin

    m.sorokin

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

    Faced with the problem in the next programming of the controller:

    I need logic to handle the thermostat setting. Those. thermostat does not control what or groups, and is used only as an input device. Correspondingly, I have set up the ability to custom mode switching (heating / cooling / ventilation). Each of the modes provided a 3-speed fan control feature.

    When I test the code on a computer with a connection to the bus, everything works fine, but it is necessary to record a program to the controller stops working to obtain fan speed (I tested it by passing the obtained values ​​of virtual teams).

    There have any ideas?
     
    m.sorokin, Dec 5, 2016
    #1
  2. m.sorokin

    m.sorokin

    Joined:
    Mar 23, 2008
    Messages:
    29
    Likes Received:
    2
    Location:
    Moscow, Russia
    I can not quite clearly explained the essence of the problem:

    Devices:
    5070THB
    Pascal automation controller

    In piced HVAC aplication manager I added All Zone Groups and Zones witch i use in project.

    When i test logic on PC, i can get Fan stages from Thermostat, but when logic on PAC level fan setpoint always off.

    I used this command: GetRealIBSystemIO("HVAC Fan Speed ", CountClimZone, HVACZoneU)

    and for testing on PAC:
    HVACFanSetpoint := GetRealIBSystemIO("HVAC Fan Speed ", CountClimZone, HVACZoneU);

    SetCBusLevel("Main", "Heating (Legacy)", "TestFanStage", HVACFanSetpoint, "0s");

    TestFanStage always off...

    All other parameters are read without problems...
     
    m.sorokin, Dec 6, 2016
    #2
  3. m.sorokin

    Ashley

    Joined:
    Dec 1, 2005
    Messages:
    1,524
    Likes Received:
    173
    Location:
    Adelaide, Australia
    "HVAC Fan Speed " is an integer, not a real.

    Try GetIntlIBSystemIO("HVAC Fan Speed ", CountClimZone, HVACZoneU)

    You don't show how HVACFanSetpoint is defined, so make sure it is an integer also.

    I am not sure if it will help, or why it works in PICED though.
     
    Ashley, Dec 6, 2016
    #3
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.