Hello Guest it is April 18, 2024, 10:58:47 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 - Graham Waterworth

861
Works in progress / Re: Super simple single screen for Mill or Router
« on: July 22, 2017, 08:01:03 PM »
Here we have the Mach4 version screen shot.

862
Works in progress / Re: Super simple single screen for Mill or Router
« on: July 17, 2017, 01:46:37 PM »
Hi Graham,

this one in Mach3 but we are working on a Mach4 one now, these are only 3 axis but later we will do a 4 axis set.

Graham

863
Works in progress / Super simple single screen for Mill or Router
« on: July 16, 2017, 04:50:56 PM »
Here is a super simple screen for running a mill or router.  All the clutter is gone and its all you need to run a machine.

It was designed to use in education where all they need is to load some code and press go.

See what you think.

I will upload the files later when I have finished tweaking.

Graham

864
Have a look on Mach Config and see if you have an entry in the Home offset

865
I just wired my probes through a relay and call an M code to select which one I am using.


866
G-Code, CAD, and CAM discussions / Re: Please help a newbie out
« on: April 16, 2017, 06:46:00 PM »
Try CamBam its almost free.

867
G-Code, CAD, and CAM discussions / Re: mach 3 tool offset issue
« on: April 16, 2017, 04:10:01 PM »
Hi Michael,

for a start you are working in incremental mode so to run the program more than once you have to make sure the first run of the program ends at the same place as it started.

It is much better to work in Absolute (G90) mode.

%
G20 G90
G00 X.5 Y.5 Z0
G01 Z-.05 F10.
Y1.
X1.
Y-1.
X-1.
G00 Z0
M30
%


868
Forget chucking it, put it between centres and then the ID runs true and you correct the OD


869
Mach4 General Discussion / Re: Lathe Tool Turret Change M6
« on: February 25, 2017, 10:52:51 PM »
Your welcome  :D

870
Mach4 General Discussion / Re: Lathe Tool Turret Change M6
« on: February 08, 2017, 06:58:27 PM »
I have not tried this but I would think this is all the code you need.

-- Mach4Turn 8 positon tool Turret

 function m6()
 
 inst = mc.mcGetInstance()
 selectedtool = mc.mcToolGetSelected(inst)
 currenttool = mc.mcToolGetCurrent(inst)
 Ulock = 10    --'  Sets the Unlock Movement in Degrees Value
 Rlock = 10   -- ' Sets the Relock Movement in Degrees Value 
 T1SafePosX =  2.25
 T1SafePosZ =  1.5
 
if (selectedtool > 8) or (selectedtool < 1) then
    mc.mcCntlSetLastError(inst,"Program Stopped due to Tool Number Out of Range")
       do return end
end
     
if (selectedtool == currenttool) then
    mc.mcCntlSetLastError(inst,"Tool is the same NO tool change needed")
    do return end
end

 --'------------------- Move to Safe Tool Position -----------
mc.mcCntlSetLastError(inst," Move to Tool Safe Pos")
mc.mcCntlGcodeExecuteWait(inst, "G1 F30 X" .. T1SafePosX);
mc.mcCntlGcodeExecuteWait(inst, "G1 F40 Z" .. T1SafePosZ);
mc.mcCntlSetLastError(inst,"Safe XZ Move Completed")

 --'------ Begin Tool Change , UNLOCK turret --------------
 
 mc.mcCntlSetLastError(inst," Tool Turret UNLOCKING ")
 mc.mcCntlGcodeExecuteWait(inst, " G91");   --'Set to INC
 mc.mcCntlGcodeExecuteWait(inst, " G92 C0");
 
 --'------ Select Tool ------------------------------------
 
 mc.mcCntlSetLastError(inst,"Moving to Tool# " ..selectedtool )
    if (selectedtool > currenttool) then
       Moves =  selectedtool - currenttool
    else   
        Moves = ((8 - currenttool) + selectedtool)
    end           
mc.mcCntlSetLastError(" G00 C " ..Moves);   
Moves = (Moves * 45) + Ulock
mc.mcCntlGcodeExecuteWait(inst, " G00 C" ..Moves);       
mc.mcCntlSetLastError(inst,"Tool#1 Loaded")
mc.mcCntlSetLastError(inst," Tool Turret LOCKING ")
mc.mcCntlGcodeExecuteWait(inst, " G92 C0");
mc.mcCntlGcodeExecuteWait(inst, " G00 C-" ..Rlock ); --   ' Lock Turret
mc.mcCntlGcodeExecuteWait(inst,  "G92 C0");
mc.mcCntlGcodeExecuteWait(inst,  "G90");   --' Reset to ABS

tool = selectedtool
 
mc.mcToolSetCurrent(inst, selectedtool)

if (mc.mcInEditor() == 1) then
   m6()
end

end