Use of multiple id to prepare program for station before pallet in station