CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

Softmotion, stepper motors and Beckhoff EL2521 terminals
https://forum.codesys.com/viewtopic.php?f=6&t=8471
Page 1 of 1

Author:  ibantxispas [ Fri Jan 12, 2018 3:35 pm ]
Post subject:  Softmotion, stepper motors and Beckhoff EL2521 terminals

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

Author:  Edwin Schwellinger [ Fri Jan 12, 2018 3:51 pm ]
Post subject:  Re: Softmotion, stepper motors and Beckhoff EL2521 terminals

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

Author:  ibantxispas [ Fri Jan 12, 2018 3:57 pm ]
Post subject:  Re: Softmotion, stepper motors and Beckhoff EL2521 terminals

Hello,

How can I get plclog?
How can I upload a Image?

thanks,

Ivan

Author:  ibantxispas [ Fri Jan 12, 2018 4:19 pm ]
Post subject:  Re: Softmotion, stepper motors and Beckhoff EL2521 terminals

Hello,

I revised online help, I attach you photo

thanks regards,

Iban

Author:  ibantxispas [ Fri Jan 12, 2018 4:22 pm ]
Post subject:  Re: Softmotion, stepper motors and Beckhoff EL2521 terminals

I attach you some photos

thanks, regards,

Ivan

Author:  Edwin Schwellinger [ Sat Jan 13, 2018 6:27 am ]
Post subject:  Re: Softmotion, stepper motors and Beckhoff EL2521 terminals

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

Author:  ibantxispas [ Mon Jan 15, 2018 5:28 pm ]
Post subject:  Re: Softmotion, stepper motors and Beckhoff EL2521 terminals

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

Author:  Edwin Schwellinger [ Tue Jan 16, 2018 5:30 am ]
Post subject:  Re: Softmotion, stepper motors and Beckhoff EL2521 terminals

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

Author:  ibantxispas [ Wed Jan 17, 2018 1:13 pm ]
Post subject:  Re: Softmotion, stepper motors and Beckhoff EL2521 terminals

Hello,

I am going to test

Thnaks

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/