Hello Guest it is March 28, 2024, 11:36:29 AM

Author Topic: Mach3 PWM Settings  (Read 6770 times)

0 Members and 1 Guest are viewing this topic.

Offline kolias

*
  •  1,154 1,154
    • View Profile
Mach3 PWM Settings
« on: February 08, 2017, 06:14:10 PM »
Reading on the web some say that the Mach3 Motor Tuning and Setup screen has no affect when using PWM and some say to set the Stepsper to 1000, increase the Velocity / Acceleration to maximum and set the Step pulse to 5, Direction pulse to 1. I wonder which one is true

On my PWM system with G540 and a 400Hz / 24K RPM spindle I get the following with my pulley set to min=0 and max=24000, ratio=1

M3S6000 / 188Hz on the VFD, It should be 100Hz
S12000 / 256, it should be 200Hz
S18000 / 324, it should be 300Hz
I didn’t try yet S24000 since the spindle is new and will try this speed later

Should I play with the numbers on the Motor Tuning & Setup page to get the right frequency?
Nicolas

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Mach3 PWM Settings
« Reply #1 on: February 08, 2017, 07:08:16 PM »
When you do an S12,000, whats the voltage coming from the G540 to the VFD? It should be 5V.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Mach3 PWM Settings
« Reply #2 on: February 08, 2017, 07:28:50 PM »
Never thought to measure that since the VFD parameter PD070 is set to 0 (10v). I just check it now and I get between G540- terminals 7 & 8 (ACM & Vout)

S12000, 256.6Hz, 4.81v
S6000, 188.6Hz, 2.42v

If you want terminal 9 (Vout from the VFD) where should I connect my meter? Between Terminal 9 and ACM? Not sure here
Nicolas

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Mach3 PWM Settings
« Reply #3 on: February 09, 2017, 07:48:57 PM »
I measure tonight the VFD terminal +10V and I get

S12000, 256.9Hz, 9.89v
S6000, 188.6Hz, 9.89v
Nicolas

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Mach3 PWM Settings
« Reply #4 on: February 11, 2017, 03:35:05 PM »
Looking at the Mach3 manual page 5-17 it says “Define External Activation signals in Ports and Pins and Configure>Output Devices to switch the PWM controller on/off and, if required, to set the direction of rotation.”

I didn’t know that I have to switch the PWM controller on/off and I can’t locate where this setting is.

Anyone knows where this setting is located?
Nicolas

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: Mach3 PWM Settings
« Reply #5 on: February 12, 2017, 01:53:07 AM »
Quote
I didn’t know that I have to switch the PWM controller on/off and I can’t locate where this setting is.

Section 5.5.5.2 of the Mach3 manual details the procedure.  http://www.machsupport.com/help-learning/product-manuals/

Tweakie.
« Last Edit: February 12, 2017, 03:05:51 AM by Tweakie.CNC »
PEACE

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Mach3 PWM Settings
« Reply #6 on: February 12, 2017, 09:14:59 AM »
Thanks Tweakie, all is fine now
Nicolas

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Mach3 PWM Settings
« Reply #7 on: February 12, 2017, 10:00:28 AM »
Quote
Section 5.5.5.2 of the Mach3 manual details the procedure.

"Details" is a rather strong term for a very vague statement, that probably doesn't apply to 99% of users. :)
Unless I'm missing something.
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Mach3 PWM Settings
« Reply #8 on: February 12, 2017, 10:02:44 AM »
Quote
Never thought to measure that since the VFD parameter PD070 is set to 0 (10v). I just check it now and I get between G540- terminals 7 & 8 (ACM & Vout)

S12000, 256.6Hz, 4.81v
S6000, 188.6Hz, 2.42v

This would mean that the issue is with the VFD.
Did you resolve this?
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline kolias

*
  •  1,154 1,154
    • View Profile
Re: Mach3 PWM Settings
« Reply #9 on: February 12, 2017, 11:14:13 AM »
I agree Gerry, the manual regarding PWM is very vague and it should have more info regarding setting up a PWM or Steps system.

That’s the first time I use PWM but the values of 4.81 and 2.42 I get are pretty close to the recommended values of 5.0 / 2.5 and I would say perhaps my meter been of Chinese origin maybe is not that accurate.

I have read almost all post on this forum regarding PWM and non-have a clear answer, at least to me, how to set it up. The settings on the Motor Tuning page for the spindle have no effect whatever and my conclusion is that you play with the pulley ratio and that’s what I will do today and report back.

Thanks for your help
Nicolas