<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Are Modbus Holding Registers writable from PLC?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/90d10412d7/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/90d10412d7/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/90d10412d7/</id><updated>2021-11-08T15:22:11.901000Z</updated><subtitle>Recent posts to Are Modbus Holding Registers writable from PLC?</subtitle><entry><title>Are Modbus Holding Registers writable from PLC?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/90d10412d7/?limit=25#e441" rel="alternate"/><published>2021-11-08T15:22:11.901000Z</published><updated>2021-11-08T15:22:11.901000Z</updated><author><name>Ulvis</name><uri>https://forge.codesys.com/u/ulvis/</uri></author><id>https://forge.codesys.com4fb0490a11d5a8a2a753c1499567b4ea11f1f6fb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes, Indeed. The problem was that the register items were still of type %IWx, i.e. read only registers.&lt;br/&gt;
Only after deleting the mapped variables and fiddeling with the number of registers setting in the 'General' tab, did the type change to %QWx, for writable registers. The user-program can now clear the received registers after processing.&lt;br/&gt;
&lt;a class="user-mention" href="/u/i-campbell/"&gt;@i-campbell&lt;/a&gt;, Thanx.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Are Modbus Holding Registers writable from PLC?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/90d10412d7/?limit=25#5462" rel="alternate"/><published>2021-11-04T18:57:13.141000Z</published><updated>2021-11-04T18:57:13.141000Z</updated><author><name>Ulvis</name><uri>https://forge.codesys.com/u/ulvis/</uri></author><id>https://forge.codesys.com4182e210a3d59d24baeccbe8a2dd5459c486cda4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;That has been tried, but I will try again.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Are Modbus Holding Registers writable from PLC?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/90d10412d7/?limit=25#8657" rel="alternate"/><published>2021-11-04T18:50:41.106000Z</published><updated>2021-11-04T18:50:41.106000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com72035c32d5de66da83ab28cef7392ebb2ab27bad</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There is a checkbox on the General Tab next to holding registers named "Writeable", which makes them writeable by the PLC.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://help.codesys.com/webapp/_mod_edt_slave_device_com;product=core_modbus_configuration_editor;version=3.5.17.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_mod_edt_slave_device_com;product=core_modbus_configuration_editor;version=3.5.17.0&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Are Modbus Holding Registers writable from PLC?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/90d10412d7/?limit=25#a8be" rel="alternate"/><published>2021-11-04T16:28:41.127000Z</published><updated>2021-11-04T16:28:41.127000Z</updated><author><name>Ulvis</name><uri>https://forge.codesys.com/u/ulvis/</uri></author><id>https://forge.codesys.comb6dab6ad4c4e21002c4eb07a2bd6a490fecf7a80</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It appears that Holding Registers are writable only from Modbus. These are then mapped to Codesys PLC variables. Is this mapping one-way only?&lt;br/&gt;
For values updatable by PLC code I have used Input Registers.&lt;br/&gt;
Is this by design?&lt;br/&gt;
i.e. Scada (client) --&amp;gt; Modbus --&amp;gt; Holding Registers --&amp;gt; PLC (server)&lt;br/&gt;
and Scada (client) &amp;lt;-- Modbus &amp;lt;-- Input Registers &amp;lt;-- PLC (server)&lt;/p&gt;
&lt;p&gt;Can Holding Registers be cleared in the PLC by PLC code? E.g. to clear a recieved command word after execution of local code.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>