Campbell Scientific 4WFB120, 4WFB350, 4WFB1K 4-Wire Full Bridge Terminal Input Module User Manual
Page 12
 
4WFB120, 4WFB350, 4WFB1K 4 Wire Full Bridge Terminal Input Modules
3: Z=X-Y (P35)
;Subtract zero reading from the
1: 1
X Loc [ mVperV ]
;measurement
2: 2
Y Loc [ mVperV_0 ]
3: 3
Z Loc [ Vr ]
 
4: Z=X*F (P37) 
;Change Vr from mV/V to V/V
1: 3
X Loc [ Vr ]
2: 0.001
F
3: 3
Z Loc [ Vr ]
 
;The following instructions calculate microstrain 
 
5: Z=X*F (P37) 
 1: 3 
X Loc [ Vr ]
2: -2
F
3: 9
Z Loc [ 1_2Vr ]
 
6: Z=Z+1 (P32) 
 1: 9 
Z Loc [ 1_2Vr ]
 
7: Z=X/Y (P38) 
 1: 3 
X Loc [ Vr ]
2: 9
Y Loc [ 1_2Vr ]
3: 10
Z Loc [ Vr_1_2Vr ]
 
8: Z=X*Y (P36) 
 1: 10 
X Loc [ Vr_1_2Vr ]
2: 8
Y Loc [ Mult ]
3: 4
Z Loc [ uStrain ]
 
;Output Section 
;This example outputs an average of the 1 second readings 
;once per minute. 
 
9: If time is (P92) 
 1: 0 
Minutes (Seconds --) into a
2: 1
Interval (same units as above)
3: 10
Set Output Flag High
 
10: Set Active Storage Area (P80) 
 1: 1 
Final Storage Area 1
2: 1
Array
ID
;Set Array ID = 1 for measurement data
 
11: Real Time (P77) 
 1: 1110 
Year,Day,Hour/Minute
 
12: Average (P71) 
 1: 1 
Reps
2: 4
Loc [ uStrain ]
 
*Table 2 Program 
 01: 0.0000 Execution 
Interval
(seconds)
8