<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to ControlWin Modbus slave exceptions</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/2df0599b76/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/2df0599b76/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/2df0599b76/</id><updated>2020-02-27T15:13:56.907000Z</updated><subtitle>Recent posts to ControlWin Modbus slave exceptions</subtitle><entry><title>ControlWin Modbus slave exceptions</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/2df0599b76/?limit=25#d3fe" rel="alternate"/><published>2020-02-27T15:13:56.907000Z</published><updated>2020-02-27T15:13:56.907000Z</updated><author><name>mstelt</name><uri>https://forge.codesys.com/u/mstelt/</uri></author><id>https://forge.codesys.com5929a8d77de5e4a9f577ace5c56d5388fb6fb12f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I don't get a exception code. The pasted lines above are copied fro the Wireshark log file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ControlWin Modbus slave exceptions</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/2df0599b76/?limit=25#5bc5" rel="alternate"/><published>2020-02-27T15:13:56.277000Z</published><updated>2020-02-27T15:13:56.277000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com69651d11aa46cfa83b6f881aa8308934882e878f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
either you need to add the exception code  or add a wireshark capture.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>ControlWin Modbus slave exceptions</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/2df0599b76/?limit=25#1ec6" rel="alternate"/><published>2020-02-27T15:13:55.655000Z</published><updated>2020-02-27T15:13:55.655000Z</updated><author><name>mstelt</name><uri>https://forge.codesys.com/u/mstelt/</uri></author><id>https://forge.codesys.com8d2b5ee3cf143026de8906ba3d222fab63325a8b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I have a PC running control win as a slave and a SCADA program which is the master.&lt;/p&gt;
&lt;p&gt;When I run both the Control win and the SCADA program on the same PC I get exceptions on my modbus messages. When I install one PC with control win and another one with the SCADA program everything works fine. I'm trying to read and write. &lt;/p&gt;
&lt;p&gt;This is the log that I captured with Wireshark when both are running on the same PC:&lt;/p&gt;
&lt;p&gt;1   0.000000    192.168.1.150   192.168.1.150   Modbus/TCP  52     Query: Trans: 16482; Unit:   1, Func:   4: Read Input Registers&lt;br/&gt;
3   0.004993    192.168.1.150   192.168.1.150   Modbus/TCP  55     Query: Trans: 32866; Unit:   1, Func:  16: Write Multiple Registers&lt;br/&gt;
5   0.004993    192.168.1.150   192.168.1.150   Modbus/TCP  49  Response: Trans: 16482; Unit:   1, Func:   4: Read Input Registers. Exception returned &lt;br/&gt;
7   1.000250    192.168.1.150   192.168.1.150   Modbus/TCP  52     Query: Trans: 16483; Unit:   1, Func:   4: Read Input Registers&lt;br/&gt;
9   1.000250    192.168.1.150   192.168.1.150   Modbus/TCP  55     Query: Trans: 32867; Unit:   1, Func:  16: Write Multiple Registers&lt;br/&gt;
11  1.001251    192.168.1.150   192.168.1.150   Modbus/TCP  49  Response: Trans: 16483; Unit:   1, Func:   4: Read Input Registers. Exception returned &lt;/p&gt;
&lt;p&gt;This is the log when running on different PC's&lt;/p&gt;
&lt;p&gt;1   0.000000    192.168.1.200   192.168.1.201   Modbus/TCP  66     Query: Trans: 16426; Unit:   1, Func:   4: Read Input Registers&lt;br/&gt;
2   0.000280    192.168.1.201   192.168.1.200   Modbus/TCP  65  Response: Trans: 16426; Unit:   1, Func:   4: Read Input Registers&lt;br/&gt;
3   0.000988    192.168.1.200   192.168.1.201   Modbus/TCP  69     Query: Trans: 32810; Unit:   1, Func:  16: Write Multiple Registers&lt;br/&gt;
4   0.001244    192.168.1.201   192.168.1.200   Modbus/TCP  66  Response: Trans: 32810; Unit:   1, Func:  16: Write Multiple Registers&lt;br/&gt;
8   1.503473    192.168.1.200   192.168.1.201   Modbus/TCP  66     Query: Trans: 16427; Unit:   1, Func:   4: Read Input Registers&lt;br/&gt;
9   1.504294    192.168.1.201   192.168.1.200   Modbus/TCP  65  Response: Trans: 16427; Unit:   1, Func:   4: Read Input Registers&lt;/p&gt;
&lt;p&gt;What could be wrong?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>