Smart Factory Design Based on CoDeSys | IEEE Conference Publication | IEEE Xplore