Hello Guest it is May 13, 2024, 07:04:26 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 - smurph

231
Mach4 General Discussion / Re: 4612 Build
« on: March 11, 2021, 03:11:37 AM »
Well, all I can say on the multi-line MDI is that was on the wish list from Mach3.  We took all of the Mach 3 "wishes" and put them into Mach 4.  Well, as many as we could.  So what does that say?  Not everyone likes the same thing!  LOL  What a shocker.  Anyway, to most VERY cool thing about Mach 4 is you can make it work any way you wan it to.

Steve

232
20 lines of lookahead mostly.  Yes, even for 3D work. But I mill steel and aluminum on a box way mill mostly.  So now your question has me wanting to ask questions.  :)  What are you wanting out of the lookahead?  A smoothed profile that doesn't hold tight to the path?  Or do you want something that holds as tightly to the path as it can?

Either way, the lookahead will not have anything to do with your jogging issue.  That sounds like a buffer depth issue to me.  And when I say buffer depth, I mean the amount of time that is buffered in the motion controller.  If you have a large motion buffer, changes in the feed rate will be delayed.  And the start of the profile may be delayed as well, depending on how the motion controller implements the buffer. 

ESS ships with very conservative settings.  I can't remember what exactly off hand, but I think it is something like 122 or the like?  The cycle time for the ESS is 1 millisecond.  So that is over a tenth of a second in the motion buffer!

But for Mach 4 on a decent computer, you can get by with extremely small motion buffers.  Say like 30 milliseconds worth.  Say the motion loop is fired ever 10 milliseconds.  I like to stay "three mistakes high" (an old RC model airplane saying) so 3 x10 = 30 milliseconds.  With a small buffer like that, feed hold appears instantaneous.  Jogs start appear to start instantly.  The whole system seem to respond to human input "instantly", even though it really isn't.  Any buffer depth less than 100ms is hard for use humans to detect.  Personally, I like to stay below 60ms.  So 122ms of motion delay is going to be noticeable.  However, it will run on even the crappiest of PCs.  :) 

So if you left the default setting for the motion buffer, I bet that is you jog issue.  Maybe it will solve you other issues as well. 

I have milling machines and lasers.  No routers.  I just like milling metals and catching things on fire.  :)  So unfortunately, I can't run a part for you.  But I know there are plenty of people that do run 3D reliefs with Mach 4/ESS. 

I saw your Rosetta machine video.  ESS and Mach 4 can certainly do that on that hardware.  No problem at all.  I need to find a video of us running trochoidal tool paths on a machine at IMTS one year.  We kept up with the Hurcos!  It was amazing to watch.  But I have seen ESS do that plenty of times.   Now, will your pantograph machine move like that Rosetta?  I would like to see a video of that G code running on the pantograph machine.  It may shed a lot of light on the issues at hand. 

But check you buffer setting first!  it may be the answer. 

Steve

233
That is not my experience with ESS and Mach 4.  You should be able to control the buffer depth in the ESS plugin.  Contact Andy at Warp 9 and see what he has to say.  That would be the first place I would start. 

I have two machines in my basement using Mach4/ESS and they are both flawless, responsive, and NEVER give problems.  I keep an ESS on my desk to test with as well )Two thee currently.  And if you sneeze at the shop, you will have hit an ESS somewhere.  There wouldn't be that many ESS boards laying around our trenches if they didn't work well. 

Steve

234
Mach4 General Discussion / Re: What does .PlcCycle() Do?
« on: March 10, 2021, 10:31:00 PM »
The LUA code that the PMC generates is not meant to be used outside of the context of the PMC functionality.  It has special hooks that the Mach4GUI uses and nothing else will ever call them.  Taking a PMC generated LUA file and trying to modify it is guaranteed to end in failure. 

It is much better to start with the original .pmc file and work all of the logic in the PMC editor.  The PMC editor just takes the ladder logic and generates LUA code to to work with the screen set.  The .Plc_Cycle() is what the screen set calls to run the logic in that generated file.  In hindsight, I probably should have compiled the generated LUA code into bytecode.  But I left it as plain text LUA code because it was easier to debug. 

Steve

235
Mach4 General Discussion / Re: Change retraction value at cycle G73
« on: March 10, 2021, 10:17:12 PM »
Mike is always clear and kind.  I consider myself fortunate to have met him in person.  :) 

The G code manual shows how to read and write parameters with G code.  Look for G10 L50.

Steve

236
Mach4 General Discussion / Re: Can Mach4 Do This? (Mach3 Can't)
« on: March 10, 2021, 10:02:11 PM »
In Mach3, an axis was analogous to a motor.  Meaning a Mach3 axis could only drive one set of motor output.  A 1:1 Axis to Motor relationship. 

With Mach 4, and axis is a plane of motion and it can be driven by several motors.  A 1:n Axis to Motors relationship.  So yes, Mach 4 can handle your hardware issue.  :) 

H9oming is a function of the motion plugin.  Most handle gantry axes quite well.  Check with your motion controller manufacturer first.  As far as Mach 4 is concerned, we just set both motors off moving toward the home switches.  We do require home switches on all of the motors though.   

Steve

237
Wow...  Nice job!  You have the heart of a teacher, so it seem appropriate that you are teaching a class.  :)

Steve

238
Mach4 Plugins / Re: Mach4 Plugin-Development
« on: March 10, 2021, 09:44:37 PM »
Ok guys, starting with build 4688, I have included a plugin that will handle the WHB04B-4 and WHB04B-6 XHC MPGs.  It will eventually support the older WHB04 but I haven't gotten one in yet to test with.

There are a lot post with erroneous model numbers, incomplete or otherwise, out there that was a huge source of confusion for me.  So to be clear, the MPG that this plugin supports looks like this:


Steve

239
Mach4 Plugins / Re: XHC WB04 plugin
« on: March 10, 2021, 09:35:21 PM »
Ok guys, starting with build 4688, I have included a plugin that will handle the WHB04B-4 and WHB04B-6 XHC MPGs.  It will eventually support the older WHB04 but I haven't gotten one in yet to test with.

To be clear, it supports the MPGs that look like this:


Steve

240
Mach4 General Discussion / Re: edit screen
« on: February 19, 2021, 04:32:27 PM »
Yes.  Unless the code calls a module that is external to the screen.  But if you made the modifications to the load script itself, then those modifications travel with the screen. 

Steve