On Tue, Apr 15, 2014 at 04:33:10PM +0100, andy pugh wrote:
> On 15 April 2014 15:18, Chris Radek <[email protected]> wrote:
> 
> > +    emcmot_hal_data->debug_s32_0 = emcmotStatus->motionType;
> 
> That looks suspiciously easy.

Yes.

> Is the pin synchronised with motion?

Yes.

> I suspect that it would actually return the same value for G1 and G0
> (TC_LINEAR = 1) ?

Nope, it will give you these:

http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=blob;f=src/emc/nml_intf/motion_types.h

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to