Author |
Message |
ibantxispas
|
PostPosted: Fri Jan 12, 2018 3:35 pm |
|
Joined: Tue Dec 26, 2017 5:40 pm Posts: 10
|
Good afternoon,
I am trying to drive 2 stepper motor with Beckhoff EL2521 pulse generators.
If I scan ethercat bus, codesys find EK1100 coupler and 2 EL2521 terminals, but don´t use softmotion drive. If I go online and run there isn´t any error. The Ethercat bus is running.
If I manually insert EK1100 coupler and 2 EL2521, I can choice EL2521 terminal with softmotion drive but when I go online and run my proyect there is a configuration error and ethercat terminals don´t work. How can I use EL2521 terminals with softmotion drivers?
thanks, regards,
Iban
|
|
Top |
|
 |
Edwin Schwellinger
|
PostPosted: Fri Jan 12, 2018 3:51 pm |
|
Joined: Mon Sep 05, 2005 9:42 am Posts: 3566
|
Hi,
you need to post the errors otherwise we could not help. Please send the plclog... guess you will see there the error reason.
BR Edwin
|
|
Top |
|
 |
ibantxispas
|
PostPosted: Fri Jan 12, 2018 3:57 pm |
|
Joined: Tue Dec 26, 2017 5:40 pm Posts: 10
|
Hello,
How can I get plclog? How can I upload a Image?
thanks,
Ivan
|
|
Top |
|
 |
ibantxispas
|
PostPosted: Fri Jan 12, 2018 4:19 pm |
|
Joined: Tue Dec 26, 2017 5:40 pm Posts: 10
|
Hello,
I revised online help, I attach you photo
thanks regards,
Iban
You do not have the required permissions to view the files attached to this post.
|
|
Top |
|
 |
ibantxispas
|
PostPosted: Fri Jan 12, 2018 4:22 pm |
|
Joined: Tue Dec 26, 2017 5:40 pm Posts: 10
|
I attach you some photos
thanks, regards,
Ivan
You do not have the required permissions to view the files attached to this post.
|
|
Top |
|
 |
Edwin Schwellinger
|
PostPosted: Sat Jan 13, 2018 6:27 am |
|
Joined: Mon Sep 05, 2005 9:42 am Posts: 3566
|
Hi, I think the problem is caused by using Control Win. This plc is not realtime capable. The SoftMotion drivers need an activated distributed clock setting. Now you have two options: Switch to Control RTE or any other realtime capable plc type this is the best solition or wait for my description ( i need to check) how to work around it with Control Win (not sure if this works reliable maybe more for testing pupose) This does only work with this ELxxxx kombination... not with other drives. BR Edwin
|
|
Top |
|
 |
ibantxispas
|
PostPosted: Mon Jan 15, 2018 5:28 pm |
|
Joined: Tue Dec 26, 2017 5:40 pm Posts: 10
|
Good aftenoon,
I have tested using Raspberry pi and is in green. No configuration error. I attach photo. I don´t test a stepper motor still but at least there isn´t configuration error.
I haven´t option of RTE in my installation of codesys, Have I to download from codesys store RTE software and install?
I will like use my PC as PLC.
thanks, regards
Iban
You do not have the required permissions to view the files attached to this post.
|
|
Top |
|
 |
Edwin Schwellinger
|
PostPosted: Tue Jan 16, 2018 5:30 am |
|
Joined: Mon Sep 05, 2005 9:42 am Posts: 3566
|
Hi, you Control RTE from the CODESYS store. Sure with Pi it will work, if not you need to a apply a rt_preemt realtime patch.
BR Edwin
|
|
Top |
|
 |
ibantxispas
|
PostPosted: Wed Jan 17, 2018 1:13 pm |
|
Joined: Tue Dec 26, 2017 5:40 pm Posts: 10
|
Hello,
I am going to test
Thnaks
|
|
Top |
|
 |
duyngdang
|
PostPosted: Sun Oct 20, 2019 5:37 pm |
|
Joined: Tue Jul 30, 2019 3:56 pm Posts: 4
|
Hi ibantxispas
Did you do successfully with Beckhoff EL2521 terminals?
Do you use RTE or just normal Pi control
Please share for me, I involve same project with you
|
|
Top |
|
 |