Appendix B. Example Programs
B-13
'the required input for the PRT temperature calculation instruction.
NextSubScan
Portset
(1 ,0)
'Set C1 Low to disable Multiplexer
'Calculate the Temperature from R/Ro:
PRT
(PRTTemp(1),16,PRTResist(1),1.0,0)
CallTable
Avg15Min
'Call the DataTable
NextScan
EndProg