Design, Testing, and Implementation of a Microgrid Controller Using IEC 61131-3 | IEEE Conference Publication | IEEE Xplore