<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Codesys 3.5 SP13 Modbus Asyril</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a2be08881/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a2be08881/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/8a2be08881/</id><updated>2020-02-27T13:47:50.132000Z</updated><subtitle>Recent posts to Codesys 3.5 SP13 Modbus Asyril</subtitle><entry><title>Codesys 3.5 SP13 Modbus Asyril</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a2be08881/?limit=25#949e" rel="alternate"/><published>2020-02-27T13:47:50.132000Z</published><updated>2020-02-27T13:47:50.132000Z</updated><author><name>johnlee</name><uri>https://forge.codesys.com/u/johnlee/</uri></author><id>https://forge.codesys.comc719745f2431f5324f4f85186e86077785323bdb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hi Studiologe,&lt;/p&gt;
&lt;p&gt;according to the pdf you providing all the address are fall under holding register where using function Code 3 to read and code 6 to write single address or code 16 to write into multiple address.&lt;/p&gt;
&lt;p&gt;As according your document the base address is 0, so you have to configure codesys where base is 0.&lt;/p&gt;
&lt;p&gt;I have done many modbus tcp/ip  or rtu project, so most of time before we do the setup on codesys we will using Modscan to double verify the modbuss address on the  device is tally with the document. &lt;/p&gt;
&lt;p&gt;Always to take note, some of address is can't be read and in single or multiple, so the Modscan tool is the tool where to help you to verify.&lt;/p&gt;
&lt;p&gt;Thank you&lt;br/&gt;
John Lee&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys 3.5 SP13 Modbus Asyril</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a2be08881/?limit=25#1dfd" rel="alternate"/><published>2020-02-27T13:47:50.080000Z</published><updated>2020-02-27T13:47:50.080000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.coma3da450e7c09b24945b81df15834298ae16484bf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
Modbus is always a kind of nightmare,&lt;br/&gt;
what about using it with Ethercat?&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://www.asyril.com/en/products/asycube-flexible-feeders.html" rel="nofollow"&gt;https://www.asyril.com/en/products/asyc ... eders.html&lt;/a&gt;&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys 3.5 SP13 Modbus Asyril</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a2be08881/?limit=25#7de9" rel="alternate"/><published>2020-02-27T13:47:50.034000Z</published><updated>2020-02-27T13:47:50.034000Z</updated><author><name>Studiologe</name><uri>https://forge.codesys.com/u/studiologe/</uri></author><id>https://forge.codesys.com1ce3121958278422cd6f693bde6850a1ae15ac72</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Edwin,&lt;/p&gt;
&lt;p&gt;that's exactly what I have had configured, but to no avail. I've been playing around with this all day yesterday, but was unable to get it working properly. Attached are some more screenshots I took, to show the configuration I have tried.&lt;/p&gt;
&lt;p&gt;When ever I try to write a 1 to the TRG variable, nothing happens.&lt;/p&gt;
&lt;p&gt;Any idea what I might be missing? I know the manual says that "... up to 125 registers can be read at once and only up to 123 registers can be written at once...", but also that "... It is recommended to alternate between the different read/write requests..."&lt;/p&gt;
&lt;p&gt;I know that I'm not reading anything back, and I don't think I have to, unless I want the info about the status and such. At this point I'm just trying to get it somehow working, so that I can build up my program from there.&lt;/p&gt;
&lt;p&gt;Any help will be greatly appreciated.&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 1.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3950"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 2.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3951"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: 3.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3952"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys 3.5 SP13 Modbus Asyril</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a2be08881/?limit=25#d734" rel="alternate"/><published>2020-02-27T13:47:49.982000Z</published><updated>2020-02-27T13:47:49.982000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com9d4fbbe7d9240ff1eef878c8954d1a29a92fb6e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hi,&lt;br/&gt;
as you see in the pdf function code 3 and 10 are supported.. but did not read the manual in detail.&lt;br/&gt;
But i guess you will manage to do this.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Codesys 3.5 SP13 Modbus Asyril</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/8a2be08881/?limit=25#f3f8" rel="alternate"/><published>2020-02-27T13:47:49.929000Z</published><updated>2020-02-27T13:47:49.929000Z</updated><author><name>Studiologe</name><uri>https://forge.codesys.com/u/studiologe/</uri></author><id>https://forge.codesys.comb51e18c23a59a87b13e7d799b2c302e0ce75e551</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;br/&gt;
did anyone have any luck controlling an Asyril Flex Feeder via Modbus with Codesys 3.5 SP13?&lt;/p&gt;
&lt;p&gt;I have attached chapter 6 of the manual for the Asyril, but since I have never used modbus before, I'm unsure of the configuration. In that chapter there is a description of the registers and their address or offset.&lt;/p&gt;
&lt;p&gt;At this point I'm unsure how to get data from the device, or how to send data, as none of the settings make sense. If I guess correctly, then I will have to add Reading and Writing.&lt;/p&gt;
&lt;p&gt;What I need to know:&lt;br/&gt;
1) Is my configuration so far correct?&lt;br/&gt;
2) How do I for example read a simple status or error register of the device?&lt;/p&gt;
&lt;p&gt;Any hints will be greatly appreciated.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Slave Channel.png" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3947"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Screenshot.PNG" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=3946"/&gt;&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=3948" rel="nofollow"&gt;Chapter 6.pdf &lt;span&gt;&lt;span&gt;[530.7 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>