Checks whether a G-code program is currently loaded.
This function verifies that the program has been successfully loaded and is ready for execution or further interaction.
planetcnc.is_program_loaded()
#! /usr/bin/env python import planetcnc if planetcnc.is_program_loaded(): print("G-code program is loaded.") else: print("No G-code program is loaded.")