Hello Guest it is April 24, 2024, 08:27:41 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.


Messages - OldePhart

Pages: 1 2 3 4 5
1
where does one obtain this tasty nugget??

2
That sounds like a solid start. Thank you.

3
Mach4 General Discussion / Re: Shuttlepro looses button assignments
« on: January 20, 2020, 06:33:49 PM »
Glad to hear it's not just me. Does the same kind of thing happen with all pendants or just this one?
I'll have to poke at that and see if other things get lost when the .ini file doesn't load.


4
Mach4 General Discussion / Re: How do I make the Extents mode visible
« on: January 20, 2020, 02:54:06 PM »
I get that, and it has been helpful. I want to buy the simulation plugin and probably willonce I get good enough to know what I am doing. I was just making a suggestion to make it a little bit better, at least for me.




5
Mach4 General Discussion / Shuttlepro looses button assignments
« on: January 20, 2020, 02:52:36 PM »
I added a shuttlepro and configured it. It works fine for a while and then at some point, perhaps after Mach4 reboots or me  making screen edits, I can't nail down when it happens, the settings are lost and they are all set to jog a single axis. Set them up again and it works fine again.
Any idea why this might happen?


6
Mach4 General Discussion / Re: How do I make the Extents mode visible
« on: January 20, 2020, 02:44:22 PM »
Hey, I'm new to this and I was offering a suggestion, to a graphics related post, as it appeared was asked for. Rapids crisscross the tool path and can make it unreadable. If you make the rapid the same color as the background, as was suggested elsewhere, the tool path lines are broken up because the rapid is on top of the path layer giving the same result.


7
Mach4 General Discussion / Re: Learning to use variables in my code
« on: January 19, 2020, 02:44:51 PM »
You are kidding me...

8
Mach4 General Discussion / Re: How do I make the Extents mode visible
« on: January 19, 2020, 02:44:11 PM »
Yes, but not granular enough, can't change widths for each line type separately.

9
Mach4 General Discussion / Feature not licensed ??
« on: January 19, 2020, 02:35:53 PM »
 Used parens instead of semicolon for comments and made it though the #105 math only to be stopped at  the WHILE statement which errored saying "Feature Not Licensed" ?


10
Mach4 General Discussion / Re: Learning to use variables in my code
« on: January 19, 2020, 02:21:14 PM »
You appear to be correct,variables are 100-199. I also found limited google support for "L" parameter technique (though it did function in MACH4) so I re-wrote it using a while loop which seems to be far more common and would then be easier to ask questions about.


The following code works in g-code simulator (Gwizard?) but now it seems Mach doesn't like math on the variables. Or at least the way that GWizard does.
Code: [Select]
#107 = 0 ; Starting (and Current) Y Position
#101 = 46.5 ; X Max  (Static Variable, Object width)
#102 = 34.0 ; Y Max (Static Variable, Object height)
#103 = 0.1 ;  Step overlap (Static Variable)
#104 = 1 ; Tool Diameter (Static Variable)
#105 = #104-#103 ; Y Increment  <<<======= FAILS HERE - UNKNOWN COMMAND
#106 = -0.010 (Depth of Cut)


G0 G90 G54 G17 G40 G49 G80 ;Safety Line
G0 X0 Y0 Z.2 ; Home
;M03 S18000; Start spindle
G1 Z0.2 F10 ; Get close to surface
G04 P5000 ; Pause 3 seconds for VFD comes to speed
M0 ; Confirm the Cycle Start


G01 Z#106 ; Z to Depth


WHILE [#107 LE #102] DO1 ; Start Loop, run until Y value reached
G01 Y#107 F10. ; move TO Y
G01 X#101 ; Go To X Max
#107=#107+#105 ; Increment Y variable by step over value
G01 Y#107 F10. ; move Y to next step
G01 X0 ; Move to X Min
#107=#107+#105 ;increment Y by step over value


END1 ; End Loop


G0 Z5.0 ; Raise Spindle
M04 ; stop spindle
G0 G90 G54 G17 G40 G49 G80
G0 X0.0 Y0.0 ; Go Home
M30 ; exit routine


This faults on the first #105 whether in brackets or not, this syntax is the only way I have seen it done so far. Whats wrong this time?? Is this a MACH specific thing??


I really would like to get over the gcode hurdle. the basics appear pretty easy to grasp, but the nuances between machine types must be what I am fighting now.


Pages: 1 2 3 4 5