Hello Guest it is August 19, 2019, 09:46:23 PM

Author Topic: G540 / Smooth Stepper and an E Stop  (Read 7697 times)

0 Members and 1 Guest are viewing this topic.

G540 / Smooth Stepper and an E Stop
« on: January 24, 2011, 03:47:18 AM »
I am trying to get my G540 drive to work with the smooth stepper. The issue that i have is when i start the mach and the smooth stepper the e stop input won't clear due to the charge pump not firing up because mach won't start the smooth stepper due to the estop.

I am using the error line on the G540 as the E-stop input at the moment.

I know everything is working as i can disable the E stop and no problems. Effectively i need to delay or over ride the estop untill the smooth stepper generates the charge pump signal.

And heres some retro CNC for you!

Re: G540 / Smooth Stepper and an E Stop
« Reply #1 on: January 24, 2011, 04:15:40 AM »
Hi,

This is a situation where you don't need to use the Charge pump facility on the G540. You don't need it as you are not driving the G540 from a parallel port. Switch it to the OFF position.

Keep in mind that the charge pump was provided due to the fact that when a PC boots, the outputs of the parallel port will twitch during bootup. This has the undesirable effect off momentarily switching on outputs such as spindle relays, and issuing spurious step signals to drives etc. By having Mach3 generate a chargepump signal when running, breakout boards cab disable outputs until Mach3 is up and in control.

Since the SmoothStepper knows when its communicating with Mach3, the chargepump signal has no use in this setup, so turn it off.


While we are talking about the chargepump signal, a note relating to using it with parallel port setups.

Under the general config in Mach3 there is a checkbox labelled "Chargepump On in EStop". You should always check this. There is no situation that I can envisage that you would want to use the chargepump for anything other than an indication that Mach3 is running.

And further, relying on the chargpump for anything else other than an indication that Mach3 is running (and not necessarily running correctly) is dangerous.




Cheers,

Peter.

----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: G540 / Smooth Stepper and an E Stop
« Reply #2 on: January 24, 2011, 04:17:48 AM »
The idea of the chargepump was to stop the windows interrogation of the parallel port during booting affecting your motors. As the SmoothStepper loads each time you start Mach the charge pump is no longer needed for its intended purpose when using the SmoothStepper.
If you are determined to use it then make sure you have the Chargepump set to On in E-Stop, its General Config page.

Hood

See Peter got in before me :)
Re: G540 / Smooth Stepper and an E Stop
« Reply #3 on: January 24, 2011, 04:53:49 AM »
Thanks for the help. I was planning on using the charge pump signal as i am running a reasonable laptop that can drop the smouth stepper and i want to be double sure that it trips out. The machine that i am build does have the power to destroy itself unlike my old machine.

Thanks again!

Offline Hood

*
  •  25,849 25,849
  • Carnoustie, Scotland
    • View Profile
Re: G540 / Smooth Stepper and an E Stop
« Reply #4 on: January 24, 2011, 05:16:28 AM »
If the SS loses communications then it will not run your drives.
Also you are falling into the trap of thinking the chargepump is a safety device, as Peter has mentioned that is not its intended purpose and it should not be thought of that way.
Hood
« Last Edit: January 24, 2011, 05:24:41 AM by Hood »
Re: G540 / Smooth Stepper and an E Stop
« Reply #5 on: January 24, 2011, 06:13:20 AM »
If the SS loses communications then it will not run your drives.
Also you are falling into the trap of thinking the chargepump is a safety device, as Peter has mentioned that is not its intended purpose and it should not be thought of that way.
Hood

:)
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com
email: peter at homanndesigns.com