Host Engineering Forum

General Category => ECOMs and ECOM100s => Topic started by: Elecnut33 on September 26, 2008, 12:09:08 PM

Title: RBE/ECOM100 problems
Post by: Elecnut33 on September 26, 2008, 12:09:08 PM
I have a H2-Ecom100 connected to a hub with a Rice Lake weight indicator and a C-more touchscreen.
I am trying to send a ASCII command to the rice lake to receive the weight value back to the PLC. I am using the RBE example for the communication. I have the MAC ID and IP address for the rice lake card, as well as the setting values in the appropriate V locations, and I am using the correct busy/error bits for slot 7 which is where the card is. The command (XN#1) is loaded to V2020.

I have yet to successfully complete the send. The busy/error bits seem to be operating properely, and my packets sent is incrementing. But, I have yet to receive anything in the rice lake, I have a small program written (in the rice lake) to watch that port and notify me when something is received.

Now the interesting thing is I have been watching traffic with wireshark, and here is where I am confused. My addresses are as follows. PC-192.168.1.10; PLC-192.168.1.50; rice lake- 192.168.1.110; & c-more- 192.168.1.90. When I watch the traffic with wireshark, the message I am sending to .110, is actually being sent to .10. I verified me HEX conversion, and I have 16e(1110) as the last two of the IP address. Can anyone shed some light on my problem?

Thanks in advance,
Nick
Title: Re: RBE/ECOM100 problems
Post by: Elecnut33 on October 03, 2008, 04:04:55 PM
Does someone know how to change the format of the RBE to send TCP instead of UDP?
Title: Re: RBE/ECOM100 problems
Post by: Greg on October 03, 2008, 06:19:26 PM
Elecnut33,

The H2-ECOM100 cannot send a regular TCP packet. The only TCP packet that he can send is Modbus TCP. Otherwise the RBE is sent using UDP/IP or IPX (depending on how you have your header configured). Also, the port used is 7070 hex or 28784 decimal.

Also, I sent you an e-mail response (finally!). Sorry such a delay in answering you!