hw_iscmd()

Checks if the controller is running a script command.

Syntax

planetcnc.hw_iscmd()

Parameters

Parameter Type Description Comment
None

Return Value

Examples

#! /usr/bin/env python
 
import planetcnc
 
result = planetcnc.hw_iscmd()
print("Script command running:", result)

See also