ScriptCasOptionsManager

class ScriptCasOptionsManager.CasOptionsManager

Bases: object

Represents information stored by the CAS Connector plugin in the CODESYS options storage

Note

Only available if the “CODESYS Automation Server Connector” Plugin and the “CODESYS Script Engine” packages are installed!

property auto_assign_boot_applications_on_download: bool

When this setting is True, and a new boot application is downloaded to a /// PLC in a CAS debug session, this application is also uploaded to the server, and /// assigned for application synchronization. This setting corresponds to the menu /// checkbox command “Assign Server Applications on Download”.

Return type:

bool

property recent_server_urls: list[str]

Gets the recent server urls, approximately ordered by least recent usage first.

Return type:

list[str]

Returns:

A python list containing the recent server URLs as strings.