pwozney
Posts: 4
Joined: Tue Sep 29, 2015 1:30 pm

Start script help

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.
JoeJ
Posts: 1435
Joined: Sun Feb 16, 2014 10:52 am

Re: Start script help

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.
pwozney
Posts: 4
Joined: Tue Sep 29, 2015 1:30 pm

Re: Start script help

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.
JoeJ
Posts: 1435
Joined: Sun Feb 16, 2014 10:52 am

Re: Start script help

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.
pwozney
Posts: 4
Joined: Tue Sep 29, 2015 1:30 pm

Re: Start script help

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?
JoeJ
Posts: 1435
Joined: Sun Feb 16, 2014 10:52 am

Re: Start script help

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.
pwozney
Posts: 4
Joined: Tue Sep 29, 2015 1:30 pm

Re: Start script help

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.
MartinsZB
Posts: 10
Joined: Thu Oct 01, 2015 4:50 am

Re: Start script help

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
JoeJ
Posts: 1435
Joined: Sun Feb 16, 2014 10:52 am

Re: Start script help

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.

Return to “Troubleshooting and Bug Reports”