HTML5: Best viewed in Mozilla Firefox.

This page will be moved to a new location: DCIUX

Header image

RPIsPLC.

Simple Raspberry Pi PLC.

Creating a First Ladder Diagram Program.

Creating a First Ladder Diagram Program.

Last modified: De Coninck Ivo

This guide will show you how to create a first Ladder Diagram Program.

Download and install the Ladder Diagram Editor on your Ubuntu system.

Last modified:

First Install Java (openjdk-6-jre or higher version) on Ubuntu.
Download and extract pluxedit.zip archive.
Make plux.jar file executable:

  1. Right click on the plux.jar file, click on properties, go to Permissions, and check the box 'Allow executing this file as a program'.
  2. Close and you are ready to execute plux.jar under Ubuntu.


Double clicking should launch the Ladder Diagram Editor.

Top

First Ladder Diagram.

Last modified:

Creation of a ladder diagram with 3 inputs and 3 outputs.

  1. In the first network (number 0) add a normally open contact assigned number 0.0 (input 0) and add a coil instruction assigned number 0.0 (output 0).
  2. For the second network (number 1) add a normally open contact assigned number 0.1 (input 1) and add a coil instruction assigned number 0.3 (output 3).
  3. Next network (number 2) add a normally open contact assigned number 0.2 (input 2) and add a coil instruction assigned number 0.7 (output 7).

How to: Add Normally Open Contact.
How to: Add Coil.
The result:

editor.diagram.first.png
Fig1. - First Ladder Diagram.

Top

Save, Build and Download Ladder Diagram.

Last modified:

Save and Build the Ladder Diagram.

editor.build.png
Fig2. - Build first Ladder Diagram.

Download Ladder Diagram to RPi.

editor.download1.png
Fig3. - Download Ladder Diagram.

Download configuration panel.

editor.download.pi.png
Fig4. - Download configuration.
  1. Local User Name: The login name for the local machine.
  2. Local Password: The local user password.
  3. Local IP-address: The local machine's addres.
  4. PLµX User Name: root login for the embedded linux machine (Raspberry Pi).
  5. PLµX Password: Not needed (textfield not enabled).
  6. PLµX IP-address: IP address on the embedded linux machine(Raspberry Pi).

< Previous - - - Next >

Top

Leave a Message.