<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Serial communication library and Modbus Rtu library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e899c48dc/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e899c48dc/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1e899c48dc/</id><updated>2020-02-27T13:48:00.665000Z</updated><subtitle>Recent posts to Serial communication library and Modbus Rtu library</subtitle><entry><title>Serial communication library and Modbus Rtu library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e899c48dc/?limit=25#cd43" rel="alternate"/><published>2020-02-27T13:48:00.665000Z</published><updated>2020-02-27T13:48:00.665000Z</updated><author><name>Kim</name><uri>https://forge.codesys.com/u/kim/</uri></author><id>https://forge.codesys.com97a92fe613905fcd9f03390e9a365faeefd47340</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Further information to Paul/Codesys:&lt;/p&gt;
&lt;p&gt;Paul is running Codesys on a Beijer Electronics TxB SoftControl master, runtime v3.5.7.10.&lt;br/&gt;
I am able to reproduce the error in my office. I get Modbus going, all is fine, then I open a completely different port using the COM.Open block. This causes the Modbus to fail after a certain time, always around 55s.&lt;/p&gt;
&lt;p&gt;However, if I try using a PC with Codesys RTE v3.5.9.40 or a Beijer Electronics X2 Control, runtime v3.5.9.50, then everything works fine.&lt;br/&gt;
So... the error seems to be related to either Codesys SP7 or the TxB SoftControl itself.&lt;/p&gt;
&lt;p&gt;Request to Codesys:&lt;br/&gt;
Please check JIRA logs for anything related to this between SP7 Patch 1 and SP9 Patch 4 and Beijer Electronics will continue investigating how ports are handled by the old TxB master.&lt;/p&gt;
&lt;p&gt;Kim Hansen&lt;br/&gt;
Beijer Electronics Products AB&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Serial communication library and Modbus Rtu library</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1e899c48dc/?limit=25#5298" rel="alternate"/><published>2020-02-27T13:48:00.592000Z</published><updated>2020-02-27T13:48:00.592000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.com0c104ae5d346791cf8cbdb97b9f1aafe89be4abb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; ph0010421&lt;/p&gt;
&lt;p&gt;Hello&lt;br/&gt;
Rt 3.5.7.10&lt;br/&gt;
I can use the Modbus RTU library without problem to talk to Modbus slaves.&lt;br/&gt;
I have now added the serial communication library to use another serial port (not modbus).&lt;br/&gt;
When I open this port, the modbus dies after 1 minute (error 162, CRC error)&lt;br/&gt;
If I don't open the new port then the modbus comms is happy for 'ever'.&lt;br/&gt;
Any suggestions?&lt;br/&gt;
Paul&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>