Hello Guest it is March 29, 2024, 02:01:03 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 - SpencerChase

Pages: 1
1
if the pendant does not use a plugin it would have to communicate with mach3 via keyboard commands. i built one that works this way and it works OK in certain respects but it not as versatile as one can be that uses a plugin to directly control mach3. the RU is pretty good but not fantastic but it is an older one.

2
the thing is an RU pendant. it will not work with version over .....50 something. i think the guy who built them had someone else do the plugin and there is no reason or motivation to update it. there is something else i am using or depending on but i forget what it is that requires a minimum of a certain version so i can also not go lower than v ....50 although i would not want to anyway.

i could try dithering around one version up or down but if the only problem i am having right now is that i have to remember to add blank lines to M98s well that is not so bad.

3
no, i mean after every M98. my main program calls two subs and if i do not have a blank line after each M98 the program will now run and generates and error of something like return with no sub. some clever person on this forum suggested a blank line afer each M(* and this fixed the problem . also verified that it is a problem only with some versions of Mach3  unfortunately i am stuck with a particular version because one thing i am using does not work with a new version and another does not work with an older version. i could just dump everything and start over with new hardware that will have different problems :)

4
i had blank lines at the end of the program, might not have gotten pasted into the post. it seems that blank lines are needed after each M98 as well. do not remember reading anything about that in the manual but it could be there? with a blank line after each M98 it works perfectly and i can start making thousands of little parts, oh joy :)

5
i tried the code without the P80 and P100 first and just added them because i thought it might help. either way works in v 066 but not in v 050

i added the blank lines and it works !!!!!!!!  amazing. how do you guys figure this sort of workaround out?

6
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