B.3 instruction 15 and parameter descriptions, Parameter 1 - repetitions – Campbell Scientific CR10X Measurement and Control System User Manual
Page 234

APPENDIX B. CONTROL PORT SERIAL I/O INSTRUCTION 15
B-2
FIGURE B-1. Circuit To Limit Input to 0 to 5 Volts
B.3 INSTRUCTION 15 AND
PARAMETER DESCRIPTIONS
PAR.
DATA
NO.
TYPE
DESCRIPTION
01:
2
Repetitions
02:
2
Configuration code (xy)
First Digit (x)
0y ASCII
1y ASCII Hex pair
2y Binary
Second Digit (y)
x0 TTL, 1200 baud
x1 RS-232, 1200 baud
x2 TTL, 300 baud
x3 RS-232, 300 baud
03:
4
CTS / Delay before send
0 = Wait for Clear to Send
>0 = delay (.01 secs)
04: 25
Control ports RTS/DTR,
TXD/RXD
05:
4
Output start Loc
06:
4
Number of locations to send
0 = send nothing
xxxx = locations; preamble
xxxx-- = locations; data
07:
4
Input termination character
(0..255)
08:
4
Maximum number of input
characters
09:
4
Time out for CTS and/or
Input (.01 secs)
10:
4
Input start location
11:
FP
Multiplier
12:
FP
Offset
INPUT LOCATIONS ALTERED determined by input
INTERMEDIATE LOCATIONS USED preamble
size/4 + 1
EXECUTION TIME
If Parameters 3 and 6 are zero (0), maximum
execution time is Parameter 9 times 0.01
seconds (input time out).
If Parameter 3 is 0 and 6 is not 0, maximum
time is Parameter 9 times 0.01 secs times 2
(CTS and input time outs).
If Parameter 8 is 0 (no input), maximum time is
Parameter 3 times .01 secs, or Parameter 9
times .01 secs if Parameter 3 = 0.
Add 8.34 msec per byte output (1200 baud).
NOTE
: Times are shorter if CTS and/or data
input is done before Parameter 9 time out.
PARAMETER 1 - REPETITIONS
Parameter 1 specifies the number of sensors
that can be read using the same Instruction 15
parameter configuration. For example, a REP
of 3 is used for 3 identical sensors or 3 sensors
that are satisfied by the same parameter
configuration. Instruction 15 must be entered
separately for each sensor or group of sensors
requiring a different configuration.
The CR10X sequentially increments sets of
control ports and input locations with each
repetition. The number of control ports used for
each repetition (2, 3 or 4) depends on whether
data is to be output and/or input, and the
number of lines used to control the timing
(Refer to Section B4, "Control Port
Configurations and Sensor Wiring").
The starting output location specified in
Parameter 5 is used for all repetitions.