<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Torque Control</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8f5e949f6e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/8f5e949f6e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/8f5e949f6e/</id><updated>2022-09-16T16:53:08.461000Z</updated><subtitle>Recent posts to Torque Control</subtitle><entry><title>Torque Control</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8f5e949f6e/?limit=25#fd52" rel="alternate"/><published>2022-09-16T16:53:08.461000Z</published><updated>2022-09-16T16:53:08.461000Z</updated><author><name>ajbecker</name><uri>https://forge.codesys.com/u/ajbecker/</uri></author><id>https://forge.codesys.comacff474b5d81371ac130a8a5c130193dc0d96106</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Surikan&lt;/p&gt;
&lt;p&gt;I ended up writing a function that used a timer to calculate the torque every 4ms and then used SDOWrite to directly set the target torque.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Torque Control</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8f5e949f6e/?limit=25#f24b" rel="alternate"/><published>2022-09-16T13:53:03.915000Z</published><updated>2022-09-16T13:53:03.915000Z</updated><author><name>surikan</name><uri>https://forge.codesys.com/u/surikan/</uri></author><id>https://forge.codesys.combb149b1da742ec6af7216680db94dfccd2d88b2e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi ajbecker,&lt;/p&gt;
&lt;p&gt;Did you ever find a solution to this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Torque Control</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8f5e949f6e/?limit=25#9c3d" rel="alternate"/><published>2022-05-18T14:46:16.876000Z</published><updated>2022-05-18T14:46:16.876000Z</updated><author><name>ajbecker</name><uri>https://forge.codesys.com/u/ajbecker/</uri></author><id>https://forge.codesys.com34123aab9dccf14a14bb98d352fdfeb0d2ae0182</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi imdatatas,&lt;/p&gt;
&lt;p&gt;Thanks, that is useful but won't give me the functionality that I need. It looks like I am going to have to manually update the torque command every cycle.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Torque Control</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8f5e949f6e/?limit=25#bebc" rel="alternate"/><published>2022-05-05T10:01:24.445000Z</published><updated>2022-05-05T10:01:24.445000Z</updated><author><name>imdatatas</name><uri>https://forge.codesys.com/u/imdatatas/</uri></author><id>https://forge.codesys.com72edfaa3ad065513ccf7a24583aa7a028a495463</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
For linear torq ramp, I think it can be try with CST (Cyclic Synchronous Torque Mode) by using 0x6087 object. But, Sure this is not for the positioning just for Torque control mode.&lt;br/&gt;
See attachment for the related servo device object if its supported by your used brand.&lt;br/&gt;
Regards,&lt;br/&gt;
Imdat&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Torque Control</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/8f5e949f6e/?limit=25#a9ac" rel="alternate"/><published>2022-04-28T15:00:20.049000Z</published><updated>2022-04-28T15:00:20.049000Z</updated><author><name>ajbecker</name><uri>https://forge.codesys.com/u/ajbecker/</uri></author><id>https://forge.codesys.come7f5deb6816d8194d585d0c469d6942c89fb2136</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am trying to dynamically ramp the torque output to an etherCAT servo drive i.e. I need the torque to be 1Nm at t=1s and 2Nm at t=2s with a linear ramp between and then 5Nm at T=3s with a 3rd order polynomial transition. This is really easy to do with position but not torque and I see that according to the PLCOpen documentation Codesys doesn't support the MC_TorqueControl function block, only SMC_SetTorque which doesn't even allow for a linear ramp value.&lt;/p&gt;
&lt;p&gt;Can anyone advise if there is a library available that can do this?&lt;/p&gt;
&lt;p&gt;Alternatively I am willing to write a FB to continuously update SMC_SetTorque but I don't know how this could be synchronised with the other SMC movements I am using.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Andrew&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>