<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Read "Homed" status from EtherCAT drive</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f89c891533/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Motion/thread/f89c891533/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Motion/thread/f89c891533/</id><updated>2025-01-09T21:38:19.797000Z</updated><subtitle>Recent posts to Read "Homed" status from EtherCAT drive</subtitle><entry><title>Read "Homed" status from EtherCAT drive</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f89c891533/?limit=25#777e" rel="alternate"/><published>2025-01-09T21:38:19.797000Z</published><updated>2025-01-09T21:38:19.797000Z</updated><author><name>trusty-squire</name><uri>https://forge.codesys.com/u/trusty-squire/</uri></author><id>https://forge.codesys.comcbf990cd6139bc9db628ae47b6e0c00251de830f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;@imdatas, thanks for the info, I increased DSP402.uiHomingMinCycles to 10 and have a good feeling that will solve the issue of "false" homings. It's an intermittent issue so I'll report back once it's confirmed.&lt;/p&gt;
&lt;p&gt;&lt;a class="user-mention" href="/u/bruno-roth/profile/"&gt;@bruno-roth&lt;/a&gt;, also good info. According to my documentation, bit 14 is used to indicate the homed status. I did a test and the bit stays true even if I initiate a new homing procedure then hit the the e-stop mid homing, so I need to take that into consideration, but I can work with that.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Read "Homed" status from EtherCAT drive</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f89c891533/?limit=25#ebce" rel="alternate"/><published>2025-01-08T08:37:13.612000Z</published><updated>2025-01-08T08:37:13.612000Z</updated><author><name>bruno-roth</name><uri>https://forge.codesys.com/u/bruno-roth/</uri></author><id>https://forge.codesys.comc7ffeff7bdc9597016961325c52d60628ce34722</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, the information if your axis is already homed you could only find out direct from your Slave.&lt;br/&gt;
In DS402 status there is no Bit defined. But some manufacturer of Drives use some optional bits or status. E.g. if you have Schneider Electric LXM32 Servo you will find this information in Bit 15. You have to check the manual of your used Servo-Drive f this information is provided in any object and then read it out with SDO. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Read "Homed" status from EtherCAT drive</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f89c891533/?limit=25#986a" rel="alternate"/><published>2025-01-08T07:50:52.817000Z</published><updated>2025-01-08T07:50:52.817000Z</updated><author><name>imdatatas</name><uri>https://forge.codesys.com/u/imdatatas/</uri></author><id>https://forge.codesys.com5956dab6a6f5a61f98f36527c44c5a64440f6c87</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I have experienced such situations with some servo drive devices in the past.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;The home completion information is reported to the upper controller by the slave drive with the states of the relevant bits in the StatusWord (for example; 6041h Bit10, Bit12 in Home mode). If the states of these bits are correct in terms of number and state but the motor does not actually perform the action;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;You can contact the slave drive manufacturer. There may be a problem with the device firmware.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Another area you can play around with is looking at the settings in the "Advanced configuration" for Softmotion axis on the page the link to below, and trying it out and using the one that works for you.&lt;br/&gt;
&lt;a href="https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_cmd_add_softmotion_cia402_axis.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_cmd_add_softmotion_cia402_axis.html&lt;/a&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;-A method I recommended worked for a user as in below message. &lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Engineering/thread/40bc82454d/"&gt;https://forge.codesys.com/forge/talk/Engineering/thread/40bc82454d/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I hope your problem will be solved as soon as possible and by sharing the result here, you will help others to know and overcome it.&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Imdat&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Read "Homed" status from EtherCAT drive</title><link href="https://forge.codesys.com/forge/talk/Motion/thread/f89c891533/?limit=25#18bc" rel="alternate"/><published>2025-01-07T22:16:15.128000Z</published><updated>2025-01-07T22:16:15.128000Z</updated><author><name>trusty-squire</name><uri>https://forge.codesys.com/u/trusty-squire/</uri></author><id>https://forge.codesys.com68f6559a6774775f6306159055cd72fca600e4c8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is there a way to read the homed status from the EtherCAT drive directly? I am currently flagging the homed status on the succesful completion of the MC_Home function block, but I have had false triggers where the drive didn't actually execute the homing procedure but the MC_Home FB is marked as complete without error.&lt;/p&gt;
&lt;p&gt;I looked at other MC/SMC function blocks but the closest I can find is the "Homing" bit from MC_ReadStatus FB, but this doesn't show if the drive is succesfully homed, only that it's homing.&lt;/p&gt;
&lt;p&gt;Any guidance is welcome. Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>