Thanks Andy for your reply. So I just finished adding an air line in my shop over to the Clausing NC and wired up the I/O to the turret solenoid and motor. There are 4 limit switches inside the turret and I didn't know what they were for so I just connected them to inputs on my I/O card. I call them T1,T2,T3, and T4. Next I played around with the outputs manually to see how the inputs worked. T1 limit switch indicates that the turret is UP. T2 indicates that the turret is DOWN and locked, T3 indicates that the geneva drive has finished rotating 1/8 of a turn - this switch then changes state once power is removed from the motor. T4 is ON when the Turret is UP also it is ON when the turret is down and in position 1. See attached video link.
So if the machine is turned powered on the tool changer would have to remember the last turret position or otherwise It would need to home the turret. Do I need to make a special homing routine? How would this best be done? In hal or ladder logic? Some G-code routine initiated by a turret home button? Just looking for ideas or maybe the way this is typically done. So I think I can make a sequencer ( in hal?) to move the turret one position. I suppose I could have 8 tools defined and use some tools in the 45 deg position but I don't know how useful that is. My milling machine uses manual tool change. I have my post processor set up in a way so that my tool change position is always at Z max height and X,Y position wherever the position was at the start of the program. This is really convenient for me because I can start the program with the X,Y location at some convenient place not above the work piece and not at some extreme of the X and Y travel. Can operation with the automatic tool changer work in a similar way? - like maybe I bring X as far away from the work as possible but have Z return to where it was when the program started? Clausing NC Turret Operation <https://photos.google.com/photo/AF1QipM1OSFRObrTwCisijYvFew1_9qXWUu_sjys16YV> John Figie On Tue, Nov 8, 2022 at 12:37 PM andy pugh <bodge...@gmail.com> wrote: > On Mon, 7 Nov 2022 at 20:05, John Figie <zephyr9...@gmail.com> wrote: > > > A solenoid controlled valve actuates a piston that > > > raises the tool post. Once in the raised position a geneva drive and > motor > > rotates the post in 1/8 turn increments by pulsing power to the motor. > So 2 > > pulsed are needed to move the post one tool position. > > > > What happens if the power to the motor is not pulsed but is left on until > in position? > If that works then "carousel" will work (though you would need a sequencer > too, probably a G-code subroutine, as used in the > sim/axis/vismach/vmc_toolchange example config. > > If you actually need to pulse, then it could still work, by setting the > motor control output bits to enable a pulse generator component (siggen, > for example) > > -- > atp > "A motorcycle is a bicycle with a pandemonium attachment and is designed > for the especial use of mechanical geniuses, daredevils and lunatics." > — George Fitch, Atlanta Constitution Newspaper, 1912 > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users