![Campbell CR23X Operator'S Manual Download Page 82](http://html1.mh-extra.com/html/campbell/cr23x/cr23x_operators-manual_489029082.webp)
SECTION 6. 9-PIN SERIAL INPUT/OUTPUT
6-4
FIGURE 6.2-3. Servicing of Ring Interrupts
6.2.4 MODEM/TERMINAL PERIPHERALS
The CR23X considers any device with an
asynchronous serial communications port which
raises the Ring line (and holds it high until the
ME line is raised) to be a modem peripheral.
Modem/terminals include Campbell Scientific
phone modems, and most computers,
terminals, and modems using the SC32A
Optically Isolated RS-232 Interface, the SC932
RS-232 DCE Interface, or the SC929 cable.
When a modem raises the Ring line, the CR23X
responds by raising the ME line. The CR23X
must then receive carriage returns spaced at
least 50 ms apart until it can establish baud rate.
When the baud rate has been set, the CR23X
sends a carriage return, line feed, "
∗
".
The ME line is held high until the CR23X receives
an "E" to exit telecommunications. The ME is
also lowered if a character is not received after 40
seconds in the Telecommunications Command
State (2 minutes in the Remote Keyboard State).
Some modems are quite noisy when not on line; it
is possible for valid characters to appear in the
noise pattern. For this reason, the CR23X counts
all the invalid characters it receives from the time
it answers a ring, and terminates communication
(lowers the ME line and returns to the
0
Mode) after receiving 150 invalid characters.
6.2.5 SYNCHRONOUS DEVICE
COMMUNICATION
Synchronous Devices (SDs) differ from enabled
peripherals (Section 6.2.1) in that they are not
enabled solely by a hardware line. An SD is
enabled by an address synchronously clocked
from the CR23X. Up to 16 SDs may be
addressed by the CR23X, requiring only three
pins of the 9-pin connector.
Synchronous Device Communication (SDC)
discussed here is for those peripherals which
connect to the 9-pin serial port. This should not
be confused with Synchronous Device for
Measurement (SDM) peripherals connected to
control ports 1, 2, and 3. (Although the
communication protocol for SDMs is very
similar, their addressing is independent of SDC
addresses and they do not have a ring line.)
SD STATES
The CR23X and the SDs use a combination of
the Ring, Clock Handshake (CLK/HS) and
Synchronous Device Enable (SDE) lines to
establish communication. The CR23X can put
the SDs into one of six states.
STATE 1
, the SD Reset State
The CR23X forces the SDs to the reset/request
state by lowering the SDE and CLK/HS lines.
The SD cannot drive the CLK/HS or RXD lines
in State 1, however, it can raise the Ring line if
service is needed. The SD can never pull the
Ring low if a Modem/Terminal is holding it high.
Data on TXD is ignored by the SD.
STATE 2
, the SD Addressing State
The CR23X places the SDs in the addressing
state by raising CLK/HS followed by or
simultaneously raising SDE (Figure 6.2-4). TXD
must be low while SDE and CLK/HS are
changing to the high state.
State 2 requires all SDs to drop the Ring line
and prepare for addressing. The CR23X then
synchronously clocks 8 bits onto TXD using
CLK/HS as a clock. The least significant bit is
transmitted first and is always logic high. Each
bit transmitted is stable on the rising edge of
CLK/HS. The SDs shift in bits from TXD on the
rising edge of CLK/HS provided by the CR23X.
The CR23X can only address one device per
State 2 cycle. More than one SD may respond
Summary of Contents for CR23X
Page 8: ...CR23X TABLE OF CONTENTS vi This is a blank page ...
Page 12: ...CR23X MICROLOGGER OVERVIEW OV 2 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE OV1 1 CR23X Micrologger ...
Page 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Page 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Page 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Page 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Page 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Page 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Page 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Page 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Page 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Page 229: ...14 3 1 2 3 A 4 5 6 B 7 8 9 C 0 D FIGURE 14 3 1 CR23X Battery Pack and Panel ...
Page 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Page 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Page 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Page 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Page 278: ...This is a blank page ...
Page 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Page 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Page 300: ...This is a blank page ...
Page 302: ...This is a blank page ...
Page 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Page 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Page 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Page 342: ...This is a blank page ...
Page 373: ...This is a blank page ...