Page 6
26800-90(K)
INPUT PRECIP (SIPHON) measures precipitation from a
YOUNG siphon-type precipitation sensor using a VOLTAGE
INPUT CHAN. Set voltage measurement TYPE as single-ended
(SE) or differential (DIFF). Set precipitation measurement UNIT
to MM or INCH. Apply multiplier and offset with MULT and OFFS
parameters if needed. Result is stored at DLOC.
chan= Voltage input channel (1-16)
type= Input type (SE or DIFF)
unit= Precipitation unit (MM or INCH)
mult= Multiplier value
offs= Offset value
dloc= Destination location (001-256)
INPUT SERIAL NMEA parses a NMEA sentence received on
serial CHAN and stores results starting at DLOC. Numeric elds
are stored as oating point numbers. Single-character ASCII-
letter elds are stored as the equivalent decimal ASCII code.
Example: 'A' = 65. HEADER text must match. WAIT denes the
number of milliseconds to wait for an incoming NMEA string to
appear. Parsing error codes are stored in the DLOC position just
past the one used for the last eld (dloc + #ds + 1).
chan= Serial I/O channel (COM1 or COM2)
header= NMEA sentence header (text)
#ds= Number of data elds in sentence (01-99)
wait= Milliseconds to wait for serial data (0000-9999)
dloc= First data eld (001-256)
dloc+1 Second data eld
dloc+2 Third etc.
...
dloc+ds+1 Error code
0 No Error
1 Header does not match
2 Bad checksum
5 Timeout
6 Asterisk not detected
7 No $ at beginning of sentence
8 Null eld detected
All received serial sentences are stored in an internal buffer. If
WAIT=0, new serial data will not be acquired. Instead, the exist-
ing buffer contents will be parsed. This scheme allows parsing
for multiple headers by testing the error code for a match.
INPUT SERIAL NUM parses an ASCII text string received on
serial CHAN and stores results starting at DLOC. #FLDS de-
nes the number of data elds expected and will determine how
many storage locations are used. DELIM denes the delimiter
character between data elds in the string. ENDCHR denes
the end-of-line characters. When ENDCHR is set to NONE,
instruction will try to parse #FLDS. WAIT denes the number of
milliseconds to wait for an incoming ASCII string to appear. The
internal input buffer is limited to 128 characters.
chan= Serial I/O channel (COM1 or COM2)
#ds= Number of data elds in string (1-99)
delim= Field delimiter (SPACE, COMMA, TAB, NONE)
endchr= End-of-line characters (CR, CR-LF, NONE)
wait= Milliseconds to wait for serial data (0000-9999)
dloc= First data eld (001-256)
dloc+1 Second data eld
dloc+2 Third etc.
...
INPUT SERIAL RMYT parses the RMYT binary string received
on serial CHAN and stores results starting at DLOC. UNITS
denes wind speed units. WAIT denes the number of millisec-
onds to wait for an incoming RMYT string to appear.
chan= Serial I/O channel (COM1 or COM2)
units= Wind speed units (M/S, MPH, KM/H, KTS)
wait= Number of milliseconds to wait for serial data
dloc= Wind Speed destination location (001-256)
dloc+1 Wind direction destination location (001-256)
INPUT VOLTAGE measures voltage from 1 of 16 single-ended
inputs or 7 differential inputs. Differential channels must always
be set to an odd number to dene the input pair (i.e. differential
5 means input pair 5 and 6). Use MULT and OFFS to apply
a multiplier or offset to the measurement. RATE denes the
sample rate. The default rate of 4800Hz provides the fastest
measurement. Slower rates provide greater noise immunity and
additional effective resolution. The result is stored in DLOC.
chan= Voltage input channel (01-16)
type= Input type (SE or DIFF)
mult= Multiplier
offs= Offset
rate= Sample Rate (3.52kHz to 6.875Hz in 10 steps)
dloc= Destination location (001-256)
INPUT WIND DIR (VOLTAGE) measures wind direction using
any single-ended voltage input channel 1 through 4. Designed
for direct connection to a potentiometer transducer in the listed
YOUNG sensor models, this instruction automatically applies a
compensated pull-down resistance to accommodate the potenti-
ometer dead-band. Result in angular degrees is stored in DLOC.
chan= Input channel (1-4)
sensor= Young (03xxx, 04xxx, 051xxx, 053xxx, 05108)
dloc= Destination location (001-256)
INPUT WIND SPEED (FREQ) measures wind speed of listed
YOUNG sensors using any FREQ INPUT channel 1 through 4.
This instruction pre-congures the FREQ INPUT channel for
low-level AC.
chan= Frequency input channel (1-4)
sensor= Young (03xxx, 04xxx, 051xxx, 053xxx, 05108)
units= Wind speed units (M/S, MPH, KM/H, KTS)
dloc= Destination location (001-256)
LOC1 = LOC2 assigns the value in LOC2 to LOC1.
loc1= Location 1 (001-256)
loc2= Location 2 (001-256)
LOC = VALUE assigns the number in VAL to LOC.
loc= Location 1 (001-256)
val= Numerical value
LOC1 = LOC2 OPER LOC3 performs a numerical opera-
tion using the values in LOC2 and LOC3 and stores the result
in LOC1. POW raises the value in LOC2 to the power of the
number in LOC3. MOD calculates the modulo using the value in
LOC3.
loc1= Location where result is stored (001-256)
loc2= Location (001-256)
oper: Math operator (+, -, *, /, POW, MOD)
loc3= Location (001-256)
Comentários a estes Manuais