CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Mon Oct 22, 2018 12:52 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: Fri Jan 12, 2018 3:35 pm 
Offline

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
   
PostPosted: Fri Jan 12, 2018 3:51 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2904
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
   
PostPosted: Fri Jan 12, 2018 3:57 pm 
Offline

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
   
PostPosted: Fri Jan 12, 2018 4:19 pm 
Offline

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
   
PostPosted: Fri Jan 12, 2018 4:22 pm 
Offline

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
   
PostPosted: Sat Jan 13, 2018 6:27 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2904
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
   
PostPosted: Mon Jan 15, 2018 5:28 pm 
Offline

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
   
PostPosted: Tue Jan 16, 2018 5:30 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2904
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
   
PostPosted: Wed Jan 17, 2018 1:13 pm 
Offline

Joined: Tue Dec 26, 2017 5:40 pm
Posts: 10
Hello,

I am going to test

Thnaks


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 9 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited