<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Feedforward torque</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/50384b99ff/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/50384b99ff/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/50384b99ff/</id><updated>2020-02-27T18:27:16.472000Z</updated><subtitle>Recent posts to Feedforward torque</subtitle><entry><title>Feedforward torque</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/50384b99ff/?limit=25#2436" rel="alternate"/><published>2020-02-27T18:27:16.472000Z</published><updated>2020-02-27T18:27:16.472000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.comd5736c11ac53490d2c98a5c983bb1f8f75935f5e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Alfred.&lt;/p&gt;
&lt;p&gt;The question is:&lt;/p&gt;
&lt;p&gt;In axis_ref, is not vissible an addspeed variable, but it is mapped to the addspeed pdo. &lt;/p&gt;
&lt;p&gt;I think there is an non vissible addtorque variable in the axis_ref struct.&lt;/p&gt;
&lt;p&gt;Yes, I can create an add torque variable in my code and mapping it, but...&lt;/p&gt;
&lt;p&gt;You can extend axis_ref, but twincat maps an axis_ref directly to the input outputs, not your extended axis_ref....&lt;/p&gt;
&lt;p&gt;Sent from my Moto G (5S) Plus using Tapatalk&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Feedforward torque</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/50384b99ff/?limit=25#228a" rel="alternate"/><published>2020-02-27T18:27:15.368000Z</published><updated>2020-02-27T18:27:15.368000Z</updated><author><name>alwoso</name><uri>https://forge.codesys.com/u/alwoso/</uri></author><id>https://forge.codesys.com4d1f8c6fb39aacdd4f1c4167dedcae89d5ada755</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Joseph!&lt;/p&gt;
&lt;p&gt;You are right, in the standard AXIS_REF_SM3 of Codesys there is no entry for a Torque Offset. What you can do is to map the parameter manually to a plc-variable and write the calculated torque offset to that variable (must be in units that the drive needs!).&lt;/p&gt;
&lt;p&gt;If Lenze has a special Softmotion driver (may be part of their control system), this might have an extended AXIS_REF, where the offset is mapped internally. But that's something I don't know....&lt;/p&gt;
&lt;p&gt;Or maybe, internal in the drive they interpret fSetTorque as an offset, if the drive is in mode csp or csv..... This should be written in the documentation....&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Alfred&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Feedforward torque</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/50384b99ff/?limit=25#42a7" rel="alternate"/><published>2020-02-27T18:27:14.250000Z</published><updated>2020-02-27T18:27:14.250000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com5e8ba9eb9d954ada7677cb09f8c1c03d865b1dbd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;In Lenze drives exist setTorque and addTorque.&lt;/p&gt;
&lt;p&gt;The first is when you are working in torque mode and the other acts as a feedforward when you work in sync velocity or position mode.&lt;/p&gt;
&lt;p&gt;I have not test, but I am thinking that it doesnt works.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Sent from my Moto G (5S) Plus using Tapatalk&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Feedforward torque</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/50384b99ff/?limit=25#ff83" rel="alternate"/><published>2020-02-27T18:27:11.142000Z</published><updated>2020-02-27T18:27:11.142000Z</updated><author><name>alwoso</name><uri>https://forge.codesys.com/u/alwoso/</uri></author><id>https://forge.codesys.comd89a428f6e95f19783d5d446bdad20d5580b8216</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Joseph!&lt;/p&gt;
&lt;p&gt;Are you still looking for a solution? Function block "SMC_SetTorque" of library SM3_Basic should do this job to fill the fSetTorque in the axis_Ref. I'm using it with CiA-402-drives (Stober SI6, SD6), and it works fine....&lt;/p&gt;
&lt;p&gt;Good luck!&lt;/p&gt;
&lt;p&gt;Alfred&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Feedforward torque</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/50384b99ff/?limit=25#aac6" rel="alternate"/><published>2020-02-27T18:27:10.032000Z</published><updated>2020-02-27T18:27:10.032000Z</updated><author><name>josepmariarams</name><uri>https://forge.codesys.com/u/josepmariarams/</uri></author><id>https://forge.codesys.com724ec8cec31f5248c41677724459f54468ce785e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dears.&lt;/p&gt;
&lt;p&gt;I am working with an Lenze i700 it wors fine but I cannot give to the drive an torque addition.&lt;/p&gt;
&lt;p&gt;Torque addition is mapped in pdo, but it is allways 0, and I have not seen in anywhere the load inertia. Anybody knows how I can parameterize it?.&lt;/p&gt;
&lt;p&gt;In any case, it is possible to access the addtorque variable from the axis_ref?. If it is possible the torque feedforward could be cqlculated having in count load inertia and static and viscous friction.&lt;/p&gt;
&lt;p&gt;Be healty!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>