Towards automatic state machine reconstruction from legacy PLC using data collection | IEEE Conference Publication | IEEE Xplore