is_controller_connected()

Checks whether the machine controller is connected and has the correct version.

This function determines if the controller hardware is available and compatible, ensuring that communication with the controller can occur successfully.

Syntax

planetcnc.is_controller_connected()

Parameters

Parameter Type Description
None

Return Value

Examples

#! /usr/bin/env python 
 
import planetcnc
 
if planetcnc.is_controller_connected():
    print("Controller is connected and has a valid version.")
else:
    print("Controller is not connected or the version is incorrect.")

See also

is_license_valid
is_ui_ready
is_program_loaded
is_controller_connected
is_controller_ready
is_controller_running