<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Reset encoder position to zero</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/</id><updated>2020-02-27T18:48:42.949000Z</updated><subtitle>Recent posts to Reset encoder position to zero</subtitle><entry><title>Reset encoder position to zero</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/?limit=25#fda4" rel="alternate"/><published>2020-02-27T18:48:42.949000Z</published><updated>2020-02-27T18:48:42.949000Z</updated><author><name>navalekanishk</name><uri>https://forge.codesys.com/u/navalekanishk/</uri></author><id>https://forge.codesys.com0dde9208f5594cbf35c2e48ce773b11f366652c8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;I-Campbell hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi hi Kanishk,&lt;br/&gt;
Go to help.codesys.com and search for "Persisting an Axis Position". Check the first result&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi Campbell,&lt;/p&gt;
&lt;p&gt;I have implemented the logic as per the link. In the attached screenshot, the persistent position data is not able to store the 0 values of the axes when I zero them using Set_Position FB but, still, it is storing the initial values of the motors. How to move forward with this?&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Screenshot from 2019" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4986"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reset encoder position to zero</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/?limit=25#ddb5" rel="alternate"/><published>2020-02-27T18:48:41.623000Z</published><updated>2020-02-27T18:48:41.623000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.comad7ac6ba61fcafb104dc8dcbda1e3d0949e7bf06</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi hi Kanishk,&lt;br/&gt;
Go to help.codesys.com and search for "Persisting an Axis Position". Check the first result&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reset encoder position to zero</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/?limit=25#e51e" rel="alternate"/><published>2020-02-27T18:48:38.350000Z</published><updated>2020-02-27T18:48:38.350000Z</updated><author><name>drsumruay</name><uri>https://forge.codesys.com/u/drsumruay/</uri></author><id>https://forge.codesys.com96b8088630dd4e97c100f5018f112f96cab20eea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Kanishk,&lt;/p&gt;
&lt;p&gt;Using MC_GroupSetPosition doesn't work because when you power up drive and motor after they're off, Codesys will receive the absolute position from the encoder.&lt;br/&gt;
I think you should find the parameters of your drive that can perform a preset position and then using FB which can force the value of the parameters. &lt;/p&gt;
&lt;p&gt;hope it will be useful for you&lt;/p&gt;
&lt;p&gt;with regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reset encoder position to zero</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/?limit=25#89c9" rel="alternate"/><published>2020-02-27T18:48:37.208000Z</published><updated>2020-02-27T18:48:37.208000Z</updated><author><name>navalekanishk</name><uri>https://forge.codesys.com/u/navalekanishk/</uri></author><id>https://forge.codesys.coma83201d90397511ff5f77335e6e54c83c3d56984</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;I-Campbell hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Checkout this function block, MC_SetPosition:&lt;br/&gt;
&lt;a class="" href="https://help.codesys.com/webapp/7d42hfw8iMKTmuSWYhh_fSceULM%2FMC_SetPosition;product=SM3_Basic;version=4.3.2.0" rel="nofollow"&gt;https://help.codesys.com/webapp/7d42hfw ... on=4.3.2.0&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hey Campbell,&lt;/p&gt;
&lt;p&gt;I tried the function out. When I cycle the power of the system the motors' position is unchanged which was earlier set to '0' by using the MC_Setposition FB as suggested. I kindly request you to please help me out with this.&lt;/p&gt;
&lt;p&gt;PS is there any FB which retains the position to a set value even after the cycle power is done?&lt;/p&gt;
&lt;p&gt;with regards,&lt;br/&gt;
Kanishk Navale&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reset encoder position to zero</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/?limit=25#6378" rel="alternate"/><published>2020-02-27T18:48:36.040000Z</published><updated>2020-02-27T18:48:36.040000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com60c4f6c70f06c89bd10c14bc72e6a592001b6a5d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Checkout this function block, MC_SetPosition:&lt;br/&gt;
&lt;a class="" href="https://help.codesys.com/webapp/7d42hfw8iMKTmuSWYhh_fSceULM%2FMC_SetPosition;product=SM3_Basic;version=4.3.2.0" rel="nofollow"&gt;https://help.codesys.com/webapp/7d42hfw ... on=4.3.2.0&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Reset encoder position to zero</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f2a9127b53/?limit=25#5f16" rel="alternate"/><published>2020-02-27T18:48:32.784000Z</published><updated>2020-02-27T18:48:32.784000Z</updated><author><name>navalekanishk</name><uri>https://forge.codesys.com/u/navalekanishk/</uri></author><id>https://forge.codesys.com91f955b729ca3cfc3393ed833b46cd5525be65aa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;How to reset the current encoder position of ethercat servo drive to zero?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>