Hello Guest it is July 06, 2020, 06:21:50 AM

Author Topic: Mach3 2010 Screenset - Now available  (Read 427943 times)

0 Members and 1 Guest are viewing this topic.

Offline ger21

*
  • *
  •  6,281 6,281
    • View Profile
    • The CNC Woodworker
Re: Mach3 2010 Screenset - Now available
« Reply #410 on: September 27, 2015, 02:39:40 PM »
Did you copy the macros from Mach3\macros\2010\ to Mach3\macros\yourprofilename\?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Mach3 2010 Screenset - Now available
« Reply #411 on: September 27, 2015, 05:05:43 PM »
Yes I did copy the files to the macro profile name.  When I press the laser zero button I get the value programmed into Marco 890 displayed on X and Y Coordinates but no movement


Bryan

Offline ger21

*
  • *
  •  6,281 6,281
    • View Profile
    • The CNC Woodworker
Re: Mach3 2010 Screenset - Now available
« Reply #412 on: September 27, 2015, 06:56:55 PM »
It's not supposed to move, just set the offset so that the spindle is at 0,0 when moved to the position of the laser dot.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Mach3 2010 Screenset - Now available
« Reply #413 on: September 27, 2015, 08:44:52 PM »
I must have a modified 890 Macro.  I found the copy of the 890 I have been using on my labtop and put it in the Marco folder and its working fine.   Thanks for your quick response and information.

Bryan
Re: Mach3 2010 Screenset - Now available
« Reply #414 on: October 22, 2015, 02:45:43 PM »
Hello Ger:

The "Simple" tool setting macro works absolutely perfectly in my mill for setting the present tool in the spindle. The machine uses the dspmc controller, and has quick change tooling, the Quick Switch 200 spindle tooling. The controller is the Vital Systems dspmc, and uses analog servo drives.

I understand the 2010 screen set is for routers, however it is my screen of choice, as so many people attest to.

Do you know of any mods of your macro for multiple tools, and setting the offset into the Tool Table?

Thanks,

John

Offline ger21

*
  • *
  •  6,281 6,281
    • View Profile
    • The CNC Woodworker
Re: Mach3 2010 Screenset - Now available
« Reply #415 on: October 22, 2015, 05:45:09 PM »
No, not really. I've had a few people ask me how to make it compatible with ATC's, but I'm not sure if anyone actually has.

You could just use two plates, and let Mach3 zero the Z after every tool change like everyone else does.

Your other option would be to enter their lengths in the tool table, and use G43 in your code to offset them properly. You'd probably want to create a new macro to measure the tool and enter it into the tool table. If the tools are in holders, and you don't change them often, then it's probably easier to just manually measure them.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Mach3 2010 Screenset - Now available
« Reply #416 on: October 23, 2015, 01:15:17 AM »
Hello Ger:

Since I made the post, I spent some time studying the Simple macro print out. I have made some mods and separated the new code by
very visible long lines of ***********************.

In between these sections, I added some code snippets copied from some old code made by TP that did the adding TLO stuff. I removed nothing from the original code. So, all the mods are visible, with explanations.

I tested it as I went, with a desktop mini router on my desk next to the computer. When it looked like it was working OK, I put it on a USB memory stick, and went out to the CNC mill in the shop for the big test.

I copied and pasted the macro section that moves the spindle down, to a second section labeled N2:, which is for setting the working tools offsets. Both sections use message boxes.

There are a few bugs yet to fix, but it seems to put the TLO and tool number in the Mach3 tool table.  I put shims of different thickness's
on top of the touch plate in the desktop router, to simulate different tool lengths.  All of the working tool lengths are set relative to the
Z0.000 home, set in the first section that sets the Master tool. I am using an Edge finder for the Master tool.

My next task is to get the macro to stop if I want to terminate it. Right now, it just keeps on running. Also, putting in the tool diameter.

I will send you my modified macro when it is working 100%.  The original macro is totally bullet proof, which I really like.

John

Offline ger21

*
  • *
  •  6,281 6,281
    • View Profile
    • The CNC Woodworker
Re: Mach3 2010 Screenset - Now available
« Reply #417 on: October 23, 2015, 07:17:17 AM »
Quote
My next task is to get the macro to stop if I want to terminate it.

From my experience, the only way to reliably terminate a macro is with an "Exit Sub" call.
I actually do an Estop in some of my macro's when I need to exit them, as it was the most reliable method in some cases.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html
Re: Mach3 2010 Screenset - Now available
« Reply #418 on: October 23, 2015, 05:00:58 PM »
Hello Ger:

I spent more time today on modification to the 'Simple" tool setting macro, and have it setting a "Master" tool to Z0.000, and the subsequent cutting tools with a question box "input tool number", and auto setting the tool length offset. I checked four tools after running the macro by putting them one at a time in the spindle, and doing a MDI to rapid to the offset the macro put into the tool table. I moved my test surface away from under the tool (a short block of wood, cut clean and square) and then slid the block under the tool when it stopped. They all fit great, which proved to me the mods work properly, even one of the cutting tools was shorter than the Master edge finder probe, and had a negative offset.

The cutting tool setting section of the macro keeps repeating, i.e., a question box.

I suppose the E-stop is the simplest solution to aborting the action once the probe sequence starts.

I encountered one mishap during my testing. After my tool #1 (a #3 center drill) did the second probe touch from .05 above the plate, it punched down into the touch plate, and then retracted. The conductive surface is a copper clad board glued to a steel block. It didn't bust the center drill, just a rapid jog down, and then retract up.

After the probe cycle there is the line:
Code "G0 Z" & ZClear ' Retract to clearance Plane

I think the machine read the "G0 Z" and moved, before getting the whole context of the line. Maybe I am wrong, but I deleted the
line, and replaced it with; Code "G53 Z-.2", which rapids up to .2 before the Z home position.

Lots of hours spent, but works like a charm now.

John

Offline ger21

*
  • *
  •  6,281 6,281
    • View Profile
    • The CNC Woodworker
Re: Mach3 2010 Screenset - Now available
« Reply #419 on: October 23, 2015, 06:57:55 PM »
Z Clear is the value of the clearance plane setting in the screenset. If it was 0, it would have made a rapid move down to the bottom of the plate I think.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html