<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to EtherCAT Motor Drive seems was affected by Modbus TCP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/</id><updated>2020-02-27T13:57:25.529000Z</updated><subtitle>Recent posts to EtherCAT Motor Drive seems was affected by Modbus TCP</subtitle><entry><title>EtherCAT Motor Drive seems was affected by Modbus TCP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/?limit=25#8440" rel="alternate"/><published>2020-02-27T13:57:25.529000Z</published><updated>2020-02-27T13:57:25.529000Z</updated><author><name>listenyang</name><uri>https://forge.codesys.com/u/listenyang/</uri></author><id>https://forge.codesys.comacf99f60b0149e6f2c0c3383f9d5ce89b0c85169</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
yes that's the problem, you need to change your application in that way&lt;br/&gt;
that you only reference the modbus io's in the modbus Task, and the ethercat io's in the ethercat Task.&lt;br/&gt;
Thats the solution. The Task deployment tap give you the Feedback after compile / generate code it is updated. &lt;br/&gt;
These red and blue cross show you in which task you are using the specified input/output.&lt;br/&gt;
If you change that our problems should be solved.&lt;br/&gt;
cu&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;hi, Edwin&lt;br/&gt;
Seems the problem has been solved, thanks your useful tips. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT Motor Drive seems was affected by Modbus TCP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/?limit=25#a9a6" rel="alternate"/><published>2020-02-27T13:57:25.300000Z</published><updated>2020-02-27T13:57:25.300000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com807be3b7fa1ada87a0875793a137a4e404a7258d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;yes that's the problem, you need to change your application in that way&lt;br/&gt;
that you only reference the modbus io's in the modbus Task, and the ethercat io's in the ethercat Task.&lt;br/&gt;
Thats the solution. The Task deployment tap give you the Feedback after compile / generate code it is updated. &lt;br/&gt;
These red and blue cross show you in which task you are using the specified input/output.&lt;br/&gt;
If you change that our problems should be solved.&lt;/p&gt;
&lt;p&gt;cu&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT Motor Drive seems was affected by Modbus TCP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/?limit=25#06c4" rel="alternate"/><published>2020-02-27T13:57:25.070000Z</published><updated>2020-02-27T13:57:25.070000Z</updated><author><name>listenyang</name><uri>https://forge.codesys.com/u/listenyang/</uri></author><id>https://forge.codesys.com314e0b4a474e1c671f24611bed0af6eb6f56a57b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
hi,&lt;br/&gt;
please add the screenshot from the Task deployment&lt;br/&gt;
there you should see if the IO's are used in the right Task.&lt;br/&gt;
cu&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;hi, Edwin&lt;br/&gt;
Thanks your fast reply.&lt;br/&gt;
maybe you are right, i didn't find any IO specify into Modbus in task_deployment, i am just define IO to the address(like:var1 AT %QX167.0:BOOL; all the IO signals work fine), not fill into the Modbus IO mapping list. funny that they are all belong to Main_task, is it problem?&lt;br/&gt;
other thing is, EtherCAT IO is:ID0~ID39, QD0~QD39, but in deployment all is 0. how come?&lt;/p&gt;
&lt;p&gt;thanks a lot...&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: tasks deployment.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=470"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT Motor Drive seems was affected by Modbus TCP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/?limit=25#455d" rel="alternate"/><published>2020-02-27T13:57:24.328000Z</published><updated>2020-02-27T13:57:24.328000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.combfd3f6582b187769833a90adc7d2ec3182a316e3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hi,&lt;/p&gt;
&lt;p&gt;please add the screenshot from the Task deployment&lt;/p&gt;
&lt;p&gt;there you should see if the IO's are used in the right Task.&lt;/p&gt;
&lt;p&gt;cu&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: taskdeployment.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=469"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT Motor Drive seems was affected by Modbus TCP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/?limit=25#87a7" rel="alternate"/><published>2020-02-27T13:57:24.105000Z</published><updated>2020-02-27T13:57:24.105000Z</updated><author><name>listenyang</name><uri>https://forge.codesys.com/u/listenyang/</uri></author><id>https://forge.codesys.com53a11db1ac0b43cfb87a3e5a6ae111e120fc85fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
please check taskdeployment tap in the plc device,&lt;br/&gt;
you need to split all I/O's according to their task.&lt;br/&gt;
Ethercat IO  need to be updatet in the Ethercat Task context and modbus IO's need to be updated in the modbus task context.&lt;br/&gt;
Set the IO update task in the plc setting to Ethercat&lt;br/&gt;
and in the modbus master you need to specify the modbus task as update task for the modbus io's&lt;br/&gt;
Then it will work.&lt;br/&gt;
cu&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;hi, Edwin&lt;br/&gt;
thanks your reply.&lt;br/&gt;
I had check IO updating by corresponding task, pls refer to attached picture. I had test it, it was not working as expecting.&lt;br/&gt;
do I need any extra setting?&lt;/p&gt;
&lt;p&gt;thanks a lot...&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: tasks specify.JPG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=468"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT Motor Drive seems was affected by Modbus TCP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/?limit=25#2578" rel="alternate"/><published>2020-02-27T13:57:23.889000Z</published><updated>2020-02-27T13:57:23.889000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comcede5b15253a3402534228a60fbeb1a23d7bbaff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;please check taskdeployment tap in the plc device,&lt;br/&gt;
you need to split all I/O's according to their task.&lt;br/&gt;
Ethercat IO  need to be updatet in the Ethercat Task context and modbus IO's need to be updated in the modbus task context.&lt;br/&gt;
Set the IO update task in the plc setting to Ethercat&lt;br/&gt;
and in the modbus master you need to specify the modbus task as update task for the modbus io's&lt;br/&gt;
Then it will work.&lt;br/&gt;
cu&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>EtherCAT Motor Drive seems was affected by Modbus TCP</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/d137e9d58f/?limit=25#d381" rel="alternate"/><published>2020-02-27T13:57:23.682000Z</published><updated>2020-02-27T13:57:23.682000Z</updated><author><name>listenyang</name><uri>https://forge.codesys.com/u/listenyang/</uri></author><id>https://forge.codesys.com7476e12b8a79c13d3036e571ca2b402e824efe27</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hello, all&lt;/p&gt;
&lt;p&gt;I am facing a problem in v3.5, there is a motor driver connect via EtherCAT slave, and one remote plc via Modbus TCP Slave.&lt;br/&gt;
the EtherCAT is for driving the motor, and Modbus TCP is only I/O exchanging with CoDeSys v3.5.&lt;br/&gt;
problem is:&lt;br/&gt;
The motor was not running smoothly enough(rotating fastly or reversely suddenly), it seems motor was lost some pulses/step sometimes, if I delete the Modbus TCP slave, motor was runing perfectly, EtherCAT seems was affected by Modbus TCP, when I changed Modbus TCP polling cycle time, motor running better.&lt;/p&gt;
&lt;p&gt;can any one gives any tips? I really need some help from you guys now.  &lt;/p&gt;
&lt;p&gt;thanks a lot.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>