beautypg.com

Parameter 10 - input location, Parameters 11 and 12 - multiplier and offset, B.4 control port configurations and sensor wiring – Campbell Scientific CR10X Measurement and Control System User Manual

Page 237: Configuration 1, Configuration 2, Configuration 3, Configuration 4

background image

APPENDIX B. CONTROL PORT SERIAL I/O INSTRUCTION 15

B-5

characters have been received, a -99999 is
stored to indicate a fault in communication.

• Both of the above (Parameter 3=0 and

Parameter 6>0 and Parameter 8>0).

If output and input are completed before the
end of the delay, program execution
immediately advances to the next instruction.
Thus, the delay may be over-estimated without
slowing down table execution.

If the delay expires, CR10X execution passes
on to the next instruction.

The maximum delay is 99.99 seconds. If a
longer delay is required, enter –1 for Parameter
9. Under this condition, the program execution
passes to the next instruction when one of the
other completion conditions (Parameters 7 or 8)
are met. Consideration should be given to the
power supply and current drain (13 mA) when
Instruction 15 is delayed for an extended period.

PARAMETER 10 - INPUT LOCATION

This parameter defines the location in the
CR10X's Input Storage where the first received
data value is stored. Multiple data values are
stored in sequential input locations, starting with
the one specified by Parameter 10.

PARAMETERS 11 AND 12 - MULTIPLIER AND

OFFSET

The data received by the CR10X can be scaled
using the multiplier and offset parameters. A
multiplier of 1 and offset of 0 is required to
preserve the data in the same form that it was
received.

B.4 CONTROL PORT CONFIGURATIONS

AND SENSOR WIRING

The table below lists all possible input/output
configurations.

CONFIGURATION 1

Serial data are received by the CR10X. No data
or preamble is output; the CTS line is not used.
Parameter 6 must be 0 and Parameter 8 must

be greater than zero. A single-digit Parameter 4
specifies the control port used for the RTS/DTR
line while the next port connects to the Serial
Input line. With a double-digit Parameter 4, the
first digit specifies the Serial Input line and the
second digit, the RTS/DTR line (“0” specifies no
RTS/DTR line). With RTS/DTR a total of 2
control ports are used per repetition.

CONFIGURATION 2

Serial data are output from the CR10X without
using the CTS line. There is no input.
Parameters 3 and 6 must be greater than zero
and Parameter 8 must be zero. A single-digit
Parameter 4 specifies the control port used for
the RTS/DTR line while the next port connects
to the Serial Output line. With a double-digit
Parameter 4, the first digit specifies the Serial
Output line and the second digit, the RTS/DTR
line (“0” specifies no RTS/DTR line). With
RTS/DTR a total of 2 control ports are used per
repetition.

CONFIGURATION 3

Serial data are output from the CR10X with the
aid of the CTS line. There is no input.
Parameters 3 and 8 must be zero and
Parameter 6 must be greater than zero. A
single-digit Parameter 4 specifies the control
port used for the RTS/DTR line while the next
port connects to the Serial Output line. With a
double-digit Parameter 4, the first digit specifies
the Serial Output line and the second digit the
consecutive CTS and RTS/DTR lines. A total of
3 control ports are used per repetition.

CONFIGURATION 4

Serial data are output and serial data received
by the CR10X. The CTS line is not used.
Parameters 3, 6 and 8 must be greater than
zero. A single-digit Parameter 4 specifies the
control port used for the RTS/DTR line while the
next two consecutive ports connect to the Serial
Output and Serial Input lines. With a double-
digit Parameter 4, the first digit specifies the
consecutive Serial Output and Serial Input lines
and the second digit, the RTS/DTR line (“0”
specifies no RTS/DTR line). With RTS/DTR a
total of 3 control ports are used per repetition.