<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Rs-422 Live Data manipulation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc1872a137/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc1872a137/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/dc1872a137/</id><updated>2022-01-20T11:42:42.442000Z</updated><subtitle>Recent posts to Rs-422 Live Data manipulation</subtitle><entry><title>Rs-422 Live Data manipulation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc1872a137/?limit=25#3f42" rel="alternate"/><published>2022-01-20T11:42:42.442000Z</published><updated>2022-01-20T11:42:42.442000Z</updated><author><name>matthijsvs</name><uri>https://forge.codesys.com/u/matthijsvs/</uri></author><id>https://forge.codesys.com7f624ac7562a07393012ab07d95ef7319bc7a8ad</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The Stop bit / Parity bit are only used by hardware and not read into the STRING.&lt;br/&gt;
You need to find a patern (for example, start byte is always x or has x bit set?) and create a counter that is reset on each match&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Rs-422 Live Data manipulation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc1872a137/?limit=25#6f51" rel="alternate"/><published>2022-01-20T10:24:34.999000Z</published><updated>2022-01-20T10:24:34.999000Z</updated><author><name>mrcoding</name><uri>https://forge.codesys.com/u/mrcoding/</uri></author><id>https://forge.codesys.comd1ca537c57d3024a29ff30fe5e01ae6e0370c1e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It is an RS-422 protocol which consists of &lt;br/&gt;
- 3 consecutive bytes in a sub-frame/package.&lt;br/&gt;
- baud 9600&lt;br/&gt;
- odd parity&lt;br/&gt;
- 1 stop bit&lt;/p&gt;
&lt;p&gt;This data is coming in as Ascii characters.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Rs-422 Live Data manipulation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc1872a137/?limit=25#2eb9" rel="alternate"/><published>2022-01-20T08:25:18.735000Z</published><updated>2022-01-20T08:25:18.735000Z</updated><author><name>matthijsvs</name><uri>https://forge.codesys.com/u/matthijsvs/</uri></author><id>https://forge.codesys.com7eab12a18b0ff00a440ce896e3eb5d3aa9070015</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Which protocol do you use? &lt;br/&gt;
packages are usually separated by a pause or a special character.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Rs-422 Live Data manipulation</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/dc1872a137/?limit=25#9873" rel="alternate"/><published>2022-01-16T19:22:39.744000Z</published><updated>2022-01-16T19:22:39.744000Z</updated><author><name>mrcoding</name><uri>https://forge.codesys.com/u/mrcoding/</uri></author><id>https://forge.codesys.com5cb93319cc32ae7f302dd7bd8345f1ad4de3758a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello everyone,&lt;/p&gt;
&lt;p&gt;This is my first time on this forum and I'm new to the world of codesys. &lt;/p&gt;
&lt;p&gt;I am currently working on a project which uses RS-422 protocol. The plan is to read the data off of the &lt;br/&gt;
RS-422 protocol and manipulate the live data.&lt;/p&gt;
&lt;p&gt;I am having trouble with dealing with live data. There is data coming through and put into a buffer and  it is observed on a STRING output.&lt;/p&gt;
&lt;p&gt;I would like help/advice on whether it is possible to detect a start bit and an end bit? If this is possible, then how can I pick out certain packages and store them in different buffers?&lt;/p&gt;
&lt;p&gt;Thank you for reading post, I hope I can get a solution soon.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>