Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 21, 2012, 07:03:21 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: RBE/ECOM100 problems  (Read 971 times)
Elecnut33
Newbie
*
Posts: 8


« 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
Logged
Elecnut33
Newbie
*
Posts: 8


« 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?
Logged
Greg
HOS†ech
Host Moderator
*****
Posts: 320


Hmmm...


WWW
« 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!
Logged

"You have to believe in free will. You have no choice." -Isaac Bashevis-Singer
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM