<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Connect to telnet server. Where to start?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3cc88d329b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3cc88d329b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/3cc88d329b/</id><updated>2022-06-23T11:15:03.149000Z</updated><subtitle>Recent posts to Connect to telnet server. Where to start?</subtitle><entry><title>Connect to telnet server. Where to start?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3cc88d329b/?limit=25#0712" rel="alternate"/><published>2022-06-23T11:15:03.149000Z</published><updated>2022-06-23T11:15:03.149000Z</updated><author><name>rabaggett</name><uri>https://forge.codesys.com/u/rabaggett/</uri></author><id>https://forge.codesys.comb3d2291d6546ad786baab4ea4e9de0923c557b7d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;eschwellinger,&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;I have looked at (and installed) the OSCAT library. Lots of good TELNET server-side stuff there.&lt;/p&gt;
&lt;p&gt;I have resigned myself to hacking something together. My needs are so simple that doing so will probably work..&lt;/p&gt;
&lt;p&gt;That suggestion to look at the OSCAT source code will probably be most helpful!&lt;/p&gt;
&lt;p&gt;Perhaps I am overthinking this and it really is as simple as throwing the text of the command into a TCP connection directed at port 23 of the device. Then looking for a plain text response... The terminal control protocol starts to get complicated, but I don't think I need any of that stuff..&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Connect to telnet server. Where to start?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3cc88d329b/?limit=25#4b46" rel="alternate"/><published>2022-06-22T05:54:49.404000Z</published><updated>2022-06-22T05:54:49.404000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comb976c66c33d36d802b5c699319e59f7c4657b9e5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;not sure but I would try - Oscat network library in the CODESYS Store - the lib is in source so you could check how it works.&lt;br/&gt;
&lt;a href="https://store.codesys.com/de/oscat-network.html" rel="nofollow"&gt;https://store.codesys.com/de/oscat-network.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Connect to telnet server. Where to start?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/3cc88d329b/?limit=25#b2d0" rel="alternate"/><published>2022-06-21T16:16:41.998000Z</published><updated>2022-06-21T16:16:41.998000Z</updated><author><name>rabaggett</name><uri>https://forge.codesys.com/u/rabaggett/</uri></author><id>https://forge.codesys.com0e1bd94a1f3a9806b5d7afc8dde8219cac5f9a43</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I think I may have had this in the wrong forum. Apologies for the duplicate post.&lt;/p&gt;
&lt;p&gt;I am trying to control a couple of devices from a WAGO PFC100. Namely a Siglent SSG3021 and a SEGGER flasher hub.&lt;/p&gt;
&lt;p&gt;They both have TELNET servers available, and I would like to control them this way. It seems simple.. Everything I need is available with simple and direct commands and their equally simple responses.&lt;/p&gt;
&lt;p&gt;How do I implement a TELNET &lt;strong&gt;client&lt;/strong&gt; in Codesys. I've looked at OSCAT, It looks very simple to do nice things via TELNET, but everything there seems server-side and I do not see an example for connecting TO a server.&lt;/p&gt;
&lt;p&gt;My ignorance of the WAGO plc and Codesys is profound.. although I am proficient with many other PLCs. Perhaps it is so simple that it is not mentioned?&lt;/p&gt;
&lt;p&gt;How do I go about connecting to and interacting with a TELNET server from Codesys?&lt;/p&gt;
&lt;p&gt;Even a reference to some documentation on this matter would be helpful.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>