Hello Guest it is October 04, 2023, 11:37:48 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 - rhtuttle

101
Mach4 General Discussion / Re: X Box here we come!
« on: February 06, 2021, 11:12:56 AM »
Two things.  First, sometimes the joystick doesn't fully return to zero when released and the movement continues to creep at an extremely slow rate until you hit the cycle off.
Second, I never use two directions at the same time and would prefer to disable that type of movement.  Joysticks can be pretty fussy about minor off directions.

HTH
RT

102
Mach4 General Discussion / Re: Status Messages, History
« on: February 05, 2021, 11:06:19 AM »
In the words of the late great Lawerance Welk, tank you, tank you, tank you.  (You might be too young to get this)
RT

103
Mach4 General Discussion / Status Messages, History
« on: February 01, 2021, 10:58:14 AM »
Is there a way to clear the history?  My lathe throws a "Home switch C Home Tripped" on every revolution of the spindle. Rather than having to click on the History button and then the clear button and then the close button it would be nice to just put another button to clear the history directly.

TIA

RT

104
Mach4 General Discussion / Re: X Box here we come!
« on: February 01, 2021, 10:41:58 AM »
Okay, now your just showing off 8)

Very nice.  Love the momentary switch.  Set mine to incremental and then used the right shoulder button to go to continuous.
Was able to edit the register for the slow jog distance and assigned one of the thumb pad keys to run user gcode2.  All work great!
Thank you very much for taking the time to do this.

RT

105
A little over the top but works for me.  After putting a collar on each one (I 3d print each one with a #6 set screw) you can then call a macro with the offset as one of the parameters in your gcode.  For my fly rod ferrules I have to spot, drill, flat bottom and then ream each one.  Multiply that by 10 different sizes and the tool table becomes cumbersome.  My tool 60:

Code: [Select]
--[[
Macro to set Z or X offset or tool description
example: m6061 z1.3333 d.250
--]]

function m6061(hParam)
if (hParam ~= nil) then
--mc.mcCntlSetLastError(inst, 'handle == ' .. tostring(hParam));
local inst = mc.mcGetInstance();
local zVal = mc.mcCntlGetLocalVar(inst, hParam, mc.SV_Z)
local zFlag = mc.mcCntlGetLocalVarFlag(inst, hParam, mc.SV_Z)
local xVal = mc.mcCntlGetLocalVar(inst, hParam, mc.SV_X)
local xFlag = mc.mcCntlGetLocalVarFlag(inst, hParam, mc.SV_X)
local dVal = mc.mcCntlGetLocalVar(inst, hParam, mc.SV_D)
local dFlag = mc.mcCntlGetLocalVarFlag(inst, hParam, mc.SV_D)
if(zFlag == 1)or(xFlag==1)or(dFlag==1) then
if zFlag==1 then
    rc=mc.mcToolSetData(inst,mc.MTOOL_LATHE_Z,61,tonumber(zVal))
end
if xFlag==1 then
    rc=mc.mcToolSetData(inst,mc.MTOOL_LATHE_X,61,tonumber(xVal))
end
if dFlag==1 then
    rc=mc.mcToolSetDesc(inst,61,'Bit Diameter: '..tostring(dVal))
end
else if zFlag==1 then
    mc.mcCntlSetLastError(inst, 'ERROR: Z, X or D value required with M6001');
    mc.mcCntlEStop(inst);
end
end
else
mc.mcCntlSetLastError(inst, 'ERROR: handle == nil');
end
end

if (mc.mcInEditor() == 1) then
    m6061()

HTH

RT

106
Mach4 General Discussion / Re: X Box here we come!
« on: January 24, 2021, 02:00:33 PM »
Sorry, I was referring to my previous post of using the rumble whenever a key is pressed and the 360 is in the disabled mode to remind them to turn it back on rather continuing to press buttons until they remembered they turned it off.  Not that I have ever done that.

RT

107
Mach4 General Discussion / Re: X Box here we come!
« on: January 23, 2021, 11:06:30 AM »
Works for me!  Rumble off?

Thaks,

RT

108
Mach4 General Discussion / Re: X Box here we come!
« on: January 23, 2021, 10:48:04 AM »
Have been using the plugin a lot recently and totally love it!  The exponential on the thumb stick works great, until my little twitch comes in to play.  Would still like to have incremental moves available.  I could assign the thumbpad buttons for that and keep the sticks for continuous on my lathe.
Thanks for what I have already!

RT

109
Mach4 General Discussion / Re: Mach 4
« on: January 23, 2021, 10:39:58 AM »
Stab in the dark here with little information but does the 3d image render correct in Aspire or stepped like the output.  If correct in Aspire did you use the same bit as in Aspire. (ball nose in Aspire and end mill in reality.  Did you output both a 3d roughing toolpath and a finish toolpath or just the roughing toolpath?

HTH

RT

110
Mach4 Plugins / Re: Mach 4 wont recognise UC100 controller
« on: January 22, 2021, 08:28:00 AM »
From the attached photo it appears that you have the files in the directory:
C:/mach4hobby
Not
C:/mach4hobby/plugins
Sorry, no backlash character on my phone keyboard.