Campbell Scientific SDM-SIO4 4-Channel Serial I/O Interface User Manual
Page 51

Section 5. Programming the Datalogger
5-19
*Table 1 Program
01: 2
Execution Interval (seconds)
;set up the filter and then send string 101.
1: SDM-SIO4 (P113)
1:
1
Reps
2:
0
Address
3:
1
Send/Receive Port 1
4:
2304
Command
5:
8101
1st Parameters
6:
1999
2nd Parameters
7:
0
Values per Rep
8:
0
Loc [ ]
9:
1.0
Mult
10: 0.0
Offset
;wait long enough for sensor to send data.
2: Excitation with Delay (P22)
1:
1
Ex Channel
2:
0
Delay W/Ex (units = 0.01 sec)
3:
4
Delay After Ex (units = 0.01 sec)
4:
0
mV Excitation
;get data from SDM-SIO4 and put into locations 1 and 2.
3: SDM-SIO4 (P113)
1:
1
Reps
2:
0
Address
3:
1
Send/Receive Port 1
4:
4
Command
5:
0
1st Parameters
6:
0
2nd Parameters
7:
2
Values per Rep
8:
1
Loc [ number ]
9:
1.0
Mult
10: 0.0
Offset
;At zero minutes into a 10 minute interval set the output
;so that the data from the sensor will be stored into
;final storage.
4: If time is (P92)
1:
0
Minutes (Seconds --) into a
2:
10
Interval (same units as above)
3:
10
Set Output Flag High (Flag 0)
;Time stamp.
5: Real Time (P77)
1:
1110
Year,Day,Hour/Minute