<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to M241 RTU modbus slave address</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/21e017b735/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/21e017b735/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/21e017b735/</id><updated>2022-05-04T14:31:27.907000Z</updated><subtitle>Recent posts to M241 RTU modbus slave address</subtitle><entry><title>M241 RTU modbus slave address</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/21e017b735/?limit=25#e2b3" rel="alternate"/><published>2022-05-04T14:31:27.907000Z</published><updated>2022-05-04T14:31:27.907000Z</updated><author><name>bruno-roth</name><uri>https://forge.codesys.com/u/bruno-roth/</uri></author><id>https://forge.codesys.com04abe3e6e350210591f2168818cf1695fd26b801</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://product-help.schneider-electric.com/Machine%20Expert/V2.0/en/m2xxcom/m2xxcom/Function_Block_Descriptions/Function_Block_Descriptions-3.htm#IX_READ_VAR" rel="nofollow"&gt;https://product-help.schneider-electric.com/Machine%20Expert/V2.0/en/m2xxcom/m2xxcom/Function_Block_Descriptions/Function_Block_Descriptions-3.htm#IX_READ_VAR&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The object datatype for the addressing is MW and then direct use 1296 for the register address. You could also use a Modbus_ioscanner and read direct from configurator like this:  &lt;/p&gt;
&lt;p&gt;&lt;img src="./attachment/attachment.png" width="50%"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>M241 RTU modbus slave address</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/21e017b735/?limit=50#4a9d" rel="alternate"/><published>2022-05-04T12:38:52.325000Z</published><updated>2022-05-04T12:38:52.325000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.comda35576dea46b9afe697890aac0cf540110fc674</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Probably Object Type MW, and address 1296.  But Modbus is a bit of a free for all when it comes to addressing and implementation, so you might have to try some different things.  It could be Object Type IW, or the address could be 1295 if it's zero based.  Or it could be 41295 or 31295 if they implemented it that way. Assign a variable to the inputs so you can experiment with the addressing when you're online until you get the result you're expecting.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>M241 RTU modbus slave address</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/21e017b735/?limit=25#8be0" rel="alternate"/><published>2022-04-29T15:07:27.014000Z</published><updated>2022-04-29T15:07:27.014000Z</updated><author><name>sarunasz</name><uri>https://forge.codesys.com/u/sarunasz/</uri></author><id>https://forge.codesys.com4622e7072d688ce353a181ac21a23308aa73d808</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;What values need to write to ObjType and FirstObj of function block "Read_var" in order to  I  will read modbus address 1296&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>M241 RTU modbus slave address</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/21e017b735/?limit=50#67fd" rel="alternate"/><published>2022-04-28T20:30:07.576000Z</published><updated>2022-04-28T20:30:07.576000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.com749db36c35248a4afd491f8d4bab81a3cb85e147</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://product-help.schneider-electric.com/Machine%20Expert/V1.1/en/m2xxcom/m2xxcom/Communication_Functions_on_Controllers/Communication_Functions_on_Controllers-3.htm#XREF_D_RU_0004860_1" rel="nofollow"&gt;https://product-help.schneider-electric.com/Machine%20Expert/V1.1/en/m2xxcom/m2xxcom/Communication_Functions_on_Controllers/Communication_Functions_on_Controllers-3.htm#XREF_D_RU_0004860_1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;When the communication error code is FE hex, the OperationErrorCodes enumerated type contains the protocol-specific error detection code. (Refer to your specific protocol’s error detection codes.)&lt;/p&gt;
&lt;p&gt;So, the OperError code 3 is a Modbus exception code 3, "Illegal Data Value".  Which is strange, because you're reading a value, not writing, so the only value that could be incorrect is the Quantity.  I have seen devices that only allow you to read multiple registers at the same time.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>M241 RTU modbus slave address</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/21e017b735/?limit=25#755b" rel="alternate"/><published>2022-04-28T14:55:12.635000Z</published><updated>2022-04-28T14:55:12.635000Z</updated><author><name>sarunasz</name><uri>https://forge.codesys.com/u/sarunasz/</uri></author><id>https://forge.codesys.com2cd29b66fdef62fa1f5ae34a1c2340b0d95b6f88</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
Somebody have suggest how need read data from slave using modbus RTU. I am using M241 PLC and read_var function. The picture you can see my PLC program. The data of slave is placed 3394 address. Then I try to read, always "READ_VAR" function get "CommError" which number is 254 that means "The detected operation error contains protocol- specific code"  and "OpenError" which number is 3 that means I don't know. How need read from slave data, which modbuss adress is 3394 using Read_var function?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>