Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: JeffS on September 13, 2013, 10:10:35 AM

Title: Do-More Ethernet
Post by: JeffS 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
Title: Re: Do-More Ethernet
Post by: plcnut on September 13, 2013, 11:02:01 AM
Should work fine.
Title: Re: Do-More Ethernet
Post by: MikeS 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
Title: Re: Do-More Ethernet
Post by: BobO 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.