Page 1 of 1
Start script help
Posted: Tue Sep 29, 2015 1:35 pm
by pwozney
It looks like the start script drops the extruder at the corner of the build plate but this hits my alligator clip at the corner.
I'd like to configure the printer to drop Z pretty much anywere else. I tried this:
Code: Select all
G28 ; home all axes
G0 X100 Y10 ; Bring extruder to the front
But it still seems to do the Z straight for the corner first before moving to X100 Y10.
What can I do here to alter the X/Y position before it drops the Z? With other slicers it has moved the Z at the same time as the X/Y so it should be possible I'm just not that savvy with gcode.
Re: Start script help
Posted: Wed Sep 30, 2015 5:16 am
by JoeJ
Well there's only 2 commands in that script. One that homes all axes and one that moves to X100 Y10. You could change the X100 Y10 coordinates if you want, but the G28 homing command can't be changed. The location where the printer goes to home is set in the firmware.
Re: Start script help
Posted: Thu Oct 01, 2015 12:59 am
by pwozney
On my printer, Z0 is high - so G28 puts it home up at the top.
The print bed is 200+ mm down so something is telling the extruder to drop straight down.
Re: Start script help
Posted: Thu Oct 01, 2015 5:21 am
by JoeJ
I'm not sure I know of any printers that have Z0 at the top. Perhaps you mean that your Z-home position is at the top?
You can test this pretty easily. Send G28. Does the printer move to the top? Now send G1 Z0 F3000. Does it move to the bottom? If so, that would mean that Z0 is actually at the bottom, but the homing position is at the top.
Re: Start script help
Posted: Sat Oct 03, 2015 12:48 am
by pwozney
You are correct, Z0 is at the bed.
So why didn't the two line script I showed here work? It should have moved the X and Y before the Z dropped to 0, or am I missing something?
Re: Start script help
Posted: Sat Oct 03, 2015 8:33 am
by JoeJ
You can manually type commands to move your printer to a specific location. So if you want it to move to X100 Y10 Z200, then just put "G1 X100 Y10 Z200 F3000" into your starting script. If that doesn't go to the same position as when you type the command manually, then you have something wrong with your firmware.
Re: Start script help
Posted: Sat Oct 03, 2015 12:36 pm
by pwozney
JoeJ wrote:If that doesn't go to the same position as when you type the command manually, then you have something wrong with your firmware.
I guess I'll try it again, but I don't believe this would be a firmware issue, as other slicers are able to do this correctly.
Re: Start script help
Posted: Sat Oct 03, 2015 3:18 pm
by MartinsZB
Hi! G28 homes ALL axes.
Try:
G28 X Y ; home X and Y axes
G1 X20 Y20 ; move X and Y to position, where to home Z
G28 Z ; home Z axe
Re: Start script help
Posted: Sat Oct 03, 2015 4:05 pm
by JoeJ
Then just copy your starting script from those other programs. All the software does is create the gcode files. It's up to the firmware to actually execute the commands. If you have a starting script that works in another program, then just use the same one in S3D.