Conversion tools can translate much of the old code, but the result still needs review by engineers who understand the process. Use the migration to fix known problems, standardise alarm handling and improve diagnostics, while keeping the control philosophy agreed with operations.
Run the migration through the plant’s management of change process from the start, and design network security into the new, more connected system (for example to IEC 62443).