Preliminary Report: PLC Trainer The main idea of our project is to fix the functionality for Waltech so it runs more like RSLogix500
Programmable Logic Controller (PLC) Abstract Programmable Logic Controllers are widely adopted in Industrial Automation RSLogix 500 is the application used to program the PLC Programmable Logic Controller (PLC)
Problem PLC: $500 - $4000 Arduino Nano/Mega/Uno: $20 - $50 Electronic Bread Board: $10 Arduino Nano Arduino Uno Arduino Mega
Problem (Cont.) Industrial Automation’s biggest challenge today is the high initial cost to purchase or program automated machinery The GUI application allows the mechanical engineers to program these complicated devices without actually understanding the underlying code This open source application will allow students to work outside of the lab on the hardware of their choice
Timers and Counters Timer On Delay Retentive Timer On Counter up Counter down
Three Overarching Tasks Filling out the rest of the instruction set, including timer and counter functionality More efficient and convenient management of input and output assignments Live feedback of Arduino state through serial communication
Waltech Program popupDialogs main manageGrid LadderToOutline SerialCommunicator OutlineToC Arduino hexmaker LLCode
Design Process QT Designer Pyqt4 mainwindow.ui timer.ui counter.ui mainwindow_ui.py timer_ui.py counter_ui.py
MainWindow UI File Elements and instruction that define the ladder logic List of elements in current program design Console for debugging purposes GraphicsScene where user can design unique ladder logic programs for testing Console for user-directed messages Tools for manipulating rungs and ladder
Ladder Logic to Arduino Outline To C Hex maker AVR The ladder logic is converted to C code here, python uses a string to create C code. Our added functionality has been integrated here. C code is compiled with AVR-GCC, converted into hex, and flashed into Arduino
Send Command to get I/O states Serial Communicator Send Command to get I/O states Check Register for command Go through all input and output registers generating a string of 0’s and 1’s
This slide contained a video that caused the file to be uploaded to the capstone website
Questions? Comments? Concerns? THANK YOU Questions? Comments? Concerns?