Reengineering Workflow for Planned Reuse of IEC 61131-3 Legacy Software