...
first of all you have to parameterize the user block. I think 2 analog inputs and an analog output should be enough for the first time. Before changing, you have to delete the user function from the main program! If you drag the module back into your main program after the change, it has inputs and outputs. Next you have to assign the inputs and outputs in the user function program. See the pictures in the appendix.
You have to replace
MW10 with IA01
MW11 with IA02
MD15 with QA01
See the pictures in the appendix.