General CNC Chat > Share Your GCode

How to speed up simple G Code

(1/6) > >>

Jack Hoffa:
Here is my simple G code for a tying machine-M3, M7 and M8 run solenoids.
X and Y are servos for a wire feed and a wire twister -
The cycle takes about 3.5 Seconds - I need to run in 2.25 Seconds and most of the time seems to be in the execution between comands and not the servo speeds.
Anyone's help would be worth some money
Thanks
Jack Hoffa  714-990-5980  (cell 714-404-7159)
jack.darlene.hoffa@roadrunner.com


M3
G91G0X19
M8
G0X-13
G0Y.6
M7
M9M5
G0Y2.4
M30

Picengraver:
Jack,
You might try the M10/P* / M11P* (off/on) commands.  They don't have a time delay associated with them as M3 (other Ms?) do.

I don't know if you can use more than one output though, but you might try replacing the M3 first to see if it helps.  I also haven't tried, but maybe also use E10/E11 commands for another output.  If I am wrong, someone will hopefully jump in with corrections/another suggestion.

Regards,
John Champlain

Tweakie.CNC:
Hi Jack,

It is as John has said - these commands are indeed faster but the M11P*/ M10P* command set execute in a different way and are perhaps primarily intended for laser switching.

The M3/M7/M8 are ‘stand alone’ commands (they will execute when called).

The M11P1 (turn on Output #1), M11P2 (turn on Output #2) etc. are ‘linked’ commands (they will only execute after an axis has started it’s movement).

So it may be possible to increase speed by using these commands but it would depend on the design of your machine and the speed of the solenoid operation etc. etc.

Tweakie.

Jack Hoffa:
 ::)
Thanks you guys

This is very important to us

Where do I find out about these commands, and how they work?

I am using a smooth stepper, so could use a second Breakout board I think

Any help on this would be greatly appreciated

Jack Hoffa
jack.darlene.hoffa@roadrunner.com

Jack Hoffa:
John What are E10/E11 commands

Jack

Navigation

[0] Message Index

[#] Next page

Go to full version