A programmable logic controller (PLC) is much cheaper and more flexible with programming. PLCs have been replacing RTUs because they are also easier to troubleshoot and have more sophisticated controls than RTUs.