Guidelines for Creating Libraries
Libraries have to be created according to specific rules to avoid compatibility issues.
The main items include the following:
Select a meaningful library name (required)
Use templates to ensure consistency (optional)
Use a familiar and uniform project structure, when possible (optional)
Register a unique library namespace (required)
Enter all project information (required)
Apply the correct method for referencing other libraries correctly (required)
Design smart external and internal interfaces (required)
Implement a user-friendly error handling (required)
Apply the correct method (protection) for deployment (required)
Apply a consistent naming convention to get clean code (optional)
When revising an existing library, consider the interface compatibility with previous versions.
Follow these guidelines when developing libraries in CODESYS: "Library Development Summary".