Hello Guest it is April 26, 2024, 08:22:42 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 - Graham Waterworth

311
Its hard to say without knowing a bit more. But

Mach3 and Mach4 are 6 axis controllers but all axis are blended together so both ends would start and finish at the same time.

Maybe one end could use X axis and the other Y axis and centre height could use Z axis.

but if it faces and centres with more than one tool then its not going to be easy.  If you use a spot drill with a facing and chamfering cutter in one then I can see it working.

The other option is you use Mach4 Industrial and 2 Galils and use the multi planner option where each end runs a separate g-code file with wait codes to sync them.  Its a wild ride at first but well worth the flexibility you get.
 

 

312
General Mach Discussion / Re: x axis not sometiimes not working
« on: September 08, 2021, 05:34:44 PM »
When you say it fails, do you get a high pitch noise or just the axis stops moving?


Some pictures of the control and motor tuning window will help


313
Have you checked the hotkeys settings on the config menu

314
General Mach Discussion / Re: x axis not sometiimes not working
« on: September 06, 2021, 06:49:36 PM »
We need more detail.

e.g. USB, IP, LPT, breakout board and motion controller etc.


315
You are missing the direction signal to the drivers or you have no dir pin/port set in the config

316
Mach4 General Discussion / Re: About G Code of Mach4 Demo
« on: August 30, 2021, 09:35:36 PM »
It could be the M29 command, ridged tapping is only supported in the industrial version I think.

It could also be you need to be in feed per rev G95

317
Mach4 General Discussion / Re: Mach4 lathe macros
« on: August 26, 2021, 08:31:04 PM »
To call a tool in Mach4 lathe you use T0202

(T02) Tool 2 (02) offset 2

You need to set your steps per for 1 degree of rotation on the turret, number of degrees is calculated for the number of tools moved.

8 Station turret needs to move 45 degrees per tool.

You also need to change these lines to the following lines

Change test data for real data

selectedtool = 5 -- mc.mcToolGetSelected(inst)
currenttool   = 1 -- mc.mcToolGetCurrent(inst)

To

selectedtool = mc.mcToolGetSelected(inst)
currenttool   = mc.mcToolGetCurrent(inst)


318
Mach4 General Discussion / Re: Mach4 lathe macros
« on: August 24, 2021, 08:58:44 PM »
You could try this macro, I have no idea if its any good to you.

No warranty given or implied.

Code: [Select]
-- Mach4Turn 8 position tool Turret

 function m6()
 
 inst = mc.mcGetInstance()
 selectedtool = 5 -- mc.mcToolGetSelected(inst)
 currenttool  = 1 -- mc.mcToolGetCurrent(inst)
 Rlock = 1   -- ' Sets the Relock Movement in Degrees Value 

  if (selectedtool > 8) or (selectedtool < 1) then
    mc.mcCntlSetLastError(inst,"Tool Number Out of Range.")
    do return end
end
 
 if (selectedtool == currenttool) then
  mc.mcCntlSetLastError(inst,"No tool change needed.")
    do return end
end
 
 --'------ Select Tool ------------------------------------
 
mc.mcCntlSetLastError(inst,"Moving to Tool " ..selectedtool )
   
if (selectedtool > currenttool) then
Moves =  selectedtool - currenttool
Moves = (Moves * 45) + 1
mc.mcCntlSetLastError("  G00 A" ..Moves);
end   
         
if (selectedtool < currenttool) then
Moves = ((8 - currenttool) + selectedtool)
Moves = (Moves * 45) + 1 
mc.mcCntlSetLastError(" G00 A " ..Moves);
end   
       
  mc.mcCntlSetLastError(inst,"Tool Loaded")

--'------------ end Tool Change ------------------------

mc.mcCntlSetLastError(inst," Turret Locking ")
mc.mcCntlGcodeExecuteWait(inst,  "G52 A-" ..Moves);
mc.mcCntlGcodeExecuteWait(inst,  "G00 G90 A0");
mc.mcCntlGcodeExecuteWait(inst,  "G00 G91 A-" ..Rlock ); -- ' Lock Turret
mc.mcCntlGcodeExecuteWait(inst,  "G52 A0");
mc.mcCntlGcodeExecuteWait(inst,  "G90");   --' Reset to ABS
tool = selectedtool
 
mc.mcToolSetCurrent(inst, selectedtool)

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

320
PoKeys / Re: Pokeys57CNC/Mach4 and 2 Probes
« on: August 22, 2021, 02:32:50 PM »
I would pass the probe signals through a relay that is switched by an M code into G31