Testing Communication With Basic - HP 7475a Operation And Interconnection Manual

Graphics plotter
Hide thumbs Also See for 7475a:
Table of Contents

Advertisement

Testing Communication without BASIC
To test the computer/plotter interface without using BASIC, turn on
your computer and plotter, load pens and paper, then follow these
steps.
At the DOS prompt, type the following (substitute COM2 for
1 .
COM1, if necessary) and press ENTER.
MODE COM1: 9600 , N , 8 , 1 , P
This sets the RS·232-C port for 9600 baud, no parity,
one stop bit, and continuous error checking.
2.
Type the following (substitute COM2 for COM1, if necessary) and
press ENTER.
ECHO I N ; SP1 ;PA0 , 0 ; PD0 , 1S00 , 1S00, 1S00 , 0 , 0 ; SP0>COMl
The plotter selects pen #1, draws a triangle on the page, and
returns the pen to the carousel.

Testing Communication with BASIC

To test the computer/plotter interface, turn on your computer and
plotter, load pens and paper, then follow these steps.
1.
At the DOS prompt, type the following (substitute COM2 for
COM1, if necessary) and press ENTER.
MODE COM1 : 9600 , N , 8 , 1 , P
This sets the RS-232-C port for 9600 baud, no parity,
one stop bit, and continuous error checking.
2.
Enter and run the following BASIC program (substitute COM2 for
COM1, if necessary). (If you need help entering and running the
program, refer to your computer documentation.)
,
10 OPEN ' ' COM1 : %00 , N , 8 , 1 , RS , CS65535 , D S , C D "
20 PRINT 1::t1 . " " IN ; OI ; "
30 INPUT � 1 , ID$
40 PRINT � l , • 'SP1 ; PA500,500 ; "
50 PRINT � l , " L B " + ID$+" PLOTTER OI< " +cHR$ ( 3 )
6 0 PRINT � l , " PA0 , 0 ;SP0 ; "
70 END
Your plotter selects pen #1 and prints
3-6 PLQ'ITER INTERCONNECTION
data bits,
8
data bits,
8
AS
�1

Advertisement

Table of Contents
loading

Table of Contents