Rockwell Automation Publication 2080-QS004C-EN-E - October 2023 53
Chapter 10 Learn About User-defined Functions and User-defined Function Blocks
Your Ladder Diagram program should look as follows.
You have now learned how to create and use a UDF in your project.
Get Sample Code from the Rockwell Automation Sample Code Library
You can find UDFB applications and sample projects from the Rockwell Automation Sample Code Library website, and from the Sample Code
folder in your local drive.
You can access the sample code through Help > Sample Code > Website or Local Folder.
Get Sample Code from Website
1. Select Website to go to the Rockwell Automation Sample Code website .