PLC Program for Sorting Boxes using Factory IO Simulation