I
-
Automating Measurements
Operator Interaction
Analyzer
Port
Numbers
Writeable Ports
pert Number
15
0
15
I
1
15
2
15
3
9
0
Table 7-2. Writeable Ports
Description
Outputs g-bit data to the Cent-DO thru 07 lines of the Centronics port. CentJlO is the leas
significant bit, Cent-D7 is the most significant bit. Checks Centronics status lines for:
Out of Paper
Printer Not on Line
BUSY
ACKNOWLEDGE
Sets/clears the user bit according to the least significant bit of A. A least significant bit
equal to
1
sets the user bit high. A least significant bit of
0
clears the user bit.
Sets/clears the limit pass/fail bit according to the least significant bit of A. A least significant
bit equal to 1 sets the pass/fail bit high. A least significant bit of
0
clears the pass/fail bit.
Outputs g-bit date to the Cent-DO thru 07 lines of the Centronics port. Cent-DO is the
least significant bit, Cent-D7 is the most significant bit. Sets the Printer-select signal high
Ideselect]. Does not check Centronics status lines.
Outputs a byte to the serial port. The byte is output serially according to the configuration
for the serial port.
NOTE
When using the
WRITE10
(15
,O>
or
WRITE10
(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.
7-39
_I
I-
深圳市盛腾仪器仪表有限公司 Tel:0755-83589391 Fax:0755-83539691 Website: www.Sengt.com