Downloads
*Download do aplicativo CSLadder Mic para windows, incluso bibliotecas utilizadas no arduino e manual.
Tutorial Do CSLadder Mic.pdf (802,5 kB)
manual com exercicios de automatização industrial.
The following study aim to build a compiler and a simulator of Ladder Language to ATmega328 microcontroller. The compiler receives Ladder source-code built by a graphic interface and, after the execution of each step of compilation, the object-code is built in C/C++ language to Arduino Duemilanove development board. The microcontroller has a function of a Programmable Logic Controller (PLC) and it has the hexadecimal code generated from the object-code compiled by Arduino Alpha compiler. The Simulator do the PLC function related to field interface, simulating the input and output signals by virtual buttons, leds and others. From Ladder language theoric knowledge, language processors and microcontrollers was possible to build the software project, hardware and then, the prototype. The tests were composed by automation exercises programmed in Ladder. Then, the software simulation and microcontroller aplication efficiency was tested. All tests were success fully done and the microcontroller has its functionality like a PLC. Every objective proposed in this project was achieved, being possible to build a low cost didatic tool.