beautypg.com

Campbell Scientific CR10X Measurement and Control System User Manual

Page 243

background image

APPENDIX B. CONTROL PORT SERIAL I/O INSTRUCTION 15

B-11

07:

13

Input termination character is
Carriage Return

08:

9

Max characters to receive + 1

09: 100

Delay for input is 1.0 second

10:

?

First input location, User's choice

11:

1

Multiplier

12:

0.0000

Offset

The following paragraphs contain more detailed
information on some of the parameters.

Parameter 2 - Set to 00 to select the TTL

logic levels.

Parameter 4 - The “A” control port is

connected to the "shut down"
line (green); the “B” to the TTL
dataline (black).

Parameter 7 - The input termination

character is carriage return (13).

Parameter 8 - Total number of characters to

expect per input for 1 barometric
reading is 9. One value from the
AIR barometer typically consists
of an occasional garbage
character, a sign, 5 data
characters, 1 decimal point, and
a carriage return.

When reading a serial input, Instruction 15 uses
intermediate and input locations. One input
location is required per data point. The number
of intermediate locations consumed is
dependent on the value of Parameter 8. To
minimize the number of intermediate locations

used, Parameter 8 should be equal or one
greater than the number of characters per
barometer output.

Table 3 provides information on the number of
characters to expect from various barometer
modes.

If the barometer output contains multiple data
points, the input location specified in Parameter
10 is sequentially incremented for each data
point.

Parameter 9 - The time out parameter limits

the amount of time that
Instruction 15 waits to receive a
input. The execution time of
Instruction 15 is dependent on
both the hook-up configuration
and the barometer jumper
configuration. Exact execution
time must be verified, but an
initial estimate may be
calculated as follows:

HOOK-UP CONFIGURATION #1:
ET = 0.1 x MA + 0.9

HOOK-UP CONFIGURATION #2:
ET = 0.1 x MA + 0.6

WHERE: ET = Execution time in seconds

MA = Number of measurements averaged by
the sensor

Parameter 9 Time out = ET/0.01