Hello Guest it is April 24, 2024, 09:45:23 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - magiced

Pages: 1
1
(Progam to draw 5 concentric boxes)

N10 (SQUARES IN A M LOOP)
N15 G00 Z5
N20 #1=10
N25 #2=10
N30 G00 X#1 Y#2
N35 #2=20
N40 M98 P1000 L5 (go to subroutine at 1000 - that's an "oh" not a zero)
N50 G00 X0 Y0 
N60 M2 (quit)

O1000 (sub routine)
N190 G00 X#1 Y#1
N200 G00 X#1 Y#2
N210 G00 X#2 Y#2 
N220 G00 X#2 Y#1
N230 G00 X#1 Y#1
N240 #1=[#1-2]
N250 #2=[#2+2]
M99 (go back to main program at n50)

Hope this helps Ed

2
My name is Ed Gillis from Toronto, Canada. I have just built a 2'x4' cnc router machine. The electronics and motors have not arrived yet.
I wanted to know about a USB to parallel cable but got the answer in the forum without asking. My solution was to buy a PCI parallel card and install it.

Great source.
Thanks Ed

Pages: 1