I have found what I have been looking for:
This setup will connect to ethernet. And send barcode data via Profinet, Ethernet/IP, or Modbus TCP.