News:

  • June 28, 2026, 07:19:09 PM

Login with username, password and session length

Author Topic: Do-More Ethernet  (Read 9599 times)

JeffS

  • Hero Member
  • *****
  • Posts: 113
Do-More Ethernet
« on: September 13, 2013, 10:10:35 AM »
I have an application where I need to be able to send raw ASCII data to a specific port on a computer that is hooked into the same network as the Do-More PLC.  This communication was described to me as raw TCP.

Is this something that the Do-More can accomplish?

Thanks,

Jeff

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: Do-More Ethernet
« Reply #1 on: September 13, 2013, 11:02:01 AM »
Should work fine.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

MikeS

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 265
    • Host Engineering, Inc.
Re: Do-More Ethernet
« Reply #2 on: September 13, 2013, 11:18:17 AM »
You'll need to create a TCPClient device in the System Configuration that specifies the TCP Port Number to use

look at the help topic for OPENTCP

if you need to receive data back from that TCP connection look at TCPLISTEN
Good design costs a lot. Bad design costs even more.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6164
  • Yes Pinky, Do-more will control the world!
Re: Do-More Ethernet
« Reply #3 on: September 13, 2013, 11:24:57 AM »
if you need to receive data back from that TCP connection look at TCPLISTEN

...which is not to say that you would use the TCPLISTEN instruction to do so, you will use the STREAMIN, but I believe that information is covered in the help for TCPLISTEN.
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO