Skip to Content

Controller — Execution & Actions

Back to Controller.

DownloadProgramByName

def DownloadProgramByName(programName: str) -> int

Downloads the program specified by its name from the current controller.

Parameters:

NameTypeDescription
programNamestrName of the program to find and download, if it exists.

Returns: int — ERR_NO_ERROR(0) if completed successful, error code otherwise.

CalculateTotalTimeForSequenceBalance

Since R2025.2.4

def CalculateTotalTimeForSequenceBalance() -> int

Method to calculate the total time for all components from active program of the current controller

Returns: int — int: Status code (0 = success, non-zero = error).

CalculateTimeForOperationInSequenceBalance

Since R2025.2.4

def CalculateTimeForOperationInSequenceBalance(operation: CENPyOlpOperation) -> int

Method to start calculate the time for given operation

Parameters:

NameTypeDescription
operationCENPyOlpOperation

Returns: int — int: Status code (0 = success, non-zero = error).

Was this page helpful?