APPENDIX B. CONTROL PORT SERIAL I/O INSTRUCTION 15
B-5
Characters received following the termination
character are discarded.
PARAMETER 8 - MAXIMUM NUMBER OF
CHARACTERS TO RECEIVE
Parameter 8 defines the total number of
characters to expect per input, including
numeric, non-numeric, polarity, decimal, space,
and carriage return characters. For proper
operation of the (ring) buffer pointer, you should
specify the number of characters ex 1.
When the number of characters specified has
been reached, any additional characters are
discarded as if the termination character had
been received.
Parameter 8 should be 0 if no input is expected.
PARAMETER 9 - DELAY FOR CLEAR-TO-SEND
OR SERIAL INPUT
Parameter 9 is a 4 digit number that specifies a
time out delay in units of 0.01 seconds. The
CTS time out only applies to control port option
7. The time out specifies one of the following:
•
The amount of time to wait for the CTS port
to come high (Parameter 3=0 and
Parameter 6>0). If the delay lapses, -99999
is stored in the input location specified by
Parameter 10 and no data is output.
•
The amount of time to wait for serial input
(Parameter 8>0). If the delay lapses and
some characters have been received, it
acts like a termination character. If no
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, CR23X execution passes
on to the next instruction.
The maximum delay is 99.99 seconds. If a
longer delay is required, enter (-1) in Parameter
9. Under this condition, the program execution
passes to the next instruction only when one of
the other completion conditions (Parameters 7
or 8) are met. Consideration should be given to
the power supply and current drain (45 mA)
when completion of Instruction 15 is delayed for
an extended period.
PARAMETER 10 - INPUT LOCATION
This parameter defines the location in the
CR23X's Input Storage where the first received
data value is stored. Multiple data values are
stored in sequential input locations starting with
the location specified by Parameter 10.
PARAMETERS 11 AND 12 - MULTIPLIER AND
OFFSET
The data received by the CR23X can be scaled
using the multiplier and offset parameters. A
multiplier of 1 and offset of 0 are 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.
Glossary:
DTR
Data Terminal Ready
Output (5V)
RTS
Request to Send
Output (5V)
TXD
Transmit Data
Output
CTS
Clear to Send
Input
RXD
Receive Data
Input
DTR/RTS are the same control port and are
asserted high (5V) when digit A of Parameter 4
is greater than zero.
CONFIGURATION 1
Serial data are received as input only by the
CR23X. No data or preamble are transmitted
as output; the CTS line is not used. Parameter
6 must be 0 and Parameter 8 must be greater
than zero. Parameter 4 is a 2-digit parameter
(AB) and specifies the control port used for RTS
output (A=1,2,3 or 4) and also the control port
used as the serial input line (B=5,6,7 or 8).
RTS in this example, when asserted (5V) tells
the sensor that the CR23X is ready to accept
characters. A total of 2 control ports are being
used per repetition. A maximum of 4 repetitions
can be used in this configuration.
Содержание CR23X
Страница 8: ...CR23X TABLE OF CONTENTS vi This is a blank 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 ...
Страница 34: ...CR23X MICROLOGGER OVERVIEW OV 24 This is a blank page ...
Страница 50: ...SECTION 1 FUNCTIONAL MODES 1 16 This is a blank page ...
Страница 72: ...SECTION 4 EXTERNAL STORAGE PERIPHERALS 4 8 This is a blank page ...
Страница 88: ...SECTION 6 9 PIN SERIAL INPUT OUTPUT 6 10 This is a blank page ...
Страница 103: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 15 CR23X AVW1 FIGURE 7 15 2 Well Monitoring Example ...
Страница 110: ...SECTION 7 MEASUREMENT PROGRAMMING EXAMPLES 7 22 This is a blank page ...
Страница 134: ...SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES 8 24 This is a blank page ...
Страница 164: ...SECTION 9 INPUT OUTPUT INSTRUCTIONS 9 30 This is a blankpage ...
Страница 188: ...SECTION 11 OUTPUT PROCESSING INSTRUCTIONS 11 8 This is a blankp age ...
Страница 221: ...SECTION 13 CR23X MEASUREMENTS 13 21 FIGURE 13 5 1 Circuits Used with Instructions 4 9 ...
Страница 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 ...
Страница 239: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 13 S A N Y O FIGURE 14 11 6 Removal of band clamp and battery ...
Страница 240: ...SECTION 14 INSTALLATION AND MAINTENANCE 14 14 This is a blank page ...
Страница 244: ...APPENDIX A GLOSSARY A 4 This is a blank page ...
Страница 268: ...APPENDIX B CONTROL PORT SERIAL I O INSTRUCTION 15 B 24 This is a blank page ...
Страница 276: ...APPENDIX C BINARY TELECOMMUNICATIONS C 8 This is a blank page ...
Страница 278: ...This is a blank page ...
Страница 282: ...APPENDIX F DYNAGAGE SAP FLOW P67 F 4 This is a blank page ...
Страница 299: ...APPENDIX I TD OPERATING SYSTEM ADDENDUM FOR CR510 CR10X AND CR23X MANUALS ...
Страница 300: ...This is a blank page ...
Страница 302: ...This is a blank page ...
Страница 308: ...TABLE DATA ADDENDUM AD 6 This is a blank page ...
Страница 324: ...TD ADDENDUM SECTION 1 FUNCTIONAL MODES AD 1 8 This is a blank page ...
Страница 340: ...TD ADDENDUM SECTION 8 PROCESSING AND PROGRAM CONTROL EXAMPLES AD 8 10 This is a blank page ...
Страница 342: ...This is a blank page ...
Страница 373: ...This is a blank page ...