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


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: H0-ECOM100 raw port  (Read 1031 times)
ibcsystems
Newbie
*
Posts: 2


« on: October 07, 2009, 07:36:45 pm »

Does anyone know how to send (ASCII) data directly to a raw TCP/IP port using a DL-06?
I've tried the 'report by exception' example and that works fine on the PC but not for the device I'm trying to communicate with. Also, there is some additional unwanted data (HAP) that arrives on the PC with the example.
The device also supports HTTP, FTP & telnet; don't know if the ECOM100 can use that instead?

Thanks.
Logged
MikeS
Host Moderator
*****
Posts: 176



WWW
« Reply #1 on: October 08, 2009, 09:18:50 am »

the ecom100 only knows how to converse with a few things - other ecom100s, PCs, Modbus/TCP devices - and there's a protocol built into the ecom100 to do those.

the short answer is there's no way to have the ecom100 send raw data to a TCP port.

the long answer is there's no instruction in the PLC that can be made to handle the transaction required to get the data from the PLC through the ECOM100 to the tcp device. the closest thing is the RBE code you've already tried, but as you've found out, the ecom100 is sending a fully-formed, generic UDP packet, like you send to a PC. And it has our HAP wrapper around the data because you can request an ACK from the target device.
Logged

Good design costs a lot. Bad design costs even more.
ibcsystems
Newbie
*
Posts: 2


« Reply #2 on: October 08, 2009, 01:55:53 pm »

Can the PC initiate a UDP transfer to the DL06?
Or can the PC only reply to an incoming packet?
Logged
MikeS
Host Moderator
*****
Posts: 176



WWW
« Reply #3 on: October 09, 2009, 08:03:09 am »

the PC can use an OPC server (like KEPWare or DSData) to interact with the PLC through the ecom100, or you can use our free Ethernet SDK to write your own application to initiate reads and writes of PLC data.

using the RBE code, you can setup the outgoing (from the PLC) packets to require an ACK from the PC, and you can optionally have the PC send data back to the PLC in the response packet.
Logged

Good design costs a lot. Bad design costs even more.
Greg
HOS†ech
Host Moderator
*****
Posts: 320


Hmmm...


WWW
« Reply #4 on: October 09, 2009, 11:55:45 am »

The protocols supported by the ECOM100 (as well as our other Ethernet products) is shown in this FAQ:

http://www.hosteng.com/FAQFiles/ECOM.htm#FAQ0028
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