G Code line for two motors

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
Liquid Garden
Posts: 47
Joined: Wed Jan 15, 2014 9:18 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

G Code line for two motors

Postby Liquid Garden » Sun Aug 03, 2014 9:43 pm

I would really appreciate your guys' help.

My printer has a simple vat tilt down -> Z lift -> vat tilt up -> Z lower sequence. I'm using an UNO and GRBL. Currently every G1 code has its own separate line but I'd like to start the tilt up and z lower motions at the same time to reduce the total print time.

If I put both tilt up and z lower motions on the same line with just one G1 code I get an unexpected result (unexpected for me anyway), both motors seem to try to sync their arrival at the destination or something. It seems like one of the motors is slowing down to match the other motors total travel time. I don't think it is just the F setting because I have tried changing them and even just using one F setting that should be ok for both motors.

Any idea what is happening? Anybody know a way to just start both motors moving at the same time? Maybe there is another G Code code?

User avatar
PacManFan
Site Admin
Posts: 633
Joined: Sun Dec 01, 2013 11:44 am
Location: Ahead of the curve
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: G Code line for two motors

Postby PacManFan » Sun Aug 03, 2014 11:33 pm

I think you might want to look into G0 instead of G1.

Liquid Garden
Posts: 47
Joined: Wed Jan 15, 2014 9:18 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: G Code line for two motors

Postby Liquid Garden » Mon Aug 04, 2014 11:11 am

If I'm not mistaken, it isn't possible to set a feed rate with G0. I still need to control the tilt and z speeds but just have them start at the same time.


[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable