<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Understanding Modbus adressing in e!COCKPIT</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/135f0233f6/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/135f0233f6/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/135f0233f6/</id><updated>2020-02-27T14:33:16.853000Z</updated><subtitle>Recent posts to Understanding Modbus adressing in e!COCKPIT</subtitle><entry><title>Understanding Modbus adressing in e!COCKPIT</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/135f0233f6/?limit=25#a239" rel="alternate"/><published>2020-02-27T14:33:16.853000Z</published><updated>2020-02-27T14:33:16.853000Z</updated><author><name>somlioy</name><uri>https://forge.codesys.com/u/somlioy/</uri></author><id>https://forge.codesys.com55f33362a00d905f455af1d201190e2dc2955fc0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yeah, seems to work fine when I'm not using the offset field. Checking array-box enables me to define length after defined address.&lt;/p&gt;
&lt;p&gt;But how do you do it when writing to control words with function code 16? I mean do you have to reset the bits manually?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Understanding Modbus adressing in e!COCKPIT</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/135f0233f6/?limit=25#27e4" rel="alternate"/><published>2020-02-27T14:33:15.467000Z</published><updated>2020-02-27T14:33:15.467000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com0342e2bb2e8a13444db3623ae49a192803bba864</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I have never worked with Wagos e!COCKPIT, but usually when we define a Modbus communication we define the address of the first variable (in your exemple 500) to read and the number of variables to read.&lt;/p&gt;
&lt;p&gt;Generally, the address of the first variable can be:&lt;br/&gt;
- the number of the variable, for example for% MW100, the address will be 100. This is the case with some PLC.&lt;br/&gt;
- User-defined in slave configuration (example with Raspberry Pi).&lt;/p&gt;
&lt;p&gt;Hoping this helps you&lt;/p&gt;
&lt;p&gt;Best regard.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Understanding Modbus adressing in e!COCKPIT</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/135f0233f6/?limit=25#0c82" rel="alternate"/><published>2020-02-27T14:33:14.978000Z</published><updated>2020-02-27T14:33:14.978000Z</updated><author><name>somlioy</name><uri>https://forge.codesys.com/u/somlioy/</uri></author><id>https://forge.codesys.com5ba182e1de14b603a764720e5c96b3ceadb970de</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Going to set up some generic modbus registers in Wagos e!COCKPIT. The device I'm connecting to has a table that specifies data with "function code 4h" and a table with addresses from 500, 501, 502 and onwards.&lt;/p&gt;
&lt;p&gt;In e!COCKPIT when I create a new generic modbus variable I can set function code "ReadInputRegisters (FC 4)", and also a number in "Register" and "Offset".&lt;br/&gt;
What do I put in Register and Offset in this case?&lt;/p&gt;
&lt;p&gt;I dont have the equipment so I can't do any testing yet.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Skjermbilde (4).png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3779"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>