Avoiding pitfalls in applying programmable logic controllers in substation applications | IEEE Conference Publication | IEEE Xplore