<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Serial Communication On the Festo CECC-S(RS232)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7608c4e54/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7608c4e54/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/b7608c4e54/</id><updated>2020-02-27T13:49:18.127000Z</updated><subtitle>Recent posts to Serial Communication On the Festo CECC-S(RS232)</subtitle><entry><title>Serial Communication On the Festo CECC-S(RS232)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7608c4e54/?limit=25#a69f" rel="alternate"/><published>2020-02-27T13:49:18.127000Z</published><updated>2020-02-27T13:49:18.127000Z</updated><author><name>taneli</name><uri>https://forge.codesys.com/u/taneli/</uri></author><id>https://forge.codesys.comfae43d1dc3355e1b7e42a68d5fdf5648d6e6d891</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This is actually quite simple:&lt;/p&gt;
&lt;p&gt;The system library SysCom23 is the one to use.&lt;br/&gt;
It includes the following POU's to do the communication.&lt;br/&gt;
SysComSettings - the settings are introduced to the block as a specific struct&lt;br/&gt;
SysComOpen - opens the port &lt;br/&gt;
SysComRead - reads from the RX pin&lt;br/&gt;
SysComWrite - writes to the TX pin&lt;br/&gt;
SysComClose - Closes the port&lt;/p&gt;
&lt;p&gt;The most simple way is to make a sequence that first introduces the settings, then opens the port, writes or reads and closes the port.&lt;br/&gt;
There is no need for special HW-configuration. The first RS232 on the left is COM1 and the right one is COM2 as default.&lt;br/&gt;
The easiest way to test the COM-port is to make a direct connection from COM1 TX to COM2 RX.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Serial Communication On the Festo CECC-S(RS232)</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/b7608c4e54/?limit=25#16cd" rel="alternate"/><published>2020-02-27T13:49:18.036000Z</published><updated>2020-02-27T13:49:18.036000Z</updated><author><name>Sean Mabena</name><uri>https://forge.codesys.com/u/sean-mabena/</uri></author><id>https://forge.codesys.coma14d8abc43feea81e8ef86f4d512b3c1b511c45a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;h2 id="i-would-like-to-read-some-data-from-a-serial-barcode-scanner-using-the-cecc-s-on-the-rs232-serial-ports-i-am-however-struggling-to-access-the-rx-and-tx-pins-in-the-codeysys-software-the-only-info-i-receive-from-the-help-function-is-the-libraries-that-i-shoulld-use-could-anyone-please-be-of-assistance-if-you-have-knowlegde-on-how-to-solve-the-problem"&gt;I would like to read some data from a serial barcode scanner using the CECC-S, on the RS232 serial ports. I am however Struggling to access the RX and TX pins in the codeysys software. The only info  i receive from the help function is the libraries that i shoulld use. Could anyone please be of assistance if you have knowlegde on how to solve the problem.&lt;/h2&gt;&lt;/div&gt;</summary></entry></feed>