Campbell Scientific TX312 High Data Rate GOES Transmitter User Manual
Page 39
TX312 Transmitter
Edlog program example 1 writes data to final storage once an hour and
transfers data to the TX312 once every 4 hours.
; Edlog Program Example 1
; Set output flag high hourly
1: 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)
; Write a time stamp to final storage
2: Real Time (P77)
1: 1221
Year,Day,Hour/Minute,Seconds (midnight = 2400)
; Write 41 input locations to final storage
3: Sample (P70)
1: 41
Reps
2: 1
Loc [ Status_RC ]
; Check if top of 4 hour interval, if true execute P126
4: If time is (P92)
1: 0
Minutes (Seconds --) into a
2: 240
Interval (same units as above)
3: 30
Then
Do
; Transfer data to TX312
5: Data Transfer to HDR GOES (P126)
1: 0
Self-Timed/Append
2: 0
Binary
Format
3: 41
Result Code Loc [ P126_RC ]
6: End (P95)
Edlog program example 2 writes data to final storage once an hour and
transfers data to the TX312 once every 4 hours. Example 2 also shows how to
use the result codes to ensure P126 executes successfully.
; Edlog Program Example 2
; Set output flag high hourly
1: 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)
33