Hello Guest it is April 23, 2024, 05:26:30 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 - DazTheGas

681
Mach4 Videos / Creating an M6 Toolchange in Mach4 (Part 1)
« on: October 06, 2015, 06:09:49 PM »
This is part 1 of creating my own M6 Toolchange in mach4

https://youtu.be/m1eMEec0N-E

The Code so far in this part

Code: [Select]
function M6()
    local inst = mc.mcGetInstance();
    local selectedtool = mc.mcToolGetSelected(inst)
    local currenttool = mc.mcToolGetCurrent(inst)

    if selectedtool == currenttool then
    return
    mc.mcCntlSetLastError(inst, "ToolChange Activated but Not Required")
    else
    mc.mcCntlGcodeExecuteWait(inst,"G90 G53 G0 Z0.0")
    mc.mcCntlGcodeExecuteWait(inst,"G90 G53 G0 X260 Y50")
    local changetoo = mc.mcToolGetDesc(inst,selectedtool)
    wx.wxMessageBox("Please change to tool number "..selectedtool.." "..changetoo.." and press ok to continue")

    wx.wxMessageBox('Toolchange finished')
    end

end

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


DazTheGas

682
Mach4 General Discussion / Er Mishaps happen when not thinking
« on: October 06, 2015, 08:09:44 AM »
Suppose I will have to make another then...............

Lesson learned.

DazTheGas

683
Mach4 Videos / A new Tool Table for Mach4
« on: October 05, 2015, 03:48:53 PM »
Well still on the quest of making my custom copy of mach4 I needed a more indepth tooltable, I wanted to be able to select a tool from a library and mach4 load all the params I needed.

for Instance I use the mdi panel a lot and do a fair bit of by eye milling so If I decide I want to change tool then mach will change all the spindlespeed - feedrates etc for me.

So I created this for a start and can develop further as needed.

And of course you can have a copy too.  ;)

The Script is Here  http://www.machsupport.com/forum/index.php/topic,30973.0.html

The Setup and Usage Video Here  https://youtu.be/qxKroGC5a1M

DazTheGas


684
Mach4 Toolbox / A new Tool Table for Mach4
« on: October 05, 2015, 03:48:09 PM »
Well still on the quest of making my custom copy of mach4 I needed a more indepth tooltable, I wanted to be able to select a tool from a library and mach4 load all the params I needed.

for Instance I use the mdi panel a lot and do a fair bit of by eye milling so If I decide I want to change tool then mach will change all the spindlespeed - feedrates etc for me.

So I created this for a start and can develop further as needed.

And of course you can have a copy too.  ;)

The Button code is

Code: [Select]
inst = mc.mcGetInstance()
profile = mc.mcProfileGetName(inst)
path = mc.mcCntlGetMachDir(inst)
mods_path = path.."\\Modules\\DTG_Tooltable\\"

dofile(mods_path.."TTable.mcc")

The Script is Posted Below

The Setup and Usage Video Here  http://www.machsupport.com/forum/index.php/topic,30974.0.html

685
Mach4 Videos / Mach4 Quick Tips #1 (Editor Code Highlighter)
« on: October 05, 2015, 09:39:06 AM »
Another quick tip,

After posting this to utube I found what causes this to happen.

This will happen if your 1 or more of your lines are long.

https://youtu.be/ecQNALVWzwU

DazTheGas

686
Mach4 General Discussion / Re: MACH4 and ESS with homing issues
« on: October 01, 2015, 01:54:12 PM »
Hi All I am New Here and am just getting Started I built a machine and used Mach 3 in Demo Mode which worked fine until i hit the line limit.
So I decided to make the plunge and purchased  mach 4. I am now setting it up and can't get the machine to move when i click the  Ref all home. In the  Diagnostic page it says it's homing but none of the axis move. I have to hit stop to allow the axis to once again to move using the jog buttons. Am I missing something in the pins setup. Please Help!!

Can you think of things that should be checked.
Please make a list I could check.

Thanks all
Ill post a picture of my homemade machine when I get a chance.

Why not start a new thread, give a brief description of your setup and include your machine.ini as a lot of things can be discovered from this.

DazTheGas

687
Mach4 Videos / Re: ESS and Mach4 Setup
« on: September 30, 2015, 11:51:40 AM »
   I do pose a question on video 3 about the simultaneous homing that occurs at 13:50. Z should have moved first but didnt.

The machine was not homing at that time, it was simply moving all axis to 0

DazTheGas

688
Mach4 General Discussion / Re: Screen Set Ideas
« on: September 28, 2015, 12:48:40 PM »
I just want to know what possessed you in the first place to click Ctrl-Alt-Shift and click the middle mouse button ;-)

DazTheGAs

689
Mach4 Videos / Mach4 Quicky #1 Adding Sound
« on: September 28, 2015, 12:18:24 PM »
A little snippet to add sound in mach4

https://youtu.be/0EdsVgbuC1k

Handy to add into your functions for warnings.....

local logoff = wx.wxSound('C:\\Mach4Hobby\\Sounds\\logoff.wav',0)

logoff:Play()

DazTheGas

690
Mach4 General Discussion / Re: Mach4 PC/NB Min Spec
« on: September 28, 2015, 09:17:15 AM »