Creating and Updating Libraries
- Create a new TwinCAT PLC Project

- 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.

- Right click on the project and select 'save as library and
installinstall'
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
- Note that version control is handled as such:
- Title
- A brief description of what the library is/
doesdoes.(Not- Note: The description is optional but is
importantveryto addhelpful when creating our ownlibraries)libraries.
mandatory - Note: The description is optional but is
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.
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.




