Short ansewer Yes. But The PLC5/12 has a DH+ port and a RIO port, the PLC5/11 has a DH+ port or a RIO port. So I guess it depends on what you have connected to your PLC5/12 port, ports.
The PLC5/11 gives you a serial port which you did not have on your PLC5/12.