bitboxelectronics / R2C2_Firmware

R2C2 -- electronics for RepRap 3D printers (and others), CNC and other machines.
http://www.3dprinting-r2c2.com/
35 stars 34 forks source link

G92 command always sets position to zero #7

Closed bobc closed 12 years ago

bobc commented 12 years ago

A command such as G92 X100 should set X pos to 100, but always sets to zero. Same for X,Y etc.

Only in the case of G92 with no parameters should all coordinates be set to zero.

Reference: http://reprap.org/wiki/G-code#G92:_Set_Position

racribeiro commented 12 years ago

I've updated the code on gcode-process.