Factory Automation Optimizing Industrial Systems with PLC Programming Maximizing Performance: Optimizing Systems with PLC Programming