I am pretty familiar with g-code but linking the the hal input motion pin from the 7i77 is my challenge, do you have an example? And where to put it within linux hal file? (can I just put it anywhere?) What was the L and Q standfor in your small code? M66 P0 L1 Q15 was p0 the pause? L1=? Q15=? thanks
> From: [email protected] > Date: Sun, 9 Mar 2014 21:09:02 +0000 > To: [email protected] > Subject: Re: [Emc-developers] Tree VMC tool changer help > > On 9 March 2014 20:08, Michael Chism <[email protected]> wrote: > > > I have viewed the machine operation online and their seems to be a > > proximity switch for each tool position. can we use that to feedback some > > kind of check for the tool in right pos? > > Yes, LinuxCNC G-code has digital inputs and outputs (M62-M68 commands) > For example M66 P0 L1 Q15 will pause execution until HAL pin > motion.digital-in-00 goes from low to high (and the HAL would link > that pin to a 7i77 digital input). > > If using the timeout you need to check that it was a real trip not a > timeout before moving to the next stage of the process. > > eg > > M66 P0 L1 Q15 > O101 IF [#5399 LT 0] > (MSG, It's all gone wrong) > M2 > O101 ENDIF > > I will repeat that I don't think this is the ideal solution, but it > might be the quickest, assuming you are already familiar with G-code. > > -- > 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 ------------------------------------------------------------------------------ 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
