Flexible function block for PLC-based implementation of the Balance-Based Adaptive Controller | IEEE Conference Publication | IEEE Xplore