<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Read/Write Modbus register from Scada/HMI</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51e10c54cf/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51e10c54cf/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/51e10c54cf/</id><updated>2020-07-08T15:31:48.084000Z</updated><subtitle>Recent posts to Read/Write Modbus register from Scada/HMI</subtitle><entry><title>Read/Write Modbus register from Scada/HMI</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51e10c54cf/?limit=25#b476" rel="alternate"/><published>2020-07-08T15:31:48.084000Z</published><updated>2020-07-08T15:31:48.084000Z</updated><author><name>morberis</name><uri>https://forge.codesys.com/u/morberis/</uri></author><id>https://forge.codesys.com2c3dcb00c54a291e4e89e61ab7dc15b40f752f65</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sorry I'm a bit confused, entirely on my end. Do you mean writing a variable to a channel without using the modbus function codes?&lt;/p&gt;
&lt;p&gt;As in instead of writing register 100 with function code 6 you want to send 6x0100 or something like that? I'm not sure if I'm correct about it being 6x0100 so I apologize if I'm incorrect.&lt;/p&gt;
&lt;p&gt;I honestly don't know. Try looking at the IoDrvModbus library. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://help.codesys.com/webapp/_mod_f_libraries;product=core_modbus_configuration_editor;version=3.5.15.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_mod_f_libraries;product=core_modbus_configuration_editor;version=3.5.15.0&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Read/Write Modbus register from Scada/HMI</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51e10c54cf/?limit=25#1a85" rel="alternate"/><published>2020-07-08T09:58:32.937000Z</published><updated>2020-07-08T09:58:32.937000Z</updated><author><name>johant</name><uri>https://forge.codesys.com/u/johant/</uri></author><id>https://forge.codesys.com8be39a0f99a8d6134f32084f1d570342c520f752</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
I am working on a Project that consists on controlling IAI axis via MODBUS RTU with a Raspberry pi based on codesys, and I need some support. I would like to know if there is any function to write variable´s values directly in modbus communication channels. Instead of linking them in the Reading and writing channels, I want to know if there is any function to write these variable´s values in the communication channels automatically.&lt;br/&gt;
I will be waiting for your answer.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Read/Write Modbus register from Scada/HMI</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51e10c54cf/?limit=25#6508" rel="alternate"/><published>2020-02-27T13:50:53.139000Z</published><updated>2020-02-27T13:50:53.139000Z</updated><author><name>dFx</name><uri>https://forge.codesys.com/u/dfx/</uri></author><id>https://forge.codesys.com6390456cc538018eab6d6b376d93f3f511170c02</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If your scada dont cyclically writes, it's still possible. (This implies your plc supports modbus RTU slave or modbus TCP server)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Read/Write Modbus register from Scada/HMI</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/51e10c54cf/?limit=25#e0b9" rel="alternate"/><published>2020-02-27T13:50:52.994000Z</published><updated>2020-02-27T13:50:52.994000Z</updated><author><name>TiakTiak</name><uri>https://forge.codesys.com/u/tiaktiak/</uri></author><id>https://forge.codesys.comf5722155598623defb1b73b43bf7e73ec4b2437a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Everyone&lt;/p&gt;
&lt;p&gt;In CodeSys 2.x it was possible to just to declare a variable like this. PLCTag AT %MW0 :INT; (&lt;em&gt; Variable Int modbus addr 12288&lt;/em&gt;) &lt;br/&gt;
Then it was possible to access this variable from a Scada/HMI via Modbus. &lt;br/&gt;
If a counter in the controller is counting on PLCTag register, it was possible to read that value in the Scada/HMI but also possible to change from the SCADA/HMI side.&lt;/p&gt;
&lt;p&gt;Now in CodeSys 3.x it seems that this is not possible anymore. CAN THAT really be true???&lt;br/&gt;
Thx&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>