Text this: A generic method for PLC control system design based on Digital Twin