On Sun, 15 Nov 2009, Martin K??? wrote:
Date: Sun, 15 Nov 2009 12:31:10 +0100
From: "[iso-8859-2] Martin K???" <[email protected]>
Reply-To: "Enhanced Machine Controller (EMC)"
<[email protected]>
To: [email protected]
Subject: [Emc-users] PWM MESA 5i20
Hello,
I need this configuration to apply the PWM output for output to m5i20
net spindle-cmd <= motion.spindle-speed-out => pwmgen.0.value
net yenable => pwmgen.0.enable
net spindle-pwm <= pwmgen.0.pwm
setp pwmgen.0.pwm-freq 50.0
setp pwmgen.0.scale 820000
setp pwmgen.0.min-dc 0.05
setp pwmgen.0.max-dc 0.1
setp pwmgen.0.offset 0.048
setp pwmgen.0.dither-pwm true
net spindle-cw <= motion.spindle-forward
net spindle-pwm => parport.0.pin-17-out
The frequency of PWM signal is 50Hz
Modulation range is 1-2ns PWM output controls the regulator hobby in
openloop
What is the configuration m5i20 for the same function?
thanks Martin
I would suggest the HostMot2 configuration instead as it has 12 bit PWM
generators. Another problem with m5I20 for RC servos is that there is
only one rate generator for for the PWM generator so you cant use the
PWM generator for other (non 50 Hz) applications at the same time. With
HostMot2 you can have PDM for a 7I33 or other analog outputs and setup the PWM
for 50 Hz R/C servo support. HostMot2 will still suffer from limited
resolution (about 7 bits) because of the small PWM range used, but thats
better than the 5 bits m5i20 would give you...
If I get a chance, I'll make a HostMot2 R/C servo optimized PWM gen (~50 hz
rate generator followed by one-shot)
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users
Peter Wallace
Mesa Electronics
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users