<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Warnings by using Function Block Serial_Line</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/be9cd256be/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/be9cd256be/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/be9cd256be/</id><updated>2020-02-28T02:46:26.943000Z</updated><subtitle>Recent posts to Warnings by using Function Block Serial_Line</subtitle><entry><title>Warnings by using Function Block Serial_Line</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/be9cd256be/?limit=25#02fe" rel="alternate"/><published>2020-02-28T02:46:26.943000Z</published><updated>2020-02-28T02:46:26.943000Z</updated><author><name>CanBohr</name><uri>https://forge.codesys.com/u/canbohr/</uri></author><id>https://forge.codesys.comdef923acf5320984a2449e84be51b2f90f0361ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo Herr Schwellinger,&lt;/p&gt;
&lt;p&gt;darauf hätte ich bestimmt selber kommen müssen.&lt;br/&gt;
Ich hoffe, Sie nehmen mir meine Unwissenheit nicht übel.&lt;/p&gt;
&lt;p&gt;Vielen Dank für den Hinweis.&lt;/p&gt;
&lt;p&gt;Gruß,&lt;br/&gt;
CanBohr&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Warnings by using Function Block Serial_Line</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/be9cd256be/?limit=25#8155" rel="alternate"/><published>2020-02-28T02:46:25.024000Z</published><updated>2020-02-28T02:46:25.024000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comfdbd0c31a1ec9ccbcef12411581428283ec9e130</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;it is just a warnming so - to get it of it&lt;br/&gt;
INT_TO_UDINT() could be the solution..&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: convert.png" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=2158"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Warnings by using Function Block Serial_Line</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/be9cd256be/?limit=25#5695" rel="alternate"/><published>2020-02-28T02:46:19.632000Z</published><updated>2020-02-28T02:46:19.632000Z</updated><author><name>CanBohr</name><uri>https://forge.codesys.com/u/canbohr/</uri></author><id>https://forge.codesys.com5e050b72e6beb9178025985e1e0d0e3d2abb63e6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hat keiner einen Hinweis für mich, wie ich die Warnungen loswerde?&lt;br/&gt;
Gruß,&lt;br/&gt;
CanBohr&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Warnings by using Function Block Serial_Line</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/be9cd256be/?limit=25#af72" rel="alternate"/><published>2020-02-28T02:46:17.728000Z</published><updated>2020-02-28T02:46:17.728000Z</updated><author><name>CanBohr</name><uri>https://forge.codesys.com/u/canbohr/</uri></author><id>https://forge.codesys.comd2c17d48894656a8620c724a3083f9d35b75dae3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When using the function block Serial_Line from Codesys I get 5 warnings:&lt;/p&gt;
&lt;p&gt;C0195:  Implizite Konvertierung von nicht vorzeichenbehaftetem Datentyp 'STOPBIT' nach vorzeichenbehaftetem Datentyp 'UDINT' : Möglicherweise Verlust des Vorzeichens&lt;br/&gt;
C0195:  Implizite Konvertierung von nicht vorzeichenbehaftetem Datentyp 'PARITY' nach vorzeichenbehaftetem Datentyp 'UDINT' : Möglicherweise Verlust des Vorzeichens&lt;br/&gt;
C0196:  Implizite Konvertierung von nicht vorzeichenbehafteten Datentyp 'UINT' nach vorzeichenbehafteten Datentyp 'INT' : Möglicherweise Verlust des Vorzeichens&lt;br/&gt;
C0195:  Implizite Konvertierung von nicht vorzeichenbehaftetem Datentyp 'SINT' nach vorzeichenbehaftetem Datentyp 'UINT' : Möglicherweise Verlust des Vorzeichens&lt;br/&gt;
C0196:  Implizite Konvertierung von nicht vorzeichenbehafteten Datentyp 'UINT' nach vorzeichenbehafteten Datentyp 'INT' : Möglicherweise Verlust des Vorzeichens&lt;/p&gt;
&lt;p&gt;As far as I can see, the problem is caused by the CAA_SerialCom Library. In SerialCom the Stopbt is defined as a INT, whereas the Parameters are defined as UDINT in the same library.&lt;/p&gt;
&lt;p&gt;Is there a way to modify the Library to get rid of these warnings?&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br/&gt;
CanBohr&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Codesys function block Serial_Line.jpg" rel="nofollow" src="https://forum-de.codesys.com//download/file.php?id=2154"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>