
adccommunitymod (AutomationDirect) asked a question.
Created Date: July 20,2013
Created By: jparker
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I'm programing a dl260 and using ethernet to communicate between 2 Cmore EA7-T15 HMI's and the DL260. The program is rather large with 3 PID loops. My problem accured when I added a few rungs of logic and down loaded to the cpu. I get the normal 001 plc time out message across the top of the screen during download except it stays on. I also sometimes get a 002 NAK message. It seems like when I get the NAK message then the 001 message stays off and everything is OK. If I remove the added rungs of logic then everything is fine again, put the logic back in and the problem comes back. I can't find anything wrong with the logic what so ever in fact I use the code structure elswhere in the program with no problem. Is it a timing issue with the ehternet time out? I'm stuck and any suggestions would be appreciated.
Created Date: July 20,2013
Created by: plcnut
What are your scan times before and after the changes?
Are any of the addresses used in the program update associated with tags in either Cmore?
Also, do you get the error on both screens?
Created Date: July 22,2013
Created by: jparker
cmore coms
In Cmore panel manager I increased the ( time out time ) from 1ms to 20ms and the problem went away. infact during download to the plc I don't get any message on the top of the screen anymore. Don't know for sure if this is what I needed to do to fix the problem but seems to work. Should ( Poll time be increased also?
Not exactly sure how these numbers work.
Yes the problem appeared on both screens.
Current scan time is 48ms
Maximum scan time is 51ms
minimum scan time is 44ms
Created Date: July 22,2013
Created by: plcnut
In Cmore panel manager I increased the ( time out time ) from 1ms to 20ms and the problem went away. infact during download to the plc I don't get any message on the top of the screen anymore. Don't know for sure if this is what I needed to do to fix the problem but seems to work. Should ( Poll time be increased also?
Not exactly sure how these numbers work.
-The poll time is how often the Cmore asks the PLC for the the tag values.
-The Timeout, is how long the Cmore will wait for the PLC to respond without throwing an error.
Yes the problem appeared on both screens.
Current scan time is 48ms
Maximum scan time is 51ms
minimum scan time is 44ms
With these long scan times, then you will be throwing errors.
You should probably adjust the Cmore Poll rate, it may give you a little more lag on the display, but it will be better than comm errors.
(I 've been using DoMore, and with a rather large program I am running a Average scan time of 2.0 ms. These things are FAST! :D )
Created Date: July 22,2013
Created by: jparker
Cmore coms
Thanks for your suggestion, I'll give it a try. I was going to use a DoMore on this project but did not have time to learn the software. Automation Direct Tech says there is a bit of a learning curve going from DirectSoft5 to Domore. But I bought the DoMore starter kit to try as soon as this project is finished
Created Date: July 22,2013
Created by: plcnut
There is a learning curve, but it isn't bad at all. DS5 will collect dust after you 've tried DMD!
Created Date: July 20,2013
Created by: jparker
I'm programing a dl260 and using ethernet to communicate between 2 Cmore EA7-T15 HMI's and the DL260. The program is rather large with 3 PID loops. My problem accured when I added a few rungs of logic and down loaded to the cpu. I get the normal 001 plc time out message across the top of the screen during download except it stays on. I also sometimes get a 002 NAK message. It seems like when I get the NAK message then the 001 message stays off and everything is OK. If I remove the added rungs of logic then everything is fine again, put the logic back in and the problem comes back. I can't find anything wrong with the logic what so ever in fact I use the code structure elswhere in the program with no problem. Is it a timing issue with the ehternet time out? I'm stuck and any suggestions would be appreciated.