Device a system using plc which can be used to control the movement of the piston in a cylinder so that when a switch is momentarily pressed the piston moves in one direction and when second switch is momentarily pressed the piston moves in another direction