Pipeline and cleaning plant control system