Write a User Defined Function Block for Allen Bradley Micro800 PLC in Connected Components Workbench

In this lesson we are going to show you how to write a User Defined Function Block in Rockwell Automation's Connected Components Workbench software.

In our last lesson, we scaled a 4-20mA signal but our signal could go out of the 4-20mA range. We are going to make a UDFB to limit the range of our 4-20mA signal and adjust it if it is out of range.