Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: Antonio12345 on July 21, 2021, 09:16:22 PM
-
Hello,
I have an application where im using packetsender to send packets of data to Industrial PC, i have to send 2 messages within 1 sec apart
Is it posiible to use a do-more plc do do this? i have to send them to a specific ip address and port with tcp method.
see packet sender example below.
-
Hello,
I have an application where im using packetsender to send packets of data to Industrial PC, i have to send 2 messages within 1 sec apart
Is it posiible to use a do-more plc do do this? i have to send them to a specific ip address and port with tcp method.
see packet sender example below.
Yes, easily.
-
Hello BobO,
Should I use the streamout or pocketout instruction, attached is a copy of the small program,
Should I open a TCP connection every time I send something out? and do i need to close the connection?
Thanks in advance.
-
PACKETOUT is UDP, STREAMOUT is TCP.
You can keep the connection open and send more. When you are done sending, close the connection.
-
Hi BobO,
Thanks for the help, I got it working now!!!!