I'm curious what the hardware inside of an hmi is. From what I gather it seems the hmi is a small computer that you build an interface on to send, receive and display data to a plc. It has its own os and doesn't directly process data.
RS232 versus RS485 is a hardware difference. Modbus versus DF1 are software differences. Theoretically any PLC with a RS232 or RS485 port could support both DF1 and Modbus, or any other serial based protocol.In most HMIs the same port can be configured as RS232, RS485, Modbus, DF1, Dh485 and so on.
For the most part Ethernet ports are the same, so yes, any PLC with an Ethernet port could support all of the Ethernet protocols such as ModbusTCP and Ethernet/IP. There are a few exceptions, such as an EtherCAT slave, which does require a special ASIC behind the Ethernet port making it a hardware difference.The same applies for the Ethernet ports. As the hardware is the same, it means that the port use the protocol dictated by the software settings.
Why doesnt this happen with PLCs too? Is it a business decision or a hardware restriction?