<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/</id><updated>2020-02-27T14:10:18.024000Z</updated><subtitle>Recent posts to Modbus Serial as easy as...</subtitle><entry><title>Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/?limit=25#2160" rel="alternate"/><published>2020-02-27T14:10:18.024000Z</published><updated>2020-02-27T14:10:18.024000Z</updated><author><name>Danybba</name><uri>https://forge.codesys.com/u/danybba/</uri></author><id>https://forge.codesys.com94f590201eb3b55c81d59f55bb7b7b1781947379</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hy, I have the same Problem: &lt;/p&gt;
&lt;p&gt;First question is ist possible to use teh Raspberry with Codesys as a Modbus RTU Slave Device? &lt;/p&gt;
&lt;p&gt;If yes I implemented the Modbus Com Port and added the Modbus Serial Device. I also added the .cfg code to COMPORT1. But Codesys always says "no driver found" in the State of the comport and the serial device.&lt;/p&gt;
&lt;p&gt;Can you please help me? &lt;/p&gt;
&lt;p&gt;Regards Daniel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/?limit=25#650b" rel="alternate"/><published>2020-02-27T14:10:17.013000Z</published><updated>2020-02-27T14:10:17.013000Z</updated><author><name>williamc</name><uri>https://forge.codesys.com/u/williamc/</uri></author><id>https://forge.codesys.com4c6551e206c02342b81a057955e12970326377e6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;OK - I'll give that a go and see what happens. Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/?limit=25#215f" rel="alternate"/><published>2020-02-27T14:10:16.658000Z</published><updated>2020-02-27T14:10:16.658000Z</updated><author><name>AndreyS</name><uri>https://forge.codesys.com/u/andreys/</uri></author><id>https://forge.codesys.com343016e5893af71871737f760734130605b89654</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;williamc hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
I think it's vxworks based.&lt;br/&gt;
What is meant by PCI-Bus anyway?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I am not sure, what PCI actually means. Maybe something like  peripheral communication (component) interface. But it does not have nothing common with the PCI bus from desktop computers. =). This is just a virtual bus for connecting components.  This connector is be placed to an error state by the driver, that handels it. This driver use SysCom library. &lt;/p&gt;
&lt;p&gt;Try to use SysCom functions directly and to look at CODESYS messages on the debug console.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/?limit=25#6e29" rel="alternate"/><published>2020-02-27T14:10:16.301000Z</published><updated>2020-02-27T14:10:16.301000Z</updated><author><name>williamc</name><uri>https://forge.codesys.com/u/williamc/</uri></author><id>https://forge.codesys.com5b028b2b5a6687aaf14005824b55564ac3c555eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I think it's vxworks based.&lt;/p&gt;
&lt;p&gt;What is meant by PCI-Bus anyway?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/?limit=25#e03f" rel="alternate"/><published>2020-02-27T14:10:15.271000Z</published><updated>2020-02-27T14:10:15.271000Z</updated><author><name>AndreyS</name><uri>https://forge.codesys.com/u/andreys/</uri></author><id>https://forge.codesys.com76706888b7b9174acce24bde4e53937117521fe8</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;williamc hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
The driver state stays the same when running or stopped.&lt;br/&gt;
The only way I've managed to configure that doesn't show this error is to add a master then a slave but this isn't the physical attributes of the device.&lt;br/&gt;
I can't really speak about the device as it is something that is under development however, I have been assured that the Modbus comms should just work. I've been told there are two physical ports on the unit one for debug and one for field bus. But I have tried setting com port to both 1 and 2 and they show same error.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Do you use Linux as a base platform for your device? Can you look at CODESYS startup log on your device? SysCom could print some debug message to stdout.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/?limit=25#8ffa" rel="alternate"/><published>2020-02-27T14:10:14.908000Z</published><updated>2020-02-27T14:10:14.908000Z</updated><author><name>williamc</name><uri>https://forge.codesys.com/u/williamc/</uri></author><id>https://forge.codesys.com2a488c4586572909ed613f72534057f575291dda</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The driver state stays the same when running or stopped.&lt;/p&gt;
&lt;p&gt;The only way I've managed to configure that doesn't show this error is to add a master then a slave but this isn't the physical attributes of the device.&lt;br/&gt;
I can't really speak about the device as it is something that is under development however, I have been assured that the Modbus comms should just work. I've been told there are two physical ports on the unit one for debug and one for field bus. But I have tried setting com port to both 1 and 2 and they show same error.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/?limit=25#d1b9" rel="alternate"/><published>2020-02-27T14:10:14.496000Z</published><updated>2020-02-27T14:10:14.496000Z</updated><author><name>AndreyS</name><uri>https://forge.codesys.com/u/andreys/</uri></author><id>https://forge.codesys.comcf43beedf685f0f3203326d2ba4e52cb20e3be39</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is "No driver found" displayed in STOP state of program? &lt;br/&gt;
Is it changed to "Bus failure" when you start the program? &lt;br/&gt;
The one possible reason can be that you have wrong settings in "Modbus serial port configuration". Usually this causes wrong COM port number.&lt;br/&gt;
The other possible reason can be that the PLC vendor does not support SysCom library in the runtime. But this is pretty unlikely. What PLC do you use?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Modbus Serial as easy as...</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a52d50ed7f/?limit=25#7051" rel="alternate"/><published>2020-02-27T14:10:13.446000Z</published><updated>2020-02-27T14:10:13.446000Z</updated><author><name>williamc</name><uri>https://forge.codesys.com/u/williamc/</uri></author><id>https://forge.codesys.combf05e864293fe84d554a7cf2d88ee0764a35362b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I'm a bit stuck. &lt;/p&gt;
&lt;p&gt;I've got a device which runs CoDeSys and has a serial port present. &lt;/p&gt;
&lt;p&gt;In my application I've added a Modbus Com device and then under this a Modbus serial standalone slave device.&lt;/p&gt;
&lt;p&gt;I've set my coms port to the physical port of the device and the device to ID 1 and then mapped my input parameter to a variable in my program. &lt;/p&gt;
&lt;p&gt;Then I use an application to send a modbus message to device id 1, code 6, address 0 and value 1.&lt;/p&gt;
&lt;p&gt;But I don't receive the value in my program. &lt;/p&gt;
&lt;p&gt;Where am I going wrong?&lt;/p&gt;
&lt;p&gt;Any help greatfully received.&lt;/p&gt;
&lt;p&gt;One additional note...this isn't probably helping.&lt;/p&gt;
&lt;p&gt;When I run program and look at my Modbus_Com Status I have PCI-Bus : No driver found error. What does this mean?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>