==== PLC Builder ==== PLC controller can load and run small binary programs (PLC procedures). PLC procedure should be wrirtten by simplified C-like language, compiled and stored in PLC controller memory to be ready to go. PLC Builder - tiny IDE (Integrated Development Environment) to create and modify PLC procedure source files, compile them to binary code and upload it as RomFS iso image disk to PLC controller memory. To open **PLC Builder** goto * Settings **Tab Widget** -> * **Cfg** -> * **PLC Builder** -> * Select either **Hardware PLC** or **Software PLC** depends on what PLC you need {{ mycnc:mycnc-plc-builder-001.png }}PLC Builder IDE Widget {{ mycnc:mycnc-plc-builder-002.png }}PLC Builder Screen Components - **PLC Sources** - File List of PLC procedures - **PLC Includes** - File List of Include files, that can be used (included) by PLC procedures - PLC Source control buttons - Compile Selected Source file, detailed compilation Info will be available in **Compilator output** window - Save - Save Selected Source file on a disk - Add Source - Pressing this button will show Add Source dialog. Enter Procedure name (without extension) and press **OK** to add new PLC procedure Source file - Remove - Pressing this button will remove Selected source file (need to confirm delete in Delete Message Box) - Load PLC procedure sources from Templates - PLC Includes control buttons - Save - Save Selected Include file on a disk - Add Source - Pressing this button will show Add Include message box. Enter Include name (without extension) and press **OK** to add new PLC procedure Source file - Remove - Pressing this button will remove Selected include file (need to confirm delete in Delete Message Box) - Name - Display of Current PLC Source - Aliases - List of [[plc:plc_procedure_aliases|Aliases]] for Current PLC source - Current PLC/Include source text - PLC Compiler messages - Build Buttons: - **Build All** - **Save All** - **Send** [[plc:plc_procedure_aliases|PLC Procedure Aliases]] [[plc:predefined_procedures|PLC Predefined Procedures]]