>
>
> I am not sure what the built-in parameters such as #<_Z> show in this
> situation. I would suspect that it is commanded position but it's not
> hard to find out.
>

I just ran the following gcode:

(Configuration section)
G20    (Inches)
F2    (probe speed)

#4=-1  (Y start)
#5=.04 (Y increment)
#6=51  (Y count)

(End configuration section)

(LOGOPEN,profile-results.ngc)
#9=0

O1 while [#9 lt #6]
    G0 Y[#4+#5*#9]
     (LOG, G1 #<_Y>, #<_Z>)
    #9=[#9+1]
O1 endwhile

(LOGCLOSE)
G0Y#4
M2

I manually moved the z encoder while this was happening.
It produces a log file as expected, bu all the z-values are zero.
some more testing with (DEBUG, #<_Z>) showed that #<_Z> stays zero until it
is changed by motion. For example, using the jog keys will change it.

Anything else I can try?

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to