is_controller_ready()

Checks whether the machine controller is ready for executing an operation.

This function verifies that the controller is connected and is running the correct version, ensuring that it is prepared for new commands.

Syntax

planetcnc.is_controller_ready()

Parameters

Parameter Type Description
None

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
if planetcnc.is_controller_ready():
    print("Controller is ready for new commands.")
else:
    print("Controller is not ready.")

See also

is_license_valid
is_ui_ready
is_program_loaded
is_controller_connected
is_controller_ready
is_controller_running