<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Changing the Scaling of a softmotion drive in Codesys</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/</id><updated>2020-02-27T18:37:12.318000Z</updated><subtitle>Recent posts to Changing the Scaling of a softmotion drive in Codesys</subtitle><entry><title>Changing the Scaling of a softmotion drive in Codesys</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/?limit=25#bcc2" rel="alternate"/><published>2020-02-27T18:37:12.318000Z</published><updated>2020-02-27T18:37:12.318000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com6d2ed90fc70cd53bd307bf3dd909f27f555902a0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;iRatioTechUnitsNum := -1 * 1 * 2 * 360 = 720&lt;br/&gt;
dwRatioTechUnitsDenom := 262144 * 243 * 1 = 63700992&lt;/p&gt;
&lt;p&gt;iRatioTechUnitsNum = 5&lt;br/&gt;
dwRatioTechUnitsDenom = 442368&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Changing the Scaling of a softmotion drive in Codesys</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/?limit=25#2a97" rel="alternate"/><published>2020-02-27T18:37:11.198000Z</published><updated>2020-02-27T18:37:11.198000Z</updated><author><name>drsumruay</name><uri>https://forge.codesys.com/u/drsumruay/</uri></author><id>https://forge.codesys.com7ede888a2af2101b00f024ef06b9cb92f574f52a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Edwin&lt;br/&gt;
Could you show me the result of Read Actual Axis.iRatioTechUnitsNum and Axis.dwRatioTechUnitsDenom on my project?&lt;br/&gt;
Because I try to calculate with the same as your method but the result doesn't correct.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Untitled.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4408"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Untitled.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4407"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Changing the Scaling of a softmotion drive in Codesys</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/?limit=25#e3c3" rel="alternate"/><published>2020-02-27T18:37:07.984000Z</published><updated>2020-02-27T18:37:07.984000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com362361b1c4203d4c2a3c9701f9b70fe58b991dc7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;Axis.iRatioTechUnitsNum := Direction (+/-1) * motor turns * gear output turns (all left side) * units in application (all right side)&lt;br/&gt;
Axis.iRatioTechUnitsDenom := increments * motor turns * gear output turns (all left side) &lt;br/&gt;
&lt;br/&gt;
Note: These two values are mathematically reduced, e.g. if iRatoTechUnitsNum=10000 and dwRatioTechUnitsDenom = 200000, it will be…&lt;br/&gt;
iRationTechUnitsNum=1 and dwRatiTechUnitsDenom=20&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Ratio.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1568"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Changing the Scaling of a softmotion drive in Codesys</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/?limit=25#afe2" rel="alternate"/><published>2020-02-27T18:37:06.832000Z</published><updated>2020-02-27T18:37:06.832000Z</updated><author><name>Bobbypointe</name><uri>https://forge.codesys.com/u/bobbypointe/</uri></author><id>https://forge.codesys.com3efeeb3c49ce58532ab1d05c8fceadd9f91e614f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi thanks for the answer, but I already tried and it changed only a few parts of the config.&lt;br/&gt;
Nominator is a dword and denominator a int!&lt;br/&gt;
I need more. &lt;br/&gt;
As you can see on the image of my first post, I would like it I change the values in the red square!&lt;br/&gt;
Does someone know how to perform this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Changing the Scaling of a softmotion drive in Codesys</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/?limit=25#2fc6" rel="alternate"/><published>2020-02-27T18:37:03.474000Z</published><updated>2020-02-27T18:37:03.474000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com0135728e278d42fbc9c7bcde64c0e3b2388abb1a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
use SMC_ChangeGearingRatio&lt;br/&gt;
and after that a SMC3_ReinitDrive...&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Ratio.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1567"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Changing the Scaling of a softmotion drive in Codesys</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/bd5a8e63d4/?limit=25#3af0" rel="alternate"/><published>2020-02-27T18:37:02.335000Z</published><updated>2020-02-27T18:37:02.335000Z</updated><author><name>Bobbypointe</name><uri>https://forge.codesys.com/u/bobbypointe/</uri></author><id>https://forge.codesys.com8a3f5d4bcf493bce2d2a578d0272d47dbe4228ab</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I would like to be able to change all the scaling parameter of my softmotion drive in my Codesys project (in running mode, and not only config one).&lt;br/&gt;
not only the inc/motor turns object, but also the gear ratio.&lt;br/&gt;
I have an application where the same motor could be used on different station with different scaling.&lt;/p&gt;
&lt;p&gt;I looked into the axis structure parameter and I only found the MSC_Changegearinratio block.&lt;br/&gt;
Does someone know how to do this?&lt;/p&gt;
&lt;p&gt;Thanks by advance&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2016" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1566"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>