News:

  • May 01, 2026, 03:30:16 PM

Login with username, password and session length

Author Topic: RBE/ECOM100 problems  (Read 25529 times)

Elecnut33

  • Newbie
  • *
  • Posts: 8
RBE/ECOM100 problems
« 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

Elecnut33

  • Newbie
  • *
  • Posts: 8
Re: RBE/ECOM100 problems
« Reply #1 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?

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 702
  • Hmmm...
    • Host Engineering, Inc.
Re: RBE/ECOM100 problems
« Reply #2 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!
There are two types of people in the world; those that can extrapolate from incomplete data sets.