
49
HI9318
by pressing the 9 key and then the PGM key.
Enter the ASCII Code of the desired prefix character and then press the
ENTER A key for
HI9017
or the A key for
HI9318
.
It is advisable to use a control character as a prefix (not RETURN,
which already performs other functions) or a non-control character
which is not being used for other purposes, for example the "@" sign
(ASCII Code64).
MORE ABOUT KBS COMMAND (FOR HI9318 ONLY)
The KBS Command (KeyBoard Send) disconnects the keyboard from
the pH meter and connects it to the RS 232C interface.
Whenever a key is pressed on the keyboard, a string of characters
which represents the key itself is sent by means of interface, followed
by a RETURN character.
The strings corresponding to the various keys are the following:
- the figures from 0 to 9 for the numbered keys;
- the minus sign (-) for the +/- key;
- the full stop (.) for the decimal point.
The other keys (CAL, CON, A, B, C, DATE, RANGE, PGM, TEMP, PRINT
and CLEAR) are represented by their own abbreviations.
The OFF and PAPER keys maintain their own functions and are not
sent to the computer.
GRAPHIC PRINTOUT (FOR HI9318 ONLY)
The HI 9318 printer may also be programmed for graphic mode
printing for the reproduction of bit graphs and maps: every 16 bytes of
data received from the pH meter produce an elementary line of dots
rather than a line of text.
In order to print one or more lines of dots (96 dots per line), the
computer must first send the PPR command to set the printer in the
graphic mode, then:
- divide the 96-dot line into 16 segments of 6 dots long,
- interpret each segment as a binary number (the left most dot will
be the most significant bit),
- add hexadecimal 20 or decimal 32 to each binary number and
- send the 16 numbers as 16 characters.