Manual
Page 8
26800-90(K)
  BLOCK type progressively examines new samples and stores 
the current minimum in DLOC. When FLAG 1 is set, the mini-
mum is stored in DLOC+1 and reset with the value in SLOC. 
MOVING type maintains a list of #SAMP samples. DLOC and 
DLOC+1 are both set to the minimum value in the entire list. The 
minimum is updated with every new sample. Each new sample 
displaces the oldest sample on the list. The number of samples 
that can be maintained in the list is limited by available memory. 
If PGM ERR HANDLE is set to STOP, an error will be generated 
when #SAMP exceeds available memory.
    sloc=  Source location (001-256)
    dloc1=  Destination location(001-256)
    type=  Min type (BLOCK or MOVING)
    #SAMP=  Number of samples to examine (0001-7000)
          Limited to available memory for MOVING MAX.
OUTPUT MILLIAMPS produces output current in 1 of 4 analog 
output channels using the value in SLOC. MULT and OFFS may 
be used to scale the SLOC value with a multiplier and offset. 
Output current is limited to 0.00 to 20.00 mA.
    sloc=  Source location (001-256)
    chan=  Analog output channel (1-4)
    mult=  Multiplier
    offs=  Offset
OUTPUT MILLIVOLTS produces output voltage in 1 of 4 analog 
output channels using the value in SLOC. MULT and OFFS may 
be used to scale the SLOC value with a multiplier and offset. 
Output voltage is limited to 0 to 5000 mV.
    sloc=  Source location (001-256)
    chan=  Analog output channel (1-4)
    mult=  Multiplier
    offs=  Offset
OUTPUT SWITCH sets the state of 1 of 4 SOLID STATE 
SWITCH channels.
    chan=  Solid state switch channel (1-4)
    state=  State of switch (ON or OFF)
IMPORTANT NOTE ABOUT RECORD INSTRUCTIONS:
 RECORD TIME and RECORD VALUE instructions store data to 
an internal serial ash device. Up to 2,162,688 single-precision 
oating point data values may be recorded. The storage scheme 
is one large circular buffer with each RECORD instruction storing 
data in the next available location. When the end of memory is 
reached, the internal index starts back at the beginning.
RECORD TIME records TIME or DATE to internal ash memory. 
DATE is encoded as a large integer. For example, 2008 May 27 
is stored as 20080527. TIME is similarly stored in hundredths 
of a second. For example, 15:23:07.00 is stored as 15230700. 
RMYComm can retrieve these values and convert them to con-
ventional form.
    frmt=  Record format (DATE or TIME)
RECORD VALUE records the number stored in SLOC to internal 
ash memory.
    sloc=  Source location (001-256)
IMPORTANT NOTE ABOUT SERIAL INSTRUCTIONS:
 All SERIAL BUFFER instructions (except SERIAL BUFFER OUT) 
add ACSII text to the serial output buffer. An internal buffer index 
increments with each new character added. This process contin-
ues until the 128-character buffer size limit is reached or a SERIAL 
BUFFER OUT instruction is executed. If the buffer limit is reached, 
no further text will be added and generate an error if PGM ERR 
HANDLE is set to STOP. Any USER PROGRAM that adds text to 
the serial buffer should always include a SERIAL BUFFER OUT 
instruction. After executing a SERIAL BUFFER OUT instruction, 
the internal index is reset to the beginning of the output buffer.
SERIAL BUFFER CHECKSUM calculates a checksum based 
on the contents of the serial output buffer and places it at the 
end. TYPE may be set to SIMPLE, CRC32, or NMEA. SIMPLE 
uses the arithmetic sum of ASCII values to produce a 5-digit inte-
ger. CRC32 uses CRC-32-IEEE 802.3 to produce an 8-character 
hex value. NMEA produces a marine NMEA 0183 standard 
checksum presuming that the sentence meets all other NMEA 
formatting requirements.
    type=  Checksum type (SIMPLE, CRC32, or NMEA)
SERIAL BUFFER NESW takes angular wind direction (in 
degrees) from SLOC, translates it to a compass point description 
(N, NNE, NE, ENE, E, etc...), and adds the 3-character string to 
the serial output buffer. DELIM denes the delimiter to be placed 
at the end of the eld.
    sloc=  Source location
    delim=  Field delimiter (SPACE, COMMA, TAB, NONE)
SERIAL BUFFER OUT transmits the contents of the serial 
output buffer through serial CHAN COM1 or COM2. END-
CHR denes the termination characters sent at the end of the 
transmission. DELAY denes the number of milliseconds after 
transmission before the instruction continues program execution. 
After transmission, the internal output buffer index is reset to the 
beginning.
    chan=  Serial I/O channel (COM1 or COM2)
    endchr=  Termination characters (CR, LF, NONE)
    delay=  Millisecond delay (00-99)
SERIAL BUFFER TEXT adds up to 25 characters to the to 
the serial output buffer. To truncate to less than 25 characters, 
terminate the text string with the ' \ ' (backslash) character.
  text=    Text string
SER BUF TIME adds TIME or DATE text to the serial output 
buffer. FRMT determines whether DATE or TIME is used. DATE 
produces yy-mm-dd (yy= year, mm=month, dd=day). TIME 
produces hh:mm:ss (hh=hour, mm=minute, ss=seconds). DELIM 
denes the delimiter placed at the end of the eld.
    frmt=  DATE or TIME
    delim=  Field delimiter (SPACE, COMMA, TAB, NONE)
SERIAL BUFFER VALUE adds the number in SLOC to the 
serial output buffer. WIDTH denes the total character width, 
DECPT denes the number of digits after the decimal point. 
DELIM denes the eld delimiter inserted at the end.
    sloc=  Source location
    width=  Number of characters
    decpt=  Number of digits after decimal point
    delim=  Field delimiter (SPACE, COMMA, TAB, NONE)










