
Page 3of 4
J8 is a 14-pin connector that provides full duplex serial data I/O
to and from the printer. The format is RS232C with 1 start bit,
8 data bits, no parity and 1 stop bit. The baud rate as normally
shipped by B-G Instruments is set to 1200. This may be
changed to 2400, 4800 or
9600 by removing one or
both of 2 jumpers
installed on JP1, as shown
in the diagram at the right.
These jumpers aresensed
and the respective-baud
rate is established at
power-on, so that
changing jumper positions
after power on will not
change the baud rate.
Two serial protocols are available for sending data to the
printer; DATA BUSY and XON/XOFF. If the DATA BUSY
protocol is used, the host computer should monitor the state of
the RTS line before sending each byte. A high condition at the
connector indicates READY, while a low condition indicates
BUSY. When the printer changes from the READY state to
the BUSY state, it transmits the XOFF character ($13) via the
serial output. When it changes from BUSY to READY, it
transmits the XON character ($11). This enables the host to
implement the XON/XOFF protocol, eliminating the need to
monitor the RTS line. At power-on, the printer sends an XON
character to the host. After that, XOFF and XON characters
will be sent alternately, as required by the BUSY/READY
condition of the printer.
The standard printer program does not implement any
protocol for use of the XON, XOFF, DC2 andDC4 characters
in transmission from printer to host, ie., the printer assumes
the host is always ready to receive the characters. In custom
applications, the printer can be programmed to use this
protocol or to monitor the DSR line to determine the
readiness of the host to receive data.
The following lists the serial interface pin assignments on J8.
This pin out is such as to match the standard 25-pin RS232C
"D" connector when connected via ribbon cable:
Pin Name Meaning & Direction
32TDX transmitted data from printer
5
3RXD received data to printer
7
4RTS ready to send from printer
14
20 RTS “ “
11
6DSR data set ready to printer
13 7Signal gnd common return
Connector J9 includes 8 sense lines and 8 drive lines which
may be used for various switching, sensing and output
functions in a custom application program. In the standard
DataPlot program, 4 of the sense lines and 3 of the drive lines
are used to interface a 3x4 matrix keypad, which may be used
to set and read an optional clock/calendar in "application”
mode and for various test and font selection purposes in "test"
mode. These functions are described further under
"CLOCK/CALENDAR" and "SELF TEST PRINTOUTS" in
this data sheet and in the "Standard DataPlot Character Fonts"
data sheet, respectively.
The diagram at the left shows the jumper positions on JP1
that establish "TEST" and "APPLICATION" modes for the
keypad.
The diagram below and to the left shows the portion of the J9
interface that is used for a keypad and paper advance switch in
the standard DataPlot program. J9 also has 4 additional sense
lines and 5 additional drive
lines that are not used by
the standard program but
are available for use by a
special application program
that may need the additional
input and/or output lines. If
your printer has such a
custom application, refer to
its special documentation
for assignment of any
additional interface pins.
If your printer is equipped with the clock/calendar option, there
may also be a custom application program installed in the
printer. If so, refer to the documentation that describes that
program to determine the clock function and the manner of
setting the time and date.
The standard DataPlot program also provides for setting and
reading the time and date by using a keypad that is
connected to J9 as described under "KEYPAD
INTERFACE" elsewhere in this data sheet. For such use,
the keypad must be in "APPLICATION" mode.
To set the clock, key in the date and time in the format:
MMDDYYhhmm, then press the E key. If the time and date are
valid, the clock will be set and started and the date and time
will be printed for verification. The date and time will then be
printed whenever the keypad is in "APPLICATION" mode and
the E key is pressed with no preceding numerical entry.