#22 G92 does not set individual axes

open
nobody
None
5
2010-12-19
2010-12-19
No

as define here: http://objects.reprap.org/wiki/GCodes#G92:_Set_Position
G92: Set Position

Example: G92 X10 E90

Allows programming of absolute zero point, by reseting the current position to the values specified. This would set the machine's X coordinate to 10, and the extrude coordinate to 90. No physical motion will occur.

However, the implementation is like this:
case 92:
setPosition(fp);
break;

this is exacly the wrong behaviour: it should set X Y Z A B C E etc. to their current values, unless they are issued with the command, in which case they should be set to their new value (usually zero).
This bug makes it impossible to use separate zero-ing steps, which is very useful for cnc milling/routing.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks