Checks whether the G-code has been successfully loaded and is ready for execution.
planetcnc.gcode_is_ready()
#! /usr/bin/env python import planetcnc if planetcnc.gcode_is_ready(): print("G-code is loaded and ready to run.") else: print("G-code is not ready.")