Campbell Scientific 4WFBS120, 4WFBS350, 4WFBS1K 4 Wire Full Bridge Terminal Input Modules User Manual
Page 19
4WFBS120, 4WFBS350, 4WFBS1K 4 Wire Full Bridge Terminal Input Modules (TIM)
12: Average (P71)
1: 1
Reps
2: 4
Loc [ uStrain ]
*Table 2 Program
2: 0.0000
Execution
Interval
(seconds)
*Table 3 Subroutines
1: Beginning of Subroutine (P85)
;Subroutine to measure "zero"
1: 1
Subroutine
1
2: Do (P86)
;This prevents calling subroutine
1: 11
Set Flag 1 High
;until user sets flag 1 low again.
3: Z=F (P30)
;Set counter use for average to 0
1: 0
F
2: 0
Exponent
of
10
3: 5
Z Loc [ Count ]
4: Z=F (P30)
;load 4 million (4*uS/S) into input location
1: 4
F
2: 6
Exponent
of
10
3: 7
Z Loc [ _4e6 ]
5: Z=F (P30)
;Load Gage Factor into input location
1: 2
F
;Enter the actual Gage Factor here
2: 0
Exponent
of
10
3: 6
Z Loc [ GF ]
6: Z=X/Y (P38)
;calculate multiplier to use with strain
1: 7
X Loc [ _4e6 ]
;calculation
2: 6
Y Loc [ GF ]
3: 8
Z Loc [ Mult ]
7: Beginning of Loop (P87)
;Loop through 5 times to obtain average
1: 0
Delay
;zero reading
2: 5
Loop
Count
8: Z=Z+1 (P32)
;Increment Counter used to determine
1: 5
Z Loc [ Count ]
;when to output
9: Full Bridge (P6)
;Measure Strain Gage
1: 1
Reps
2: 22
± 7.5 mV 60 Hz Rejection Range
3: 1
DIFF
Channel
4: 1
Excite all reps withExchan 1
5: 2500
mV
Excitation
6: 1
Loc [ mVperV ]
7: 1
Mult
8: 0
Offset
10: IF (X<=>F) (P89)
;Check for last pass through loop
1: 5
X Loc [ Count ]
;to set output flag
2: 3
>=
3: 5
F
4: 10
Set
Output
Flag
High
11: Set Active Storage Area (P80)
;Direct averaged "zero" reading
1: 3
Input
Storage
Area
;to input storage
2: 2
Array ID or Loc [ mVperV_0 ]
13