User Tools

Site Tools


module:software:openplc:openplc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
module:software:openplc:openplc [2022/09/30 17:04] – [220927 - OpenPLC] omdevelopmodule:software:openplc:openplc [2022/10/04 18:05] (current) – [Überblick] omdevelop
Line 6: Line 6:
  
 ===== Überblick ===== ===== Überblick =====
-  * +  * Steuerung eines IT01 mit einem externen SPS-Host über Uart/Usb-Schnittstelle (des IT01). 
 +  * hier nur OpenPLC und nicht CodeView(Warnung!) 
 +  * [[https://de.wikipedia.org/wiki/Speicherprogrammierbare_Steuerung | Wikipedia: Speicherprogrammierbare Steuerung]] 
 +  * [[https://de.wikipedia.org/wiki/EN_61131|Wikipedia: SPS-Programmiersprachen]]
 ===== ToDo ===== ===== ToDo =====
  
 +  * Suche nach einer unter SPS frei programmierbaren Uart(/Usb)-Schnittstellen zur Kommunikation mit einem über Uart/Usb- angebundenen MicroController ????!!!!!
 +  * wo kann das ESP32-OpenPLC-RunTimeModule heruntergeladen werden?
 +  * Wo sind die OpenPLC-RunTimeModule-"Treiber" für AD-/DA-/Peripherie-Module eines Uno, ESP32, ...
 ===== Done ===== ===== Done =====
  
-==== 220929 ==== 
-  *  
-==== 220928 ==== 
-  *  
  
 ==== 220927 - OpenPLC ==== ==== 220927 - OpenPLC ====
Line 22: Line 24:
 https://openplcproject.gitlab.io/runtime/ https://openplcproject.gitlab.io/runtime/
  
-und das ist das KO-Kriterium!!! +auch EPS8266 und damit Sonoff NUR SLAVE-DEVICES 👎👎👎 \\ 
-auch EPS8266 und damit Sonoff NUR SLAVE-DEVICES 👎👎👎 +und daher können diese Devices nicht alleine und damit ohne SPS-Host SPS-Programme abarbeiten! \\
-und daher können diese Devices nicht alleine und damit ohne SPS-Host SPS-Programme abarbeiten!+
  
 ... UND WIE GEHT ES JETZT WEITER ?????????? ... UND WIE GEHT ES JETZT WEITER ??????????
Line 32: Line 33:
  
 {{:module:software:openplc:2209271801_spshostslave.jpg?400|}} {{:module:software:openplc:2209271801_spshostslave.jpg?400|}}
 +
 +[[https://funprojects.blog/2021/11/18/openplc-on-a-raspberry-pi/ | https://funprojects.blog/2021/11/18/openplc-on-a-raspberry-pi/]]
 +
 +so wie ich die Lage sehe, wird die (freie) Uart des RPi (TXD0-GPIO14 und RXD0-GPIO15) \\
 +für den ModBus benötigt und steht nicht zur freien Verfügung unter OpenPLC-RunTime für RPi 👎 \\
 +- ich komme auf jeden Fall hier nicht weiter (Example etc 👎)
 +
 ==== 220927 - OpenPLC ==== ==== 220927 - OpenPLC ====
 {{:module:software:openplc:2209271625_firstopenplcprogram.jpg?400| }} {{:module:software:openplc:2209271625_firstopenplcprogram.jpg?400| }}
Line 50: Line 58:
  
 {{:module:software:openplc:2209271628_firstopenplcprogram.jpg?400|}} {{:module:software:openplc:2209271628_firstopenplcprogram.jpg?400|}}
 +
 +OpenPLC-Runtime-WindowsHost (mit LocalHost:8080)
  
 {{:module:software:openplc:2209271629_firstopenplcprogram.jpg?400|}} {{:module:software:openplc:2209271629_firstopenplcprogram.jpg?400|}}
 +
 +... sogar FischerTechnik und PiXtend2S werden von OpenPLC unterstützt!
  
 {{:module:software:openplc:2209271630_firstopenplcprogram.jpg?400|}} {{:module:software:openplc:2209271630_firstopenplcprogram.jpg?400|}}
 +
 +[[https://openplcproject.gitlab.io/openplc_firmware/platforms_index.html | https://openplcproject.gitlab.io/openplc_firmware/platforms_index.html]]
  
 {{:module:software:openplc:2209271631_arduinouno.jpg?400|}} {{:module:software:openplc:2209271631_arduinouno.jpg?400|}}
 +
 +... Programmierung der ArduinoUno-OpenPLC-Firmware ... - \\
 +irgendetwas stimmt mit der Uno-Pinzuordnung noch nicht ...
 +
 +{{:module:software:openplc:2209271633_firstopenplcprogram.jpg?400|}}
 +
 +Ergebnis OpenPLC: Monitoring der Uno-Boardpins: \\
 +BUTTON(IN)==FALSE -> LAMP(OUT)==FALSE
  
 {{:module:software:openplc:2209271635_firstopenplcprogram.jpg?400|}} {{:module:software:openplc:2209271635_firstopenplcprogram.jpg?400|}}
  
 {{:module:software:openplc:2209271637_firstopenplcprogram.jpg?400|}} {{:module:software:openplc:2209271637_firstopenplcprogram.jpg?400|}}
 +
 +Fall BUTTON == TRUE: Monitoring der Uno-Boardpins: \\
 +BUTTON(IN)==TRUEE -> LAMP(OUT)==TRUE
  
 {{:module:software:openplc:2209271639_firstopenplcprogram.jpg?400|}} {{:module:software:openplc:2209271639_firstopenplcprogram.jpg?400|}}
module/software/openplc/openplc.1664550259.txt.gz · Last modified: 2022/09/30 17:04 by omdevelop