Operator`s manual
C-1
APPENDIX C. BINARY TELECOMMUNICATIONS
C.1 TELECOMMUNICATIONS
COMMAND WITH BINARY
RESPONSES
Command Description
[no. of loc.]F BINARY DUMP - 21X sends, in
Final Storage Format (binary,
the number of Final Storage
locations specified (from
current MPTR locations), then
Signature (no prompt).
DATALOGGER J AND K COMMANDS
3142J The 3142J command is used to toggle
datalogger user flags, request Final Storage
data, and to establish the input locations
returned by the K command. The format of
the command is as follows:
3142J<CR>abcd...nNULL
where
1) "3142J<CR>" is the command.
2) "a" is a 1 byte value representing the user
flags to be toggled. The most significant bit
(MSB), if set, will toggle datalogger user flag
8. Likewise, the 2nd most significant bit, if
set, will toggle user flag 7, and so on to the
least significant bit which, if set, toggles
user flag 1. Toggle means that if a flag is
set, it will be then reset, or if it is reset, it will
be set.
3) "b" is a 1 byte value whose MSB will
determine whether Final Storage Data is
returned after the K command. If the bit is
set, Final Storage Data, if any, will be
returned after the next K command. The
datalogger initially has this bit reset upon
entering telecommunications, but once set
by a J command, it will remain set until
reset by another J command or
telecommunications is terminated.
The 2nd MSB set means a port toggle byte
will follow and port status is to be returned
with the K command. Like the MSB, this bit
is reset upon entering telecommunications,
but remains set once set until reset by
another J command or telecommunications
is terminated.
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.
User Datalogger
Enters Echo
33
11
44
22
JJ
CR CR
LF
<
aa
bb
cc
dd
nn
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