Hello Guest it is December 01, 2024, 03:23:13 PM

Author Topic: How to speed up simple G Code  (Read 63560 times)

0 Members and 2 Guests are viewing this topic.

Re: How to speed up simple G Code
« Reply #10 on: February 07, 2013, 10:55:10 AM »
Hi
One more help needed
I want to set up the 2nd Parallel port, can't find any instructions - INput setup etc
I have win 7 with a smoothstepper
Are there any other commands to fire solenoids beside the M commands?
You guys are so helpful to a mechanical guy, who has to learn the logic and electronics

thanks so much
I have been running Mach3 for full size mill and lathe for many years

Jack

Offline Tweakie.CNC

*
  • *
  •  9,258 9,258
  • Super Kitty
Re: How to speed up simple G Code
« Reply #11 on: February 07, 2013, 11:41:53 AM »
Quote
Are there any other commands to fire solenoids beside the M commands?

Other possible methods include VB (Cypress Enable) and as an example of the VB;

ActivateSignal(OUTPUT5)

DeActivateSignal(OUTPUT5)

This cannot be included directly within a GCode program but GCode can be included within a VB script although, as a general rule, mixing GCode with VB often leads to disaster.

I know nothing about Win 7 so cannot be of any help there but I am sure there are others who can.

Tweakie.
PEACE

Offline BR549

*
  •  6,965 6,965
Re: How to speed up simple G Code
« Reply #12 on: February 07, 2013, 12:27:43 PM »
Jack it is possible that the SS does not support the M10/11 convention. But as to non delayed action you have 3 choices to test.

M10/11
EPO/EP1
Use the Dir output from a phantom axis.

USe of CB code ?  You are already doing that with an M8 call and there IS a delay.

FOr such a simple machine WHY did you choose the SS over the LPT version?  Just curious

(;-) TP
Re: How to speed up simple G Code
« Reply #13 on: February 07, 2013, 12:40:42 PM »
What is LPT?
We will sell a laptop with every machine so Win 7 now and win8 soon

Thanks so much

Jack

Offline BR549

*
  •  6,965 6,965
Re: How to speed up simple G Code
« Reply #14 on: February 07, 2013, 12:59:21 PM »
oK I see The reason, you want to use a laptop.

LPT is the parallel port version it does NOT use an outside motion controller board. It runs straight off the PC.

(;-) TP

Re: How to speed up simple G Code
« Reply #15 on: February 07, 2013, 01:12:29 PM »
Yes all my garage stuff is XP will parallel ports.

This smoothstepper is all new stuff to me.

Thanks Jack
Re: How to speed up simple G Code
« Reply #16 on: February 07, 2013, 07:27:49 PM »
Hi
I tried the M11P1 and E1P0 commands in every way I could think of-No luck
I guess thr SS doesn't recognize it - Bo Ho
Can you help me with the Dir output from a Phantom axis - I could use A,B and C

Thanks again
Jack
Re: How to speed up simple G Code
« Reply #17 on: February 07, 2013, 07:56:08 PM »
Jack,
Enable the A axis and assign pins to it.  Set the velocity and acceleration to maximum values.   Connect a solenoid control to the A axis direction pin.  In your gcode, a G0 A-.0001 should trigger the solenoid.   A G0 A0 should turn off the solenoid.  If the solenoid works backwards to what you want, then reverse the Dir LowActive setting.

Do the same for the B and C axes.

Regards,
John Champlain
Re: How to speed up simple G Code
« Reply #18 on: February 07, 2013, 09:14:27 PM »
Thanks again so much John

I will Try tomorrow
I will dig up the U-tube for our beta test last week

Jack
Re: How to speed up simple G Code
« Reply #19 on: February 07, 2013, 09:38:31 PM »
Here is a U-Tube of our Beta test 2 weeks ago

http://www.youtube.com/watch?v=pOxHKxZAZYQ


Jack