<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus-RTU bERROR</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/5442676316/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/5442676316/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/5442676316/</id><updated>2020-02-27T23:04:11.528000Z</updated><subtitle>Recent posts to Modbus-RTU bERROR</subtitle><entry><title>Modbus-RTU bERROR</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/5442676316/?limit=25#c2c7" rel="alternate"/><published>2020-02-27T23:04:11.528000Z</published><updated>2020-02-27T23:04:11.528000Z</updated><author><name>hki75</name><uri>https://forge.codesys.com/u/hki75/</uri></author><id>https://forge.codesys.com45808b185b71f69dbe3d5678f94f82ad5160bdb1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I take a look at the Wago docs.. just 0-1-2-3 error codes are foreseen..I used same block some months ago with 758 IPC..I used this settings and it was good:&lt;/p&gt;
&lt;p&gt;RTUClient(&lt;br/&gt;
    EN:=TRUE ,&lt;br/&gt;
    bSLAVE_ADDRESS:=104 ,&lt;br/&gt;
    bCOM_PORT:=2,&lt;br/&gt;
    cbCOM_BAUDRATE:= 3840,&lt;br/&gt;
    cpCOM_PARITY:=0 ,&lt;br/&gt;
    csCOM_STOPBITS:= 1,&lt;br/&gt;
    cbsCOM_BYTESIZE:=8 ,&lt;br/&gt;
    cfCOM_FLOW_CONTROL:= 4, (&lt;em&gt; 0=no flow control; 1=XON-XOFF   2=RTS-CTS  3=full duplex ; 4=half duplex  &lt;/em&gt;)&lt;br/&gt;
    tTIME_OUT:= ,&lt;br/&gt;
    iBIT_OFFSET:=,&lt;br/&gt;
    tWATCHDOG_TIME:= ,&lt;br/&gt;
    aDATA:=ModbData ,&lt;br/&gt;
    xWATCHDOG_OK=&amp;gt; ,&lt;br/&gt;
    bERROR=&amp;gt; );&lt;/p&gt;
&lt;p&gt;and call this PRG as fast as possible in a dedicate task(freewheeling) otherwise I get comm very bad and slow.. try this...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus-RTU bERROR</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/5442676316/?limit=25#44b6" rel="alternate"/><published>2020-02-27T23:04:09.911000Z</published><updated>2020-02-27T23:04:09.911000Z</updated><author><name>A.Emmerich</name><uri>https://forge.codesys.com/u/a-emmerich/</uri></author><id>https://forge.codesys.comc4965120baf37fc52488807892f3474658abfe14</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I am attempting to communicate between a RedLion touch panel (G308C2) and a Wago 882 via Modbus-RTU.&lt;br/&gt;
The touch panel is the master and the PLC the slave (via a 750-653 Modbus card).&lt;/p&gt;
&lt;p&gt;Communications is established using the Wago TerminalSlave.lib library and its TERMINAL_MODBUSSLAVE_RTU function block in CoDesSys.&lt;/p&gt;
&lt;p&gt;Now to the question   , &lt;br/&gt;
I have established communications but even with the most trivial of applications I receive an error code from the bERROR output, "INVALID: 204" which I cannot identify in documentation or google.&lt;/p&gt;
&lt;p&gt;I realise that this a bit obscure but if anyone has any ideas I would appreciate it.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br/&gt;
Alex.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>