<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>[protofusion] &#187; emc2</title> <atom:link href="http://protofusion.org/wordpress/tag/emc2/feed/" rel="self" type="application/rss+xml" /><link>http://protofusion.org/wordpress</link> <description>Generally Interesting</description> <lastBuildDate>Sat, 19 May 2012 17:48:20 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>Victor Speed Controllers and EMC2</title><link>http://protofusion.org/wordpress/2010/06/victor-speed-controllers-and-emc2/</link> <comments>http://protofusion.org/wordpress/2010/06/victor-speed-controllers-and-emc2/#comments</comments> <pubDate>Wed, 16 Jun 2010 21:26:10 +0000</pubDate> <dc:creator>Ethan Zonca</dc:creator> <category><![CDATA[CNC]]></category> <category><![CDATA[emc2]]></category> <category><![CDATA[victor]]></category><guid
isPermaLink="false">http://protofusion.org/wordpress/?p=427</guid> <description><![CDATA[I&#8217;m currently working on building a EMC2-controlled CNC machine with mostly parts I have on hand. I decided to use ]]></description> <content:encoded><![CDATA[<p
style="text-align: center;"><a
href="http://pf-wordpress.s3.amazonaws.com/wordpress/wp-content/uploads/2010/06/emcifi.png" rel="lightbox[427]"><img
class="size-full wp-image-461 aligncenter" title="LinuxCNC and IFI" src="http://pf-wordpress.s3.amazonaws.com/wordpress/wp-content/uploads/2010/06/emcifi.png" alt="" width="300" height="124" /></a></p><p>I&#8217;m currently working on building a EMC2-controlled CNC machine with mostly parts I have on hand. I decided to use Victor 883&#8242;s to control my servos, but EMC2 does not put out the RC-style PWM signal that victors are driven with. Thankfully, hardware in EMC2 is configured with HAL, allowing the software to work with nearly any hardware. Below are the values and configuration I used. If you are planning on using other RC-style motor controllers, you&#8217;ll need to calculate these values yourself.</p><p><span
id="more-427"></span></p><p>If you are planning on using an RC-style motor controller for a CNC machine, note that you will likely not get the precision achieved by professional servo controllers or homemade h-bridges. However, I have achieved excellent accuracy with the Victor 883 motor controller, my semi-tuned PID loop consistently gets +/-.0032&#8243; accuracy.</p><p><strong>Duty cycle range for Victor 883 </strong>(as measured)</p><p
style="padding-left: 30px;">Maximum duty cycle: 95.29%<br
/> Minimum duty cycle: 56.08%</p><p><strong>Scale and Offset Values</strong> (scale/offset from [-1, 1] to [.5608, .9529] )</p><p
style="padding-left: 30px;">Scale amount: .1952<br
/> Offset amount: .7554</p><p><strong>X-axis Configuration Example</strong></p><p
style="padding-left: 30px;"># PWM output for X-axis<br
/> linksp Xpwm =&gt; parport.0.pin-02-out</p><p
style="padding-left: 30px;">setp pwmgen.0.pwm-freq 490.0 # seems to work well</p><p
style="padding-left: 30px;"># Minimum and maximum duty cycle for the Victor 883<br
/> setp pwmgen.0.max-dc .9529<br
/> setp pwmgen.0.min-dc .5608</p><p
style="padding-left: 30px;"># Scale and offset pwm signal<br
/> setp pwmgen.0.scale .1952<br
/> setp pwmgen.0.offset .7554</p> ]]></content:encoded> <wfw:commentRss>http://protofusion.org/wordpress/2010/06/victor-speed-controllers-and-emc2/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced
Object Caching 318/332 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: pf-wordpress.s3.amazonaws.com

Served from: protofusion.org @ 2012-05-22 08:41:22 -->
