Checks if the controller is running a script command.
planetcnc.hw_iscmd()
#! /usr/bin/env python import planetcnc result = planetcnc.hw_iscmd() print("Script command running:", result)