ITcPlcLibraryManager

The ITcPlcLibraryManager interface extends the Automation Interface by enabling access to PLC libraries of a TwinCAT 3 PLC project or PLC repositories of a TwinCAT system.

ITcPlcLibraryManager 1:

Methods (in VTable Order)

ITcPlcLibraryManager methods

Description

Available since

AddLibrary()

Adds a library to a PLC project.

TwinCAT 3.1

AddPlaceholder()

Adds a placeholder to a PLC project

TwinCAT 3.1

InsertRepository()

Creates a repository, which represents a logical container for several libraries.

TwinCAT 3.1

InstallLibrary()

Installs a library into a repository.

TwinCAT 3.1

MoveRepository()

Changes the position of the repository in the repository location list.

TwinCAT 3.1

RemoveReference()

Removes library from the PLC project.

TwinCAT 3.1

RemoveRepository()

Removes a repository.

TwinCAT 3.1

ScanLibraries()

Returns a list of all libraries found in the system. The returned object is of type ITcPlcLibraries, which is a collection of ITcPlcLibrary objects.

TwinCAT 3.1

SetEffectiveResolution()

Sets the Effective Resolution of a placeholder

TwinCAT 3.1

UninstallLibrary()

Uninstalls a library from a repository.

TwinCAT 3.1

Properties (in VTable Order)

ITcPlcLibraryManager properties

Get / Set

Description

Available since

References

Yes / No

Gets an object of type ITcPlcReferences, which is a collection of ITcPlcLibrary or ITcPlcPlaceholderRef objects. Represents a list of all references added to the PLC project.

TwinCAT 3.1

Repositories

Yes / No

Gets an object of type ITcPlcLibRepositories, which is a collection of ITcPlcLibRepository objects. Represents a list of all currently configured repositories.

TwinCAT 3.1

Version information

Requirements

Required TwinCAT version

This interface is supported in TwinCAT 3.1 and above