<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CAN and CANopen on Raspberry PI - steps or tutorial?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/</id><updated>2025-12-09T18:08:10.865000Z</updated><subtitle>Recent posts to CAN and CANopen on Raspberry PI - steps or tutorial?</subtitle><entry><title>CAN and CANopen on Raspberry PI - steps or tutorial?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/?limit=25#9f14" rel="alternate"/><published>2025-12-09T18:08:10.865000Z</published><updated>2025-12-09T18:08:10.865000Z</updated><author><name>alexmserra</name><uri>https://forge.codesys.com/u/alexmserra/</uri></author><id>https://forge.codesys.comdd3c28df76793b66f7c452568a5241a3a9bc2fe2</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Good afternoon, how does the CANbus configuration look in Codesys, for example, network 0?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN and CANopen on Raspberry PI - steps or tutorial?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/?limit=25#b884" rel="alternate"/><published>2021-12-10T08:15:13.091000Z</published><updated>2021-12-10T08:15:13.091000Z</updated><author><name>bruno-roth</name><uri>https://forge.codesys.com/u/bruno-roth/</uri></author><id>https://forge.codesys.come50e437755e7b90ddb1b9d38f5f16d955f8d9d82</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Also this USB to CAN adapter is working:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.amazon.de/gp/product/B07Q812QK8/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&amp;amp;th=1" rel="nofollow"&gt;https://www.amazon.de/gp/product/B07Q812QK8/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&amp;amp;th=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;with the same configuration I used with the PeakCAN Adapter. It is really plug and play.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN and CANopen on Raspberry PI - steps or tutorial?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/?limit=25#98c9" rel="alternate"/><published>2021-12-09T14:00:17.262000Z</published><updated>2021-12-09T14:00:17.262000Z</updated><author><name>bruno-roth</name><uri>https://forge.codesys.com/u/bruno-roth/</uri></author><id>https://forge.codesys.comf63034f850b83d132997fa58b88d5f7f8794cf04</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello, if you are using e.g. the debian buster based Os the PeakCANUSB-adapter is already supported with SocketCan. If you want to use this in CODESYS you have only to enable the component in the CODESYSControl_User.cfg. Then you could direct use the CanBus adapter and all protocoldevices like CanOpen.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN and CANopen on Raspberry PI - steps or tutorial?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/?limit=25#1dba" rel="alternate"/><published>2021-12-03T07:42:40.220000Z</published><updated>2021-12-03T07:42:40.220000Z</updated><author><name>sgronchi</name><uri>https://forge.codesys.com/u/sgronchi/</uri></author><id>https://forge.codesys.com28c8b377b189de3b5336ea0c13c01ca6a12d66f5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Syoma,&lt;br/&gt;
adapter support on Linux is related to SocketCAN support in kernel, so Peak will definitely work. I read online that the Ixxat proprietary SocketCAN driver has some problems, so I'd stay away from that.&lt;br/&gt;
Codesys support of CAN layer 2 is a bit hairy, you can refer to the library documentation here: &lt;a href="https://help.codesys.com/webapp/hGcF55fadXXw7LxTlfIUoErJcVQ%2Ffld-CAN-Low-Level;product=CAA%20Can%20Low%20Level%20Extern;version=3.5.17.0" rel="nofollow"&gt;https://help.codesys.com/webapp/hGcF55fadXXw7LxTlfIUoErJcVQ%2Ffld-CAN-Low-Level;product=CAA%20Can%20Low%20Level%20Extern;version=3.5.17.0&lt;/a&gt;&lt;br/&gt;
whereas for CANopen you can just drop a CANbus device as a subdevice of your PLC and then a CANopen manager and/or a CANopen slave under it: &lt;a href="https://help.codesys.com/webapp/_can_f_canbased_field_busses;product=core_canbus_configuration_editor;version=3.5.17.0" rel="nofollow"&gt;https://help.codesys.com/webapp/_can_f_canbased_field_busses;product=core_canbus_configuration_editor;version=3.5.17.0&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN and CANopen on Raspberry PI - steps or tutorial?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/?limit=25#71f7" rel="alternate"/><published>2021-12-03T06:40:50.426000Z</published><updated>2021-12-03T06:40:50.426000Z</updated><author><name>thkfighter2</name><uri>https://forge.codesys.com/u/thkfighter2/</uri></author><id>https://forge.codesys.com4f72e82cd49d7c7f378ec3d381a2dbceef783325</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Have you solved your problem?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CAN and CANopen on Raspberry PI - steps or tutorial?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/eabb016b38/?limit=25#b217" rel="alternate"/><published>2020-02-27T15:49:35.952000Z</published><updated>2020-02-27T15:49:35.952000Z</updated><author><name>syoma</name><uri>https://forge.codesys.com/u/syoma/</uri></author><id>https://forge.codesys.com8aab8c4029b45f814b61cddf970a55f024cad4f7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Codesys fans and developers,&lt;/p&gt;
&lt;p&gt;I'm using Codesys Runtime on RPi for lab equipment and it's gorgeous for it's money with EtherCAT support etc. But now I would like to start experimenting with CAN and CANopen. I see, that CANopen for RPI shall be available according to the runtime datasheet, but don't see any examples on how to make it working. I also interested in simple CAN first, before starting with CANopen. &lt;/p&gt;
&lt;p&gt;Can Codesys developers help and provide some material or tutorial on:&lt;br/&gt;
- What additional HW is needed? I have couple of USB-CAN adapters from Ixxat and Peak. Will they work with Codesys? Datasheet suggests only EL6751 terminal - is it the only HW supported?&lt;br/&gt;
- How to setup Codesys to work with CAN and CANopen using this HW on Rpi? Any simple project which reads or writes CAN messages would be appreciated.&lt;br/&gt;
- Any common errors, debug solutions?&lt;/p&gt;
&lt;p&gt;My plan is to build a simple CAN logger for lab purposes first and then move to more complex things.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;UPD just found this &lt;a class="" href="http://www.industrialberry.com/can-bus-with-codesys/" rel="nofollow"&gt;http://www.industrialberry.com/can-bus-with-codesys/&lt;/a&gt; m &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>