beautypg.com

Configuration 2, Configuration 3, Configuration 4 – Campbell Scientific CR23X Micrologger User Manual

Page 250: Configuration 5

background image

APPENDIX B. CONTROL PORT SERIAL I/O INSTRUCTION 15

B-6

TABLE B-1. Input/Output Configurations

Configuration

Parameters

Port Function

Ports

Number

3 6 8

DTR/RTS CTS TXD RXD

Used

1

DTR,RX

x

0

nz

A

nc

nc

B

2

2

DTR,TX

nz

nz

0

A

nc

B

nc

2

3

DTR,CTS,TX

0

nz

0

A

A+1

B

B+1

3

4

DTR,TX, RX

nz

nz

nz

A

nc

B

B+1

3

5

DTR,CTS,TX,RX

0

nz

nz

A

A+1

B

B+1

4

RTS/DTR = Request to Send

TXD = serial output

/Data Terminal Ready

RXD = serial input

CTS = Clear to Send

nz

= non-zero number

x = don't care

nc

= not connected

A = control port to use for DTR/RTS and CTS

B

= control port to use for TXD and RXD

Parameter 3 = CTS/Delay before send
Parameter 6 = Number of Locations to Send
Parameter 8 = Maximum number of characters to receive

“A” and “B” are incremented by the number of "Ports Used" for each repetition.

CONFIGURATION 2

Serial data are transmitted from the CR23X
without using the CTS line. There is no receive
data input in this configuration. Parameters 3
and 6 must be greater than zero and Parameter
8 must be zero. Parameter 4 is a 2-digit
parameter (AB) and specifies the control port
used for the DTR output line (A = 1, 2, 3 or 4)
and also the control port used for the serial
output line (B = 5, 6, 7 or 8). When DTR output
is asserted (5V), the CR23X is telling the sensor
that it is getting ready to transmit characters
immediately. A total of 2 control ports are being
used per repetition. A maximum of 4 repetitions
can be used in this configuration.

CONFIGURATION 3

Serial data are transmitted from the CR23X with
the aid of the CTS Line. There is no received
data input line used. Parameters 3 and 8 must
be zero and Parameter 6 must be greater than
zero. When DTR is asserted (5V) the CR23X is
telling the sensor that it is getting ready to
transmit characters immediately but it first
checks the state of CTS. If the CTS input line is
low (0V) then the Datalogger will not transmit
characters to the sensor. Data are transmitted
immediately after the delay in specified in
Parameter 3. Parameter 4 is a 2-digit
parameter (AB) and specifies the control port
used for the DTR line (A = 1, 2, 3 or 4) and also

the control port used for the serial output line
(B = 5, 6, 7 or 8). A total of 3 control ports are
being used per repetition. A maximum of 2
repetitions can be used in this configuration.

CONFIGURATION 4

Serial data are transmitted and received by the
CR23X. The CTS line is not used. Parameters
3, 6 and 8 must be greater than zero.
Parameter 4 is a 2-digit parameter (AB) and
specifies the control port used for the RTS line
(A = 1, 2, 3 or 4) and also the starting control
port used for the serial output and serial input
pairs (B = 5 and 6 or 7 and 8). Control ports 6
and 7 (TX/RX pairs) can also be used but this
limits the repetitions to 1. RTS output in this
example, when asserted (5V), tells the sensor
that the CR23X is ready to receive characters.
Data are transmitted immediately after the delay
in specified in Parameter 3. A total of 3 control
ports are being used per repetition. A
maximum of 2 repetitions can be used in this
configuration.

CONFIGURATION 5

Serial data are transmitted and received by the
CR23X. The CTS line is used. Parameter 3
must be zero while Parameters 6 and 8 must be
greater than zero. Parameter 4 is a 2-digit
parameter (AB) and specifies the control port
used for the RTS output and CTS input line pair