Home
Downloads
Mach3
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
Resources
Contact Us
Links
CNCZone
German Forum
Italian Forum
Korean Forum
Portugese (Brazil) Forum
Russian Forum (RSK CNCROUTER)
Thai Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
May 26, 2012, 02:51:51 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
General Mach Discussion
PWM Spindle Control using Mach3 - How I did it
Pages:
1
2
»
Go Down
« previous
next »
Author
Topic: PWM Spindle Control using Mach3 - How I did it (Read 2562 times)
0 Members and 1 Guest are viewing this topic.
chrisjh
Active Member
Offline
Posts: 90
PWM Spindle Control using Mach3 - How I did it
«
on:
July 25, 2010, 06:23:17 AM »
Hi All,
I see a lot of queries, especially from novices, regarding methods of Spindle Control. There are a lot of topics covering this but most do not give a full explanation with examples in one place.
What I have tried to do is put a lot of scattered info and the benefit of my own personal experience into one document.
Please take advantage of my experiences at
www.cjh.com.au//PWM Spindle Control using Mach3.pdf
Regards
Chrisjh
«
Last Edit: July 25, 2010, 06:28:07 AM by chrisjh
»
Logged
Tweakie.CNC
Active Member
Offline
Posts: 3,258
Super Kitty.
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #1 on:
July 25, 2010, 09:32:45 AM »
Excellent work Chris, a well prepared document which I am sure is extremely useful to us all.
Tweakie.
Logged
Success consists of going from failure to failure without loss of enthusiasm. Winston Churchill.
RICH
Global Moderator
Offline
Posts: 4,707
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #2 on:
July 25, 2010, 09:56:14 AM »
Thanks for the write-up Chris.
I have created a new thread in Members Docs titled Spindle Speed Control and have posted your document there.
It is nice to have some focused documents on subjects. Those documents can save users a lot of time since sometimes you need to have
a grasp ( or maybe total read of the manuals ) to get what you need to know.
RICH
Logged
budman68
Master of the Custodial Arts, or better known as:
Global Moderator
Offline
Posts: 1,994
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #3 on:
July 25, 2010, 10:11:26 AM »
Very nice work, Chris, thanks for sharing-
Dave
Logged
----------------------------------------------------------------------
Just because I'm a Global Moderator, don't assume that I know anything !
Dave->
khalid
Active Member
Offline
Posts: 144
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #4 on:
July 25, 2010, 10:58:46 AM »
thanks Chris.. It is useful to all of us.
Regards
Logged
www.my-woodcarving.blogspot.com
airnocker
Active Member
Offline
Posts: 36
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #5 on:
January 11, 2011, 10:53:17 PM »
Thanks Chris for a great, well documented explanation on your Mach3 spindle speed control. This information was extremely helpful to me.
Best,
Logged
airnocker
Peter Homann
ModIO Adviser
Active Member
Offline
Posts: 354
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #6 on:
January 12, 2011, 01:36:30 AM »
Hi Chris,
Unless I've understood incorrectly, There doesn't appear to be any opto-isolation in your PWM to voltage converter circuitry. If this is the case you are relying on the VFD or speed controller having opto-isolation on its input.
If your circuit is connected to a VFD or motor controller input that is not isolated from the rest of the outputs connected to the same supply, you will most likely fry whatever is connected to these other outputs.
At the very least you need to put in a warning in your documentation. Otherwise some of the novices you are trying to help wont be happy.
Better still, replace T1 in your circuit with an opto-isolator and make it clear that the Gnd and 12V supply comes from a separate isolated power supply.
Otherwise all good info.
Cheers,
Peter.
Logged
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com/store
email: peter at homanndesigns.com
chrisjh
Active Member
Offline
Posts: 90
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #7 on:
January 12, 2011, 07:03:41 AM »
Hi Peter,
The input to T1 on the PWM Converter is channelled through an Opto Isolated C23 Breakout board. The Output to the VFD is as recommended by Danfoss documentation. The PWM converter is powered by a 12VDC supply which is used only for the PWM Converter and a workspace illumination lamp. All power supplies (5VDC, 12VDC and 42VDC) are all securely grounded to the chassis on the -ve side.
I am a firm believer in having all supplies grounded to the chassis on the negative side as it make things safe and easy to troubleshoot. I believe that isolated, floating power supplies introduce problems that are difficult to faultfind when things go wrong. I have a Syil CNC Mill that has multiple isolated supplied with at least 2 separate grounds. It is a right menace to faultfind and is downright dangerous to work on because of isolated, non common grounds. It was because of this poor design that I deliberately designed my lathe to make it safe and easy to work on.
Regards
Chrisjh
Logged
Peter Homann
ModIO Adviser
Active Member
Offline
Posts: 354
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #8 on:
January 12, 2011, 07:25:36 AM »
Chris,
The output you are using pin 14 on port 2 uses the same supply as pin 1, 16, and 17 on port 2. So if you try to use a VFD or DC motor controller such as the KBIC-120, with a non-isolated analog control voltage input, the 0V terminal is likely to be at supply((110V) - 10V. If that is the case, there will be serious damage if these other inputs are referenced to chassis ground.
If the VFD or DC motor controller has an isolated or ground reference input as is the case with your Danfoss VFD, then yes your circuit will work.
You should still make it clear that your circuit will not work with non-isolated VFD or Motor controller inputs.
Cheers,
Peter.
Logged
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com/store
email: peter at homanndesigns.com
airnocker
Active Member
Offline
Posts: 36
Re: PWM Spindle Control using Mach3 - How I did it
«
Reply #9 on:
January 12, 2011, 11:57:26 AM »
Chris, what Mach3 Kernel Speed are you running to have the PWM Base Frequency set to 500?
Thanks
Logged
airnocker
Pages:
1
2
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
===> Finished Plugins for Download
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*i*n*g
=> Mach Screens
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Machscreen Screen Designer
===> CVI MachStdMill (MSM)
=> Feature Requests
=> Non English Forums
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
=> FAQs
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> LazyCam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> GearoticMotion Preliminary testing
=> Tempest Trajectory Planner
=> Contec
=> dspMC/IP Motion Controller
=> HiCON Motion Controller
=> Third party software and hardware support forums.
=> Galil
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Mesa
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Sieg Machines
=> Promote and discuss your product
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
=> One on one phone support.
=> Forum suggestions and report forum problems.
-----------------------------
Mach4
-----------------------------
=> Mach4 pre-Alpha Testing
Loading...