If you don't need industrial ratings and temperature ranges, then you can use ESP32 module to convert serial to WIFI or Wired Ethernet. Less than $10/each.
Then it will be a simple Logix Socket code on the PLC side to poll these.
I believe ESP32 libraries have Modbus TCP implementation too.
Do you have an example of socket code implementing a custom ASCII serial protocol?