G92 sets machine limits if given negative values
-
I'm using the Workbee basis for some measurements (not CNC or 3D printer related). I need it to go to x, y, z then turn the motors off.
G0 x-1000 y-1000 z0
I use M18 to turn the motors off which also looses the home position.
m18
I use G92 to set the current position again which was set with g0.
G92 x-1000 y-1000 z0
however this doesn't seem to work as expected instead setting the current position as the machine limits.
M114 X:-1150.000 Y:-1270.000 Z:0.000 E:0.000 Count 0 0 35200 Machine 0.000 0.000 88.000 Bed comp 0.000
Does anyone know how to correct this or a workaround to try? it happens when giving any negative number to G92.
-
M564 S1 ; S1 = respect axis limits M564 S0 ; S0 = ignore axis limits
If the current state of the printer is to respect axis limits, G92 will not set a position outside the min/max limits for the axis.
You can do the M564 S0 command and then you can use G92 to set any position.
Frederick