<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Stop Motor Smoothly - Tips &amp; Tricks to better code and motor performance				            </title>
            <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/</link>
            <description>Animatics Distributor Locator Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 18 Apr 2026 22:26:31 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1335</link>
                        <pubDate>Thu, 13 Jun 2019 17:55:26 +0000</pubDate>
                        <description><![CDATA[This might work, I&#039;ll give this a shot.  

Thanks for your help.]]></description>
                        <content:encoded><![CDATA[This might work, I'll give this a shot.  

Thanks for your help.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>vik748</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1335</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1334</link>
                        <pubDate>Thu, 13 Jun 2019 17:49:35 +0000</pubDate>
                        <description><![CDATA[Allow me to clarify...

Since you are sending these commands individually, rather than programming them into the motor, TWAIT (as in option c) will not work. Instead, the motor bypasses th...]]></description>
                        <content:encoded><![CDATA[Allow me to clarify...

Since you are sending these commands individually, rather than programming them into the motor, TWAIT (as in option c) will not work. Instead, the motor bypasses this and goes straight to OFF, which is why you get a sudden stop. However, in option b, as I had previously mentioned, the wait command is too long and with repeated sending of commands, the OFF &amp; BRKRLS are never enacted. It would probably be better to include a subroutine within the motor itself, and repeated call that subroutine. Something like:

C1
X TWAIT BRKRLS OFF 
RETURN

where you continually issue a "GOSUB1" should get you the desired results. Otherwise, you would have to time the WAIT value to be the time of your acceleration, which I'm guessing is non-constant.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>mmeyer</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1334</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1333</link>
                        <pubDate>Thu, 13 Jun 2019 17:35:22 +0000</pubDate>
                        <description><![CDATA[Removed]]></description>
                        <content:encoded><![CDATA[Removed]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>mmeyer</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1333</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1332</link>
                        <pubDate>Thu, 13 Jun 2019 17:32:53 +0000</pubDate>
                        <description><![CDATA[We are using a SM17205D, I don&#039;t believe we have the optional brake on there. 
When I do &#039;X OFF&#039;, the motor stops immediately without following the deceleration limit.]]></description>
                        <content:encoded><![CDATA[We are using a SM17205D, I don't believe we have the optional brake on there. 
When I do 'X OFF', the motor stops immediately without following the deceleration limit.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>vik748</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1332</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1331</link>
                        <pubDate>Thu, 13 Jun 2019 17:17:49 +0000</pubDate>
                        <description><![CDATA[X OFF will give you a controlled stop. Does you motor have an integrated brake?]]></description>
                        <content:encoded><![CDATA[X OFF will give you a controlled stop. Does you motor have an integrated brake?]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>mmeyer</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1331</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1330</link>
                        <pubDate>Thu, 13 Jun 2019 17:14:43 +0000</pubDate>
                        <description><![CDATA[We were using just OFF before, this whole issue came up because we want to do a controlled stop and free wheel when stopped.]]></description>
                        <content:encoded><![CDATA[We were using just OFF before, this whole issue came up because we want to do a controlled stop and free wheel when stopped.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>vik748</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1330</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1329</link>
                        <pubDate>Thu, 13 Jun 2019 17:03:25 +0000</pubDate>
                        <description><![CDATA[&quot;X&quot; would accomplish the first 2, and you may be able to enact what you wish with a simple &quot;X OFF&quot; as your 100ms interval repeated command, provided your motor does not have a hardware brake...]]></description>
                        <content:encoded><![CDATA["X" would accomplish the first 2, and you may be able to enact what you wish with a simple "X OFF" as your 100ms interval repeated command, provided your motor does not have a hardware brake. Even just "OFF" would be sufficient if you're satisfied with that stopping speed.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>mmeyer</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1329</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1328</link>
                        <pubDate>Thu, 13 Jun 2019 16:48:15 +0000</pubDate>
                        <description><![CDATA[Sounds like the wait in there would be problem some.
Is there any command you can think of which I can send at 10Hz continuously which would:
1. If motor is moving, start decelerating
2. ...]]></description>
                        <content:encoded><![CDATA[Sounds like the wait in there would be problem some.
Is there any command you can think of which I can send at 10Hz continuously which would:
1. If motor is moving, start decelerating
2. If motor is decelerating continue decelerating
3. If stopped, release do a brake release.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>vik748</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1328</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1327</link>
                        <pubDate>Thu, 13 Jun 2019 16:41:28 +0000</pubDate>
                        <description><![CDATA[It would never reach the commands which tell it to release. If the motor was moving when it first received the command, I would guess that it comes to a stop and then holds that position act...]]></description>
                        <content:encoded><![CDATA[It would never reach the commands which tell it to release. If the motor was moving when it first received the command, I would guess that it comes to a stop and then holds that position actively. So you wouldn't be able to freewheel.]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>mmeyer</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1327</guid>
                    </item>
				                    <item>
                        <title>Stop Motor Smoothly</title>
                        <link>https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1326</link>
                        <pubDate>Thu, 13 Jun 2019 16:38:36 +0000</pubDate>
                        <description><![CDATA[@mmeyer, lets say I am working with option b: DT=100 X WAIT=4000 OFF BRKRLSr
Lets say the motor is moving at 2000rpm, What would happen if I send the same message every 100milli secs?]]></description>
                        <content:encoded><![CDATA[@mmeyer, lets say I am working with option b: DT=100 X WAIT=4000 OFF BRKRLSr
Lets say the motor is moving at 2000rpm, What would happen if I send the same message every 100milli secs?]]></content:encoded>
						                            <category domain="https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/">Tips &amp; Tricks to better code and motor performance</category>                        <dc:creator>vik748</dc:creator>
                        <guid isPermaLink="true">https://www.animatics.com/forum/tips-tricks-to-better-code-and-motor-performance/stop-motor-smoothly/#post-1326</guid>
                    </item>
							        </channel>
        </rss>
		