- Notifications
You must be signed in to change notification settings - Fork16
Ladder Diagram editor implementation using Qt. See:https://code.qt.io/cgit/qt/qtbase.git/tree/examples/widgets/graphicsview/diagramscene?h=5.14
akelmas/kn_plc
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a ladder logic editor developed using QT Widgets. User can create Ladder Logic networks and upload it to KN PLC.KN PLC is a programmable logic controller with core functionality. It is built around Arduino Mega 2560.
It supports:
- 8 x Digital Inputs
- 8 x Digital Outputs
- 8 x AUX
- 2 x Counter
- 2 x Timer
Object Arduino Mega 2560 PinDigital Input 0 22Digital Input 1 24Digital Input 2 26Digital Input 3 28Digital Input 4 30Digital Input 5 32Digital Input 6 34Digital Input 7 36Digital Output 0 4Digital Output 1 5Digital Output 2 6Digital Output 3 7Digital Output 4 8Digital Output 5 9Digital Output 6 10Digital Output 7 11
Pin connections should be made using pull-down resistors to avoid floats
platformio (CORE) >= 4.xnot required to build but in order to run
- To install platformio, seehttps://docs.platformio.org/en/latest/core/installation.html
Qt >= 5.12.1
- To install Qt, seehttps://doc.qt.io/qt-5/gettingstarted.html
- Clone this repo.
- Run the commandin top level directory:
qmake -makefile
- Build it:
mingw32-make
After succesfully compiled, execute the command:
./release/kneditor.exe
NOTE: ifplatformio is not in the PATH you cannot upload the program to Arduino.
About
Ladder Diagram editor implementation using Qt. See:https://code.qt.io/cgit/qt/qtbase.git/tree/examples/widgets/graphicsview/diagramscene?h=5.14