Hello B&R Automation Community! ![]()
I’m excited to share a tool I’ve developed to help with documentation: BRLibToHelp - an application that automatically generates CHM help files from your Automation Studio libraries.
This tool follow the guidelines from the Automation Help here Creating help documentation for user libraries
What Problem Does It Solve?
If you’ve ever created custom libraries in Automation Studio, you know that proper documentation is essential but can be time-consuming to create manually. This tool automates the entire process by:
-
Parsing your library files (.fun, .typ, .var) automatically
-
Generating HTML documentation for all functions, function blocks, data types, and constants
-
Compiling a CHM help file ready for integration with Automation Studio
-
Enabling F1 context-sensitive help - just like native B&R libraries!
Key Features
Complete Documentation Coverage
-
IEC and ANSI C libraries -
Functions and Function Blocks -
Data Types (Structures, Enumerations) -
Constants and Variables -
Input/Output parameters with descriptions
F1 Integration
The generated CHM files work seamlessly with Automation Studio’s F1 help system. Place the CHM in your library’s Help/ folder, and users can press F1 on a selected function or function block in the logical view.
Full Source Access & Easy Rebuilds
All HTML source files are generated in the build folder, giving you complete control. Edit the documentation directly, add custom content, and rebuild the CHM file anytime using the included batch file - no need to regenerate from scratch!
Use Cases
This tool is perfect for:
-
Engineering teams maintaining internal function libraries
-
Anyone who wants professional documentation without the manual effort
Try It Out & Share Your Feedback!
Want to give it a try? You can find the complete project on GitHub:
https://github.com/br-automation-community/BRLibToHelp
I’m actively looking for feedback to improve the tool! Whether you have suggestions, found a bug, or just want to share your experience - your input is greatly appreciated. Feel free to:
-
Star the repository if you find it useful -
Open an issue if you encounter any problems -
Suggest new features or improvements -
Contribute to the project
Looking forward to hearing from you! ![]()
Regards,
Florent