APPENDIX B. CONTROL PORT SERIAL I/O INSTRUCTION 15
B-14
06:
P77
Real Time
01:
110
Day,Hour-Minute
07:
P70
Sample
Output out of range reading
01:
1
Rep
02:
1
Loc AIR, mb
08:
P86
Do
Set Intermediate Processing
01:
19
Set high Flag 9
Disable Flag
09:
P86
Do
Set Flag 1 low
01:
21
Set low Flag 1
10:
P95
End
End of If Flag Then Do
11:
P92
If time is
Output mb twice/day
01:
0
minutes into a
02:
720
minute interval
03:
10
Set high Flag 0 (output)
12:
P77
Real Time
01:
110
Day,Hour-Minute
13:
P71
Average
01:
1
Reps
02:
1
Loc AIR, mb
14:
P
End Table 1
Input Location Labels:
1:AIR, mb
B.7.2 EXAMPLE 2: CR23X TO CR23X
COMMUNICATION
The following example shows how data can be
sent between CR23X's. The program for the
CR23X sending the data, CR23X#1, includes a
loop which creates data to send; the numbers
are generated and stored in Input Locations 1
through 10. Instruction 15 then transfers the
contents of Locations 1 through 10 to
CR23X#2. Instruction 15 in CR23X#2 receives
and stores the values in Input Locations 11
through 20.
As shown in Figure 2, the DTR from #1 is
connected to control port 8 of CR23X#2. RS-
232 logic is used so DTR is +5V when asserted.
The DTR going high is connected to port 8 of
CR23X#2, causing subroutine 98 to be
executed (refer to CR23X manual, Instruction
85, Section 12). Subroutine 98 contains
Instruction 15, programmed to receive input.
CR23X#2's RTS is connected to CR23X#1's
CTS. When CR23X#2 executes Instruction 15,
the RTS going high signals CR23X#1 to send
data.
CR23X#1
CR23X#2
SEND DATA
RECEIVE DATA
FUNCTION PORT PORT FUNCTION
DTR
C1 ----------->C8
Interrupt; SBR 98
CTS
C2<----------- C1
RTS
TX
C5 ----------->C5
RX
FIGURE B-2. Wiring Diagram for CR23X to CR23X Communication Example
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 ...