MechMate CNC Router Forum

Go Back   MechMate CNC Router Forum > Electrical & Electronic > 70. Control Systems
Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old Wed 23 July 2014, 07:29
racedirector
Just call me: Bruce #122
 
New South Wales
Australia
Tool Change from the elusive Black Button

Hi all

Just wanted to give you an option for your Black button on the Y control box, making it work to initiate the tool change and measurement.

I want to say this works on my machine and I give no guarantee it will work on your so please check everything before letting this loose on your MM.

In my case I use Gerry's 2010 screenset and that offers 2 different tool change macros - a single touch off with a movable plate and a double touch off with both a movable and fixed plate. These run from 2 different macros, in this case M881 (dual touchoff) and M889 (single touchoff).

As most will know you can't run more than one macro from a button under normal situations but with the aid of a plugin it is possible. The plugin I use is the Mach Mad plugin, my version is 3.8. This plugin is available from a few places in the world, I got mine from Peter Homann in Australia for the princely sum of A$11.00.

The plugin allows you to, among other things, run a macro from a USERLED in Mach and I only found out today that USERLED's do not need to exist on your screenset. With this ability, the combination of a brain and the plugin you can execute all sorts of things.

Here's how it works for the toolchange macros.

You create a brain to monitor two inputs, I assigned OEMTRIGGER#10 to pin 15 and OEMTRIGGER#11 to pin 13, Inverted the signals and passed them to 2 OEMLED's, 2250 and 2251 in my case, making either of them turn ON.

I then told Mach Mad to monitor those two USERLED's and when one of them becomes active to run one of my toolchange macros. So USERLED2250 runs M889 and USERLED2251 runs M881.

On my Y control box I have a black pushbutton (NO) plus a 2 way switch that also contains two NO contact blocks. Wire one side of the button to one side of both switch contact blocks. Wire the other side of the button to BOB ground. Connect one wire from the other side of each switch contact block to the 2 pins on the BOB, pin 15 and pin 13 in my case.

You will also need to edit your macro to turn the USERLED OFF for the next invocation.

Once you refresh Mach and load and activate you brain you should now be able to switch from Single touchoff to Dual touchoff just by flicking your switch and pressing your black button.

I would assume any other screenset with a macro for the touchoff could be done in the same way.

Let me know if you need clarification of anything or make this work on your machine.

Cheers
Bruce
Reply With Quote
  #2  
Old Thu 24 July 2014, 02:07
pblackburn
Just call me: Pete #98
 
South-Central Pennsylvania
United States of America
Thanks for the time you took to share your process and information
Reply With Quote
Reply

Register Options Profile Last 1 | 3 | 7 Days Search Today's Posts Mark Forums Read

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatic Tool Change Spindle Made in the USA blurrycustoms The Market Place 21 Fri 07 March 2014 18:53
e-stop - pause and resume button renraku 60. Wiring & Cable Management 11 Fri 20 September 2013 05:38
Push Button Problem hflwaterski 70. Control Systems 10 Sat 14 January 2012 21:12
New Avenger automatic tool change cnc "cartridge" spindle - NOW SHIPPING blurrycustoms The Market Place 93 Tue 06 September 2011 19:19
HTS Rapid Tool Changer + 4 Er-16 Tool Holder + 5 Er-16 Collet bbreaker The Market Place 6 Tue 01 December 2009 00:14


All times are GMT -6. The time now is 02:28.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.