What's new
What's new

Using coolant MCode or sensors for magnetic chuck

GiroDyno

Cast Iron
Joined
Apr 19, 2021
Location
PNW
My thoughts in red. My code should work as is, it came directly off an '07 VF2ss:

I get further using G0 instead of protected moves. It will run the first touch, set G56 Z0, move to the second point, touch, come up and then it alarms 1093.
Seems weird to me that it will complete one, but not a second touch.
We currently use 9995 or something which is a Haas specific cycle to set Z before cutting, I tried it with both that and 9811 and neither worked.
This is on a '14 VF2SS but we also run the exact same programs on an '08 VF3SS

***
I did a bit more editing. Removed the pre-existing Haas cycle, and ran the three separate 9811 cycles and then did math per Matts code. Works great!
***
 
Last edited:

GiroDyno

Cast Iron
Joined
Apr 19, 2021
Location
PNW
I think you are making this more complicated than it needs to be by messing around with the coolant pump.

Unless you have you have an ancient VF the VF should have everything you need to make this work. Most VFs have at least 4 user relays inside that can be activated by m-codes and an m-fin connection for external input.

Next go to mcmastercarr.com and search for magnetically actuated switches, you want an SPST-NO switch. For example McMaster-Carr, you don't need the magnet part of the switch. You may need to make a riser to adjust the position of the switch in relation to the chuck so it only actuates when the magnet is on.
Wire this magnetic switch to an m-fin cable, the Haas m-fin cables are very expensive so make your own, instructions are online.

You are correct that trying to reuse the coolant system is making things too complicated. I just really wanted to be able to cobble something together from existing components that weren't being used but the juice wasn't worth the squeeze.
I reached out to get more info on the controller and interfacing with a CNC and they gave me a pinout of the port on the box. Attached is that page from the manual.
Can someone explain in plain simple terms how this would be connected to a ('08 or '14 VFs)Haas control? I hear about m-fin and understand what its "doing" but I'm not exactly sure how it is actually connected with the system. I believe the coolant tank sensor has an m-fin connector so at least I may be able to reuse that!
mag_chuck_cnc-control.jpg
 

corednc

Aluminum
Joined
Sep 3, 2019
Location
East Coast
Please take a picture of the 9-pin connection on the back of the magnetic chuck control. The description in the manual does not match the pictures in the manual.The manual describes a 9-pin connector but the pictures show a 15+ pin connector. I need to know what it looks like so I can tell you what kind of connector to get.
 

Milling man

Cast Iron
Joined
Aug 6, 2021
Location
Moscow, Russia
Do you have documentation for your machine with a list of options and additional functions? It is very likely that you already have everything you need for additional M-codes to work. Take a picture of the general view of the machine's electrical cabinet with the door open.
Using custom M-codes and their relays will be easier and more reliable than connecting to the coolant interface.
 








 
Top