Hello Guest it is October 14, 2019, 10:05:22 AM

Author Topic: Tool measure macro  (Read 26231 times)

0 Members and 1 Guest are viewing this topic.

Re: Tool measure macro
« Reply #40 on: December 08, 2006, 10:20:25 PM »
Hi to all,
I like to ask if I have a custom screen that was built by the company that made My machine ,how can I set up a dro to take one of the macro to run the tool  change switch? Thank You for Your help,Marco.
Re: Tool measure macro
« Reply #41 on: December 09, 2006, 05:23:44 AM »
Hi Faby,

Code: [Select]
Code "G31 Z-230 F600"
While IsMoving()
Wend
Code "G91 G00 Z2"
Code "G31 Z-10 F60"
While IsMoving()
Wend
HitOld = GetVar(2002)
It works fine, but only when I run step by step...


Ok, I think you must wait after movement G91 G00 Z2:

Code " G91 G00 Z2"
While IsMoving()
Wend
Code " G31 Z-10 F60"
While  IsMoving()
Wend.


Thats the reason because it does work step by step.
But be careful!!
Th G91 command sets the mode to G91 ... (really logic,  ;) )
If your mode at the beginning of your measure macro was G90,
your macro returns with G91! Your crash will be shure..

So read the G9x-Status (from LED) first in your macro and restore it
after measurement...


@ REM300WM:

You cannot connect a macro with DROs only with buttons.
So you must place a button with VB-Script function on your screen and
have to place your code there...


Greetings from Germany,

Wolfram
Re: Tool measure macro
« Reply #42 on: December 09, 2006, 10:29:17 AM »
Thank You for Your help, Wolfram ,
Marco.
Re: Tool measure macro
« Reply #43 on: December 12, 2006, 11:09:57 PM »
Thank You Fernando for Your help With My screen problem,it is solved now,Marco.
Re: Tool measure macro
« Reply #44 on: January 20, 2007, 12:59:27 AM »
Hello to all,
I  loaded the tool change macro and when I run the macro alone it works good but when I put it in Mach3 and try to have a tool change nothing happens the file just runs but it doesn't stop for the tool change.Any ideas why this happens? Who exactly puts the command to do the tool change?
Thank You for the help,Marco.
Re: Tool measure macro
« Reply #45 on: January 20, 2007, 06:49:04 AM »
Check in the general configs and see that you Don't have "Ignore ToolChange" checked
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Tool measure macro
« Reply #46 on: January 20, 2007, 01:50:51 PM »
Hello Brian,
Yes, the auto Tool Change is checked.
Thank You for the help,Marco.
Re: Tool measure macro
« Reply #47 on: January 21, 2007, 07:33:45 AM »
Did that Fix it?
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com
Re: Tool measure macro
« Reply #48 on: January 21, 2007, 09:15:05 PM »
Hello Brian,
No, try to run 2 more files and Mach did not stop for the tool  changes.
Thank You,Marco.
Re: Tool measure macro
« Reply #49 on: January 22, 2007, 11:22:22 PM »
Please post your XML and I will see what I can find

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com