On 05/20/2016 09:10 AM, Todd Zuercher wrote:
> I am running Linuxnc 2.7.4. I thought I wanted to use the pin
> axis.N.in-position for something, but it doesn't seem to do what I
> expected it to. It only seems to go false during jog moves. What I
> want to know is when a G0 move is finished, but when I do a move with
> MDI or in Auto mode, none of the axis.N.in-position pins ever go
> false. The only time I ever see them go false is during a jog move.
> Is this the expected behavior, or is something broken?

The motion manpages says that axis.*.in-position pins are only True if 
the machine is in joint mode (aka free mode) and the joint is at rest:

http://linuxcnc.org/docs/2.7/html/man/man9/motion.9.html#PINS

So it sounds like it's behaving "as documented".  Whether that's the 
most useful possible behavior is debatable, I'd think (as you seem to) 
that axis.*.in-position should have useful information in coordinated 
mode (aka world mode, such as when running gcode) as well.


Does the motion.in-position pin have the behavior you want?  It's 
supposed to indicate that *all* axes are in their final position, and 
the manpage does not say that it's limited to working in joint mode.  A 
brief code inspection suggests that it work in world mode (ie while 
running gcode).


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to