<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus serial master on RTE V3 demo</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47c13ce0ef/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47c13ce0ef/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/47c13ce0ef/</id><updated>2020-02-27T13:54:28.514000Z</updated><subtitle>Recent posts to Modbus serial master on RTE V3 demo</subtitle><entry><title>Modbus serial master on RTE V3 demo</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47c13ce0ef/?limit=25#6987" rel="alternate"/><published>2020-02-27T13:54:28.514000Z</published><updated>2020-02-27T13:54:28.514000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.comc277c20ef91de8c99c554989a990ad77b88c2386</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&amp;lt;modbusslavedevicename&amp;gt;.xError to see is there is a communication error.&lt;br/&gt;
&amp;lt;modbusslavedevicename&amp;gt;.xReset to reset the error and start communication again.&lt;br/&gt;
&amp;lt;modbusslavedevicename&amp;gt;.byModbusError gives information about the error.&lt;br/&gt;
In the Modbus library is a Struct "MB_ErrorCodes" which gives you the information about the errors.&amp;lt;/modbusslavedevicename&amp;gt;&amp;lt;/modbusslavedevicename&amp;gt;&amp;lt;/modbusslavedevicename&amp;gt;&lt;/p&gt;
&lt;p&gt;For advanced users:&lt;br/&gt;
Through the menu: Tools=&amp;gt; Options =&amp;gt;Feature sets, you can specify that you don't want to hide System Libraries.&lt;br/&gt;
Here you can see the information of the Struct.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus serial master on RTE V3 demo</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47c13ce0ef/?limit=25#b1a6" rel="alternate"/><published>2020-02-27T13:54:28.311000Z</published><updated>2020-02-27T13:54:28.311000Z</updated><author><name>mikolaj</name><uri>https://forge.codesys.com/u/mikolaj/</uri></author><id>https://forge.codesys.com8a9e1333eeeec4a361d098c18b3ba3bee300984c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thank you a lot!&lt;br/&gt;
Could you please tell me if there's any way to check in the programm the status of the communication with a modbus slave?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus serial master on RTE V3 demo</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47c13ce0ef/?limit=25#b3ed" rel="alternate"/><published>2020-02-27T13:54:27.632000Z</published><updated>2020-02-27T13:54:27.632000Z</updated><author><name>timvh</name><uri>https://forge.codesys.com/u/timvh/</uri></author><id>https://forge.codesys.com49f4e5a61e7e7ea882d13bfe31fabd2741864169</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You don't need a library to access the slaves.&lt;br/&gt;
You only need to add them to your Master (Modbus_COM =&amp;gt; Modbus_Master =&amp;gt; Modbus_Slave(s)).&lt;br/&gt;
In the Slave configuration you can specify the slave address and Modbus Registers you want to read/write.&lt;/p&gt;
&lt;p&gt;PS, for the slaves, automatically implicit variables are created.&lt;br/&gt;
E.g. Modbus_Slave_COM_Port.xError (Modbus_Slave_COM_Port is the name of the slave in the Device Tree).&lt;/p&gt;
&lt;p&gt;Automatically a library will be added, but this is hidden and you don't need it to get communication.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus serial master on RTE V3 demo</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/47c13ce0ef/?limit=25#9dbb" rel="alternate"/><published>2020-02-27T13:54:27.359000Z</published><updated>2020-02-27T13:54:27.359000Z</updated><author><name>mikolaj</name><uri>https://forge.codesys.com/u/mikolaj/</uri></author><id>https://forge.codesys.com7bc905b7a9ce31ec963aebdfaf4fecc7145ad77a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
&lt;a class="" href="http://www.3s-software.com/index.shtml?en_modbus_lib&amp;amp;sitesearchmatch=modbus#sitesearchmatch" rel="nofollow"&gt;http://www.3s-software.com/index.shtml?en_modbus_lib&amp;amp;sitesearchmatch=modbus#sitesearchmatch&lt;/a&gt;   it says, that there's no modbus serial master library at all. Why is it then possible to add a modbus master com port device? Is there something like a demo modbus library that I could test?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>