<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Pi-Plate Python Code To SPI</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>Recent changes to Pi-Plate Python Code To SPI</description><language>en</language><lastBuildDate>Sat, 07 Dec 2019 16:16:44 -0000</lastBuildDate><atom:link href="https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%20Python%20Code%20To%20SPI/feed" rel="self" type="application/rss+xml"></atom:link><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v13
+++ v14
@@ -10,6 +10,7 @@
 Pages:

 [Pi-Plate Information]
+[Relay Plate Python Code]
 [Convert to Python to Codesys]


&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Sat, 07 Dec 2019 16:16:44 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comaa9afcef6821f1a1ad16f16e04696e627f39377a</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v12
+++ v13
@@ -7,9 +7,9 @@

 My main goal would be to add a device under the SPI bus master and map each relay to a boolean value.  Also the relay.  I would like to get also poll all the board information and map that to a variable.  

-Pages
-Pi-Plate Information [Convert to Python to Codesys]  
-Python Code
-SPI to Codesys Convertion
+Pages:
+
+[Pi-Plate Information]
+[Convert to Python to Codesys]


&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Sat, 07 Dec 2019 16:15:45 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com6070ccab9f3cc292dd9169d45d12f95844d7dd03</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -8,7 +8,7 @@
 My main goal would be to add a device under the SPI bus master and map each relay to a boolean value.  Also the relay.  I would like to get also poll all the board information and map that to a variable.

 Pages
-Pi-Plate Information [MyWikiPage]  
+Pi-Plate Information [Convert to Python to Codesys]  
 Python Code
 SPI to Codesys Convertion

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Sat, 07 Dec 2019 16:12:33 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.coma45e159218003ff6311a24d111c01836f9cb2625</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -7,12 +7,9 @@

 My main goal would be to add a device under the SPI bus master and map each relay to a boolean value.  Also the relay.  I would like to get also poll all the board information and map that to a variable.  

-[[download url=...]]
-
-[TOC]
-# Usage
-...
-# Prerequisites
-...
+Pages
+Pi-Plate Information [MyWikiPage]  
+Python Code
+SPI to Codesys Convertion


&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Sat, 07 Dec 2019 16:10:16 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com95b96f8ecab63825046c157263c3b8c21c2016e6</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -7,7 +7,12 @@

 My main goal would be to add a device under the SPI bus master and map each relay to a boolean value.  Also the relay.  I would like to get also poll all the board information and map that to a variable.  

+[[download url=...]]
+
 [TOC]
-Pi-Plate Information
-Python Code
-SPI to Codesys Convertion
+# Usage
+...
+# Prerequisites
+...
+
+
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Sat, 07 Dec 2019 16:08:17 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comdd9a977179506298ee5c3457756fcf4c3e7ef007</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -7,9 +7,7 @@

 My main goal would be to add a device under the SPI bus master and map each relay to a boolean value.  Also the relay.  I would like to get also poll all the board information and map that to a variable.  

-
-Index
-
-Pi Plate Information 
+[TOC]
+Pi-Plate Information
 Python Code
 SPI to Codesys Convertion
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Sat, 07 Dec 2019 16:07:05 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comef40770c1c3820e04e7c9aedd2d5837a7d85e8f8</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -7,64 +7,9 @@

 My main goal would be to add a device under the SPI bus master and map each relay to a boolean value.  Also the relay.  I would like to get also poll all the board information and map that to a variable.  

-Product Data
-https://pi-plates.com/relayr1/

+Index
+
+Pi Plate Information 
 Python Code
-https://forge.codesys.com/drv/relay-pi-plate/wiki/Pi-Plate%20Code%20to%20Convert%20To%20SPI/
-
-User Guide
-https://pi-plates.com/relayplate-users-guide/
-
-Command Reference
-https://pi-plates.com/downloads/RELAYplateQuickReferenceGuide.pdf
-
-
-
-Data
-
-Relay Plate Address
-Relay Number
-Relay State
-
-
-Relay Functions
-Turn Relay On
-Turn Relay Off
-Toggle Relay
-Relay All (Byte)
-Return Relay State
-
-LED Functions
-Set LED
-Clear LED
-Toggle LED
-
-System Functions 
-Get Firmware Version
-Reset
-
-Address Range of boards 0 to 7
-Relay Range 1 to 7
-
-GPIO Used, I will write out what they are for when I find out.
-
-  The following pins are dedicated to Pi-Plates and cannot be shared:
-*     Pin 22 / GPIO 25
-*     Pin 26 / GPIO 7
-*     Pin 16 / GPIO 23
-*     Pin 15 / GPIO 22
-The following pins are used for SPI communication and can be used by other SPI-enabled devices selected by CE0. They cannot be used for GPIO:
-
-*     Pin 19 / GPIO 10
-*     Pin 21 / GPIO 9
-*     Pin 23 / GPIO 11
-The following pin may be used by Pi-Plates if their features are enabled:
-
-*     Pin 12 / GPIO 18
-
-* The following pins are reserved for future expansion:
-
-*     Pin 16 / GPIO 23
-*     Pin 18 / GPIO 24
-
+SPI to Codesys Convertion
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Sat, 07 Dec 2019 16:04:48 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comf7a45d6820b9b69bc504c685ffbe2793cbe4569b</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -3,7 +3,7 @@

 Background

-I purchased this Relay PI-Plate and it works very well using python.  I though i could expand its uses with codesys and make my own driver.  I emailed the support and asked for a C library or if they would explain more about how the driver works.  They said no, they would not help.  The python libaray was the only thing they would supply, but I was welcome to develop my own library based on their python library.   I read how to develop a SPI bus device driver on the forge and though I would give it a shot.  Below is what I discovered so far.
+I purchased this Relay PI-Plate and it works very well using python.  I though I could expand its uses with codesys and make my own driver.  I emailed the support and asked for a C library or if they would explain more about how the driver works.  They said no they would not help, develop a C library.  The python library was the only thing they would supply, but I was welcome to develop my own library based on their python library.   I read how to develop a SPI bus device driver on the forge and though I would give it a shot.  Below is what I discovered so far.

 My main goal would be to add a device under the SPI bus master and map each relay to a boolean value.  Also the relay.  I would like to get also poll all the board information and map that to a variable.  

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Sat, 07 Dec 2019 12:51:47 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.coma9bc06c341b00eb6166fd011ddbb23129b2222b6</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -9,6 +9,9 @@

 Product Data
 https://pi-plates.com/relayr1/
+
+Python Code
+https://forge.codesys.com/drv/relay-pi-plate/wiki/Pi-Plate%20Code%20to%20Convert%20To%20SPI/

 User Guide
 https://pi-plates.com/relayplate-users-guide/
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Fri, 06 Dec 2019 13:57:18 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.com04df2ae1635745b7f49fff491100e42828136f01</guid></item><item><title>Pi-Plate Python Code To SPI modified by BG_Automation</title><link>https://forge.codesys.com/drv/relay-pi-plate/home/Pi-Plate%2520Python%2520Code%2520To%2520SPI/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">BG_Automation</dc:creator><pubDate>Fri, 06 Dec 2019 13:56:25 -0000</pubDate><guid isPermaLink="false">https://forge.codesys.comf77f5e89855502b23935d3e78e753bd88e7f1dfd</guid></item></channel></rss>