TMAINFRM0 TPF0TMainFrmMainFrmLeftTopWidthHeightz BorderStyle bsSizeToolWinCaptionSample 2Color clBtnFace Font.CharsetDEFAULT_CHARSET Font.Color clWindowText Font.Height Font.Name MS Sans Serif Font.Style OldCreateOrder PositionpoScreenCenterScaledOnCreate FormCreate PixelsPerInch` TextHeight TLabelLabel5LeftTopWidthiHeight AlignmenttaCenterAutoSizeCaption Windows P104-WDG-CSM(A) SAMPLE 2 Font.CharsetDEFAULT_CHARSET Font.ColorclBlack Font.Height Font.Name MS Sans Serif Font.Style ParentFontTLabelBaseLblLeftTop8WidthHeight! AlignmenttaCenterAutoSizeLayouttlCenterTLabelLabel2Left`Top(WidthHeight Caption(Reading Control Register and TemperatureTLabelLabel3LeftTop`Width/Height Caption>This program demonstrates how to read the Control Register andTLabelLabel4LeftToppWidthHeight Caption/Temperature at BASE+4 and BASE+5, respectively.TLabelLabel6LeftTopWidthHeight Caption3Hit the Test key to start and the Exit key to exit.TLabelLabel7LeftTopWidthHeight Caption9Note that some functions require options to be installed.TLabelLabel8LeftTop@Width?Height Caption Temperature:TLabelTemperatureLblLeft`Top@Width'HeightAutoSizeCaption000TLabelLabel9LeftTop@Width[Height Captiondegrees FahrenheitTLabelLabel10LefthTopWidthHeight TLabelLabel11LefthTopWidthHeight TLabelLabel1LeftTopWidthQHeightAutoSizeCaption (OPTION 2)TLabelLabel12LeftTopWidthQHeightAutoSizeCaption (OPTION 4)TLabelLabel13LeftTopWidthQHeightAutoSizeCaption (OPTION 4)TLabelLabel14LeftTopWidthQHeightAutoSizeCaption (OPTION 1)TLabelLabel15LeftTopWidthQHeightAutoSizeCaption (OPTION 4)TLabelLabel16LeftTopWidthQHeightAutoSizeCaption (OPTION 1)TButtonStartBtnLeft8TopWidthKHeightCaption&TestTabOrderOnClick StartBtnClick TCheckBoxBit0LeftTopWidthHeightCaption When checked, CTR1 has timed outTabOrder TCheckBoxBit1LeftTopWidthHeightCaption%When checked, temperature is too highTabOrder TCheckBoxBit2LeftTopWidthHeightCaptionIsolated digital input #0TabOrder TCheckBoxBit3LeftTopWidthHeightCaptionIsolated digital input #1TabOrder TCheckBoxBit4LeftTopWidthHeightCaptionWhen checked, fan speed is badTabOrder TCheckBoxBit5LeftTopWidthHeightCaption!When checked, voltage is too highTabOrder TCheckBoxBit6LeftTopWidthHeightCaption When checked, voltage is too lowTabOrderTButtonExitBtnLeft8TopWidthKHeightCaptionE&xitTabOrderOnClick ExitBtnClickTTimerTimer1EnabledIntervalOnTimer Timer1TimerLeftXTop(