<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/</id><updated>2020-05-15T11:31:23.822000Z</updated><subtitle>Recent posts to Create and use own I2C-Device in Codesys</subtitle><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=250#978e/0451" rel="alternate"/><published>2020-05-15T11:31:23.822000Z</published><updated>2020-05-15T11:31:23.822000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.comb03f36a798e9c1f2d4ecc8c1c37689650110ddf4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Maybe you have found it yourself allready.&lt;/p&gt;
&lt;p&gt;Press Menu (upper left),&lt;br/&gt;
Select Drivers, now the Device Drivers page opens.&lt;br/&gt;
You can find many open source device drivers which are i2c or SPI based here.&lt;/p&gt;
&lt;p&gt;Select I/O Drivers =&amp;gt; All the information to start writing your own device driver for i2c / SPI can be found here. &lt;/p&gt;
&lt;p&gt;Hope this helps you in the right direction.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=25#978e" rel="alternate"/><published>2020-05-14T13:53:00.847000Z</published><updated>2020-05-14T13:53:00.847000Z</updated><author><name>patrickrjbrown</name><uri>https://forge.codesys.com/u/patrickrjbrown/</uri></author><id>https://forge.codesys.com20ecc7a722f4a58403516ee13f4d15bf7c536756</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I know this is a old (ish) thread, but i've got a similar question, &lt;/p&gt;
&lt;p&gt;I've got a sensor that i need to interface with on a machine i'm upgrading.. the thing is it produces a 5 digit BCD output... (which is a load of pins... ) so my plan is to program up a little arduino mega, and then use i2c to send the value into the PLC, (which is an raspberry Pi)&lt;/p&gt;
&lt;p&gt;so looking at some of the FB examples of the i2c seems i can just pick the data off the bus, &lt;/p&gt;
&lt;p&gt;but having not tested it yet i'm hoping someone has an example.. or give me some guidance.. &lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Pb &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=100#13ae" rel="alternate"/><published>2020-02-27T16:12:02.016000Z</published><updated>2020-02-27T16:12:02.016000Z</updated><author><name>aliazzz</name><uri>https://forge.codesys.com/u/aliazzz/</uri></author><id>https://forge.codesys.comb9bbad5ce423ba6720310bb8caf418da4dc4613f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;@ Ingo Hornberger;&lt;/p&gt;
&lt;p&gt;I am very interested in the draft documentation. Would you be so kind an please contact me to send this documentation?&lt;/p&gt;
&lt;p&gt;Aliazzz&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=25#248b" rel="alternate"/><published>2020-02-27T16:12:01.212000Z</published><updated>2020-02-27T16:12:01.212000Z</updated><author><name>NPI</name><uri>https://forge.codesys.com/u/npi/</uri></author><id>https://forge.codesys.com1a380eeda516cdf92ffb24af2ddb6828ba2e5abb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi Forum,&lt;/p&gt;
&lt;p&gt;I have the same problem. I bought the new Pixtend V2. Old I²C examples doesn't run properly in the new Codesys Software. I can't see the source code, only when fail. A double click on the error opens the code. The librarys gets many errors.&lt;/p&gt;
&lt;p&gt;Why is the source hidden? Some of us need only a small example for I²C-Bus i.e. step by step create a device.&lt;/p&gt;
&lt;p&gt;Anyone confirm whit the new Pixtend V2?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=25#b1db" rel="alternate"/><published>2020-02-27T16:11:58.901000Z</published><updated>2020-02-27T16:11:58.901000Z</updated><author><name>louisledee</name><uri>https://forge.codesys.com/u/louisledee/</uri></author><id>https://forge.codesys.comdf2cb3ca6c3f1cd03413d33fbea0d7c13a061903</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;kriskizlyk, &lt;/p&gt;
&lt;p&gt;Have you gotten anywhere with this?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=25#2a39" rel="alternate"/><published>2020-02-27T16:11:58.089000Z</published><updated>2020-02-27T16:11:58.089000Z</updated><author><name>kriskizlyk</name><uri>https://forge.codesys.com/u/kriskizlyk/</uri></author><id>https://forge.codesys.com051efafe4f4a62d6ab3fd8b4fe05f126213578bf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Ingo Hornberger hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
Hi!&lt;br/&gt;
Currently I only have some draft documentation for SPI. If you have some time left, I can provide you the first I2C draft as soon as it is available (via E-Mail).&lt;br/&gt;
If not, I can try to assist you in the creation of your specific driver.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Ingo&lt;/p&gt;
&lt;p&gt;I would like to create a driver for a INA226 device, would you be able to give me some quick guidance on how I create the library?  I have seemed to figure out how to Add &lt;br/&gt;
an existing Library, but how would I go about actually creating a new one?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=25#32e0" rel="alternate"/><published>2020-02-27T16:11:55.790000Z</published><updated>2020-02-27T16:11:55.790000Z</updated><author><name>louisledee</name><uri>https://forge.codesys.com/u/louisledee/</uri></author><id>https://forge.codesys.com3c98adea33a87cd76c05601a66fafaf6ef8fa059</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey Ingo, you can email me and I can go from there for the time being. my email is simple, its my username here then gmail. Thanks for your help. I found a bit of documentation in the manual that I think would get me by, through lots of trial and error. &lt;/p&gt;
&lt;p&gt;On another note, my Raspberry Pi Zero just fried, I will need to get another board, do i have any luck getting the license on the new board that you or anyone here knows of?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=25#3648" rel="alternate"/><published>2020-02-27T16:11:54.978000Z</published><updated>2020-02-27T16:11:54.978000Z</updated><author><name>Ingo</name><uri>https://forge.codesys.com/u/ingo/</uri></author><id>https://forge.codesys.com5d41b247b15fcbe13510b75eb2ca171306e390e0</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi!&lt;br/&gt;
Currently I only have some draft documentation for SPI. If you have some time left, I can provide you the first I2C draft as soon as it is available (via E-Mail).&lt;br/&gt;
If not, I can try to assist you in the creation of your specific driver.&lt;/p&gt;
&lt;p&gt;Just let me know what you prefer.&lt;/p&gt;
&lt;p&gt;BR,&lt;br/&gt;
Ingo&lt;/p&gt;
&lt;p&gt;Gesendet von meinem LG-H870 mit Tapatalk&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=25#5b98" rel="alternate"/><published>2020-02-27T16:11:54.172000Z</published><updated>2020-02-27T16:11:54.172000Z</updated><author><name>louisledee</name><uri>https://forge.codesys.com/u/louisledee/</uri></author><id>https://forge.codesys.comc58000bc165733c9074e46742c5668a7fee73b84</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I'm not sure how to pm but Ingo Hornberger, can you send me a message? I'd like to create a driver for the raspberry pi.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Create and use own I2C-Device in Codesys</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/868d46c016/?limit=25#d1fc" rel="alternate"/><published>2020-02-27T16:11:51.861000Z</published><updated>2020-02-27T16:11:51.861000Z</updated><author><name>Ingo</name><uri>https://forge.codesys.com/u/ingo/</uri></author><id>https://forge.codesys.come49f6a9476cca2f36aa7b0cc8c11b717d0283467</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;no template this far, but I hope that we have that in the future. But I can recommend you to have a look into the existing driver libraries. Those are provided in source, in the hope that they are usefull.&lt;/p&gt;
&lt;p&gt;Everyone seriously interested in driver development on the Pi is welcome to leave me a PM.&lt;/p&gt;
&lt;p&gt;BR,&lt;br/&gt;
Ingo&lt;/p&gt;
&lt;p&gt;Gesendet von meinem LG-H870 mit Tapatalk&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>