Codesys Simulation Interface Design