@mkr38 please ensure your voltage level for the plc rs232 is compatible with the Duet IO level.

I have used this in the past for rs232 to UART
https://uk.rs-online.com/web/p/communication-wireless-development-tools/8829042?gb=s