<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Using an Axis of an Axis Group in Torque Conctrol</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/df67d87572/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/df67d87572/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/df67d87572/</id><updated>2025-09-09T11:09:38.286000Z</updated><subtitle>Recent posts to Using an Axis of an Axis Group in Torque Conctrol</subtitle><entry><title>Using an Axis of an Axis Group in Torque Conctrol</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/df67d87572/?limit=25#be3f" rel="alternate"/><published>2025-09-09T11:09:38.286000Z</published><updated>2025-09-09T11:09:38.286000Z</updated><author><name>gseidel</name><uri>https://forge.codesys.com/u/gseidel/</uri></author><id>https://forge.codesys.com28646166af77410fc7a35c3f3ca7d6fe63b34cf3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi manuknecht,&lt;/p&gt;
&lt;p&gt;the axis group currently always writes the axis set torque values. If no dynamic model has been configured for the axis group, then the set torques are written to 0.&lt;/p&gt;
&lt;p&gt;The solution for your use case is to call SMC_GroupUpdate &lt;span&gt;[0]&lt;/span&gt; before you call SMC_SetTorque on the axes. This way, the axis group will write 0 to the set torques in the call to SMC_GroupUpdate(), and SMC_SetTorque then will write the desired set torque.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Georg&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[0]&lt;/span&gt; &lt;a href="https://content.helpme-codesys.com/en/libs/SM3_Robotics/Current/SM3_Robotics/POUs/AdministrativeConfiguration/Computation/SMC_GroupUpdate.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/libs/SM3_Robotics/Current/SM3_Robotics/POUs/AdministrativeConfiguration/Computation/SMC_GroupUpdate.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using an Axis of an Axis Group in Torque Conctrol</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/df67d87572/?limit=25#1cfe" rel="alternate"/><published>2025-07-17T05:31:22.932000Z</published><updated>2025-07-17T05:31:22.932000Z</updated><author><name>manuknecht</name><uri>https://forge.codesys.com/u/manuknecht/</uri></author><id>https://forge.codesys.com8fb41226f5ae0664752f9bc7f458f9087662f946</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I don't seem to be able to use an axis, which is part of an Axis Group in torque control mode.&lt;/p&gt;
&lt;p&gt;I call the &lt;code&gt;SMC_SetControllerMode&lt;/code&gt; FB to switch from position to torque control mode, followed by the &lt;code&gt;SMC_SetTorque&lt;/code&gt; FB to set the desired torque. This works flawlessly for most axes, however if an axis is part of an axis group, switching the controller mode seems to work without any issues, but the desired torque is never set. &lt;code&gt;SMC_SetTorque&lt;/code&gt; does not return an error, but &lt;code&gt;fSetTorque&lt;/code&gt; of the axis is never changed. &lt;/p&gt;
&lt;p&gt;Disabling the axis group before does not change anything, but if I use &lt;code&gt;MC_UngroupAllAxes&lt;/code&gt; before changing the controller mode, it all works as it should.&lt;/p&gt;
&lt;p&gt;Is there no way to control a single axis in torque control, if it is part of an axis group?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>