52 Rockwell Automation Publication 2080-QS004C-EN-E - October 2023
Chapter 10 Learn About User-defined Functions and User-defined Function Blocks
Your Ladder Diagram program should look as follows.
5. Specify the following variables for each parameter of the Block instruction.
6. Save your project and download it to the controller.
7. Once your download is complete, go to Remote Run Mode.
8. Open the Local Variables of your Analog_scaling program, and set the Logical Values as follows.
9. The Scale1_value shows the converted engineering unit for 2080-IF2 analog input 0 as you adjust the potentiometer.