PLC embedded

From emboxit
Jump to: navigation, search

Based on Linux



LDMicro

The following chips are supported:
PIC16F628(A)
PIC16F88
PIC16F819
PIC16F877(A)
PIC16F876(A)
PIC16F887
PIC16F886
ATmega128
ATmega64
ATmega162
ATmega32
ATmega16
ATmega8
It is also possible to generate C code from the ladder program. That is less convenient, 
but you could use it on any processor for which you have a C compiler

Compiling LDmicro


Adams LDmicro ladder.h generator for Arduino

When we select ANSI C Code as Microcontroler type in Settings menu of LDmicro after compile we will get C file. 
This file contains all logic but it requires header file ladder.h which is missing. So, we have to implement this file. 


Waltech



SimPyLC

SimPyLC can generate C code for the Arduino processor boards.


LadderWORK

PRICE 560 eur



Soapbox




plcLib



Elektor




mbed




IDE4PLC

The current version (0.0.7 alpha) allows programming in Ladder Diagram IEC 61131-3 
NXP microcontrollers LPC1769 (Toolchain LPC1769 LPCXpresso board ), 
however, due to its modular architecture and its object-based design, it is easily portable to other Ar

chitectures.

It is developed on Pharo-Smalltalk 2.0 . The PLC firmware uses FreeRTOS and CMSIS 
C. Compiler: The LPCXpresso v5.2.6 environment is used
If you want to compile the C code generated from IDE4PLC and download it to the LPCXpresso (or other microcontroller), 
you need to install an external compiler to the IDE4PLC software. 
For design reasons, the compiler selected was the GCC through the LPCXpresso environment, version 5.2.6
Windows version only
Open the Pharo, create a program in LADDER DIAGRAM language using the POUs editor (which opens with the corresponding icon),
press the "compile" button that will translate the Ladder program into C language (generating several files with .C and. H). 
In addition to generating the files in the C language, it automatically invokes the LPCXpresso IDE software 
and starts the build process of the projects "PLeriC_Library" and "PLeriC_Project". 
his gives an executable compatible with the LPC1769 microcontroller.

Connect the LPCXpresso board to your computer via USB and press the "connect to the PLC" button in the POU Editor to perform the deletion.

Finally, press the "download to the PLC" button in the POUs Editor, so that the program is downloaded directly to the flash memory of the LPCXpresso board.
  • Important limitation
MAIN_PROGRAM is the only POU that allows to modify the program, it contains previously declared interface variables of Inputs 
(8 variables called E0 to E7) and Outputs (8 variables called S0 to S7) and some internal variables, 
it does not allow the addition or deletion of variables 



logi.cad

logi.CAD 3 is an Eclipse based IEC 61131-3 PLC programming tool which is independent from hardware manufacturers and runs on any system 
from 8 bit microcontrollers up to multicore PLCs. 
It comes with a project template for Revolution Pi which does contain the initial configuration for a RevPi Core. 
Any connected in- and output lines are defined using our configuration tool “PiCtory” and saved in a configuration file for logi.CAD 3. 
Therefore you can simply use symbolic names for any in- or Output in logi.CAD 3. 
The SCL (ST) editor is free of charge and you only need to buy a logi.RTS license key for 20 € (single task version) or 40 € (multi task version) in our online shop.

There will also be a professional version with graphical FBD editor available in our shop (price TBA).
  • ARM11 / ARMv6, ARM9, ARM9 EABI, ARM9 OABI, Cortex M3 / M4
  • Linux x86, x64
  • Windows x86, x64
  • Windows CE 5 / ARMV4I
  • AVR ATMega 328



Publications



Related pages