<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Raspberry pi w/ CODESYS reading from Allen Bradley compactlogix</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/</id><updated>2020-02-27T16:14:30.608000Z</updated><subtitle>Recent posts to Raspberry pi w/ CODESYS reading from Allen Bradley compactlogix</subtitle><entry><title>Raspberry pi w/ CODESYS reading from Allen Bradley compactlogix</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/?limit=25#703a" rel="alternate"/><published>2020-02-27T16:14:30.608000Z</published><updated>2020-02-27T16:14:30.608000Z</updated><author><name>mos89@yahoo.com</name><uri>https://forge.codesys.com/u/mos89-yahoo-com/</uri></author><id>https://forge.codesys.comb28588d87f5ccfddd7762cac78f1812d72820e23</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;vitovt1877 hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
I see 2 ways of doing this:&lt;br/&gt;
1. Use Raspberry PI as remote adapter. Check this topic  l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=21&amp;amp;t=5836" rel="nofollow"&gt;viewtopic.php?f=21&amp;amp;t=5836&lt;/a&gt; l &lt;br/&gt;
In CodeSys you add remote input modules. You can use one big input module or several several modules different sizes, it depends from your situation. One tip: big input module is 505 bytes. You need to change size of it to 500 to use it with AB (maximum size of input or output connection parameter is 500). &lt;br/&gt;
In CompactLogix you add Generic Ethernet Module with same size outputs configuration as for inputs in CodeSys.&lt;br/&gt;
Map all tags in CompactLogix Program to outputs of Generic Ethernet Module and you can read them in CodeSys program. &lt;br/&gt;
It will give you possibility to pass tags from CompactLogix to Raspberry. If you want to change tags in CompactLogix from Raspi, you need to do it opposite way: outputs at CodeSys side and inputs at CompactLogix plus, I assume, you should use some logic to prevent racing for tags that used both in output and input section. &lt;br/&gt;
2. Use explicit messaging. Result of this approach you can see here &lt;a class="" href="https://www.youtube.com/watch?v=LZycc7pFr4Q" rel="nofollow"&gt;https://www.youtube.com/watch?v=LZycc7pFr4Q&lt;/a&gt;&lt;br/&gt;
All information how to access and modify information in the ControlLogix/CompactLogix PLC you can find in these books&lt;br/&gt;
&lt;a class="" href="https://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm020_-en-p.pdf" rel="nofollow"&gt;https://literature.rockwellautomation.c ... _-en-p.pdf&lt;/a&gt;&lt;br/&gt;
 and "EtherNet/IP Adaptation of CIP Specification"&lt;br/&gt;
Thank you!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi,&lt;br/&gt;
is it possible to have on example for solution 2 Explicir messaging  ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry pi w/ CODESYS reading from Allen Bradley compactlogix</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/?limit=25#12a4" rel="alternate"/><published>2020-02-27T16:14:29.794000Z</published><updated>2020-02-27T16:14:29.794000Z</updated><author><name>vitovt1877</name><uri>https://forge.codesys.com/u/vitovt1877/</uri></author><id>https://forge.codesys.com2b61258db045f8b726d060265594a4f8a9e98432</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see 2 ways of doing this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use Raspberry PI as remote adapter. Check this topic  l &lt;a class="" href="https://forum.codesys.com/viewtopic.php?f=21&amp;amp;t=5836" rel="nofollow"&gt;viewtopic.php?f=21&amp;amp;t=5836&lt;/a&gt; l &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In CodeSys you add remote input modules. You can use one big input module or several several modules different sizes, it depends from your situation. One tip: big input module is 505 bytes. You need to change size of it to 500 to use it with AB (maximum size of input or output connection parameter is 500). &lt;br/&gt;
In CompactLogix you add Generic Ethernet Module with same size outputs configuration as for inputs in CodeSys.&lt;br/&gt;
Map all tags in CompactLogix Program to outputs of Generic Ethernet Module and you can read them in CodeSys program. &lt;/p&gt;
&lt;p&gt;It will give you possibility to pass tags from CompactLogix to Raspberry. If you want to change tags in CompactLogix from Raspi, you need to do it opposite way: outputs at CodeSys side and inputs at CompactLogix plus, I assume, you should use some logic to prevent racing for tags that used both in output and input section. &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use explicit messaging. Result of this approach you can see here &lt;a class="" href="https://www.youtube.com/watch?v=LZycc7pFr4Q" rel="nofollow"&gt;https://www.youtube.com/watch?v=LZycc7pFr4Q&lt;/a&gt;&lt;br/&gt;
All information how to access and modify information in the ControlLogix/CompactLogix PLC you can find in these books&lt;br/&gt;
&lt;a class="" href="https://literature.rockwellautomation.com/idc/groups/literature/documents/pm/1756-pm020_-en-p.pdf" rel="nofollow"&gt;https://literature.rockwellautomation.c ... _-en-p.pdf&lt;/a&gt;&lt;br/&gt;
 and "EtherNet/IP Adaptation of CIP Specification"&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry pi w/ CODESYS reading from Allen Bradley compactlogix</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/?limit=25#e5a1" rel="alternate"/><published>2020-02-27T16:14:27.496000Z</published><updated>2020-02-27T16:14:27.496000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com7e178387c65fcfbe197c554337370ab6abaf094a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;hm.. &lt;br/&gt;
CODESYS plc could be EIP scanner or adapter,&lt;br/&gt;
so I assume that this might be possible for AB Systems ( Add the CODESYS plc as EIP adaper?)&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry pi w/ CODESYS reading from Allen Bradley compactlogix</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/?limit=25#3002" rel="alternate"/><published>2020-02-27T16:14:26.680000Z</published><updated>2020-02-27T16:14:26.680000Z</updated><author><name>nikk4s</name><uri>https://forge.codesys.com/u/nikk4s/</uri></author><id>https://forge.codesys.com8bd160688abe5845b2a803d77d1da4a84c17818a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Edwin, that example uses a remote i/o device that is typically installed in the project tree of an Allen Bradley project with the tags populated in the tag database as a group when it is added.&lt;/p&gt;
&lt;p&gt;Consumed and Produced tags are user declared tags with a produced tag declared on one controller and a corresponding consumed tag declared on a separate controller.  I believe these produced/consumed tags can be of any data type.  I'm guessing this is a proprietary implementation and is not compatible with non AB systems.  Perhaps a messaging instruction of some sort is possible between the two controllers of different types.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry pi w/ CODESYS reading from Allen Bradley compactlogix</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/?limit=25#61cf" rel="alternate"/><published>2020-02-27T16:14:24.368000Z</published><updated>2020-02-27T16:14:24.368000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com5e5f15acdd91021cbc6d555d6dde15cf0e002c6b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
not sure maybe this example will give you an idea how this might work.&lt;br/&gt;
&lt;a class="" href="https://store.codesys.com/rockwell-1734-configuration.html" rel="nofollow"&gt;https://store.codesys.com/rockwell-1734 ... ation.html&lt;/a&gt;&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Raspberry pi w/ CODESYS reading from Allen Bradley compactlogix</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/0e68f80e70/?limit=25#bba7" rel="alternate"/><published>2020-02-27T16:14:23.542000Z</published><updated>2020-02-27T16:14:23.542000Z</updated><author><name>Anonymous</name><uri>https://forge.codesys.com/u/*anonymous/</uri></author><id>https://forge.codesys.coma20f62a368c5345535418144af09dc8e73b57533</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;em&gt;Originally created by:&lt;/em&gt; HA_Noble&lt;/p&gt;
&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am quite new to CODESYS and raspberry pi, I am just wondering is it possible to use the produced and consumed tags from the AB software with the CODESYS software so I can use the information on the web visualisation of the CODESYS software?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>