Hello Guest it is April 25, 2024, 02:57:55 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

111
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

112
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

113
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

114
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

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

Thaks,

RT

116
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

117
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

118
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.

119
Mach4 Plugins / Re: Mach 4 wont recognise UC100 controller
« on: January 21, 2021, 05:56:31 PM »
Hi John,

I used the UC100 on my lathe when I converted to Mach4.
I'm sure you have already done all of this but just to make sure.
The uc100 plugin files (.sig and .m4pw) must be in the mach4hobby\plugins directory.
You must enable that plugin by Config->control select Plugins tab and then enable so the green check appears.
Then you can go to the Config->Plugins menu and configure the uc100.

Having said that I abandoned the uc100 because they had not done a thorough testing of the plugin on lathes and there were errors in certain operations.  I went with a pmdx411 and have been happy with its performance but it is limited in the number of inputs as is the uc100.  I still have a version 1 usb smoothstepper that runs a mill under mach3.  Have recently add another mill that runs mach4 with a Pokeys57cnc.  I and others have not been able to get the pokeys to run under usb but runs great over ethernet.  Haven't tested it on a lathe.

HTH
RT

120
Mach SDK plugin questions and answers. / xbox360 OEM#1
« on: January 07, 2021, 04:40:28 PM »
Looking to lock/unlock Y axis movement.  OEM code 251 does that.  I have a button on the screen and it toggles the Y axis as expected.  However, it does not affect the xbox controller.  There is a OEM#1 and #2 available on Lee's setup but again the Controller overrides and moves the Y axis with the joystick.

Any way of (toggling)preventing the xbox controller from moving the Y axis?

TIA

RT