A PLC is basically a black box with a number of inputs from, and a number of outputs to, the outside world. It can make decisions, store data, do timing cycles, and do simple arithmetic, convert codes, and so on. The basic difference between this black box and a...