586,103 active members*
3,750 visitors online*
Register for free
Login
Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2003
    Posts
    24221

    Mach2 PWM freq?

    Can anyone tell me what mach2 uses for the spindle PWM frequency?
    Al
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  2. #2
    Join Date
    Mar 2003
    Posts
    35538
    Does this help? From the manual:

    3. PWM motor control
    As an alternative to Step and Direction control, Mach2 will output a pulse width modulated signal whose duty cycle is the percentage of full speed that you require. You could, for example, convert the duty cycle of the signal to a voltage ( PWM signal on for 0% of time gives 0 volts 50% gives 5 volts and 100% gives 10 volts) and use this to control an induction motor with a variable frequency inverter drive. Alternatively the PWM signal could be used to trigger a triac in a simple DC speed controller. Figures 4.12 and 4.13 show the pulse width at approximately 20% of the cycle and 50% of the cycle.In order for the PWM spindle speed signal to be turned into direct current (actually a direct voltage is generally used as the input to variable speed drives, but you know what we mean) the pulse signal it must transformed. In essence a circuit is used to find the average of the pulse width modulated signal. The circuit can be a simple capacitor and resistor or be much more complex depending (a) on how linear you want
    the relationship between the width and the final output voltage and (b) on the speed of response you need to the changing pulse width.
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

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

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  3. #3
    Join Date
    Dec 2003
    Posts
    24221
    Thanks for the info gerry, actually I need the repetition frequency, typically this is 25khz.
    Al
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  4. #4
    Join Date
    Mar 2003
    Posts
    35538
    Email Art - [email protected]
    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

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

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

Similar Threads

  1. Windows XP or Windows 2000 better with Mach2
    By Beezer in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 10-18-2004, 04:08 PM
  2. Mach2 Faro Arm Inverse Kinematics
    By vacpress in forum Uncategorised CAM Discussion
    Replies: 7
    Last Post: 05-28-2004, 03:14 PM
  3. G Code and Mach2
    By InventIt in forum DIY CNC Router Table Machines
    Replies: 8
    Last Post: 03-13-2004, 08:46 PM
  4. mach2 versus EMC
    By georgebarr in forum Mach Software (ArtSoft software)
    Replies: 3
    Last Post: 02-22-2004, 06:32 PM
  5. using PWM from mach 2
    By Cecil in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 08-28-2003, 04:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •