News:

  • June 09, 2026, 09:25:17 AM

Login with username, password and session length

Author Topic: H0-ECOM100 raw port  (Read 14252 times)

ibcsystems

  • Newbie
  • *
  • Posts: 2
H0-ECOM100 raw port
« 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.

MikeS

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 264
    • Host Engineering, Inc.
Re: H0-ECOM100 raw port
« 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.
Good design costs a lot. Bad design costs even more.

ibcsystems

  • Newbie
  • *
  • Posts: 2
Re: H0-ECOM100 raw port
« 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?

MikeS

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 264
    • Host Engineering, Inc.
Re: H0-ECOM100 raw port
« 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.
Good design costs a lot. Bad design costs even more.

Greg

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