Five factors affecting the memory size needed for a particular PLC installation