<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to SMC_FB_WASN'T_CALLED_DURING_MOTION Error With MC_Home</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/</id><updated>2021-01-21T06:13:04.904000Z</updated><subtitle>Recent posts to SMC_FB_WASN'T_CALLED_DURING_MOTION Error With MC_Home</subtitle><entry><title>SMC_FB_WASN'T_CALLED_DURING_MOTION Error With MC_Home</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/?limit=25#e94b" rel="alternate"/><published>2021-01-21T06:13:04.904000Z</published><updated>2021-01-21T06:13:04.904000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comcfe4667cb6c0657b67289bf525d3047388d9e8ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you use the generic DS402 driver these parameter should be there.&lt;br/&gt;
In which version is SoftMotion?&lt;br/&gt;
You could update SoftMotion by updating the SoftMotion package, current version is 4.9.0.0&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_FB_WASN'T_CALLED_DURING_MOTION Error With MC_Home</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/?limit=25#d325" rel="alternate"/><published>2021-01-20T22:18:44.470000Z</published><updated>2021-01-20T22:18:44.470000Z</updated><author><name>mike-at-gms</name><uri>https://forge.codesys.com/u/mike-at-gms/</uri></author><id>https://forge.codesys.com8ed2547b55df2ed59670de293dca3ec268fe43b1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I did not know about the device configuration option, thank you.&lt;/p&gt;
&lt;p&gt;I have an 'axis' function block that encapsulates all the functionality of an axis. All the MC function blocks are included and cyclically called based on inputs to the main FB. My motion FB's are all called the same way, which is why this error is so frustrating. I cannot see any difference between my calls to MC_Power or MC_MoveAbsolute and my call to MC_Home. I would expect a different error if my drive object was not configured correctly.&lt;/p&gt;
&lt;p&gt;Under the new Parameter tab, I do not have the same 'DSP402 configuration' fields as in your picture (I only show DSP402.bImmediateDisabling). Does this mean Homing (with MC_Home) is not supported? That would explain a lot.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_FB_WASN'T_CALLED_DURING_MOTION Error With MC_Home</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/?limit=25#f759" rel="alternate"/><published>2021-01-20T20:00:18.701000Z</published><updated>2021-01-20T20:00:18.701000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com887fc6a51e94d71429b210e205c79a31996ce339</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The drives are different in case the behavior, which bit should bei set etc...&lt;br/&gt;
There are some Parameter to set may this helps.&lt;br/&gt;
Another point to check in which task die you call mc_home FB?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_FB_WASN'T_CALLED_DURING_MOTION Error With MC_Home</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/?limit=25#2ac8" rel="alternate"/><published>2021-01-20T19:17:10.908000Z</published><updated>2021-01-20T19:17:10.908000Z</updated><author><name>mike-at-gms</name><uri>https://forge.codesys.com/u/mike-at-gms/</uri></author><id>https://forge.codesys.com6a72417d40270cafcec06e5a40f8ad3cec80d986</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am using Servotronix CDHD, Yaskawa Sigma 7 and Oriental Motor stepper drives. The CDHD is the drive I am currently trying to home. I can also home the axis directly so that is not the problem.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_FB_WASN'T_CALLED_DURING_MOTION Error With MC_Home</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/?limit=25#f0f2" rel="alternate"/><published>2021-01-20T19:09:03.909000Z</published><updated>2021-01-20T19:09:03.909000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comfbe5c1522645cc9f2dac24a9633581436dbc744e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Which drive is connected?&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SMC_FB_WASN'T_CALLED_DURING_MOTION Error With MC_Home</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/e697baacf0/?limit=25#6426" rel="alternate"/><published>2021-01-20T14:53:50.664000Z</published><updated>2021-01-20T14:53:50.664000Z</updated><author><name>mike-at-gms</name><uri>https://forge.codesys.com/u/mike-at-gms/</uri></author><id>https://forge.codesys.coma07805e5e2b536ea3efe88edbf6f16297e211531</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have a motion project that is working fine except when I call MC_Home. My axis (AXIS_REF_SM3) is enabled, at Standstill, and I can move the axis just fine. But, when I enable my MC_Home FB, it aborts right away and the axis object (not the FB) gets a "smc_fb_wasn't_called_during_motion" error. One odd thing is that the 'instance' of the SMC_FBError is zero:&lt;br/&gt;
&lt;img src="./attachment/HomeError.png" width="100%"/&gt;&lt;/p&gt;
&lt;p&gt;All of my motion FB's are on the EtherCat task so that is not the issue. If I replace the axis object with a virtual axis (AXIS_REF_VIRTUAL_SM3) MC_Home exits normally with Done (not CommandAborted like with the real axis).&lt;/p&gt;
&lt;p&gt;What am I doing wrong?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;PS, I cannot use SMC_Home because this axis does not have inputs to change the direction. I am using the 'find reference mark' in the drive.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>