Welcome! Log In Create A New Profile

Advanced

G code questions

Posted by Treth 
G code questions
December 17, 2013 04:00AM
I successfully printed the snowman, but would like to understand some issues I observed.

Pronterface showed an error for M27 as an invalid code. This did not affect anything and seems to be related to reading the SD card and I presume used for the %age complete?

Also during z-height sensor calibration I would go through the sequence (captured from Pronterface):
>>>G92 Z0 I set the zero at home position
SENDING:G92 Z0
serial: G92 Z0
>>>G31 read the z-height sensor
SENDING:G31
serial: G31
969 sensor reading
serial: G91
serial: G1 Z0.1 F200 I believe this is generated when I select +0.1mm move on Pronterface z-axis
serial: G90
serial: M114
X:54.009361 Y:9.996872 Z:0.000000 E:0.000000 displayed results. NOTE Z axis reads 0.000....
but I have just moved the axis +0.1 and observed it move!
>>>G31 Now I repeat the z move etc., and get a 0.1mm reading, but it has now moved 0.2mm
SENDING:G31
serial: G31
968
serial: G91
serial: G1 Z0.1 F200
serial: G90
serial: M114
X:54.009361 Y:9.996872 Z:0.100000 E:0.000000
>>>G31
SENDING:G31
serial: G31
967

I'll check this out again later as I seem to have the change the values used in the G31 Zn.n Pvvv command each day, but does the displayed X, Y and Z positions output by Pronterface show the 'previous' positions?
Sorry, only registered users may post in this forum.

Click here to login