Hello Guest it is March 29, 2024, 02:13:00 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 - rhtuttle

481
Mach4 General Discussion / Re: G76 threading cycle bug ?
« on: March 07, 2017, 09:55:21 AM »
Under mach4hobby/docs there is a lathe GCode programming pdf automatically installed with mach4.  Your looking at mach3 turn manual.

Additionally with the Mach4 threading wizard you need to select the infeed each time you use it or you will get a 0 for the K value.

HTH

RT

482
Mach4 General Discussion / Re: Optional Stop Output
« on: March 06, 2017, 05:08:20 PM »
Page 10 of the scripting manual says you may not change M00 or M01.

483
Mach4 General Discussion / Re: Single block mode
« on: March 02, 2017, 12:00:37 PM »
You probably aren't getting any response because no one has used it yet.

Using M4 Mill in Sim mode it does appear to work the way you would think.  Press single block, cycle start and it executes that line.  You then have to press single block to turn it off and then again to turn it back on and then cycle start for the next line to execute. 

The Cycle Start button left up event calls the cycleStart() function in the screen start script which calls mcCntlCycleStart() which you can't change.  Someone more adpt at lua than I could probably alter the button event to check if the single block is in effect and enable itself but that is beyond my knowledge.

Seems that the default behavior should be that after the line is executed you should again be able to do another cycle start.  Maybe someone else knows why it was implemented this way.

TIA

RT

484
Mach4 General Discussion / Re: UC100 Mach4 Lathe G83 fail
« on: February 28, 2017, 06:37:03 PM »
New Information,

Did a reinstall of Mach4, no difference.

I decided to just write a gcode file to do this one peck drill.  It skipped every g1 line, executed every g4 and g0.  After 3 or 4 runs it wouldn’t run at all. 

Code: [Select]
M3 S500
G00 Z0.100
G01 F4 Z-.3
G4 P250
G00 Z0.100
G4 p1000
G00 Z-.3
G01 F4 Z-.6
G4 P250
G00 Z0.100
G4 p1000
G00 Z-.6
G01 F4 Z-.9
G4 P250
G00 Z0.100
G4 p1000
G00 Z-.9
G01 F4 Z-1.2
G4 P250
G00 Z0.100
G4 p1000
G00 Z-1.2
G01 F4 Z-1.5
G4 P250
G00 Z0.100
G4 p1000
G00 Z-1.5
G01 F4 Z-1.8
G4 P250
G00 Z0.100
G4 p1000
G00 Z-1.8
G01 F4 Z-2.1
G4 P250
G00 Z0.100
G4 p1000
G00 Z-2.1
G01 F4 Z-2.4
G4 P250
G00 Z0.100
G4 p1000
G00 Z-2.4
G01 F4 Z-2.5
G00 Z0.100
M9

Went back to Mach3 turn and ran the G83, worked great.  Totally at a loss.

485
Mach4 General Discussion / Re: UC100 Mach4 Lathe G83 fail
« on: February 28, 2017, 10:44:54 AM »
Just when I think I'm getting good at communicating I get hit upside the head with a 2x4.

Hidden in my posts is that, I had tried it in SIM, figured it was the UC100, contacted them and their initial response is that they think it is a Mach4 problem.  Their response:
...
Hi,

Thanks for the bug report, but this does not looks like a UC100 plugin bug, it seems more a Mach4 bug.
My reasoning is that motion controllers do not know anything about the g-code being executed on the computer by Mach3/4,
what a motion controller sees is a stream of motion data which the software calculates and the plugin reads and executes those datas.
For the UC100 there is no difference if a command is G0 or G1 or G2 or G3 or ... G83, it only sees a stream of movement vectors array which Mach4 is sending.
...

So...why not ask for some user help here.  Surely someone else is running Mach4 on a lathe and can verify that it works or doesn't on their setup. 

Not trying to bash either Mach4 or CNCdrive, just trying to solve a problem.

I'll try and do better next time with my communications.

RT


486
Mach4 General Discussion / Re: Hobby/Industrial and Profiles
« on: February 27, 2017, 07:08:56 PM »
Just getting started with Mach4 myself.

I can only answer one of your questions.  The m1s will have to be converted. :-\

487
Mach4 General Discussion / Re: Lua Macro Parameters
« on: February 27, 2017, 07:03:54 PM »
That example was very helpful, thanks for that.  It made a lot of the Lua documentation more understandable.

RT

488
Mach4 General Discussion / Re: UC100 Mach4 Lathe G83 fail
« on: February 27, 2017, 07:00:15 PM »
Hi Steve,

Yes, unfortunately, Sim doesn't seem to cut very well for me.   ;D. You know what they say,

“In theory, theory and practice are the same. In practice, they are not.”

Since I was able to use the code with Mach3 and uc100 one would think it would work the same way using the same hardware with Mach4 and the new uc100 plugin.  Testing it against real hardware in real time is the only reliable method.  If it works on a lathe with Mach4 and Pokeys or pmdx controllers then it would point to the uc100 as the culprit or Mach4 if it fails for them.  Or if someone else has a uc100 and Mach4 and can't reproduce my error then it would point to my hardware or installation. 

I think  ???

489
General Mach Discussion / Re: mach3 sound?
« on: February 27, 2017, 10:26:00 AM »

490
Mach4 General Discussion / UC100 Mach4 Lathe G83 fail
« on: February 26, 2017, 07:15:49 PM »
When executing a G83 in Mach4 it does not perform as it should.  I have uploaded a YouTube video showing the failure.  I had previously used this exact same code when I was running under Mach3 before they came out with the Mach4 plugin and it worked perfectly.  UCNC believes it is a Mach4 bug.  Can any of you duplicate the error with any other motion controller or Uc100?
 

https://www.youtube.com/watch?v=oQWuqf_LF60

TIA

RT