<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to RasPi as a modbus slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/</id><updated>2020-02-27T17:36:20.879000Z</updated><subtitle>Recent posts to RasPi as a modbus slave</subtitle><entry><title>RasPi as a modbus slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/?limit=25#8ff3" rel="alternate"/><published>2020-02-27T17:36:20.879000Z</published><updated>2020-02-27T17:36:20.879000Z</updated><author><name>Irden</name><uri>https://forge.codesys.com/u/irden/</uri></author><id>https://forge.codesys.comcfd5ab316aee092751db21083698a4216a4d27e0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a problem with ModbusTCP_Slave_Device on RPi3 - during program execution there is always message "The bus is not running".&lt;br/&gt;
How can I turn ModbusTCP_Slave on?&lt;/p&gt;
&lt;p&gt;Runtime version 3.5.10&lt;br/&gt;
Version of Ethernet and ModbusTCP_Slave_Device 3.5.10.0 too.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: scr1.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2526"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RasPi as a modbus slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/?limit=25#c4d5" rel="alternate"/><published>2020-02-27T17:36:19.873000Z</published><updated>2020-02-27T17:36:19.873000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com3817306015241391a8e11b89bdf447d54f0b8db8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
are you using wago 8203 with CODESYS V3 or V2.3?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RasPi as a modbus slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/?limit=25#9693" rel="alternate"/><published>2020-02-27T17:36:18.865000Z</published><updated>2020-02-27T17:36:18.865000Z</updated><author><name>d.langhojer</name><uri>https://forge.codesys.com/u/d-langhojer/</uri></author><id>https://forge.codesys.coma005c858624f5014947d9f8592ae013b6cbe5e47</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;I have a wago 8203 as unit for my gate and now i want to use the raspi for the buttons to control it from the house.&lt;/p&gt;
&lt;p&gt;but I gave up because I don't understand how the thing with the registers works.&lt;br/&gt;
Does anyone somehow have a (both) project where the raspi simpli gets 4 outputs from variables out of an working wago project and where the raspi sends 4 inputs to the wago project?&lt;/p&gt;
&lt;p&gt;I just want my hardware buttons be able to be lightet when the gate is not closed.&lt;/p&gt;
&lt;p&gt;AND!: I don't know why this way with 4 inputs and 4 outputs isn't used anyway as remote-buttons over ethernet.....&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RasPi as a modbus slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/?limit=25#8f08" rel="alternate"/><published>2020-02-27T17:36:16.031000Z</published><updated>2020-02-27T17:36:16.031000Z</updated><author><name>svantuil</name><uri>https://forge.codesys.com/u/svantuil/</uri></author><id>https://forge.codesys.com4bce35c10991b376accdf916b6843a07b5ebc4fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Days of pulling out my hair, over a checkbox. &lt;br/&gt;
Thats fixed it.&lt;/p&gt;
&lt;p&gt;Thank you for your help Edwin.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RasPi as a modbus slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/?limit=25#7e03" rel="alternate"/><published>2020-02-27T17:36:15.024000Z</published><updated>2020-02-27T17:36:15.024000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comfd3dcd4261da52ef168790adb8b8e5883db0c2f2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;you need to increase or remove the timeout see screenshot.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ModbusSlaveTimeout.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1010"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>RasPi as a modbus slave</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/08fd255a53/?limit=25#0bd9" rel="alternate"/><published>2020-02-27T17:36:12.215000Z</published><updated>2020-02-27T17:36:12.215000Z</updated><author><name>svantuil</name><uri>https://forge.codesys.com/u/svantuil/</uri></author><id>https://forge.codesys.comd4022c0311bf20106210346e8e2ae15548bc58eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am currently attempting to connect Ignition SCADA OPC server to the Pi as a modbus tcp slave. I can read the registers beautifully, however when I write to a register, it resets itself after about a second.&lt;br/&gt;
I have tried modbus slave simulators, other devices, and a Wago head unit running CoDeSys 2.3, and they all work correctly.&lt;/p&gt;
&lt;p&gt;I have tried running with a blank program to verify that the POU wasnt doing something silly.&lt;br/&gt;
Is there any settings I am missing in 3.5 SP6 that could be resetting the values?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>