GET or PUT may address any continuous segment of the memory.
n
(K)ILL command
K is the KILL command that directs the logger to switch OFF until the next
scan cycle (usually 5 seconds).
a command to load location 2 with 0 then exit, would be:
P00020100K
Note: After a GET command, the computer must wait until the logger has
sent the GET data before a KILL is issued.
7.4
Sample Program
The following program written in Microsoft QBASIC communicates between
the PROLOGGER and an IBM PC or compatible computer.
7.4.1
Simple Interrogation Example
This sample program will issue a command to the logger and display the
response from the logger. The commands must be valid commands (see
above).
The “ON ERROR GOTO 140" statement is needed to trap (and ignore via
RESUME statement) any I/O errors that may occur as the logger powers up
and the RS-232 signal lines change state.
Statement 70, sends the command to the logger. Notice that a K command
(kill) is appended to the operator request. This shuts the logger down,
immediately after the request has been completed to save logger battery
power.
Try entering these commands:
G000008
(get 8 bytes from location 0)
G000502
(get 2 bytes from location 5)
G010010
(get 16 bytes (10 hex) from location
256 (Block 1, Location 0)
P00020188G000201
(put 88 into location 2 and
UNIDATA
38 COMPUTER COMMUNICATION
Summary of Contents for Starlog Prologger 7001
Page 6: ......
Page 60: ......
Page 64: ......
Page 67: ...02 PROM Verify Fail 03 Mirror Fail 04 Bad checksum in RAM firmware PROLOGGER Hardware 3...
Page 68: ......