Luberth Dijkman Bangert 23 1619GJ Andijk Netherlands Europe

Must become a:
A DOS program to view HPGL-plotter and Gcode CNC files
And control stepper motors connected to parallel port

Why a DOS program
* It will run on a old 386up PC (The one Workless on youre attic ;-)
* Precise Timing is a problem under Windows but in DOS it works Perfect
  	
I think there are plenty of old PC'S out there (386 and up)
So why not give them a second live

Im verry sattisfied on the looks of the Mgui
Its almost if you where running a windows program


latest versions and a lot of links can be found at:

Http://www.geocities.com/luberth.geo/plotter/plotter.htm
http://members.tripodnet.nl/luberth/plotter/plotter.htm
http://www.majosoft.com         Should find a link here
Or a web search on "Luberth Plotter" and you wil find me

******************************************************************
* WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! * 
*                                                                *
* DO NOT USE YOUR ON MOTHERBOARD PARALLEL PORT                   *
* USE A CHEAP ISA OR PCI PARALLEL PORT                           *
* if you make a mistake only the cheap card wil be smoking       *
* and not youre dads brand new Pentium4 2,5GigaHertz motherboard *
* But if you like the smell of expensive smoke                   *
*                                                                *
* WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! *
******************************************************************
brewingtontech card
Parralel Port
Pin#
2 xstep
3 xdir
4 ystep
5 ydir
6 zstep
7 zdir

Autocad.plt
	If youre table resolution is set right 
	Then this drawing should be 10Cm x 10Cm

Black/white screen 
	checkboxes cannot see difference between red an green color
	Edit red.bmp and green.bmp bitmap to your choice [x] [v]

CNC = 	Computer Numeric Control 

DOS
	Disk Operating System
	if you do not want windows to start on youre pc
	edit c:\msdos.sys  line BootGUI=0

hardwarelimitx
hardwarelimity
	used to draw a rectangle on screen for tablesize
	and the output is stopped(clipped) if the drawing exceeds these limits
	but will contineu output when whitin limmits again

HPGL =	HPGL
	Hewlett Packard Graphic Language
	Used for pen plotters

	1    plotter unit =  0.025mm   =~ 0,00098inch
	40   plotter units = 1 mm
	1016 plotter units = 1 inch
	3.39 plotter units = 1 dot at 300 dots per inch

Home Switches
	For SMC800 / SMC1500
	Connect 3 NO microswitches parallel to control card inputs
	When homebutton is pressed it wil move away from switches if one is closed
	Then it wil home Z axis 
	When switch is touched  it will move 100 steps away to open switch 
	Then it wil home X axis 
	When switch is touched  it will move 100 steps away to open switch 
	Then it wil home Y axis 
	When switch is touched  it will move 100 steps away to open switch 

	_____/ _____
        |____/ ____|
        |____/ ____|   3 NO Switches Parallel Connected
        |          |
        |          |
        1          2

Luberth Dijkman
	Someone with lowest possible technical education
	Dont hang him if he made a mistake

Mouse
	Slow mouse in MGui 
	most times you can add an option for mouse speed
	For SYS drivers edit c:\config.sys
	For COM drivers edit c:\autoexec.bat
	In my case in autoexec.bat c:\mouse\trmouse.com /A6 


	mouse arrow disapears when program is running
	yes, i dont mind
 
Phase control
	1 X 4phase unipolar stepper motor is driven by low  4 bits of parallel port (D0-D3)
	1 X 4phase unipolar stepper motor is driven by high 4 bits of parallel port (D4-D7)

Pulse and Direction
	xstep = bit0 steppulse         	parallel port pin2 36centronics or 25subd
	xdir  = bit1 cw or ccw 		parallel port pin3 36centronics or 25subd
	ystep = bit2 steppulse 		parallel port pin4 36centronics or 25subd
	ydir  = bit3 cw or ccw 		parallel port pin5 36centronics or 25subd

SMC800/1500
	is a stepper control card as sold by Http://www.conrad.de 


tableresX
tableresY
tableresZ
	Smallest move off your x, y, z axis
	So 1 step or 1 halfstep = ?.???? milimeter movement
	spindle tread divided by number off steps in 1 rotation 
	(see also autocad.plt)