
adccommunitymod (AutomationDirect) asked a question.
H0-ecom TCP port
Created Date: September 03,2008
Created By: dbmartin86
**** 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 am using report by exception to communicate between a PC and the DL06. This method works great from the PLC to the PC, but I can't get a response back from the PC to the PLC. I think I will need the port number that the ecom is listening on. Does anyone know what port number this is? Thanks.
Created Date: September 03,2008
Created by: GKiser
ECOM/ECOM100s use 7070 hex (28784 decimal).
Greg Kiser
Host Engineering, Inc.
support@hosteng.com
Forum: http://forum.hosteng.com
Created Date: September 04,2008
Created by: dbmartin86
Thanks for your help, Greg. I am getting a time out error still. It seems to get a reply from the program that came with the zip folder, but when I use the VB program by boss made, I get the time out error.
Created Date: September 05,2008
Created by: GKiser
Well, I'm no expert on this, but I generally know how it works. In the PLC when you configure the RBE (report-by-exception) header, you select that you want the PC to send back an ACK (acknowledgment). Now, on the PC side of things (included with the RBE download from our website) is a program written in C. The source code for this is also in the download. In this program (called Viewer), when the PLC sends a telegram to the PC, the packet contains the "request for ACK " that I mentioned above. The Viewer program receives this telegram, removes the relevant data (which came from the PLC), and then in the same buffer sticks data that he wants the PLC to have in the return ACK. When the PLC gets the return ACK, he stores the data in the receive buffer as configured in your RBE.
In other words, the PC does not do a "send " per se, but rather sends data back in the ACK to the PLC's data. This is the way the Viewer code works. If you boss is program savvy, he may be able to interpret the Viewer source code and see how this is done.
But like I said, I'm not the expert on this. I'll help where I can.
Greg Kiser
Host Engineering, Inc.
support@hosteng.com
http://forum.hosteng.com
Created Date: September 03,2008
Created by: dbmartin86
I am using report by exception to communicate between a PC and the DL06. This method works great from the PLC to the PC, but I can't get a response back from the PC to the PLC. I think I will need the port number that the ecom is listening on. Does anyone know what port number this is? Thanks.