<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/</id><updated>2020-02-27T15:58:20.984000Z</updated><subtitle>Recent posts to CANBUS PDO I/O Mapping problem</subtitle><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#3e88" rel="alternate"/><published>2020-02-27T15:58:20.984000Z</published><updated>2020-02-27T15:58:20.984000Z</updated><author><name>jmrodriguez</name><uri>https://forge.codesys.com/u/jmrodriguez/</uri></author><id>https://forge.codesys.com7e2657775ce8f97838b430c0397e1c6790091c6c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;bmunsil hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
could you extract and make an image out of what you are using? I would be able to better help if I can see what and how you have it configured.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hi bmunsil.&lt;/p&gt;
&lt;p&gt;The problem is solved now, it was because of the kernel version.&lt;/p&gt;
&lt;p&gt;Thank you so much.&lt;br/&gt;
Best regards.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#321e" rel="alternate"/><published>2020-02-27T15:58:18.809000Z</published><updated>2020-02-27T15:58:18.809000Z</updated><author><name>bmunsil</name><uri>https://forge.codesys.com/u/bmunsil/</uri></author><id>https://forge.codesys.comaef468a6e5bd6b50738987d8cdc4d6c249b08c89</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;jmrodriguez hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hello bmunsil.&lt;br/&gt;
I'm trying to have communication CAN between Codesys and my Raspberry Pi 3 with the instruction of this forum  l &lt;a class="" href="http://forum.codesys.com/viewtopic.php?t=5611" rel="nofollow"&gt;viewtopic.php?t=5611&lt;/a&gt; l  but at the end my Can doesn't work. I think it could be because when I use the instruction 'modprobe spi-config...' it says “modprobe:FATAL: Module spi-config not found”. &lt;br/&gt;
Could you help me please?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;could you extract and make an image out of what you are using? I would be able to better help if I can see what and how you have it configured.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#0061" rel="alternate"/><published>2020-02-27T15:58:18.034000Z</published><updated>2020-02-27T15:58:18.034000Z</updated><author><name>jmrodriguez</name><uri>https://forge.codesys.com/u/jmrodriguez/</uri></author><id>https://forge.codesys.com658eef57254a3d1b4541703e5ecc9e823a138e3d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;bmunsil hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
I am currently using a Rpi2 + PiCan I would more than welcome helping you get started. to be honest there is a really good post that explains the methods that are used to get socket can compiled into the kernel. I do have an image of a working version that I would be willing to send you if you so choose.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Hello bmunsil.&lt;/p&gt;
&lt;p&gt;I'm trying to have communication CAN between Codesys and my Raspberry Pi 3 with the instruction of this forum  l &lt;a class="" href="http://forum.codesys.com/viewtopic.php?t=5611" rel="nofollow"&gt;viewtopic.php?t=5611&lt;/a&gt; l  but at the end my Can doesn't work. I think it could be because when I use the instruction 'modprobe spi-config...' it says “modprobe:FATAL: Module spi-config not found”. &lt;/p&gt;
&lt;p&gt;Could you help me please?&lt;/p&gt;
&lt;p&gt;&lt;a class="" href="https://forum.codesys.com//download/file.php?id=2449" rel="nofollow"&gt;CAN PROBLEM.pdf &lt;span&gt;&lt;span&gt;[151.24 KiB]&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#a879" rel="alternate"/><published>2020-02-27T15:58:15.778000Z</published><updated>2020-02-27T15:58:15.778000Z</updated><author><name>bmunsil</name><uri>https://forge.codesys.com/u/bmunsil/</uri></author><id>https://forge.codesys.comc5ae187c9c032d033cdef43f58f394d3c3254c8d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am currently using a Rpi2 + PiCan I would more than welcome helping you get started. to be honest there is a really good post that explains the methods that are used to get socket can compiled into the kernel. I do have an image of a working version that I would be willing to send you if you so choose.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#0c7e" rel="alternate"/><published>2020-02-27T15:58:14.915000Z</published><updated>2020-02-27T15:58:14.915000Z</updated><author><name>lemaitre</name><uri>https://forge.codesys.com/u/lemaitre/</uri></author><id>https://forge.codesys.com0f39cf725ef777a5c363cf1fdade17a76dee846b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello bmunsil,&lt;/p&gt;
&lt;p&gt;Seeing project is the same as me regarding CAN.&lt;br/&gt;
RPI3+PICAN.&lt;/p&gt;
&lt;p&gt;Can you help me to start CAN on my project.&lt;/p&gt;
&lt;p&gt;thks&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#6f30" rel="alternate"/><published>2020-02-27T15:58:14.145000Z</published><updated>2020-02-27T15:58:14.145000Z</updated><author><name>bmunsil</name><uri>https://forge.codesys.com/u/bmunsil/</uri></author><id>https://forge.codesys.comdcddb13cee17b49580474771b9b22821b9518415</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
which index do you mean.&lt;br/&gt;
You need to add a mapping and use the varibales in the POU's.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;no, I answered my own question. I wasn't sure if I needed to set an SDO analog interrupt for each of the analog inputs or not but after some testing I know that I do not. Thanks for your time. Everything is working as expected.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#aeb7" rel="alternate"/><published>2020-02-27T15:58:11.965000Z</published><updated>2020-02-27T15:58:11.965000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comca60f0397a90ee3bfccc4c1ce5a8f8ce284f3598</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
which index do you mean.&lt;br/&gt;
You need to add a mapping and use the varibales in the POU's.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: Mapping.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2279"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#bc44" rel="alternate"/><published>2020-02-27T15:58:11.212000Z</published><updated>2020-02-27T15:58:11.212000Z</updated><author><name>bmunsil</name><uri>https://forge.codesys.com/u/bmunsil/</uri></author><id>https://forge.codesys.coma635b45de7ba6a6065fcfc81d0c2b783af022e21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;thanks for the quick reply. adding the Analogue Input global interrupt enable worked. I have one question, do you need to set an index for each of the analog inputs? or will this handle all of the analog inputs? I apologize for my lack of knowledge on PDO/SDO, I am using Codesys as my learning platform.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#c143" rel="alternate"/><published>2020-02-27T15:58:09.032000Z</published><updated>2020-02-27T15:58:09.032000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com11cf761165be831f885e6dff09586ed55c836d2e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I would add the global analogue Interrupt Register to the Startup SDO  list,&lt;br/&gt;
See screenshot.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;p&gt;&lt;img alt="IMG: globalAnalogInterruptEnable.jpg" rel="nofollow" src="https://forum.codesys.com//download/file.php?id=2270"/&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CANBUS PDO I/O Mapping problem</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/535f5d7b6a/?limit=25#f351" rel="alternate"/><published>2020-02-27T15:58:08.258000Z</published><updated>2020-02-27T15:58:08.258000Z</updated><author><name>bmunsil</name><uri>https://forge.codesys.com/u/bmunsil/</uri></author><id>https://forge.codesys.comabcf1270ff3112077af2d887edea50f0c3788b8c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Edwin Schwellinger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi,&lt;br/&gt;
i have two remarks:&lt;br/&gt;
1.For these analog terminals do you enable the Interrupt Register (by SDO) otherwise no values come out of these terminals.&lt;br/&gt;
2. CODESYS only update the values if they are mapped and used in the POU's.&lt;br/&gt;
BR&lt;br/&gt;
Edwin&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;yes they are mapped and used. the analog signals show up as if they are ready but they never update. I did have this working at one point but I lost my configuration and have not been able to recreate what worked. as for the interrupt register, I have nothing but default set.&lt;/p&gt;
&lt;p&gt;UPDATE: ok I apparently didn't have the higher 8 inputs and outputs being used. they are now working. the analog is still not functioning. thank you for your time.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>