Fxugc_C - Spirit flow-x Function Reference

Table of Contents

Advertisement

Flow-X─ Function Reference
4-302
Flow-X General functions - fxUGC_C

fxUGC_C

The function calculates the density from a frequency input signal provided by a UGC densitometer and
corrects it for temperature and pressure effects in US customary units.
Note: Calibration constants also need to be in US customary units.
Function inputs
Name
Periodic time
Line temperature
Line pressure
Temperature
correction
Pressure correction
Reference
temperature
Reference pressure
K0
K1
K2
KT1
KT2
KT3
KP1
KP2
KP3
Function outputs
Status
Corrected density
Uncorrected density
Remark
Optional tag name, tag
description and tag group
In microseconds
Equals 1000 divided by the
frequency in [Hz]
Used when temperature
correction is enabled
Used when pressure
correction is enabled
0: Disabled
1: Enabled
0: Disabled
1: Enabled
Used when temperature
correction is enabled
Used when pressure
correction is enabled
Constant K0 from calibration
certificate
Constant K1 from calibration
certificate
Constant K2 from calibration
certificate
Constant KT1 from
calibration certificate
Constant KT2 from
calibration certificate
Constant KT3 from
calibration certificate
Constant KP1 from
calibration certificate
Constant KP2 from
calibration certificate
Constant KP3 from
calibration certificate
Remark
0: Normal (No error
condition)
1: Input argument out of
range
2: Calculation error
Density corrected for
temperature and pressure
Uncorrected (indicated)
density
EU
SW tag
Range
s
0..1e6
°F
-
459.67..+1000
psig
0..3000
-
TEMPCOR
-
PRESCOR
°F
REFTEMP
0..200
psig
REFPRES
0..1500
-
K0
-1e9..1e9
-
K1
-1e9..1e9
-
K2
-1e9..1e9
KT1
-1e9..1e9
KT2
-1e9..1e9
KT3
-1e9..1e9
KP1
-1e9..1e9
KP2
-1e9..1e9
KP3
-1e9..1e9
EU
SW tag
Alarm
STS
FIOOR
CALC
lbm/ft3
CORDENS
lbm/ft3
UNCDENS
Default
1
1
60
0
Fallback
0
0

Advertisement

Table of Contents
loading

Table of Contents