<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Softmotion Servo Example not working</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedb93382c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedb93382c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/fedb93382c/</id><updated>2020-02-27T15:26:09.731000Z</updated><subtitle>Recent posts to Softmotion Servo Example not working</subtitle><entry><title>Softmotion Servo Example not working</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedb93382c/?limit=25#70f7" rel="alternate"/><published>2020-02-27T15:26:09.731000Z</published><updated>2020-02-27T15:26:09.731000Z</updated><author><name>kelad</name><uri>https://forge.codesys.com/u/kelad/</uri></author><id>https://forge.codesys.com6128c61ed1d7368cff212bfb51bcb796653b5346</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Please let me know your findings. Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Softmotion Servo Example not working</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedb93382c/?limit=25#235c" rel="alternate"/><published>2020-02-27T15:26:07.676000Z</published><updated>2020-02-27T15:26:07.676000Z</updated><author><name>allen00se</name><uri>https://forge.codesys.com/u/allen00se/</uri></author><id>https://forge.codesys.com78ee9d6134ab986e9dbc023a6d6154cc710fca1a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;LukaszBien hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
hello,&lt;br/&gt;
I might suggest to modify SM3_Drive_Servo library.&lt;br/&gt;
This library use block from library I2C_AdafruitPWM. &lt;br/&gt;
In declaration area in function block  block 'AXIS_REF_SERVO'  you can find:&lt;br/&gt;
Try to change value in lrMinPwm to e.g 0.8  and lrMaxPwm to 2.2 ( you will need to find your own values probably).&lt;br/&gt;
after this save this lib and install and it should give you (hopefully) wider range.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Thanks for the tip, I will try it out.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Softmotion Servo Example not working</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedb93382c/?limit=25#fc19" rel="alternate"/><published>2020-02-27T15:26:06.998000Z</published><updated>2020-02-27T15:26:06.998000Z</updated><author><name>LukaszBien</name><uri>https://forge.codesys.com/u/lukaszbien/</uri></author><id>https://forge.codesys.com5a6d4851c6eaa0edbf61ce406e9bfd53a5331c78</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello,&lt;br/&gt;
I might suggest to modify SM3_Drive_Servo library.&lt;br/&gt;
This library use block from library I2C_AdafruitPWM. &lt;br/&gt;
In declaration area in function block  block 'AXIS_REF_SERVO'  you can find:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;VAR   pAdafruitPWM: POINTER TO PWM.AdafruitPWM;   usiAxisIndex: USINT;    lrMinPos, lrMaxPos: LREAL;  lrMinPwm: LREAL := 1;           lrMaxPwm: LREAL := 2;   lrInitPos: LREAL;END_VAR&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Try to change value in lrMinPwm to e.g 0.8  and lrMaxPwm to 2.2 ( you will need to find your own values probably).&lt;br/&gt;
after this save this lib and install and it should give you (hopefully) wider range.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Softmotion Servo Example not working</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedb93382c/?limit=25#7456" rel="alternate"/><published>2020-02-27T15:26:06.346000Z</published><updated>2020-02-27T15:26:06.346000Z</updated><author><name>allen00se</name><uri>https://forge.codesys.com/u/allen00se/</uri></author><id>https://forge.codesys.comf01ec29b472f4327e791add7f500598cf26072c9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Anyone else out there able to get this example to work properly? Is there any other way to use PWM with CodeSys? I really only need to set my server to 2 different positions and don't really need any of the soft motion functionality.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Softmotion Servo Example not working</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/fedb93382c/?limit=25#40fd" rel="alternate"/><published>2020-02-27T15:26:04.410000Z</published><updated>2020-02-27T15:26:04.410000Z</updated><author><name>allen00se</name><uri>https://forge.codesys.com/u/allen00se/</uri></author><id>https://forge.codesys.com3661e44555c6433eb9fc3c6c7199ef8189c5ecac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;br/&gt;
I am using the Softmotion Servo example as instructed but I cannot get any more than the 60 to -60 degrees of motion to work. I try to set the servo config to 90 to -90 but it doesn't work. I have verified that these servos can actually move 90 to -90 with python PWM code.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>