Join us today!
Updating Function Block after making additions/changes to Interface
If your function block is implementing an interface and you have added more methods or properties to the interface, you can update your function block to get all the additions from the interface.
In the image below, we can see that I_Calculate interface has a new method called 'Clear'. FB_Calculate function block is implementing I_Calculate interface. Apparently, 'Clear' method didn't exist when creating the FB_Calculate function block.
You can right click the function block and select 'Implement interfaces' to update the function block.
Select the implementation language and click OK.
Now we can see that FB_Calculate function block has the Clear method as well.
In case you want to say thank you !)
We'd be very grateful if you could share this community with your colleagues and friends. You can also buy us a coffee to keep us fueled 😊 This is the best way to say thank you to this project and support your community.
twinControls - https://twincontrols.com/
- 17 Forums
- 267 Topics
- 942 Posts
- 0 Online
- 722 Members