<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Acyclic Profinet Communication</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9ebbf2c1df/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9ebbf2c1df/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/9ebbf2c1df/</id><updated>2020-02-27T14:31:03.512000Z</updated><subtitle>Recent posts to Acyclic Profinet Communication</subtitle><entry><title>Acyclic Profinet Communication</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9ebbf2c1df/?limit=25#d2d4" rel="alternate"/><published>2020-02-27T14:31:03.512000Z</published><updated>2020-02-27T14:31:03.512000Z</updated><author><name>martinesab</name><uri>https://forge.codesys.com/u/martinesab/</uri></author><id>https://forge.codesys.come87a0f46fdfb61c29178db8dee88d1bc71a8aae7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for mixing this topic with profibus questions: I'm trying to get the acyclic communication working but I can't figure out where to find all information to get the ID used for the function blocks below:&lt;br/&gt;
RALARM &lt;br/&gt;
RDIAG &lt;br/&gt;
RDREC &lt;br/&gt;
WRREC &lt;/p&gt;
&lt;p&gt;Scope Name Type Initial Comment &lt;br/&gt;
Return ID DWORD   &lt;br/&gt;
Input EN BOOL TRUE &lt;br/&gt;
MASTER BYTE   ID of the DP system &lt;br/&gt;
SEGMENT BYTE   Number of the DP segment &lt;br/&gt;
STATION BYTE   Number of the DP-slave(station address) &lt;br/&gt;
SLOT BYTE   Slot number&lt;/p&gt;
&lt;p&gt;The station byte is the slave dp address but where do I find the values for the rest?`&lt;/p&gt;
&lt;p&gt;I'm running with the EL6731 Profibus master from Beckhoff.&lt;/p&gt;
&lt;p&gt;/Martin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Acyclic Profinet Communication</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9ebbf2c1df/?limit=25#baab" rel="alternate"/><published>2020-02-27T14:31:03.071000Z</published><updated>2020-02-27T14:31:03.071000Z</updated><author><name>M4Automation</name><uri>https://forge.codesys.com/u/m4automation/</uri></author><id>https://forge.codesys.com9da5ae90e6e3a412b88a30adce2071b708bc98ef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanx, somethimes the solution is too simple&lt;br/&gt;
I just got the ID of the Profinet buscoupler from the Profinet name &lt;br/&gt;
(in my case of a Phoenix Contact buscoupler = "il_pn_bk.ID")&lt;br/&gt;
and with the function IoDrvProfinet.SUBSLOT_ID, I got the ID&lt;/p&gt;
&lt;p&gt;Thanks again Mr Schwellinger&lt;/p&gt;
&lt;p&gt;/Marcus&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Acyclic Profinet Communication</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9ebbf2c1df/?limit=25#010f" rel="alternate"/><published>2020-02-27T14:31:02.588000Z</published><updated>2020-02-27T14:31:02.588000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com056f8eeb670c27c81b70730857be7c447fc860ea</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Marcus,&lt;br/&gt;
check attached project.&lt;/p&gt;
&lt;p&gt;//acyclic read -service&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="k"&gt;IF&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;execRead&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt; &lt;span class="k"&gt;THEN&lt;/span&gt;
   &lt;span class="nv"&gt;execRead&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;FALSE&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
   &lt;span class="nv"&gt;rdrec&lt;/span&gt;.&lt;span class="nv"&gt;REQ&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;TRUE&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="nv"&gt;END_IF&lt;/span&gt;
&lt;span class="nv"&gt;rdrec&lt;/span&gt;.&lt;span class="nv"&gt;ID&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;UR20&lt;/span&gt;.&lt;span class="nv"&gt;ID&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="nv"&gt;rdrec&lt;/span&gt;.&lt;span class="nv"&gt;INDEX&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;UINT_TO_INT&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;16&lt;/span&gt;#&lt;span class="nv"&gt;AFF0&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;      //this is the I&amp;amp;M data, just for demo purpose&lt;/span&gt;
&lt;span class="nv"&gt;rdrec&lt;/span&gt;.&lt;span class="nv"&gt;RECORD&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;ADR&lt;/span&gt;&lt;span class="ss"&gt;(&lt;/span&gt;&lt;span class="nv"&gt;buffer&lt;/span&gt;&lt;span class="ss"&gt;)&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="nv"&gt;rdrec&lt;/span&gt;&lt;span class="ss"&gt;()&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;span class="nv"&gt;rdrec&lt;/span&gt;.&lt;span class="nv"&gt;REQ&lt;/span&gt; :&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nv"&gt;rdrec&lt;/span&gt;.&lt;span class="nv"&gt;BUSY&lt;/span&gt;&lt;span class="c1"&gt;;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=1256" rel="nofollow"&gt;ProfinetSP6Raspi.project &lt;span&gt;&lt;span&gt;[116.54 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Acyclic Profinet Communication</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/9ebbf2c1df/?limit=25#c0ee" rel="alternate"/><published>2020-02-27T14:31:01.313000Z</published><updated>2020-02-27T14:31:01.313000Z</updated><author><name>M4Automation</name><uri>https://forge.codesys.com/u/m4automation/</uri></author><id>https://forge.codesys.com5d4d63bf8b4b7e6e86011e061a8aafed6478cb48</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm going to try to get a IO Link master working over Profinet. &lt;br/&gt;
(Im currently testing it on a Raspberry Pi)&lt;br/&gt;
To be able to configure the IO Link sensors, I need the acyclic communication to work.&lt;br/&gt;
=I need to use the functions RDREC and WRREC.&lt;br/&gt;
For these to work correctly, I need the adress of the I/O module in the form of a DWORD&lt;br/&gt;
For Profibus communication there is a functionblock, CommFB.ID, that I have used before.&lt;/p&gt;
&lt;p&gt;dwAdrID := CommFB.ID(EN := TRUE,&lt;br/&gt;
            MASTER := PN_Master_ID, &lt;br/&gt;
            SEGMENT := BYTE#16#0,&lt;br/&gt;
            STATION := iSTATION,      &lt;br/&gt;
            SLOT := iSLOT);&lt;/p&gt;
&lt;p&gt;1) Is acyclic communication implemented of the Raspberry?&lt;br/&gt;
2) Can I use the CommFB.ID functionblock?&lt;br/&gt;
3) In that case, how do I find out the STATION number of a Profinet buscoupler?&lt;/p&gt;
&lt;p&gt;/Marcus&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>