APPENDIX C. BINARY TELECOMMUNICATIONS
C-2
another J command or telecommunications
is terminated.
The 4th MSB indicates if the input locations
requested by the J command are 2 byte (B4
set) or 1 byte. In the case of 2 byte
locations (most significant byte first), the
terminating location is a 2 byte NULL. FF in
the most significant byte will still abort the
command.
If “b” = FF or 11111111, then the J
command aborts.
The remaining bits are reserved.
4) If the 2nd MSB in "b" was set then "c" is a
port toggle byte, otherwise "c,d,...,n" are
each 1 byte binary values each
representing a datalogger input storage
location. The data at those locations will be
returned after the next K command. ASCII
code 1 (0000001 binary) represents input
location 1. ASCII codes 2 (00000010
binary) represents input location 2, and so
on. The order of the location requests is not
important. The list is limited, however, to 62
total location requests.
5) "Null" or ASCII code 0 (00000000 binary)
terminates the J command. Alternately,
11111111 binary aborts the J command. If
aborted, flags will not be toggled and
location requests will not be saved.
For example:
User
Datalogger
Enters
Echo
2
2
4
4
1
1
3
3
J
J
CR
CR
LF
<
a
a
b
b
c
c
d
d
n
n
Null
Null
K
The K command returns datalogger time,
user flag status, port status if requested, the
data at the input locations requested in the J
command, and Final Storage Data if
requested by the J command. The format of
the command is K<CR> (K Return). The
datalogger will echo the K and Return and
send a Line Feed. The amount of data that
follows depends on the J command
previously executed; four time bytes, a user
flags byte, four bytes for each input location
requested in the J command, Final Storage
data in CSI's binary format if requested by
the J command, and terminating in 7F 00
HEX and two signature bytes.
User
Datalogger
Enters
Echo
K
K
CR
CR
LF
Time Minutes byte 1
Time Minutes byte 2
Time Tenths byte 1
Time Tenths byte 2
Flags 1..8 byte
Ports byte (if requested)
Flags 11..18 byte (if requested)
Data1 byte 1
Data1 byte 2
Data1 byte 3
Data1 byte 4
Data2 byte 1
Data2 byte 2
Data2 byte 3
Data2 byte 4
DataN byte 1
DataN byte 2
DataN byte 3
DataN byte 4
Final Storage Data bytes
01111111 binary byte
00000000 binary byte
Signature byte 1
Signature byte 2
Time Minutes byte 1 is most significant.
Convert from binary to decimal. Divide by 60 to
get hours, the remainder is minutes. For
example, 00000001 01011001 (01 59 HEX) is
345 decimal minutes or 5:45.
Time Tenths byte 1 is most significant. Convert
from binary to decimal. Divide by 10 to get
seconds and tenths of seconds. For example,
00000001 11000110 (01 C6 HEX) is 454
decimal or 45.4 seconds. Thus the datalogger
time for 01 59 01 C6 HEX is 5:45:45.4.
Содержание 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 ...