
adccommunitymod (AutomationDirect) asked a question.
Created Date: July 27,2006
Created By: laurent
**** 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 just upgrade to Direcsoft5, and wrote a program where I am reading 10 slave from a master then writing to those 10 slave. I love those Iboxes but I have an hairy problem, I can read all my slave but one, beside that I can write to all of them.I have checked and triple checked my NETRX Iboxe for that slave and everything seams fine. How can I write but not read from that PLC? Anybody have encountered the same situation ??? http://forum1.automationdirect.com/board/frown.gif
Created Date: July 27,2006
Created by: bcarlton
Not assuming anything but when I duplicate a section of code many times and then change the copies I seem to always miss or mess up one of the changes. I recently missed changing a device address on the last copied communication instruction and scratched my head for an hour.
Created Date: July 27,2006
Created by: laurent
Yes I know the feelings I have been so many time in that situation, I have looked and looked and looked ... I just can not find anything wrong. I am just dealing with 1 NETRX instruction, even the success or error coil are not firing.
Created Date: July 27,2006
Created by: Tech Guy
Have you tried the NETRX instruction by itself?
Created Date: July 27,2006
Created by: laurent
Yes I did, I just rebooted the Master PLC and now my success bit is coming on but my master register is not showing anything. I tried to address to another register but still not showing any numbers. What's going on?
Created Date: July 27,2006
Created by: franji1
Check the XRef of the Master at the Destination reference and make sure nothing is OUTing to it. Also disconnect any HMI or clear any PID config, Basic CoPro - anything that may be writing to that same address.
Also check the Module IDs of ANYTHING that is on the same network (e.g. any office PLCs). Isolate the network with JUST the one slave and the one master to ensure you only have one possible RX source.
Created Date: July 27,2006
Created by: laurent
I did swap my register with another working NETRX and the problem follow the same PLC, I also swap my IP and ID # with another one but same problem. I replaced the ECOM module no success. It really appears to me the problem come from the slave PLC. No idea? all my slave are 440 with the same firmware version.
Created Date: July 27,2006
Created by: franji1
You mentioned IP address. Are you using TCP/IP configuration table then, or are using the standard Module ID across the network?
Created Date: July 27,2006
Created by: laurent
I am using TCP/IP configured via NetEdit3
Created Date: July 27,2006
Created by: franji1
What is the master PLC CPU type? Are any of the ECOMs in local 405 expansion bases?
Also, I would simplify the system as much as possible in order to isolate the problem.
I would isolate the network to just the Master and the one slave, and enter a program that does native RX once a second (e.g. read the PLC scan counter, V7765)
STR SP4
PD C0
STR C0
LD Kxxxx (base/slot/slaveID)
LD K2 // number of bytes
LDA V2000
RX V7765
END
Created Date: July 27,2006
Created by: GKiser
laurent,
If you could provide a trace of the Ethernet traffic from the "master " point of view using Ethereal (free packet sniffer from ethereal.com) and send the data to me at support@hosteng.com I will see if I can help you evaluate what is happening.
Greg Kiser
Host Engineering, Inc.
support@hosteng.com