Hello Guest it is May 17, 2024, 10:54:45 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 - Brian Barker

301
Mach4 General Discussion / Re: First Mach 4 program
« on: December 22, 2020, 03:26:35 AM »
Check he history line at the bottom, maybe your trying to run out of the softlimits. Or you don’t have a motion controller setup. Unfortunately your at the point that your going to get more questions that answers.

We can start simple. Can you jog the machine?

302
Mach4 General Discussion / Re: macro for Reference All Axes
« on: December 22, 2020, 03:23:27 AM »
We have done this in the past but the issue is your looking at a complex setup with coroutine and a semaphore. The other crude way is to do a spin lock. I say this because your talking about doing this from an Mcode.... this will not do anything to the GUI thread.

One more little known way to make this work is with a button and at the top of the script have the word Private in a comment (must be the first line). If this is found the GUI will launch its own thread for that chunk. Now variables that can be used as semaphores are an issue. They need to be tread safe and we got you covered! The registers are threadsafe for a reason :) .

Okay you are making me talk geek... this help at all?

303
Mach4 General Discussion / Re: X Box here we come!
« on: December 21, 2020, 08:38:42 PM »
New plugin uploaded has all the goodies . I think this one is really close to release!

304
Mach4 General Discussion / Re: macro for Reference All Axes
« on: December 21, 2020, 04:10:40 PM »
You guys want a simple function added to the code that will reply if the machine is homed or not? mcCntlIsMachineHommed() or something like that ? that should be a nice simple one and we can look at the homing settings to see if all axis that can home have done so.

305
Mach4 General Discussion / Re: Mach4 Lathe - which motion controller?
« on: December 21, 2020, 04:00:17 PM »
We test on the pokeys and Hicon here with lathes. But the ESS works as too. I have not tested the others.

When it is a table top machine I put a Pokeys on it. The Mori SL3 we have uses the Hicon. We run parts by the pallet with that old lump :)

306
Mach4 General Discussion / Re: X Box here we come!
« on: December 21, 2020, 11:09:05 AM »
Quick update! I have it so you can command the mouse to move with the X box controller and you can do Left and right mouse button presses. This thing is sort of cool. I was able to select and load a Gcode file without ever touching my KB or mouse. I need to test more of the functions and add the locks, but we are making progress!

307
Mach4 General Discussion / Re: Finding full list of functions
« on: December 21, 2020, 11:06:31 AM »
Video, O gosh... That could be done but it may be a bit overwhelming. Doing things with sizers takes a little. We don't have anyone making video's at the moment ;( . You really need to spend some time playing and looking at the results.

308
Mach4 General Discussion / Re: Mach4 Update?
« on: December 21, 2020, 11:02:22 AM »
That is a motion controller thing :(

309
Mach4 General Discussion / Re: Mach4 Blinking Lines in Tool Path window
« on: December 20, 2020, 03:22:06 PM »
Try the line OpenGL mode.. the sure fire way is to change the video driver.

310
Mach4 General Discussion / Re: Mach4 Blinking Lines in Tool Path window
« on: December 20, 2020, 02:23:39 PM »
That's because we used the OLD OLD OLD way of doing OpenGL in Mach3 (and Mach3 is that old). In mach4 we are doing the modern Vertex Buffer Objects with custom shaders and so on. Mach3 used a genlist and is very primitive (openGL Version 1 stuff). SO.. when we startup we ask what version of OpenGL the card supports. intel lies and says it can do the modern way of showing the toolpath. So I don't know if this will work but under config toolpath set Mach4 to NOT use VBO's and lets see if that fixes it up.