Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: mike^3 on November 07, 2013, 04:42:55 PM

Title: Weird Lathe ATC tool change macro needed
Post by: mike^3 on November 07, 2013, 04:42:55 PM
  ;D

So I have a good tool change macro question.

This is what needs to happen, I have searched the forums and came up with nothing even close.

Here it is, operations in the tool change:

Call up selected tool (1 through 8)
do nothing if at the current tool selected
if not at the tool then these steps must happen.

(lets say for example the tool is at tool position 2, and I call up tool 1)

move x0.2 z-0.2
Activate solenoid 1 (de activates lathe stop dog)
Activate solenoid 2 (pop up lathe turret)
Activate solenoid 3 (activates air driven worm gear and turns turret in only 1 direction)
Wait for signal from input 1 (no other input) (there are mechanical switches that all give off 5v once the rotary disc is in position, but input 1 means tool 1, input 2 means tool 2, input 3 means tool 3, etc. etc.)
          Once it receives signal from input 1 (or  input 1-8 depending on which tool is capped for):
Deactivate solenoid 1 (to stop the turret from spinning)
Deactivate solenoid 3 (stoped airdriven worm gear)
Deactivate solenoid 2 (drops turret into locked seat)

Return to program.

I know this is a lot to ask, but I don't have much tool macro experience and I would more than appreciated any help!

Thank you so much!

Mike

This is for a Hardinge CHNC II super precision lathe, I have 2 and I converting both ;) I will send pics when finished.

Title: Re: Weird Lathe ATC tool change macro needed
Post by: mike^3 on November 07, 2013, 04:43:41 PM
I mean tool 1 though 8, smiley face got in the way 8)