I entered a long and short name for the on board and external room temp sensors, also set the range to DegF, type2 10k thermistor.
I temporarily set them to manal mode since I don’t have a physical sensor connected in this example. You will set the to auto in order to see the real room temps.
We have a dry contact one K1 for the fan, single speed
We have 0-10Vdc for cooling water valve one AO1
We have 0-10Vdc for heating water valve on AO2
I entered a long and a short ‘Label’ name for each of the valves here on out 6 and out7, these are the two analog outputs.
And entered a long and short name for the fan on output1
I set the range of the out6 and 7 to analog, 0-10V = 0-100%
Schedule 7days 6am to 10pm
I typed in the schedule here, 7 days per week same times.
I gave the schedule a long name for the displays, and a short name to be used in the programs.
I set up the heat and cool PIDs and checked the day and night setpoints are working
To be done; override mode.
Room Set temp to 72deg occ
Cool set to 72
Heat set to 68
All with 1 deg deadband
I did a program to limit the user to 68 to 72 DegF at the keypad.
To be done: Adjust the heat and cool setpoints according to the user offset.
Unocc
Cool set to 85
Heat set to 50
I created the variables to hold all the setpoints, gave them long and short names plus set the units to DegF
Create two PIDs and checked them out for day & night operation.
Both options With a 2hr override
Havnt experimented with this myself using the keypad but we should be able to do something with this multi state variable and a timer program.
For now I will bypass this and get you a program going for the main sequence.
More on this later.
Max heat to 72deg
Min cool to 65deg
I assume these are the max setpoints you want the user to be able to set from the keypad. Programmed these limits in.
Set temp
Sys, heat/cool/auto/off
Fan on/auto or on/off
There’s a lot going on with these statements, I created some multi state variables for the SYS and FAN modes, these two variables will be on the display so the user can adjust them. Var1 is also on the display, its set up as the user adjustable room setpoint.
To be done: Reset the user offset to zero every night?
To be done: build graphics and floorplan for building manager/viewing by PC
To be done: Check out thermostat display settings and user adjustments at the keypad.