<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/</id><updated>2020-02-27T15:05:25.643000Z</updated><subtitle>Recent posts to PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</subtitle><entry><title>PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/?limit=25#2719" rel="alternate"/><published>2020-02-27T15:05:25.643000Z</published><updated>2020-02-27T15:05:25.643000Z</updated><author><name>vernon.laurence</name><uri>https://forge.codesys.com/u/vernon-laurence/</uri></author><id>https://forge.codesys.comcf6ed7849b4db19867e6c11747b5d169045aa6ff</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;There seems to be a work around for this. &lt;/p&gt;
&lt;p&gt;Step 1: Create the channel and leave the offset at 0x0000. Click "OK"&lt;/p&gt;
&lt;p&gt;Step 2: Double click on the channel (or select and choose edit). Change the Access Type to any other option. Then set the Offset to "1" and click "OK"&lt;/p&gt;
&lt;p&gt;Step 3: Double click on the channel (or select and choose edit). Change the Access Type back to the original. Then click "OK". &lt;/p&gt;
&lt;p&gt;The offset appears in the base window as 16#0001, but appears in the edit window as "Default". The only difference is you are now able to select "OK" in the edit window. The communications appear to work at offset 1 with this work around.&lt;/p&gt;
&lt;p&gt;@Edwin Schwellinger - Please advise us if and when a permanent fix is found. Thank you&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Picture_3.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4260"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Picture_2.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4259"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Picture_1.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=4258"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/?limit=25#b916" rel="alternate"/><published>2020-02-27T15:05:23.950000Z</published><updated>2020-02-27T15:05:23.950000Z</updated><author><name>embedded</name><uri>https://forge.codesys.com/u/embedded/</uri></author><id>https://forge.codesys.comdf01317b7aa692dfa87257ab7a2bc131dcc1d8d6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Edwin,&lt;/p&gt;
&lt;p&gt;Ok! Thanks for your help.&lt;/p&gt;
&lt;p&gt;BR,&lt;br/&gt;
Thierry&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/?limit=25#a163" rel="alternate"/><published>2020-02-27T15:05:23.338000Z</published><updated>2020-02-27T15:05:23.338000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comc5fbbd32a69a75cc2905f1713e110bb269083493</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;ok now I understand.&lt;/p&gt;
&lt;p&gt;You could write into this field your offset by using for example 0x0010&lt;br/&gt;
this will work without problems.&lt;/p&gt;
&lt;p&gt;Selecting this predefined values does not work , sense of that would be if you customize the modbus slave description.&lt;br/&gt;
(Some how not really finished - will add an bugtracker entry for this)&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/?limit=25#a298" rel="alternate"/><published>2020-02-27T15:05:22.745000Z</published><updated>2020-02-27T15:05:22.745000Z</updated><author><name>embedded</name><uri>https://forge.codesys.com/u/embedded/</uri></author><id>https://forge.codesys.com7d363dfa4ead77437ec0593fbf379ce558c1cda3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;If I add a channel with 0x0010 as offset value, it's Ok!&lt;br/&gt;
The same thing with an offset of 0x0001, it's not Ok,&lt;br/&gt;
in the ModbusChannel window I have "Default"&lt;br/&gt;
in place of my offset (0x0001), and the "OK button" is disabled.&lt;/p&gt;
&lt;p&gt;BR,&lt;br/&gt;
Thierry&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: addcanal.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1556"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/?limit=25#3416" rel="alternate"/><published>2020-02-27T15:05:21.034000Z</published><updated>2020-02-27T15:05:21.034000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comecd6b3d848bcec79fa925365771b86a79bb0e16d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;hm.... here?&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: offset.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1555"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/?limit=25#6776" rel="alternate"/><published>2020-02-27T15:05:20.442000Z</published><updated>2020-02-27T15:05:20.442000Z</updated><author><name>embedded</name><uri>https://forge.codesys.com/u/embedded/</uri></author><id>https://forge.codesys.comb434bc949c2887bc60cd1dced45508c2af957ec7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Edwin,&lt;/p&gt;
&lt;p&gt;Thanks for your answers.&lt;/p&gt;
&lt;p&gt;I want to use the "Function code 6" (Write Single Register).&lt;br/&gt;
Impossible (for me) to add a canal with this function (#6)&lt;br/&gt;
and an "Offset" value to (for example) 0x0001... Very curious!!&lt;/p&gt;
&lt;p&gt;BR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/?limit=25#ff88" rel="alternate"/><published>2020-02-27T15:05:19.814000Z</published><updated>2020-02-27T15:05:19.814000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com521e2374f715c7fdf06f75ee5e8a7e712d729838</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;"C0080: Functionblock 'IoDrvModbusTCP' must be instantiated to be accessed"&lt;br/&gt;
is an precompile error (wrong message from CODESYS),&lt;br/&gt;
this will be solved to 3.5SP8Patch1 (mid February release)&lt;br/&gt;
This has no functional restriction you could download and use your project without any problem.&lt;/p&gt;
&lt;p&gt;According your modbus problem:&lt;br/&gt;
Which functioncode are you using?&lt;br/&gt;
In my case this works see screenshot.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ModbusFCTCode_addChannel.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1552"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>PFC200 &amp; Modbus/Tcp: C0080 error and offset problem</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/2aef6a3e74/?limit=25#d022" rel="alternate"/><published>2020-02-27T15:05:18.102000Z</published><updated>2020-02-27T15:05:18.102000Z</updated><author><name>embedded</name><uri>https://forge.codesys.com/u/embedded/</uri></author><id>https://forge.codesys.com6b41a92bd26766eb2d4b64934fea77d309ebdbd8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1 -&amp;gt; With "CODESYS Control for PFC200 SL, version 3.5.8.0" (and CODESYS V3.5 SP8),&lt;br/&gt;
if I add a modbus/Tcp master and a modbus slave I obtain (see the joined image) twice: &lt;br/&gt;
"&lt;span style="color: #4040FF;"&gt;C0080:  Functionblock 'IoDrvModbusTCP' must be instantiated to be accessed&lt;/span&gt;".&lt;/p&gt;
&lt;p&gt;2 -&amp;gt; Furthermore, when I create a channel (item "Canal esclave Modbus") it is impossible to change/choose the "&lt;span style="color: #4040FF;"&gt;offset&lt;/span&gt;"&lt;br/&gt;
of a modbus channel.&lt;/p&gt;
&lt;p&gt;Please do you have a solution?&lt;/p&gt;
&lt;p&gt;Thanks in advance for your help!&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: ModbusMasterTCP.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1551"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>