Hello Guest it is April 24, 2024, 08:37:52 PM

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.


Topics - SpencerChase

Pages: 1
1
i thought i had posted this but can not see it in recent posts so i have no idea if others have seen it either

I have read everything i can find on this topic and still have a problem. I have a test machine that is not connected to my router. It is running Version R3.043.066 of Mach3 I can run the code below and it works fine. However when i try to run the code on the real machine i get the return called with no sub in effect error. I have version R3.043.050 on the real machine and pretty much need to keep this because it is the only version i can get to work with an RU Pendant and other things like a Pokeys. I have tried virtually every version of mach3 that i can download and i really seem to be stuck with version ... 050 

i can try version .066 to see if the program will run on the router but i can not use that version for the reason stated above. I added M30 at the end of the program and also added line numbers and a return in each sub to the line called. none of this makes it work on the router but it still works fine on the test machine running v .066

N10 G20 (inch units)
N20 G90 (absolute distance)
N30 G64 (constant velocity mode)
N10 G40 (cancel cutter radius compensation)
N40 G17 (XY plane select)
N50 G52 X0 Y0 Z0 (cancel all offsets)


(M8 coolant on)
(set machine at 0 0 by touching)
(then move to first position X and Y .5" - 1/2 tool diameter)
(do one peck drill then advance 14 times pause tool change drill and reverse )
(can make following a sub, does not need to be incremental but X advance could be)
(space between holes is .325?)

N60 M3 S1000  (spindle on set to 180)
N70 G0 Y -.25
N80 M98 P1000 L5

N90 M6  (stop for part repositioning)
N100 M98 P2000 L5
N110 M30

O1000
G0 Z.1  (retract)
G1 F40 Z .09
G1 F10 Z -.120
G1 F50 Z -.1
G1 F20 Z -.15
G1 F10 Z -.25
G1 F10 Z -.31
G0 Z.1  (retract)
G91
G0 X .32
G90
M99 P80



O2000
G0 Z.1  (retract)
G1 F40 Z .09
G1 F10 Z -.120
(G4 P.5 dwell 500 ms  mach3 seems to be decimal seconds not MS)
G1 F50 Z -.1
G1 F20 Z -.15
G1 F10 Z -.25
(G4 P500 dwell 500 ms)
(M30 rewind program)
G1 F10 Z -.31
G0 Z.1  (retract)
G91
G0 X -.32
G90
M99 P100

Pages: 1