<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Stepper Drive with Ethercat</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/</id><updated>2024-04-25T14:29:24.438000Z</updated><subtitle>Recent posts to Stepper Drive with Ethercat</subtitle><entry><title>Stepper Drive with Ethercat</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/?limit=25#69bc" rel="alternate"/><published>2024-04-25T14:29:24.438000Z</published><updated>2024-04-25T14:29:24.438000Z</updated><author><name>esave</name><uri>https://forge.codesys.com/u/esave/</uri></author><id>https://forge.codesys.com3de972e658aa07d4310d49ebd5d2f1cd8d54b81c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I bought and installed SoftMotion Light now. When I try to add a SoftMotion Light Axis to my stepper drive and I go online it shows: "The license is missing or invalid". See picture&lt;br/&gt;
What am I doing wrong? &lt;/p&gt;
&lt;p&gt;This is the right way right? First add your EtherCat XML-File from your stepper driver and then add the SoftMotion Light axis right?&lt;/p&gt;
&lt;p&gt;Thanks for your help&lt;/p&gt;
&lt;p&gt;esave&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Stepper Drive with Ethercat</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/?limit=25#5873" rel="alternate"/><published>2024-03-28T07:48:51.124000Z</published><updated>2024-03-28T07:48:51.124000Z</updated><author><name>esave</name><uri>https://forge.codesys.com/u/esave/</uri></author><id>https://forge.codesys.com107e6b3a78a8d835b0deb6ee26e16cf2bca7f60d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello &lt;a class="user-mention" href="/u/ph0010421/"&gt;@ph0010421&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for you answer. I dont really get the state machine that you sent me. Is that only for enabling the drive? How can i make movement? Is this with these SDO's? What is SDO exactly?&lt;br/&gt;
Sorry but i am a little lost (:|)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Stepper Drive with Ethercat</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/?limit=25#6bea" rel="alternate"/><published>2024-03-22T10:39:50.298000Z</published><updated>2024-03-22T10:39:50.298000Z</updated><author><name>ph0010421</name><uri>https://forge.codesys.com/u/ph0010421/</uri></author><id>https://forge.codesys.coma388722e7ffa2dc4d63b21c2fe4c86feb24c40f5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;br/&gt;
That's certainly CiA402. I'll attach a part of the manual for my servos, but the state diagram should be the same at yours. To be sure, get one from your manufacturer.&lt;br/&gt;
Look at the bits in the StatusWord to see where you are in the diagram, then twiddle the bits in the ControlWord to get you to the next step.&lt;br/&gt;
Then there are other bits in the StatusWord to tell you 'InPosition' and things like that.&lt;/p&gt;
&lt;p&gt;From the screenshot, as it mentions only 'PositionProfile' the driver will create the motion profile.&lt;br/&gt;
So you need to put a target position in here - there should be profile velocity somewhere?&lt;br/&gt;
Possibly, you need to write these with SDO's?&lt;br/&gt;
At the minimum, you need to write a value to 0x6081, 0x6083 and 0x6084 (velocity, accel, decel)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Stepper Drive with Ethercat</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/?limit=25#528b" rel="alternate"/><published>2024-03-22T09:48:07.711000Z</published><updated>2024-03-22T09:48:07.711000Z</updated><author><name>esave</name><uri>https://forge.codesys.com/u/esave/</uri></author><id>https://forge.codesys.coma2685c665a48df66ea4c03ec0c23e75adf9d5b76</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you very much Florian&lt;/p&gt;
&lt;p&gt;The SoftMotionLight package is actually more expencive than the normal SoftMotion. What is exactly the difference?&lt;br/&gt;
Does my PLC need to be compatible with SoftMotion or does this work with any PLC?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Stepper Drive with Ethercat</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/?limit=25#055d" rel="alternate"/><published>2024-03-22T06:54:25.990000Z</published><updated>2024-03-22T06:54:25.990000Z</updated><author><name>florian</name><uri>https://forge.codesys.com/u/florian/</uri></author><id>https://forge.codesys.comb472deb44679a2601de1c561f3b848e1862cfd4b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Codesys has a motion libraries (SoftMotion), but you need to buy a licence keys for them to work.&lt;/p&gt;
&lt;p&gt;the most basic one is &lt;a class="" href="https://content.helpme-codesys.com/en/CODESYS%20SoftMotion%20Light/_sm_light_start_page.html" rel="nofollow"&gt;SoftMotionLight&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;you just have to select your drive in the device view and add a SoftMotionLight CiA402 axis.&lt;br/&gt;
then the library is added to your project.&lt;br/&gt;
You can use the SML_* motion FBs and configure the axis now.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Stepper Drive with Ethercat</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/?limit=25#8d5d" rel="alternate"/><published>2024-03-21T10:00:54.510000Z</published><updated>2024-03-21T10:00:54.510000Z</updated><author><name>esave</name><uri>https://forge.codesys.com/u/esave/</uri></author><id>https://forge.codesys.comb8a93a5d200090a7b7946383929ecb7ac8ba7029</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The stepper supports CiA402 maybe I can use a CiA402 library to controll the stepper motor. Has anybody experience with that?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Stepper Drive with Ethercat</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d9942e9efe/?limit=25#2ad0" rel="alternate"/><published>2024-03-14T13:01:19.904000Z</published><updated>2024-03-14T13:01:19.904000Z</updated><author><name>esave</name><uri>https://forge.codesys.com/u/esave/</uri></author><id>https://forge.codesys.com76faa93a6ed5199837b7f7cb617ca43557c446f2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everybody&lt;/p&gt;
&lt;p&gt;I am new into Codesys. I have a stepper driver (EM3E-556E) from Leadshine. I want to controll the stepper driver via EtherCat to a ST programm but I dont have any function block or anything that i can use. I only have the XML-File wich I loaded. With it I implemented the drive as a Ethercat slave and now I see these variables. (See picture) &lt;br/&gt;
I dont know how to controll the stepper drive. And the manufacturer doesnt provide support for me. &lt;br/&gt;
Can anybody help me or atleast tell me how they would do it?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>