Hello Guest it is April 19, 2024, 11:55:19 PM

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.


Topics - TheSuperior

Pages: 1
1
General Mach Discussion / Arduino - Mach 3 - Gcode M6 T0101
« on: March 25, 2022, 10:01:41 AM »
Hi there,

I have read the posts I could find on the forums concerning arduino and mach 3 and connecting this using modbus.

http://www.machsupport.com/forum/index.php/topic,22982.0.html

This post from Zafar has been really helpful in connecting arduino as a slave to mach3 and using it with 2 x potentiometers for FRO and Spindle override

I want to do something similar with an Automatic Tool Changer.

the only thing I need is it should send an integer value between 1 to 12 to the arduino every time it encounters the M6 Gcode and based on what tool was selected.

ex. M6 T0101 - should send "1" to the arduino.

I have no idea how to modify the code to do this. Is there anyone who has done this before??

2
General Mach Discussion / Write a Integer to Arduino using the M6Start
« on: March 23, 2022, 01:34:55 AM »
Hi There,

I have built an arduino-based tool changer for a conventional 2-axis turning lathe machine. It works by receiving a input of 1 to 12 through either the serial monitor or a bluetooth device.

I would like to be able to use this with Mach 3. If I have a tool change in the G-Codes ex. M6 T0101 it should send "1" to the arduino and run the code to do the change.

I have read that this can be done by building a brain in mach 3 using modbus.

Is there anyone who rather has a M6Start Macro that might just do this?

Or anyone that could point me in the right direction?

Thank you

Pages: 1