;{CR10X} ; *Table 1 Program 01: 60 Execution Interval (seconds) 1: Read ID (P117) 1: 83 Loc [ ID ] 2: Z=F (P30) 1: 2400 F 2: 00 Exponent of 10 3: 57 Z Loc [ Hours ] 3: If time is (P92) 1: 0 Minutes (Seconds --) into a 2: 60 Interval (same units as above) 3: 10 Set Output Flag High (Flag 0) 4: Set Active Storage Area (P80) 1: 3 Input Storage Area 2: 54 Loc [ DayofYear ] 5: Real Time (P77) 1: 0110 Day,Hour/Minute (midnight = 0000) 6: Z=X/Y (P38) 1: 55 X Loc [ Time ] 2: 57 Y Loc [ Hours ] 3: 56 Z Loc [ Fraction ] 7: Z=X+Y (P33) 1: 54 X Loc [ DayofYear ] 2: 56 Y Loc [ Fraction ] 3: 56 Z Loc [ Fraction ] 8: Batt Voltage (P10) 1: 1 Loc [ Battery_V ] 9: AC Half Bridge (P5) 1: 4 Reps 2: 3 25 mV Slow Range 3: 5 SE Channel 4: 1 Excite all reps w/Exchan 1 5: 1000 mV Excitation 6: 46 Loc [ Soil_T_1 ] 7: 200 Mult 8: 0.0 Offset 10: Polynomial (P55) 1: 4 Reps 2: 46 X Loc [ Soil_T_1 ] 3: 46 F(X) Loc [ Soil_T_1 ] 4: -26.97 C0 5: 69.635 C1 6: -40.66 C2 7: 16.573 C3 8: -3.455 C4 9: .301 C5 11: Pulse (P3) 1: 1 Reps 2: 2 Pulse Channel 2 3: 2 Switch Closure, All Counts 4: 51 Loc [ UpRain_mm ] 5: 1 Mult 6: 0.0 Offset 12: Pulse (P3) 1: 1 Reps 2: 6 Control Port 6 3: 2 Switch Closure, All Counts 4: 52 Loc [ LoRain_mm ] 5: .11547 Mult 6: 0.0 Offset 13: Pulse (P3) 1: 1 Reps 2: 1 Pulse Channel 1 3: 22 Switch Closure, Output Hz 4: 50 Loc [ Wind_mps ] 5: .8 Mult 6: .447 Offset 14: If (X<=>F) (P89) 1: 50 X Loc [ Wind_mps ] 2: 1 = 3: .447 F 4: 30 Then Do 15: Z=F (P30) 1: 0 F 2: 0 Exponent of 10 3: 50 Z Loc [ Wind_mps ] 16: End (P95) 17: Do (P86) 1: 41 Set Port 1 High 18: Beginning of Loop (P87) 1: 0 Delay 2: 4 Loop Count 19: Do (P86) 1: 72 Pulse Port 2 20: Excitation with Delay (P22) 1: 3 Ex Channel 2: 0 Delay W/Ex (units = 0.01 sec) 3: 1 Delay After Ex (units = 0.01 sec) 4: 0 mV Excitation 21: Volt (Diff) (P2) 1: 1 Reps 2: 1 2.5 mV Slow Range 3: 1 DIFF Channel 4: 2 -- Loc [ Sap_1 ] 5: 1.0 Mult 6: 0.0 Offset 22: Volt (Diff) (P2) 1: 1 Reps 2: 1 2.5 mV Slow Range 3: 2 DIFF Channel 4: 6 -- Loc [ Sap_5 ] 5: 1.0 Mult 6: 0.0 Offset 23: End (P95) 24: Do (P86) 1: 44 Set Port 4 High 25: Beginning of Loop (P87) 1: 0 Delay 2: 1 Loop Count 26: Do (P86) 1: 72 Pulse Port 2 27: Period Average (SE) (P27) 1: 4 Reps 2: 4 200 kHz Max Freq @ 2 V Peak to Peak, Period Output 3: 1 SE Channel 4: 10 No. of Cycles 5: 5 Timeout (units = 0.01 seconds) 6: 10 -- Loc [ msec_1 ] 7: .001 Mult 8: 0.0 Offset 28: End (P95) 29: Beginning of Loop (P87) 1: 0000 Delay 2: 1 Loop Count 30: Do (P86) 1: 72 Pulse Port 2 31: Period Average (SE) (P27) 1: 4 Reps 2: 4 200 kHz Max Freq @ 2 V Peak to Peak, Period Output 3: 1 SE Channel 4: 10 No. of Cycles 5: 5 Timeout (units = 0.01 seconds) 6: 14 -- Loc [ msec_5 ] 7: .001 Mult 8: 0.0 Offset 32: End (P95) 33: Do (P86) 1: 54 Set Port 4 Low 34: Polynomial (P55) 1: 8 Reps 2: 10 X Loc [ msec_1 ] 3: 18 F(X) Loc [ WatCont_1 ] 4: -.187 C0 5: .037 C1 6: .335 C2 7: 0.0 C3 8: 0.0 C4 9: 0.0 C5 35: Beginning of Loop (P87) 1: 0000 Delay 2: 8 Loop Count 36: Z=X*F (P37) 1: 18 -- X Loc [ WatCont_1 ] 2: 100 F 3: 18 -- Z Loc [ WatCont_1 ] 37: End (P95) 38: Beginning of Loop (P87) 1: 0000 Delay 2: 1 Loop Count 39: Do (P86) 1: 72 Pulse Port 2 40: Excite-Delay (SE) (P4) 1: 4 Reps 2: 5 2500 mV Slow Range 3: 1 SE Channel 4: 02 Excite all reps w/Exchan 2 5: 5 Delay (units 0.01 sec) 6: 2500 mV Excitation 7: 26 -- Loc [ Leaf_1 ] 8: 1.0 Mult 9: 0.0 Offset 41: End (P95) 42: Beginning of Loop (P87) 1: 0000 Delay 2: 1 Loop Count 43: Do (P86) 1: 72 Pulse Port 2 44: Excite-Delay (SE) (P4) 1: 4 Reps 2: 5 2500 mV Slow Range 3: 1 SE Channel 4: 2 Excite all reps w/Exchan 2 5: 5 Delay (units 0.01 sec) 6: 2500 mV Excitation 7: 30 -- Loc [ Leaf_5 ] 8: 1.0 Mult 9: 0.0 Offset 45: End (P95) 46: Beginning of Loop (P87) 1: 0000 Delay 2: 1 Loop Count 47: Do (P86) 1: 72 Pulse Port 2 48: Excitation with Delay (P22) 1: 3 Ex Channel 2: 0 Delay W/Ex (units = 0.01 sec) 3: 1 Delay After Ex (units = 0.01 sec) 4: 0 mV Excitation 49: Volt (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 1 SE Channel 4: 34 Loc [ AirTemp_1 ] 5: .1 Mult 6: -40 Offset 50: Volt (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 2 SE Channel 4: 35 Loc [ RH_1 ] 5: .1 Mult 6: 0.0 Offset 51: Volt (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 3 SE Channel 4: 36 Loc [ AirTemp_2 ] 5: .1 Mult 6: -40 Offset 52: Volt (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 4 SE Channel 4: 37 Loc [ RH_2 ] 5: .1 Mult 6: 0.0 Offset 53: End (P95) 54: Beginning of Loop (P87) 1: 0 Delay 2: 1 Loop Count 55: Do (P86) 1: 72 Pulse Port 2 56: Excitation with Delay (P22) 1: 3 Ex Channel 2: 0 Delay W/Ex (units = 0.01 sec) 3: 1 Delay After Ex (units = 0.01 sec) 4: 0 mV Excitation 57: Volt (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 1 SE Channel 4: 38 Loc [ AirTemp_3 ] 5: .1 Mult 6: -40 Offset 58: Volt (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 2 SE Channel 4: 39 Loc [ RH_3 ] 5: .1 Mult 6: 0.0 Offset 59: Volt (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 3 SE Channel 4: 40 Loc [ AirTemp_4 ] 5: .1 Mult 6: -40 Offset 60: Volt (SE) (P1) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 4 SE Channel 4: 41 Loc [ RH_4 ] 5: .1 Mult 6: 0.0 Offset 61: End (P95) 62: Beginning of Loop (P87) 1: 0000 Delay 2: 1 Loop Count 63: Do (P86) 1: 72 Pulse Port 2 64: Volt (Diff) (P2) 1: 1 Reps 2: 4 250 mV Slow Range 3: 1 DIFF Channel 4: 42 Loc [ Open_Pyra ] 5: -208.33 Mult 6: 0.0 Offset 65: Volt (Diff) (P2) 1: 1 Reps 2: 4 250 mV Slow Range 3: 2 DIFF Channel 4: 43 Loc [ Open_PAR1 ] 5: -401.85 Mult 6: 0.0 Offset 66: End (P95) 67: Beginning of Loop (P87) 1: 0000 Delay 2: 1 Loop Count 68: Do (P86) 1: 72 Pulse Port 2 69: Volt (Diff) (P2) 1: 1 Reps 2: 4 250 mV Slow Range 3: 1 DIFF Channel 4: 44 Loc [ Open_PAR2 ] 5: -419.14 Mult 6: 0.0 Offset 70: Volt (Diff) (P2) 1: 1 Reps 2: 4 250 mV Slow Range 3: 2 DIFF Channel 4: 45 Loc [ UnderPAR ] 5: -231.88 Mult 6: 0.0 Offset 71: End (P95) 72: Beginning of Loop (P87) 1: 0000 Delay 2: 1 Loop Count 73: Do (P86) 1: 72 Pulse Port 2 74: Volt (Diff) (P2) 1: 1 Reps 2: 5 2500 mV Slow Range 3: 1 DIFF Channel 4: 53 Loc [ Sap_Power ] 5: .002 Mult 6: 0.0 Offset 75: End (P95) 76: Do (P86) 1: 51 Set Port 1 Low 77: If time is (P92) 1: 0000 Minutes (Seconds --) into a 2: 60 Interval (same units as above) 3: 10 Set Output Flag High (Flag 0) 78: Set Active Storage Area (P80) 1: 1 Final Storage Area 1 2: 1 Array ID 79: Sample (P70) 1: 1 Reps 2: 83 Loc [ ID ] 80: Real Time (P77) 1: 1220 Year,Day,Hour/Minute (midnight = 2400) 81: Resolution (P78) 1: 01 High Resolution 82: Sample (P70) 1: 1 Reps 2: 56 Loc [ Fraction ] 83: Resolution (P78) 1: 0 Low Resolution 84: Sample (P70) 1: 1 Reps 2: 1 Loc [ Battery_V ] 85: Average (P71) 1: 4 Reps 2: 42 Loc [ Open_Pyra ] 86: Average (P71) 1: 1 Reps 2: 50 Loc [ Wind_mps ] 87: Totalize (P72) 1: 2 Reps 2: 51 Loc [ UpRain_mm ] 88: Average (P71) 1: 2 Reps 2: 34 Loc [ AirTemp_1 ] 89: Average (P71) 1: 2 Reps 2: 40 Loc [ AirTemp_4 ] 90: Average (P71) 1: 4 Reps 2: 46 Loc [ Soil_T_1 ] 91: Average (P71) 1: 2 Reps 2: 18 Loc [ WatCont_1 ] 92: Average (P71) 1: 4 Reps 2: 22 Loc [ WatCont_5 ] 93: Average (P71) 1: 8 Reps 2: 26 Loc [ Leaf_1 ] 94: Average (P71) 1: 8 Reps 2: 2 Loc [ Sap_1 ] 95: Sample (P70) 1: 1 Reps 2: 53 Loc [ Sap_Power ] 96: Serial Out (P96) 1: 71 SM192/SM716/CSM1 *Table 2 Program 02: 1 Execution Interval (seconds) 1: If time is (P92) 1: 56 -- Minutes (Seconds --) into a 2: 60 Interval (same units as above) 3: 43 Set Port 3 High 2: If time is (P92) 1: 1 -- Minutes (Seconds --) into a 2: 60 Interval (same units as above) 3: 53 Set Port 3 Low 3: If time is (P92) 1: 420 Minutes (Seconds --) into a 2: 1440 Interval (same units as above) 3: 48 Set Port 8 High 4: If time is (P92) 1: 1020 Minutes (Seconds --) into a 2: 1440 Interval (same units as above) 3: 58 Set Port 8 Low 5: Internal Temperature (P17) 1: 58 Loc [ Ref_Temp ] 6: If time is (P92) 1: 0000 Minutes (Seconds --) into a 2: 1440 Interval (same units as above) 3: 30 Then Do 7: Do (P86) 1: 48 Set Port 8 High 8: Beginning of Loop (P87) 1: 0000 Delay 2: 8 Loop Count 9: Do (P86) 1: 75 Pulse Port 5 10: Excitation with Delay (P22) 1: 3 Ex Channel 2: 0 Delay W/Ex (units = 0.01 sec) 3: 1 Delay After Ex (units = 0.01 sec) 4: 0 mV Excitation 11: Thermocouple Temp (DIFF) (P14) 1: 1 Reps 2: 1 2.5 mV Slow Range 3: 5 DIFF Channel 4: 1 Type T (Copper-Constantan) 5: 58 Ref Temp (Deg. C) Loc [ Ref_Temp ] 6: 59 -- Loc [ Tcold1 ] 7: 1.0 Mult 8: 0.0 Offset 12: End (P95) 13: Do (P86) 1: 58 Set Port 8 Low 14: Do (P86) 1: 47 Set Port 7 High 15: Beginning of Loop (P87) 1: 1 Delay 2: 1 Loop Count 16: End (P95) 17: Beginning of Loop (P87) 1: 1 Delay 2: 30 Loop Count 18: Do (P86) 1: 48 Set Port 8 High 19: Beginning of Loop (P87) 1: 0 Delay 2: 8 Loop Count 20: Do (P86) 1: 75 Pulse Port 5 21: Excitation with Delay (P22) 1: 3 Ex Channel 2: 0 Delay W/Ex (units = 0.01 sec) 3: 1 Delay After Ex (units = 0.01 sec) 4: 0 mV Excitation 22: Thermocouple Temp (DIFF) (P14) 1: 1 Reps 2: 1 2.5 mV Slow Range 3: 5 DIFF Channel 4: 1 Type T (Copper-Constantan) 5: 58 Ref Temp (Deg. C) Loc [ Ref_Temp ] 6: 67 -- Loc [ Theat1 ] 7: 1.0 Mult 8: 0.0 Offset 23: Z=X-Y (P35) 1: 67 -- X Loc [ Theat1 ] 2: 59 -- Y Loc [ Tcold1 ] 3: 75 -- Z Loc [ deltaT1 ] 24: End (P95) 25: Do (P86) 1: 58 Set Port 8 Low 26: Do (P86) 1: 10 Set Output Flag High (Flag 0) 27: Set Active Storage Area (P80) 1: 1 Final Storage Area 1 2: 2 Array ID 28: Real Time (P77) 1: 1221 Year,Day,Hour/Minute,Seconds (midnight = 2400) 29: Sample (P70) 1: 8 Reps 2: 75 Loc [ deltaT1 ] 30: End (P95) 31: Do (P86) 1: 57 Set Port 7 Low 32: Serial Out (P96) 1: 71 SM192/SM716/CSM1 33: End (P95) *Table 3 Subroutines End Program -Input Locations- 1 Battery_V 1 1 1 2 Sap_1 1 1 1 3 Sap_2 1 1 0 4 Sap_3 1 1 0 5 Sap_4 1 1 0 6 Sap_5 1 1 1 7 Sap_6 1 1 0 8 Sap_7 1 1 0 9 Sap_8 1 1 0 10 msec_1 5 1 1 11 msec_2 9 1 1 12 msec_3 9 1 1 13 msec_4 17 1 1 14 msec_5 5 1 1 15 msec_6 9 1 1 16 msec_7 9 1 1 17 msec_8 17 1 1 18 WatCont_1 5 2 2 19 WatCont_2 9 1 1 20 WatCont_3 9 0 1 21 WatCont_4 9 0 1 22 WatCont_5 9 1 1 23 WatCont_6 9 1 1 24 WatCont_7 9 1 1 25 WatCont_8 17 1 1 26 Leaf_1 5 1 1 27 Leaf_2 9 1 1 28 Leaf_3 9 1 1 29 Leaf_4 17 1 1 30 Leaf_5 5 1 1 31 Leaf_6 9 1 1 32 Leaf_7 9 1 1 33 Leaf_8 17 1 1 34 AirTemp_1 1 1 1 35 RH_1 1 1 1 36 AirTemp_2 1 0 1 37 RH_2 1 0 1 38 AirTemp_3 1 0 1 39 RH_3 1 0 1 40 AirTemp_4 1 1 1 41 RH_4 1 1 1 42 Open_Pyra 1 1 1 43 Open_PAR1 1 1 1 44 Open_PAR2 1 1 1 45 UnderPAR 1 1 1 46 Soil_T_1 5 2 2 47 Soil_T_2 9 2 2 48 Soil_T_3 9 2 2 49 Soil_T_4 17 2 2 50 Wind_mps 1 2 2 51 UpRain_mm 1 1 1 52 LoRain_mm 1 1 1 53 Sap_Power 1 1 1 54 DayofYear 1 1 1 55 Time 1 1 0 56 Fraction 1 2 2 57 Hours 1 1 1 58 Ref_Temp 1 2 1 59 Tcold1 1 1 1 60 Tcold2 0 0 0 61 Tcold3 0 0 0 62 Tcold4 0 0 0 63 Tcold5 0 0 0 64 Tcold6 0 0 0 65 Tcold7 0 0 0 66 Tcold8 0 0 0 67 Theat1 1 1 1 68 Theat2 0 0 0 69 Theat3 0 0 0 70 Theat4 0 0 0 71 Theat5 0 0 0 72 Theat6 0 0 0 73 Theat7 0 0 0 74 Theat8 0 0 0 75 deltaT1 1 1 1 76 deltaT2 1 1 0 77 deltaT3 1 1 0 78 deltaT4 1 1 0 79 deltaT5 1 1 0 80 deltaT6 1 1 0 81 deltaT7 1 1 0 82 deltaT8 1 1 0 83 ID 1 1 1 -Program Security- 0000 0000 0000 -Mode 4- -Final Storage Area 2- 0 -CR10X ID- 2 -CR10X Power Up- 3