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?
you need to post the errors otherwise we could not help.
Please send the plclog... guess you will see there the error reason.
How can I get plclog?
How can I upload a Image?
I revised online help, I attach you photo
I attach you some photos
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.
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.
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.
I am going to test
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
Originally created by: dosnova
Has anyone tried with EL2521 and control Win V3?
I'm not able to get it working..
please try this:
We are working with Softmotion RTE and EL2521 to drive stepper motors in pulse/dir configuration.
Working with MC_Jog instances we observe erratic behavior when JogBackward is activated.
In JogFordward motion we see that leds in EL2521 modules blink as expected ("A" led blinks and "B" led fixed).
In JogBackward motion we see that motor does not work and leds do not blink as expected. Both "A" and "B" leds blinks.
This is not the expected behavior for pulse/dir configuration.
Suggestions are wellcome..
Dear All, I've found that EL2521 driver does not work with EL2521-0024 nor EL2521-0025 cards (EL2521 NPN and PNP 24V tolerant outputs). Only EL2521-0000 card with RS-422 differential outputs seems to work..
Log in to post a comment.