Automating Measurements 6-5
Controlling Peripherals
Using the Parallel Port
Table 6-2 Readable Ports
NOTE When using the WRITEIO(15,0) or WRITEIO(15,3) command, the
Printer_Select Line is set high. However, when the instrument is doing
hardcopy, the Printer_Select Line is set low. The Printer_Select line may
or may not be used by individual printers. Check with your printer
manual.
Port
Number
Register Description
9 0 Reads the serial port.
15 0 Reads the 8-bit data port Cent_D0 thru D7.
15 1 Reads the user bit.
15 2 Reads the limit test pass/fail bit.
15 10 Reads the 8-bit status port.
D0 — Cent_acknowledge
D1 — Cent_busy
D2 — Cent_out_of_paper
D3 — Cent_on_line
D4 — Cent_printer_err