<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Activity for hbleier</title><link href="https://forge.codesys.com/u/hbleier/activity/" rel="alternate"/><id>https://forge.codesys.com/u/hbleier/activity/</id><updated>2020-06-05T07:53:48.046000Z</updated><subtitle>Recent activity for hbleier</subtitle><entry><title>hbleier modified a comment on discussion Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a238c52ebb/?limit=25#67b9" rel="alternate"/><published>2020-06-05T07:53:48.046000Z</published><updated>2020-06-05T07:53:48.046000Z</updated><author><name>hbleier</name><uri>https://forge.codesys.com/u/hbleier/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/a238c52ebb/?limit=25#67b9</id><summary type="html">I saw on youtube this guy said you can read values on the RPi4 SPI with python3 scripts then bring those values into codesys3.5 to use in a POU. I have been searching online for an example of this, but can not find it. He only showed executing a python script not reading from it. Attached is an example python script that I made to reads inputs 0 &amp; 1 which are 4-20mA transmitters and 4 &amp; 5 which are 10K NTC, beta 3892 thermistors on the MCP33131. It pulls the values and prints them to the console...</summary></entry><entry><title>hbleier posted a comment on discussion Runtime</title><link href="https://forge.codesys.com/forge/talk/Runtime/thread/a238c52ebb/?limit=25#67b9" rel="alternate"/><published>2020-06-05T07:51:02.969000Z</published><updated>2020-06-05T07:51:02.969000Z</updated><author><name>hbleier</name><uri>https://forge.codesys.com/u/hbleier/profile/</uri></author><id>https://forge.codesys.com/forge/talk/Runtime/thread/a238c52ebb/?limit=25#67b9</id><summary type="html">I saw on youtube this guy said you can read values on the RPi4 SPI with python3 scripts then bring those values into codesys3.5 to use in a POU. I have been searching online for an example of this, but can not find it. He only showed executing a python script not reading from it. Attached is an example python script that I made to reads inputs 0 &amp; 1 which are 4-20mA transmitters and 5 &amp; 6 which are 10K NTC, beta 3892 thermistors on the MCP33131. It pulls the values and prints them to the console...</summary></entry></feed>