Correctly changes in FB-CLASS
System - Freelance AC800F.
I have user function block as a class, which realized pid-regulator and based on standart PID-regulator. Some exemplars of this class are configured correctly already (set needed CP, CI, TR etc.). If i want to change the cod in these FB-Class, what i shoud not to do that don't lose configure in exemplars? I know, that i can not change input or output pin, what else?
Voted best answer
You can change anything only problem is if you change input, output or UFB class name then you needs to instantiate all the instances of UFB and it is painful if you have used UFB instance at several places.
Otherwise changing inside logic, variable or dialog editor of UFB class will be reflected at all the instances after plausibility check is through for new changes.
It is recommended if you export original UFB as backup with same name to fall back in case if it is required. Then you can do anything and test your changes. If it is required to fall back you can delete UFB class, Import block and move it from pool to P-FB and it is done.
But notice if you have used your UFB instances at several places then if you change I/p, o/p or UFB class name you need to change all instances as described previously,
Recommended to go through online help topic “Modification of User Function Blocks” everything is described more specifically there.
Hope it helps to you..