<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to I2C How to set repeated start condition?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1fd4ad9b2c/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1fd4ad9b2c/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Runtime/thread/1fd4ad9b2c/</id><updated>2020-02-27T15:57:25.091000Z</updated><subtitle>Recent posts to I2C How to set repeated start condition?</subtitle><entry><title>I2C How to set repeated start condition?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1fd4ad9b2c/?limit=25#e9e5" rel="alternate"/><published>2020-02-27T15:57:25.091000Z</published><updated>2020-02-27T15:57:25.091000Z</updated><author><name>pask</name><uri>https://forge.codesys.com/u/pask/</uri></author><id>https://forge.codesys.com7d71012fa911f5685403efdb15d9d75fbe16f304</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I still did not find a solution how to set i2c in Codesys but i solved the problem in another way.&lt;/p&gt;
&lt;p&gt;I wrote a java program with Pi4J library that is reading the sensor and then i am sending the result to RPi through MOdbus TCP.&lt;/p&gt;
&lt;p&gt;The RPi is configured as a Modbus slave and the Java program as Modbus TCP Master.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>I2C How to set repeated start condition?</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/1fd4ad9b2c/?limit=25#6dc5" rel="alternate"/><published>2020-02-27T15:57:22.902000Z</published><updated>2020-02-27T15:57:22.902000Z</updated><author><name>pask</name><uri>https://forge.codesys.com/u/pask/</uri></author><id>https://forge.codesys.comdf00da31b40de19ddd4331c3217784ef1f3c160f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;does someone knows how to use I2C with repeated start condition? &lt;br/&gt;
I need to communicate with temp sensor MLX90614 which is using this protocol.&lt;/p&gt;
&lt;p&gt;I am using Codesys 3.5 SP10 with Raspberry Runtime 3.5.10.20&lt;/p&gt;
&lt;p&gt;Weist jemand wie kann mann I2C Schnittstelle mit s.g. repeated start condition nutzen.&lt;br/&gt;
Ich brauche eine Komunikation mit Tem. Sensor MLX90614 zu erstellen aber der Sensor nutzt wie besprochen I2C mit repeates start condition.&lt;/p&gt;
&lt;p&gt;Ich nutze Codesys 3.5 SP10 mit Raspberry Runtime 3.5.10.20&lt;/p&gt;
&lt;p&gt;Best regards&lt;br/&gt;
PASK&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>