Welcome to HVAC-Talk.com, a non-DIY site and the ultimate Source for HVAC Information & Knowledge Sharing for the industry professional! Here you can join over 150,000 HVAC Professionals & enthusiasts from around the world discussing all things related to HVAC/R. You are currently viewing as a NON-REGISTERED guest which gives you limited access to view discussions

To gain full access to our forums you must register; for a free account. As a registered Guest you will be able to:

Participate in over 40 different forums and search/browse from nearly 3 million posts.

Delta OrcaView GCL+ Programming help (Code in question posted)

Background & Objective:
The objective of this GCL+ code is to make a hanging fan coil (reheat only) which is ducted to OSA turn on automatically when it is +/- 1 Degree Fahrenheit outside of the temperature setpoint.
The problem is I think it is satisfying the code whatever setpoint is placed there, and I cannot figure out how to restrict the script to keep the fan OFF when the setpoint is reached.
This is my first attempt at automating these units, they had been set to run all day via the schedule and I hate inefficiency & waste!
Any input would be greatly appreciated, thank you!

Second day of diving into writing code (done java in the past, but that was 10 years ago haha). Thanks a lot I'll try it when I get to work tomorrow and try and learn what exactly it is that you wrote, looks promising!

One more thing I was thinking of adding after the first post it came to me, any way to disable the fan from starting up if the OSA (minus say 3 degrees) is greater then the room temperature?

Second day of diving into writing code (done java in the past, but that was 10 years ago haha). Thanks a lot I'll try it when I get to work tomorrow and try and learn what exactly it is that you wrote, looks promising!

One more thing I was thinking of adding after the first post it came to me, any way to disable the fan from starting up if the OSA (minus say 3 degrees) is greater then the room temperature?

The fan will run but only when the BACstat temp is higher than the Setpoint.

From what I read in the help file, it looks like the right track to use a switch, but it appears it works by having a (var1, var2, on value, off value).
I'm thinking the question now would be how to write the 'on value' to turn on when the setpoint is outside of that +/- 1F deviation, and off value when it's within 1 degree F of the setpoint.
Was thinking of using =! but does anyone know the syntax to say 'is not'? Even that might be murky to try and write out, so would something like this work?

Are you able to read programming ? if not I would rethink trying to write it....people don't usually learn to write a different language before being able to speak it or atleast be taught how to interpret it ....I struggle with syntax sometimes cause I work on different vendors..