Shop OBEX P1 Docs P2 Docs Learn Events
HP 7475A Plotter w/ BS2 — Parallax Forums

HP 7475A Plotter w/ BS2

ArchiverArchiver Posts: 46,084
edited 2000-07-02 03:47 in General Discussion
I wish to interface my BS2 with my HP 7475A Plotter. I have
connected my BS2's pin 0 to the serial in line of the plotter. I am
trying to send Text to the plotter at 9600 Baud, No parity, 8 Stop
bits. So far, All I can do is get the Error light on the plotter to
flash. heh. So I gurss it is recieving the data. I just don't know
how to program the Plotter to plot simple strings of text. Can
anybody help me out with programming this thing? Thanks.

Dan-Tron

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2000-06-26 03:29
    You'll need to learn some HPGL.
    See
    http://www.cadcamcenter.com/books/hpgl2ref.htm
    http://www.wargaming.net/Programming/140/Hp_Gl_2_Rtl_Reference_Guide_Handbook_Program_Developers.htm
    http://www.cod.edu/people/faculty/lawrence/hp-gl2.htm
    Good Luck!


    At 09:55 PM 6/25/00 -0000, you wrote:
    >I wish to interface my BS2 with my HP 7475A Plotter. I have
    >connected my BS2's pin 0 to the serial in line of the plotter. I am
    >trying to send Text to the plotter at 9600 Baud, No parity, 8 Stop
    >bits. So far, All I can do is get the Error light on the plotter to
    >flash. heh. So I gurss it is recieving the data. I just don't know
    >how to program the Plotter to plot simple strings of text. Can
    >anybody help me out with programming this thing? Thanks.
    >

    > Dan-Tron
    >

    >

    >

    >

    >

    >

    >



    Roger Edberg
    roger@industrialartist.com
    http://www.industrialartist.com
  • ArchiverArchiver Posts: 46,084
    edited 2000-06-26 03:33
    Also:
    Some code snippets:

    IN INITIALIZE
    PA Plot Absolute, Moves are with reference to home (0,0)
    PD Pen (Z) Down, If already down, no movement
    PR Plot Relative, Moves are with reference to current position
    PU Pen (Z) Up, Move to UpPos position
    SP Select Pen, May force a Pause.


    EXAMPLES

    (LOOKS SOMETHING LIKE THIS)
    IN; SP 1;PU 0 0;PD 100 100;PD 100 50;PU 0 0;
    (DOES THIS)
    INITIALIZE
    SELECT PEN 1
    PEN UP MOVE TO 0 0
    PEN DOWN MOVE TO 100 100
    PEN DOWN MOVE TO 100 50
    PEN UP MOVE TO 0 0




    Roger Edberg
    roger@industrialartist.com
    http://www.industrialartist.com
  • ArchiverArchiver Posts: 46,084
    edited 2000-06-26 12:05
    >I wish to interface my BS2 with my HP 7475A Plotter.
    > I just don't know how to program the Plotter to plot simple strings of
    text. Can
    >anybody help me out with programming this thing? Thanks.

    You cannot simply send a text string to the plotter. You must send commands
    to the plotter in the HPGL language. This is HPs plotter language. There are
    books that describe the HPGL. Do a search and find them on the web.

    Hope this helps

    Vic
    _____________________________________________________

    Victor Fraenckel - The Windman vfraenc1@n...
    Home of the WindReader Electronic Theodolite
    Read the WIND
  • ArchiverArchiver Posts: 46,084
    edited 2000-06-26 15:11
    An excellent source for HP-GL information is the "Interfacing and
    Programming Manual" that comes with the 7475A plotter. It is Hewlett-
    Packard part number 07475-90001. The "Operation and Interconnection
    Manual" which also comes with the plotter is part number 07475-90002.
    --
    Greg

    --- In basicstamps@egroups.com, gliebetronics@h... wrote:
    > I wish to interface my BS2 with my HP 7475A Plotter. I have
    > connected my BS2's pin 0 to the serial in line of the plotter. I
    am
    > trying to send Text to the plotter at 9600 Baud, No parity, 8 Stop
    > bits. So far, All I can do is get the Error light on the plotter to
    > flash. heh. So I gurss it is recieving the data. I just don't
    know
    > how to program the Plotter to plot simple strings of text. Can
    > anybody help me out with programming this thing? Thanks.
    >
    > Dan-Tron
  • ArchiverArchiver Posts: 46,084
    edited 2000-07-02 03:47
    You can purchase the original manuals for your plotter from HP, in case you
    don't have the manuals. Call HP; the manuals are pretty "reasonable" in
    price, from what I remember. They explain how to control it. You just send
    ASCII to it over a serial port. You do have the RS-232 version of the
    plotter, right? If you have the HPIB version, your problem is more difficult.

    Steve

    Steve Roberts: sroberts@s...
Sign In or Register to comment.