<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Adding a different brand module to existing modbus</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/29316f6ae4/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/29316f6ae4/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/29316f6ae4/</id><updated>2020-02-27T18:57:00.481000Z</updated><subtitle>Recent posts to Adding a different brand module to existing modbus</subtitle><entry><title>Adding a different brand module to existing modbus</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/29316f6ae4/?limit=25#ac53" rel="alternate"/><published>2020-02-27T18:57:00.481000Z</published><updated>2020-02-27T18:57:00.481000Z</updated><author><name>Mohd Faisal</name><uri>https://forge.codesys.com/u/mohd-faisal/</uri></author><id>https://forge.codesys.comed4b62460366246bb51ad5e4db844d417d756205</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;I am also having the same problem using the Overdigit WP240 PLC. I am trying to connect to an HMI (Wecon) and also remote IO (Yotta Control) but unsuccessful. I got the same result which is 130 (timeout during master reception).&lt;br/&gt;
May I know did you find the solution? Do you mind sharing it?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Adding a different brand module to existing modbus</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/29316f6ae4/?limit=25#c4f4" rel="alternate"/><published>2020-02-27T18:56:59.301000Z</published><updated>2020-02-27T18:56:59.301000Z</updated><author><name>HobbyCoder</name><uri>https://forge.codesys.com/u/hobbycoder/</uri></author><id>https://forge.codesys.com91cede0bc56cb7f652a8c7f4b18cc4ac73562f7e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi everybody.&lt;br/&gt;
I'm new here and new to working in CoDeSys so I'm running into a few problems. Mostly I can solve them by googeling around but this one has me locked for days so I hope someone here can help me.&lt;/p&gt;
&lt;p&gt;I'm working on an Overdigit WP240 PLC with CoDeSys 2.3 and I have 2 Overdigit IO modules connected on the Modbus. These were easy to configure in the 'Recources' tab under 'PLC Configuration'. I added a Modbus Master and then I can use the pulldown 'Append Subelement' to add a module.&lt;br/&gt;
Obviously, only the Overdigit modules are listed there but now I need a 0-10V output, which Overdigit does not sell. So I bought a Renu FIOA-0402-U Modbus module and I'm now struggeling to add it.&lt;br/&gt;
I did configure the RENU module to the correct baudrate, gave it a unique modbus address and connected it properly to the Modbus. I can also see the 'comm' light flashing on the module because data is transmitted over the modbus to and from the other modules.&lt;/p&gt;
&lt;p&gt;Overdigit has included the MODBUS_lib.lib library and this includes the function 'MB_RTU_Wr_Single_Reg'&lt;br/&gt;
The manual of the Renu IO module states that the 'MODBUS Tag.' for the output that I want to use is '40065' and I configured the Renu module to have Modbus address 5 so the I try:&lt;/p&gt;
&lt;p&gt;MB_RTU_Wr_Single_Reg(Slave_Add := 5, Address := 40065, Value := 1000);&lt;/p&gt;
&lt;p&gt;But this returns value 130, which is an error for 'timeout during master reception'&lt;/p&gt;
&lt;p&gt;To Overdigit IO modules on the modbus work fine. But these are mapped using the PLC configuration and are refreshed by calling a FB called 'MB_RTU_IO_Update'&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>