Checks whether the machine controller is currently running.
This function verifies that the system is initialized and that the controller is actively running.
planetcnc.gcode_is_running()
#! /usr/bin/env python import planetcnc if planetcnc.gcode_is_running(): print("The machine is currently running.") else: print("The machine is not running.")