CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sun May 28, 2017 9:33 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Tue Apr 25, 2017 1:49 pm 
Offline

Joined: Sat Apr 15, 2017 6:24 am
Posts: 3
Hi,
I need to use digital PWM signal, the current selection is Beckhoff EL2502 2ch PWM module. I added a device description file, but there are only 2 channels in IO MAPPING to adjust the duty option and no option to adjust the frequency.
Attachment:
1.png

I have consulted the documentation and the frequency needs to be written in the CoE cycle. I'm not quite able to understand this problem. I see EL2502 's startup Parameters with the PWM settings option to change the frequency, but I need to change the frequency with the requirements in the PLC. I suppose I could be configuring the Expert process data in EK1100. I don't quite understand how to relate it to a variable.
Attachment:
2.png

What I want to do is similar to Schneider's FB
Attachment:
3.png


EL2502 Module Documents at https://www.beckhoff.com/english/ethercat/el2502.htm

Thank you.


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Tue Apr 25, 2017 2:16 pm 
Offline

Joined: Sat Apr 15, 2017 6:24 am
Posts: 3
It looks like this setting can be used.
I don't have a module test yet, if someone has used it, please tell me if I can use it. Does it continue to output?
Thanks.

Attachment:
1.png


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Tue Apr 25, 2017 6:42 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 1942
Hi,
either map it to the PDO's or send the SDO from your application by SDO send.
http://store.codesys.com/ethercat-example.html

BR
Edwin


Top
   
PostPosted: Wed Apr 26, 2017 8:01 am 
Offline

Joined: Sat Apr 15, 2017 6:24 am
Posts: 3
Edwin Schwellinger wrote:
Hi,
either map it to the PDO's or send the SDO from your application by SDO send.
http://store.codesys.com/ethercat-example.html

BR
Edwin

Thank you very much.


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

All times are UTC+01:00


Who is online

Users browsing this forum: svislar and 3 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