You are on page 1of 4

' Date : 02/22/11 07:50:38 AM ' User : Root\Acc ' Version : 1.91.0.

20100423 Continuum Network Path : Campus\BLDG\CONTROLLER Dictionary : 'TYPE : DEVICE : TEMPLATE : ALIAS InfinityProgram : Campus\BLDG\CONTROLLER False : DisplayLCD InfinityProgram : Campus\BLDG\CONTROLLER False : LCDButtonLatch InfinityNumeric : Campus\BLDG\CONTROLLER False : Override.Button InfinityNumeric : Campus\BLDG\CONTROLLER False : LCDDisplay InfinityNumeric : Campus\BLDG\CONTROLLER False : LCDCount1 InfinityNumeric : Campus\BLDG\CONTROLLER False : LCDCount InfinityNumeric : Campus\BLDG\CONTROLLER False : ButtonLCD EndDictionary : NAME : DisplayLCD : LCDButtonLatch : Override.Button : LCDDisplay : LCDCount1 : LCDCount : ButtonLCD : : : : : : :

Object : DisplayLCD Type : InfinityProgram LastChange : 12/16/2009 12:28:09 PM DeviceId : Campus\BLDG\CONTROLLER Alias : DisplayLCD CreateTime : 12/16/2009 11:27:20 AM CreatedBy : Root\Acc TimeLocked : 12/27/2009 12:06:32 PM InstanceId : 9254/32 ByteCode : Wait11: LCDDisplay[7] = 0 'clear s display If (ButtonLCD = 6) then 'Select but ton is pressed LCDCount = 0 Goto D Endif If (ButtonLCD = 1 or ButtonL CD = 4) then 'Up/Down arrows pressed LCDCount = 0 Goto SP1Display Endif If ButtonLCD = 3 then Override.Button = On ButtonLCD = 0 Endif If TS > 2 9 then Goto D If TS > 29 then LCDDisplay[1] = 0 'clear s display LCDDispl ay[2] = 0 'clear s display LCDDisplay[7] = 0 'clear s display EndifD: If (B uttonLCD = 6 and LCDCount = 0) then 'Select button is pressed once ButtonLCD = 0 Goto D1 Endif If (ButtonLCD = 6 and LCDCount = 1) then 'Select button i s pressed twice ButtonLCD = 0 Goto D2 Endif If (ButtonLCD = 6 and LCDCou nt = 2) then 'Select button is pressed three times ButtonLCD = 0 Goto D3 Endif If (ButtonLCD = 6 and LCDCount = 3) then Goto Wait11 If (ButtonLCD = 1 o r ButtonLCD = 5) then Goto SP1Display 'adjust setpoint If ButtonLCD = 3 then Override.Button = On ButtonLCD = 0 Endif If TS > 29 then Goto Wait11D1: L CDDisplay[1] = SpaceTemp LCDDisplay[2] = 12 'Display format ##.## LCDDisplay[7 ] = 1024 'Icon degrees is turned on If ButtonLCD = 6 then Goto lcdcount If But tonLCD = 3 then Goto Wait11 If (ButtonLCD = 1 or ButtonLCD = 4) then Goto SP1Di splay 'adjust setpoint If ButtonLCD = 3 then Override.Button = On ButtonL CD = 0 Endif' If TS > 29 then Goto Wait11D2: LCDDisplay[1] = SpaceSetPoint L CDDisplay[2] = 12 'Display format ##.## LCDDisplay[7] = 3072 'Icons setpoint an d degrees are turned on If ButtonLCD = 6 then Goto lcdcount If ButtonLCD = 3 t hen Goto Wait11 If (ButtonLCD = 1 or ButtonLCD = 4) then Goto SP1Display 'adjus

t setpoint If ButtonLCD = 3 then Override.Button = On ButtonLCD = 0 Endi f' If TS > 29 then Goto Wait11D3: LCDDisplay[1] = Timeofday LCDDisplay[2] = 2 'Displays Tod in time format LCDDisplay[7] = 0 If ButtonLCD = 6 then Goto lcdc ount If ButtonLCD = 3 then Goto Wait11 If (ButtonLCD = 1 or ButtonLCD = 4) the n Goto SP1Display 'adjust setpoint If ButtonLCD = 3 then Override.Button = O n ButtonLCD = 0 Endif' If TS > 29 then Goto Wait11lcdcount: LCDCount = LCD Count + 1 Goto D'----------------------------------------------------------------------'setpoint control'----------------------------------------------------------------------SP1Display: LCDDisplay[1] = SpaceSetPoint LCDDisplay[2] = 12 'Display format ##.## LCDDisplay[7] = 3072 'Icons setpoint and degrees are tur ned on Goto Lcdcount2Lcdcount2: ButtonLCD = 0 Goto SP1AdjSP1Adj: If (ButtonL CD = 1) then Goto SP1ADJinc 'up arrow pressed If (ButtonLCD = 4) then Goto SP1A DJdec 'down arrow pressed If ButtonLCD = 3 or ButtonLCD = 6 then 'display or en ter is pressed LCDDisplay[1] = SpaceTemp LCDDisplay[2] = 12 'Display forma t ##.## LCDDisplay[7] = 3072 'Icons setpoint and degrees are turned on Got o Wait11 Endif If ButtonLCD = 3 then Override.Button = On ButtonLCD = 0 Endif If TS > 29 then Goto Wait11SP1ADJinc: SpaceSetPoint = SpaceSetPoint + 0 .5 LCDDisplay[1] = SpaceSetPoint LCDDisplay[2] = 12 'Display format ##.## LCD Display[7] = 3072 'Icons setpoint and degrees are turned on Goto Lcdcount2SP1AD Jdec: SpaceSetPoint = SpaceSetPoint - 0.5 LCDDisplay[1] = SpaceSetPoint LCDDi splay[2] = 12 'Display format ##.## LCDDisplay[7] = 3072 'Icons setpoint and de grees are turned on Goto Lcdcount2 EndByteCode Status : Active EndObject Object : LCDButtonLatch Type : InfinityProgram LastChange : 12/16/2009 11:26:44 AM DeviceId : Campus\BLDG\CONTROLLER Alias : LCDButtonLatch CreateTime : 12/16/2009 11:26:44 AM CreatedBy : Root\Acc TimeLocked : 12/16/2009 11:26:44 AM InstanceId : 9254/31 ByteCode : Line 1 If LCDDisplay[0] = 1 then ButtonLCD = 1 'OVERRIDE If LCDDisplay[0] = 2 then ButtonLCD = 2 'UP/INCREASE If LCDDisplay[0] = 3 then ButtonLCD = 3 ' SELECT If LCDDisplay[0] = 4 then ButtonLCD = 4 'DISPLAY If LCDDisplay[0] = 5 then ButtonLCD = 5 'DOWN/DECREASE If LCDDisplay[0] = 6 then ButtonLCD = 6 'ENTER = EndByteCode EndObject Object : Override.Button Type : InfinityNumeric LastChange : 1/14/2010 2:40:20 PM DeviceId : Campus\BLDG\CONTROLLER Alias : Override.Button CreateTime : 12/16/2009 11:25:38 AM CreatedBy : Root\Acc TimeLocked : 1/14/2010 2:40:20 PM InstanceId : 9254/30 Export : True Format : $### Port : Triggers : { } EndOfCDT Value : Off EndObject

Object : LCDDisplay Type : InfinityNumeric LastChange : 12/16/2009 11:40:15 AM DeviceId : Campus\BLDG\CONTROLLER Alias : LCDDisplay CreateTime : 12/16/2009 11:25:22 AM CreatedBy : Root\Acc TimeLocked : 12/16/2009 11:40:32 AM InstanceId : 9254/29 Size : 8 Port : Triggers : { } EndOfCDT Value : 0.000 EndObject Object : LCDCount1 Type : InfinityNumeric LastChange : 12/16/2009 11:24:45 AM DeviceId : Campus\BLDG\CONTROLLER Alias : LCDCount1 CreateTime : 12/16/2009 11:24:45 AM CreatedBy : Root\Acc TimeLocked : 12/16/2009 11:24:45 AM InstanceId : 9254/28 Port : Triggers : { } EndOfCDT Value : 0.000 EndObject Object : LCDCount Type : InfinityNumeric LastChange : 12/16/2009 11:24:32 AM DeviceId : Campus\BLDG\CONTROLLER Alias : LCDCount CreateTime : 12/16/2009 11:24:32 AM CreatedBy : Root\Acc TimeLocked : 12/16/2009 11:24:32 AM InstanceId : 9254/27 Port : Triggers : { } EndOfCDT Value : 0.000 EndObject Object : ButtonLCD Type : InfinityNumeric LastChange : 12/16/2009 11:40:07 AM DeviceId : Campus\BLDG\CONTROLLER Alias : ButtonLCD CreateTime : 12/16/2009 11:22:40 AM CreatedBy : Root\Acc

TimeLocked : 12/28/2009 9:51:15 AM InstanceId : 9254/24 Format : ### Size : 16 Port : Triggers : { } EndOfCDT Value : 0 EndObject

You might also like