<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/</id><updated>2020-02-27T13:58:14.491000Z</updated><subtitle>Recent posts to connection between CodeSys and remote CAN-based PLCs</subtitle><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#1c82" rel="alternate"/><published>2020-02-27T13:58:14.491000Z</published><updated>2020-02-27T13:58:14.491000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comfadc40964e85da4cbb1fbc1cefef6cddec5e29ac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yes,&lt;br/&gt;
might possible, but not out of the box.&lt;br/&gt;
Currently we are missing some components in the PI (to use the Pi as CODESYS - CAN Gateway to login)&lt;br/&gt;
- using Android is not possible at the possible not realized at the Moment.&lt;/p&gt;
&lt;p&gt;So I could not really help at this point.&lt;br/&gt;
Guess you need to contact 3S - and official inquiry is needed.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#696e" rel="alternate"/><published>2020-02-27T13:58:13.789000Z</published><updated>2020-02-27T13:58:13.789000Z</updated><author><name>fvazquez</name><uri>https://forge.codesys.com/u/fvazquez/</uri></author><id>https://forge.codesys.comd5afa5dc6fc73d150f1e18a823d42d903a457e2c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, any suggestion?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#7175" rel="alternate"/><published>2020-02-27T13:58:13.542000Z</published><updated>2020-02-27T13:58:13.542000Z</updated><author><name>fvazquez</name><uri>https://forge.codesys.com/u/fvazquez/</uri></author><id>https://forge.codesys.com4432236b867806c0db17df64e18cfbf071e9ad13</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;again, thanks for your fast reply, and my apologies if I was not clear in the goal of my project. I will try to better describe the system.&lt;/p&gt;
&lt;p&gt;Our PLCs are CAN-based and we need to access to these PLCs remotely (through the internet) from a Windows PC with CodeSys in order to see/change/update variables and download the software of the PLCs. At each PLC we will use a "gateway" based on an Android App (_ or Smartphone). This "gateway" will be the interface between 3G/4G (TCP/IP frames) and bluetooth, and finally we will use a bluetooth to CAN adapter attached to the CAN bus of the PLC.&lt;/p&gt;
&lt;p&gt;Would this be feasible?&lt;br/&gt;
Regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#908a" rel="alternate"/><published>2020-02-27T13:58:13.282000Z</published><updated>2020-02-27T13:58:13.282000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com293d322513ae7ca4ea4b3e017e2dbd0967bbf66b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
what is your real goal?&lt;br/&gt;
1. Use a gateway to see/change/update variables in your CAN based plc?&lt;br/&gt;
2. Login by CODESYS to the CAN based plc (via CODESYS Gateway)?&lt;/p&gt;
&lt;p&gt;-Sure the Raspberry Pi contains a CODESYS Gateway and you could use it for 'Login' to another plc (CAN or TCP/IP / UDP).&lt;br/&gt;
-Login via CAN might possible, if you manage to run a socket CAN on the PI (but I never tried this - not sure if this will work reliable...)&lt;br/&gt;
-Sure an OPCUA Server is embedded in Raspberry PI too and you could use it to access symbols from the CODESYS application (which is running on the PI)&lt;br/&gt;
If you connect the Pi Application by CAN (in that case CANopen Master ) to the second CAN based plc.. yes it is true you could use OPCUA&lt;br/&gt;
to access your CAN-Based second plc (act in that case as CANopen slave).&lt;/p&gt;
&lt;p&gt;really confusing without having a system overview.&lt;br/&gt;
hope i did not confuse to much with that &lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#0890" rel="alternate"/><published>2020-02-27T13:58:13.021000Z</published><updated>2020-02-27T13:58:13.021000Z</updated><author><name>fvazquez</name><uri>https://forge.codesys.com/u/fvazquez/</uri></author><id>https://forge.codesys.combc39b51e353c41f0da33fe7a53a1a2e83db71269</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello Edwin,&lt;/p&gt;
&lt;p&gt;thanks for your response. I have seen that the Gateway server can only run on Windows. Unfortunately, our gateway should run on Linux or even Android, therefore, the Gateway server software is not a solution yet.&lt;/p&gt;
&lt;p&gt;What about the CodeSys Control for Raspberry PI? Could we use the Raspberry as a gateway by running the CODESYS OPC/UA Server on the Raspberry PI? how should we connect the Raspberry to the CAN based PLC?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#a6d1" rel="alternate"/><published>2020-02-27T13:58:12.266000Z</published><updated>2020-02-27T13:58:12.266000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com6e614a48a82b52f0378ec4a51a8d73415c8206a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I thought on using the Gateway which is running on a pc.&lt;br/&gt;
See the tasktray Icon to start it.&lt;br/&gt;
This is available as standalone setup to install&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Gateway.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=1362"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#4b49" rel="alternate"/><published>2020-02-27T13:58:12.041000Z</published><updated>2020-02-27T13:58:12.041000Z</updated><author><name>fvazquez</name><uri>https://forge.codesys.com/u/fvazquez/</uri></author><id>https://forge.codesys.comb558af12098c271df32eecb0b6db52498fb0b087</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;you proposed to use a gateway and connect it to the CAN network with an USBPeak-Dongle. Which gateway do you recommend?&lt;/p&gt;
&lt;p&gt;I would like to build a custom gateway based on a 4G SmartPhone. Is there any Android App ready that can communicate using TCP/IP with CodeSys Control Win on my local PC. Would this be feasible?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#a595" rel="alternate"/><published>2020-02-27T13:58:11.811000Z</published><updated>2020-02-27T13:58:11.811000Z</updated><author><name>fvazquez</name><uri>https://forge.codesys.com/u/fvazquez/</uri></author><id>https://forge.codesys.com156df0fcbf5e092b26cbbd037c20082d60eead13</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Edwin,&lt;/p&gt;
&lt;p&gt;thanks for your fast reply.&lt;/p&gt;
&lt;p&gt;I understand that for that we could use a gateway connected to the PLC. That is an elegant solution. However, we would like to use our TCP/IP to CAN interface instead of the gateway.&lt;/p&gt;
&lt;p&gt;Is it feasible? How should I connect CodeSys to the interface DLL? The DLL will encapsulate/de-encapsulate the CAN packets from/to CodeSys into/from TCP/IP frames.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#1280" rel="alternate"/><published>2020-02-27T13:58:11.578000Z</published><updated>2020-02-27T13:58:11.578000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com93f56719d247914097daec1171d61baa978adf04</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;should not be needed to write a dll this is for sure.&lt;br/&gt;
Just use a gateway on remote side, and connect this by USBPeak-Dongle to your CAN network.&lt;br/&gt;
But I would prefer to Login by ethernet to the plc and then use CAN Network for the sensors only.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>connection between CodeSys and remote CAN-based PLCs</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/64ef1915cd/?limit=25#899f" rel="alternate"/><published>2020-02-27T13:58:10.850000Z</published><updated>2020-02-27T13:58:10.850000Z</updated><author><name>fvazquez</name><uri>https://forge.codesys.com/u/fvazquez/</uri></author><id>https://forge.codesys.com09ea8ea592bfe488035fff2066107339b7b84077</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;we would like to use CodeSys v3.5. Regarding the PLC, we still did not select any specific PLC. It will be a PLC interfacing to sensors/actuators through CAN bus. In order to connect the PLC remotely to CodeSys, we have foreseen to use our CAN to TCP/IP interface.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>