USERFBs are cuser-customizable functional blocks. Its utilization is encouraged to make the Ladder program less bulky and polluted, abstracting information with which one does not want to work often and systematizing complex tasks.
In these blocks, the inputs and outputs are defined by the user, who handles them in the Ladder diagram associated with the block. Here's how to create your USERFB.
1. In the Projects window, locate the resource in which you want to create the USERFB, right-click in User Function Block and click in New Folder.

2. In the wizard, insert a name for the library to which the USERFB will belong and click Next.

3. Insert a valid name for the USERFB and click Next.

4. If you want to insert a password to protect the block code, check the Encrypt binary checkbox and type a password. Otherwise, uncheck it. Click Finish.

That's it! The USERFB has been succesfully created. You should see the following in the Projects window.
