On 9 March 2014 21:24, Michael Chism <[email protected]> wrote: > Im actually starting to understand it now. so by this line > setp hm2_5i25.0.7i77.00.digital-out-01 1 > it will activate the tool changer piston out to connect with the spindle.
In theory yes. I might not even have the correct name for the 7i77 pin, I was working from memory. Once you have the hardware all connected it is going to be well worth getting a dump to a text file of all the HAL pin names, then you can copy and paste them onto your HAL. > But before that, would I not need a line that says > G0 Z-6.78 "Just an example as to where the tool change position needs to be > for the x axis" I think you need to do this with a G53 to ensure a move in machine coordinate space. > ---------this is where i am lostI need to take the input from the control > o<tool> and rotate the turret to the right tool position You will probably be passing the tool number as a parameter to the sub (the 6 in O100 call [6] ) That can be read in the sub a #1 O100 SUB (DEBUG, You chose tool #1) M61 Q#1 G43 H #1 O100 ENDSUB Moving to the new tool might be as easy as G0 A[#1 * 3456] Or might be more complicated. -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce. With Perforce, you get hassle-free workflows. Merge that actually works. Faster operations. Version large binaries. Built-in WAN optimization and the freedom to use Git, Perforce or both. Make the move to Perforce. http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
