Hello Guest it is March 29, 2024, 08:01:42 AM

Author Topic: Mechanical button to release tool from atc  (Read 715 times)

0 Members and 1 Guest are viewing this topic.

Mechanical button to release tool from atc
« on: December 09, 2021, 09:32:47 PM »
I am trying to set up my ATC in Mach 4 and would like to add a button to release a tool i stead of calling a tool change. I managed to write a basic script for the tool change using examples here but I cannot figure out a way to make a mechanical button control and output. Can anyone stear me in the right direction?

Thanks
Tommy

Offline Bill_O

*
  •  563 563
    • View Profile
Re: Mechanical button to release tool from atc
« Reply #1 on: December 10, 2021, 07:26:00 AM »
Here are the basics.
You need to make an input into Mach for when the button is pressed.
Then you can use the PLC or the Signal Script and put the code in to activate your tool release when the input is pressed.
Re: Mechanical button to release tool from atc
« Reply #2 on: December 10, 2021, 09:23:05 PM »
Can you point me in the right direction for a signal script? All I can find is how to get a button to control something like cycle start but nothing on an input signal controlling an output.

Offline Bill_O

*
  •  563 563
    • View Profile
Re: Mechanical button to release tool from atc
« Reply #3 on: December 13, 2021, 07:22:28 AM »
It will take some work.
First you need to learn a little on how to write the code that Mach uses.
Here is a link to something I made while trying to learn the basics.
https://www.machsupport.com/forum/index.php?topic=45397.0
It is not hard once you get started.
To get to the Signal Script you need to go to Operator then Edit Screen.
On the left side of the screen under Screen Tree select the top level.
Under properties below that select the center icon (Events)
Next to Signal Script click on the code and a window will pop up with all the code in the Signal Script.
Make sure you made a backup copy of your Mach4 so if you mess up it is easy to start back over.
Re: Mechanical button to release tool from atc
« Reply #4 on: December 15, 2021, 07:59:29 AM »
first i think its bater with PMC
BUT in any case not forget add condition that gcode not run and spindle not rotate !!!!!