Hello Guest it is March 29, 2024, 08:57:18 AM

Author Topic: Mach4 with ESS and PMDX126/107 speed control issues.  (Read 20481 times)

0 Members and 2 Guests are viewing this topic.

Offline joe45

*
  •  25 25
    • View Profile
Re: Mach4 with ESS and PMDX126/107 speed control issues.
« Reply #60 on: February 26, 2016, 02:29:28 AM »
First thing to do when I get home, fingers crossed

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Mach4 with ESS and PMDX126/107 speed control issues.
« Reply #61 on: February 26, 2016, 03:41:56 AM »
it could well be having OB1 on making it not work

Offline joe45

*
  •  25 25
    • View Profile
Re: Mach4 with ESS and PMDX126/107 speed control issues.
« Reply #62 on: February 26, 2016, 11:40:21 AM »
Ok, so I have tried Mach3 demo, just set it up for the spindle as the 107 manual suggests, and the spindle works! It works wonderfully! So are there any thoughts why it wont run on Mach4? I don't really want to have to buy Mach3 as well.

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach4 with ESS and PMDX126/107 speed control issues.
« Reply #63 on: March 01, 2016, 07:00:03 AM »
Ok, so I have tried Mach3 demo, just set it up for the spindle as the 107 manual suggests, and the spindle works! It works wonderfully! So are there any thoughts why it wont run on Mach4? I don't really want to have to buy Mach3 as well.

Mach3 generates and outputs a PWM signal.
Mach4 does not generate a PWM signal (it is up to the external motion controller to generate and/or output a PWM signal).

As soon as I get some spare machine time I will look into this PWM issue and how it is handled by the new (yet to be released) ESS plug-in.

Tweakie.
PEACE

Offline Pedio

*
  •  200 200
    • View Profile
Re: Mach4 with ESS and PMDX126/107 speed control issues.
« Reply #64 on: March 01, 2016, 07:36:15 AM »
I have Mach 4 with a PMDX motion controller. PWM works with my laser. I use input 16 (they have this preconfigured for spindle control). The first laser I received did not work well. It appears that M4 and PMDX were changing the signal too fast (turning on and off the laser too fast). The laser manufacturer said this was a problem with their board and replaced the unit. The new one works well.

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach4 with ESS and PMDX126/107 speed control issues.
« Reply #65 on: March 01, 2016, 11:40:43 AM »
With the latest (yet to be released) ESS plug-in…

Set the max. desired spindle RPM in the Spindle tab of the Mach4 config.
Set the Output Port & Pin# you will be using under Spindle Motor Step / Mapped Pin 1 in the Output Signals tab of the ESS config.
If necessary the generated PWM signal can be inverted in the Pins Config. tab of the ESS Config.

Checking with my scope the PWM signal output from the ESS is of excellent quality and resolution and it fully adjustable from 0% to 100% duty cycle with the Mach4 S### command etc.

Tweakie.

(The above assumes that the plug-in does not undergo major changes between now and the time it is released).
PEACE