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 25, 2012, 06:37:03 AM
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
Third party software and hardware support forums.
SmoothStepper USB
(Moderator:
Warp9TD
)
SS and spindle motor control
Pages:
«
1
2
Go Down
« previous
next »
Author
Topic: SS and spindle motor control (Read 2323 times)
0 Members and 3 Guests are viewing this topic.
hunserv
Active Member
Offline
Posts: 77
Re: SS and spindle motor control
«
Reply #10 on:
December 25, 2009, 03:16:43 PM »
Recently I built an PWM-Analog converter of active filters, with adustable amplification for better calibration.
Now as I use it I had other questions raised:
* Does anyone how the
PWM resolution
changes with
PWM frequency
?
(Separately for PP output and for SS output)
** At Ports_Pins config, I can only set Step/DIR pins for spindle. IF I configure PWM, then STEP pin becomes the PWM output. OK. ANd what about the DIR pin?
- If I set it to 0 (supposing I always rotate my spindle one direction only) then mach yells for an error.
-- If I set it to a certain pin, then what will it do??? (I can configure separate relays for CW and CCW but I do not see where to assign pins for them)
--- What If (
and this is my case in fact
) want to
use one pin for direction
(HIGH=CW; LOW=CCW) and
another pin for Spindle START/STOP
(HIGH=GO; LOW=STOP) and
a third pin for the PWM signal
for speed control?
«
Last Edit: December 25, 2009, 03:27:18 PM by hunserv
»
Logged
Peter Homann
ModIO Adviser
Active Member
Offline
Posts: 354
Re: SS and spindle motor control
«
Reply #11 on:
December 25, 2009, 05:00:32 PM »
Hi Hunserv,
For the parallel port, the resolution of the PWM is the Mach3 kernel speed/PWM base frequency
So, if you have a Mach3 kernel frequency of 45KHz and a PWM base frequency of say 10Hz, then the resoulution of the PWM output is 45,000/10 = 4,500 steps between 0% and 100% of maximum speed. So that is 0.022%
Therefore if you have a maximum spindle speed of 10,000rpm, the speed resolution you can get is 10,000 / 4500= 2.22 rpm
For the smoothstepper, I'm not completely sure but I think that the equivalent value for the kernel speed is 4MHz so the resolution is a lot higher.
Cheers,
Peter.
Logged
----------------------------------------------------
Homann Designs
http://www.homanndesigns.com/store
email: peter at homanndesigns.com
hunserv
Active Member
Offline
Posts: 77
Re: SS and spindle motor control
«
Reply #12 on:
December 25, 2009, 05:26:25 PM »
Thanks Peter,
Any hints on the 3-wire spindle setup? (pwm, dir, stop)
Logged
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...