Host Engineering Forum
General Category => ECOMs and ECOM100s => Topic started by: tim s on September 22, 2016, 04:41:14 PM
-
Hello,
I am building a PC based HMI system that utilizes a DL06 PLC and it has the H0-ECOM ethernet card installed. I have the PLC setup and I can send UDP packets to it, but I can't connect to it via TCP through the Java application. I am trying to connect via a socket and was kind of expecting that there is listening TCP port (28784) on the ECOM card but for some reason its not working. I have checked my firewall and allow both tcp and udp 28784.
What else am I missing? I appreciate your responses.
-
ECOM only speaks UDP. What are you trying to do via TCP?
-
Thanks Bob. I wasn't sure if the ECOM understood TCP or not. I wanted to use TCP just to make sure packets were sent and received by the ECOM.
-
FYI, the H0-ECOM100 (not the H0-ECOM) understands Modbus TCP, but not raw TCP.
-
Thanks Bob. I wasn't sure if the ECOM understood TCP or not. I wanted to use TCP just to make sure packets were sent and received by the ECOM.
I have never been a fan of trusting something buried in a stack that I can't control, so we crafted all of our protocols to expose the timeout and retry mechanism. We do support TCP where required (Modbus/TCP, email, etc), but our programming protocol is strictly UDP.