 Ladder logic is useful for simple but critical control systems or for reworking old hardwired relay circuits.As programmable logic controllers became more sophisticated it has also been used in very complex automation systems.Often the ladder logic program is used in conjunction with an HMI program operating on a computer workstation.