Skip to main content

Creating and Updating Libraries

  • Create a new TwinCAT PLC ProjectScreenshot 2026-02-20 162955.png
  • Add in a Standard PLC project 
  • Your project should only contain References, DUTs, and Function Blocks. Only add in files that will not be edited in future projects. 

                                                                                  Screenshot 2026-02-20 162759.png


  • Right click on the project and select 'save as library and installinstall'

image.png

You'll be prompted to add the following information.

  • Company Name (SilverHills Bakery)
  • Version Number
    • Note that version control is handled as such: 
      Example:  Version: 1.2.0
      1: Major version change that requires an update for the library to function correctly.
      2: Minor changes to a single file that will require an update for the library to function correctly 
      0:  Minor change to the project that does not require an update 
  • Title
  • A brief description of what the library is/doesdoes. (Not
      mandatory
    • Note: The description is optional but is importantvery to addhelpful when creating our own libraries)libraries. 

Youwiki-screenshot.png can

also

Editing add/& Updating Versions

To edit librariesthe underlibrary make sure you have cloned the library repository from GitHub or have fetched and pulled any changes. Make the necessary changes following the same steps as updating any PLC ->project Library(saving, Repositorybuilding, ->commit Companyand ->push). SilverHills Bakery

Updating Version 

Right click on the PLC project and go to properties. Similar to saving a new library you will need to update the version number in the properties. Be sure to check the 'released' box as well. 

WIKI_Screenshot_LibraryUpdate .png

wiki_screenshot_releasedlibrary.png

Save the file and once again right click on your PLC Librarylibrary Projectproject and go'Save toas Properties.library Thisand willinstall' openMake upsure ayou're page withsaving the project.library details.file in the correct library Git location. 

image.png

Screenshot 2026-04-24 085617.png