Repetier said:
No idea what firmware you use, but I do not think sd card or usb makes a difference if it gets the same g code. So if there is a difference the usb print MUST have different gcodes send. In host you can define a start gcode as well and that gets printed first and then the cura generated code. So check if these scripts conatin any gcode and delete them.
If it still does not work send lines manually one by one till you see whcih command does the 20mm move. Normally I would expect
G28 to home Z to Z=0
Later there will be a G0/G1 with Z to move it on layer height.
What you need to look out for is G92 Zxxx whcih can change the height for following G1/G0 commands as it offsets the coordinate.For 3d printing this is normally only used for E0 but not Z.
Hi, Thanks for taking time to reply -its appreciated because I have spent days trying to resolve this. Sorry if I repeat stuff here.
I have an Anet A8 - it was all set up and running fine... but only on SD Card operation. Repetier would not connect. This tuned out to be an Apple iMac / Driver issues which was sorted out with help from a very helpful guy on the A8 facebook book group. This came about because the mini SD card slot in the board - failed and we were trying to get a USB connection. However, the board itself was useless and a couple week later I got a replacement from the factory. This second board connects to the A8 via the USB cable. and the SD Card slot is fully functional ( so far) I cannot upload from computer to SD card I get an error report - WRONG target file name - Target name is not valid - Only 0-9, a-z and ) are allowed. " I have tried changing names etc,. It never accepts any file name.
To test your suggestion about different G Code - I downloaded a new file off Thingy... converted in Cura and used the resulting G code The same files on SD card - prints without issues - the same file used by direct via the USB cable - starts to print about 20mm above the bed. I agree it sound illogical - but I have seen a similar post whee I was searching this forum, the difference being that the other poster had a 5mm gap or so.
I was - blaming shoddy electronics used in the Anet A8 board - its only the previous issues with Repetier that has sent me looking for an alternative root cause.
I more than once done a complete - on delivery - set up and bed level process, unsettling end stops etc,. and starting each set up trial. I still get the same results.
I changed machine start code to Cura default - made no difference and returned to a start code that was suggested to me when I first completed the assembly.
<style type="text/css">
p, li { white-space: pre-wrap; }
</style>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G21 ;metric values</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G90 ;absolute positioning</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">M82 ;set extruder to absolute mode</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">M107 ;start with the fan off</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G28 X0 Y0 ;move X/Y to min endstops</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G28 Z0 ;move Z to min endstops</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G1 Z15.0 F9000 ;move the platform down 15mm (this does happen on SD card use - but NOT when in using USB )</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G92 E0 ;zero the extruded length</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G1 F200 E3 ;extrude 3mm of feed stock</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G92 E0 ;zero the extruded length again</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">G1 F9000</p>
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">M117 Printing...</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Dont know if this help you.</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">
</p>