Codesys PLC can run in Windows, Linux or hardware such as RevolutionPi. Codesys supports EtherNet/IP scanner functionality as well as Profinet IO device. You can develop a relatively straight forward program to map ProfinetIO data to Ethernet/IP and vice-versa. There are may industrial grade Windows 10 or Linux industrial PCs which are DIN-rail mount, fanless, 24 VDC powered and use no hard drive (SSD) thus have reliability on par with a PLC or gateway.