Beckhoff el6021

mehdy1968

Member
Join Date
Aug 2017
Location
isfahan
Posts
8
Hello Dear
I am trying to configure EL6021 by twincat2 system manager but it was not success my embedded system is CX8091 and i have a ModBus RTU library.
 
Hello,

What exactly is the problem you are experiencing? What do you mean by "trying to configure"? Did you scan the boxes and do you have your EL6021 under the terminal list in System Manager? Can you explain your problem in more detail?

Here you can find detailed documentation for EL6021 -> https://download.beckhoff.com/download/document/io/ethercat-terminals/el600x_el602xen.pdf

You should be using one of these function blocks for your configuration -> https://infosys.beckhoff.com/englis...dbusrtu/455276555.html&id=2856145827112356268
 
Thanks for your quick reply
Yes i have EL6021 under EtherCat terminal.
But there is a InfoData field that no assignment can be found under PLC program to be linked with this item.
 
You don't link InfoData, first you have to declare function block ModbusRtuMaster_KL6x22B in your program (you have to add ModbusRTU.lib library in the PLC Control), then build the program and append the project to your configuration in System Manager.

After that, you will automatically have DataIn and DataOut variables that have to be linked to the "COM TxPDO-Map Inputs" and "COM RxPDO-Map Outputs" - I have attached screenshot where you can see how it looks if everything is done properly.

Hope you can work it out now on your own :)

Untitled.jpg
 
Hello again
I have done hardware assignment well.
But when i execute ModbusRtuMaster_KL6x22B.ReadReg , no signal will be appear on oscilloscope connected to TX+ TX- of EL6021.
 
Dear Karlek
Thanks a lot for your assistant.
Now it is working. it is my first experience on Beckhoff plc.
Instead of hardware assignment that solved with your kind also i confused between config mode ,run time mode and so on but i try to do more exercise.
 

Similar Topics

Hi I'm trying to figure out how to configure my CX9020 PLC with EL6021 to be modbus master. Anyone who has experience with that? Kind regards
Replies
4
Views
7,712
Hi everyone, This is my first time posting, so please forgive any omissions or mistakes. I am attempting to control the velocity of a stepper...
Replies
18
Views
920
Hello sameone have Beckhoff PLC Siemens Sinamics V90 configuration example?
Replies
0
Views
91
hello, I am using Beckhoff with TwinCAT3 and when I change or add some new hardware or for any reason, there is a mismatch in the real hardware vs...
Replies
1
Views
119
I have a Beckhoff CX7000 IPC with some digital I/O built-in and I additionally need two analog inputs 0-10V. Can I install both Ethernet terminals...
Replies
4
Views
200
Back
Top Bottom