Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: mike^3 on March 22, 2014, 03:36:58 PM

Title: Custom home button for tool changer!
Post by: mike^3 on March 22, 2014, 03:36:58 PM
 Huh

Hello Everyone!

I am an need of a button to home my tool changer to a limit switch.

The steps are as follows:

1. Activate output 1 (lift turret)
2. Run A axis until it sees the home switch,
3. Do the double touch off for setting home.
4. Change the A position DRO to 0
5. Change the current tool DRO to tool 1 or "1"
6. Deactivate output 1 (drop turret)

This is a custom home macro for when and if the tool turret ever misses steps, or misaligns...Having this will allow the operator to easily reset the turret to tool one incase a crash during tool change, or a mechanical hiccup.

I REALLY APPRECIATE ANY HELP! I will be posting the completed screen sets to the forum.

P.S. this is for an 8 position servo/stepper driven cnc lathe with an air valve that lifts, and servo/stepper that indexes to a degree (tool position) then locks and continues the program...

Thanks

Mike Wink