Create project Need help?
plux
  • Labs project

Raspberry Pi simple PLC

Status: Proposal
4105
7
votes
October 1, 2015
rpiplc.main_.png

Raspberry Pi simple PLC, an attempt to implement a simple PLC into a Raspberry Pi single-board computer.

With a Raspberry Pi board and the aid of eight PCA9555 Port-Expanders the states of 64 inputs can be monitored and 64 outputs can be driven. The project provides also to add 4 GNUBLIN ADC-Modules ( 4 x 8 analog inputs).

A ladder diagram editor is also included. This Ladder Diagram Editor is designed to allow you to easily prepare a PLC program by simply placing blocks. Ladder diagrams, which are in many ways similar to relay logic diagrams, are frequently used to graphically generate programs. When the instructions in the program are executed, the states of the inputs are monitored, depending on these states, various outputs are set either High or Low.

All functionality of the ladder diagram editor is available only under ubuntu. Other Linux distributions have not been tested.

With the Windows operating system, it is not possible to benefit from the online features.
Windows users can use a popular program named PuTTY to interact with the Raspberry Pi PLC.

Home site: https://www.dciux.eu/?q=content/rpisplc-rapsberry-pi-simple-plc

 

2015-10-05 Running light example posted.
Ladder Diagram running light example:
https://www.dciux.eu/sites/default/files/movie/ldr.hlp.running.light.mp4
RPIPLC Hardware running light example:
https://www.dciux.eu/sites/default/files/movie/rpi.running.light.mp4

Analog converter example:
Video: https://www.dciux.eu/sites/default/files/movie/potmeter.mp4
How to: https://www.dciux.eu/?q=content/analog-converter-example

8 inputs / 8 outputs example:
Video: https://www.dciux.eu/sites/default/files/movie/rpipclc.io.example.mp4
How to: https://www.dciux.eu/?q=content/rpiplc-inputoutput-example

 

 

Read the full post
Show less
Images
Hardware with 8 inputs, 8 outputs in action.
RPIsPLC hardware
Running te Ladder Diagram Editor.
Ladder Diagram an analog converter example.
Ladder Diagram an analog converter example.
Ladder Diagram create connection to Raspberry Pi PLC.
Get online information from the Rpi PLC.
Ladder Diagram simulator in action.
Isolated 24 Volt module with 8 inputs and 8 outputs.
Schematic of the 24 Volt module.
PCB of the 24 Volt module.
Picture 24 Volt module.
Other

Loading comments...