News:

  • June 09, 2026, 01:21:11 PM

Login with username, password and session length

Author Topic: ASCII over tcp or udp  (Read 7325 times)

AustinT

  • Full Member
  • ***
  • Posts: 35
ASCII over tcp or udp
« on: November 11, 2017, 03:53:04 PM »
I have several of the same device that responds to ascii strings .  How could I communicate to these devices from a brx over a network. Will a serial Ethernet converter do the job ?

Thanks

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6158
  • Yes Pinky, Do-more will control the world!
Re: ASCII over tcp or udp
« Reply #1 on: November 11, 2017, 04:33:46 PM »
Let me offer the disclaimer that I haven't used one myself, but was just looking at a couple such devices. They look to be using a TCP port like a terminal, so yes, it should just be a matter of opening a TCP connection (Do-more TCP Client device) to it with OPENTCP and then using STREAMIN/STREAMOUT to read and write.
"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

AustinT

  • Full Member
  • ***
  • Posts: 35
Re: ASCII over tcp or udp
« Reply #2 on: November 12, 2017, 08:02:40 PM »
Tried sending an ascii string over udp with a atc 1000 serial Ethernet converter . Used putty to verify it is working.  Amazing how easy it was to set up with the brx .  Works great

Thank you