FUNCTION_BLOCK "FB_Visu_Jams"
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1
   VAR 
      fbJam5000_1 { S7_SetPoint := 'False'} : "FB_Visu_Jam";
      fbJam5000_2 { S7_SetPoint := 'False'} : "FB_Visu_Jam";
      fbJam5000_3 : "FB_Visu_Jam";
      fbJam5001_1 : "FB_Visu_Jam";
      fbJam5001_2 : "FB_Visu_Jam";
      fbJam5001_3 : "FB_Visu_Jam";
      fbJam5002_1 : "FB_Visu_Jam";
      fbJam5002_2 : "FB_Visu_Jam";
      fbJam5002_3 : "FB_Visu_Jam";
      fbJam5002_4 : "FB_Visu_Jam";
      fbJam5002_5 : "FB_Visu_Jam";
      fbJam5002_6 : "FB_Visu_Jam";
      fbJam5002_7 : "FB_Visu_Jam";
      fbJam5002_8 : "FB_Visu_Jam";
      fbJam5002_9 : "FB_Visu_Jam";
      fbJam5002_10 : "FB_Visu_Jam";
      fbJam5003_1 : "FB_Visu_Jam";
      fbJam5003_2 : "FB_Visu_Jam";
      fbJam5004_1 : "FB_Visu_Jam";
      fbJam5004_2 : "FB_Visu_Jam";
      fbJam5005_1 : "FB_Visu_Jam";
      fbJam5005_2 : "FB_Visu_Jam";
      fbJam5005_3 : "FB_Visu_Jam";
      fbJam5006_1 : "FB_Visu_Jam";
      fbJam5006_2 : "FB_Visu_Jam";
      fbJam5006_3 : "FB_Visu_Jam";
      fbJam5007_1 : "FB_Visu_Jam";
      fbJam5007_2 : "FB_Visu_Jam";
      fbJam5007_3 : "FB_Visu_Jam";
      fbJam5008_1 : "FB_Visu_Jam";
      fbJam5008_2 : "FB_Visu_Jam";
      fbJam5008_3 : "FB_Visu_Jam";
      fbJam2111_1 : "FB_Visu_Jam";
   END_VAR

   VAR_TEMP 
      idx : USInt;
   END_VAR


BEGIN
	REGION Visu Jam Aufrufe
	    
	    REGION Jam 5000
	        #fbJam5000_1(arInOutJam := "DB_JamArea5000".stJam5000_1.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5000_1,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_1);
	        
	        #fbJam5000_2(arInOutJam := "DB_JamArea5000".stJam5000_2.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5000_2,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_2);
	        
	        #fbJam5000_3(arInOutJam := "DB_JamArea5000".stJam5000_3.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5000_3,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_3);
	    END_REGION
	    
	    REGION Jam 5001
	        #fbJam5001_1(arInOutJam := "DB_JamArea5001".stJam5001_1.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5001_1,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_1);
	        
	        #fbJam5001_2(arInOutJam := "DB_JamArea5001".stJam5001_2.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5001_2,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_2);
	        
	        #fbJam5001_3(arInOutJam := "DB_JamArea5001".stJam5001_3.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5001_3,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_3);
	    END_REGION
	    
	    REGION Jam 5002
	        #fbJam5002_1(arInOutJam := "DB_JamArea5002".stJam5002_1.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_1,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_1);
	        
	        #fbJam5002_2(
	                     arInOutJam := "DB_JamArea5002".stJam5002_2.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_2,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_2);
	        
	        #fbJam5002_3(
	                     arInOutJam := "DB_JamArea5002".stJam5002_3.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_3,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_3);
	        
	        #fbJam5002_4(
	                     arInOutJam := "DB_JamArea5002".stJam5002_4.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_4,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_4);
	        
	        #fbJam5002_5(
	                     arInOutJam := "DB_JamArea5002".stJam5002_5.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_5,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_5);
	        
	        #fbJam5002_6(
	                     arInOutJam := "DB_JamArea5002".stJam5002_6.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_6,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_6);
	        
	        #fbJam5002_7(
	                     arInOutJam := "DB_JamArea5002".stJam5002_7.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_7,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_7);
	        
	        #fbJam5002_8(
	                     arInOutJam := "DB_JamArea5002".stJam5002_8.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_8,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_8);
	        
	        #fbJam5002_9(
	                     arInOutJam := "DB_JamArea5002".stJam5002_9.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_9,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_9);
	        #fbJam5002_10(
	                      arInOutJam := "DB_JamArea5002".stJam5002_10.arCarrier,
	                      stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5002_10,
	                      stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_10);
	        
	    END_REGION
	    
	    REGION Jam 5003
	        #fbJam5003_1(arInOutJam := "DB_JamArea5003".stJam5003_1.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5003_1,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_1);
	        
	        #fbJam5003_2(arInOutJam := "DB_JamArea5003".stJam5003_2.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5003_2,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_2);
	    END_REGION
	    
	    REGION Jam 5004
	        #fbJam5004_1(
	                     arInOutJam := "DB_JamArea5004".stJam5004_1.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5004_1,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_1);
	        
	        #fbJam5004_2(
	                     arInOutJam := "DB_JamArea5004".stJam5004_2.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5004_2,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_2);
	    END_REGION
	    
	    REGION Jam 5005
	        #fbJam5005_1(
	                     arInOutJam := "DB_JamArea5005".stJam5005_1.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5005_1,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_1);
	        #fbJam5005_2(
	                     arInOutJam := "DB_JamArea5005".stJam5005_2.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5005_2,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_2);
	        #fbJam5005_3(
	                     arInOutJam := "DB_JamArea5005".stJam5005_3.arCarrier,
	                     stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5005_3,
	                     stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_3);
	    END_REGION
	    
	    REGION Jam 5006
	        #"fbJam5006_1"(
	                       arInOutJam := "DB_JamArea5006".stJam5006_1.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5006_1,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_1);
	        
	        #"fbJam5006_2"(
	                       arInOutJam := "DB_JamArea5006".stJam5006_2.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5006_2,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_2);
	        #"fbJam5006_3"(
	                       arInOutJam := "DB_JamArea5006".stJam5006_3.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5006_3,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_3);
	    END_REGION
	    
	    REGION Jam 5007
	        #"fbJam5007_1"(
	                       arInOutJam := "DB_JamArea5007".stJam5007_1.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5007_1,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_1);
	        #"fbJam5007_2"(
	                       arInOutJam := "DB_JamArea5007".stJam5007_2.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5007_2,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_2);
	        #"fbJam5007_3"(
	                       arInOutJam := "DB_JamArea5007".stJam5007_3.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5007_3,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_3);
	    END_REGION
	    
	    REGION Jam 5008
	        #"fbJam5008_1"(
	                       arInOutJam := "DB_JamArea5008".stJam5008_1.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5008_1,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_1);
	        #"fbJam5008_2"(
	                       arInOutJam := "DB_JamArea5008".stJam5008_2.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5008_2,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_2);
	        #"fbJam5008_3"(
	                       arInOutJam := "DB_JamArea5008".stJam5008_3.arCarrier,
	                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam5008_3,
	                       stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_3);
	    END_REGION
	END_REGION
	
	REGION Jams
	    REGION Status
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_1.stStatus := "DB_JamArea5000"."stJam5000_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_2.stStatus := "DB_JamArea5000"."stJam5000_2".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_3.stStatus := "DB_JamArea5000"."stJam5000_3".stData.Status;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_1.stStatus := "DB_JamArea5001"."stJam5001_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_2.stStatus := "DB_JamArea5001"."stJam5001_2".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_3.stStatus := "DB_JamArea5001"."stJam5001_3".stData.Status;
	        
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_1.stStatus := "DB_JamArea5002"."stJam5002_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_2.stStatus := "DB_JamArea5002"."stJam5002_2".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_3.stStatus := "DB_JamArea5002".stJam5002_3.stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_4.stStatus := "DB_JamArea5002".stJam5002_4.stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_5.stStatus := "DB_JamArea5002".stJam5002_5.stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_6.stStatus := "DB_JamArea5002"."stJam5002_6".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_7.stStatus := "DB_JamArea5002"."stJam5002_7".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_8.stStatus := "DB_JamArea5002"."stJam5002_8".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_9.stStatus := "DB_JamArea5002"."stJam5002_9".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_10.stStatus := "DB_JamArea5002"."stJam5002_10".stData.Status;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_1.stStatus := "DB_JamArea5003"."stJam5003_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_2.stStatus := "DB_JamArea5003"."stJam5003_2".stData.Status;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_1.stStatus := "DB_JamArea5004"."stJam5004_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_2.stStatus := "DB_JamArea5004"."stJam5004_2".stData.Status;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_1.stStatus := "DB_JamArea5005"."stJam5005_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_2.stStatus := "DB_JamArea5005"."stJam5005_2".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_3.stStatus := "DB_JamArea5005"."stJam5005_3".stData.Status;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_1.stStatus := "DB_JamArea5006"."stJam5006_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_2.stStatus := "DB_JamArea5006"."stJam5006_2".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_3.stStatus := "DB_JamArea5006"."stJam5006_3".stData.Status;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_1.stStatus := "DB_JamArea5007"."stJam5007_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_2.stStatus := "DB_JamArea5007"."stJam5007_2".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_3.stStatus := "DB_JamArea5007"."stJam5007_3".stData.Status;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_1.stStatus := "DB_JamArea5008"."stJam5008_1".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_2.stStatus := "DB_JamArea5008"."stJam5008_2".stData.Status;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_3.stStatus := "DB_JamArea5008"."stJam5008_3".stData.Status;
	        
	    END_REGION
	    
	    REGION Capacity
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_1.stJamConfig.nCapacityPLC := "DB_JamArea5000".stJam5000_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_2.stJamConfig.nCapacityPLC := "DB_JamArea5000".stJam5000_2.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_3.stJamConfig.nCapacityPLC := "DB_JamArea5000".stJam5000_3.stData.Config.nCapacitySet;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_1.stJamConfig.nCapacityPLC := "DB_JamArea5001".stJam5001_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_2.stJamConfig.nCapacityPLC := "DB_JamArea5001".stJam5001_2.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_3.stJamConfig.nCapacityPLC := "DB_JamArea5001".stJam5001_3.stData.Config.nCapacitySet;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_1.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_2.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_2.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_3.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_3.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_4.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_4.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_5.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_5.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_6.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_6.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_7.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_7.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_8.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_8.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_9.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_9.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_10.stJamConfig.nCapacityPLC := "DB_JamArea5002".stJam5002_10.stData.Config.nCapacitySet;
	        
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_1.stJamConfig.nCapacityPLC := "DB_JamArea5003".stJam5003_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_2.stJamConfig.nCapacityPLC := "DB_JamArea5003".stJam5003_2.stData.Config.nCapacitySet;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_1.stJamConfig.nCapacityPLC := "DB_JamArea5004".stJam5004_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_2.stJamConfig.nCapacityPLC := "DB_JamArea5004".stJam5004_2.stData.Config.nCapacitySet;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_1.stJamConfig.nCapacityPLC := "DB_JamArea5005".stJam5005_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_2.stJamConfig.nCapacityPLC := "DB_JamArea5005".stJam5005_2.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_3.stJamConfig.nCapacityPLC := "DB_JamArea5005".stJam5005_3.stData.Config.nCapacitySet;
	        
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_1.stJamConfig.nCapacityPLC := "DB_JamArea5006".stJam5006_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_2.stJamConfig.nCapacityPLC := "DB_JamArea5006".stJam5006_2.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_3.stJamConfig.nCapacityPLC := "DB_JamArea5006".stJam5006_3.stData.Config.nCapacitySet;
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_1.stJamConfig.nCapacityPLC := "DB_JamArea5007".stJam5007_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_2.stJamConfig.nCapacityPLC := "DB_JamArea5007".stJam5007_2.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_3.stJamConfig.nCapacityPLC := "DB_JamArea5007".stJam5007_3.stData.Config.nCapacitySet;
	        
	        
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_1.stJamConfig.nCapacityPLC := "DB_JamArea5008".stJam5008_1.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_2.stJamConfig.nCapacityPLC := "DB_JamArea5008".stJam5008_2.stData.Config.nCapacitySet;
	        "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_3.stJamConfig.nCapacityPLC := "DB_JamArea5008".stJam5008_3.stData.Config.nCapacitySet;
	        
	    END_REGION
	    
	    REGION Einfahrt sperren
	        "DB_JamArea5000".stJam5000_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_1.stJamConfig.xLockEntry;
	        "DB_JamArea5000".stJam5000_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_2.stJamConfig.xLockEntry;
	        "DB_JamArea5000".stJam5000_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_3.stJamConfig.xLockEntry;
	        
	        "DB_JamArea5001".stJam5001_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_1.stJamConfig.xLockEntry;
	        "DB_JamArea5001".stJam5001_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_2.stJamConfig.xLockEntry;
	        "DB_JamArea5001".stJam5001_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_3.stJamConfig.xLockEntry;
	        
	        "DB_JamArea5002".stJam5002_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_1.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_2.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_3.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_4.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_4.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_5.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_5.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_6.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_6.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_7.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_7.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_8.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_8.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_9.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_9.stJamConfig.xLockEntry;
	        "DB_JamArea5002".stJam5002_10.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_10.stJamConfig.xLockEntry;
	        
	        
	        "DB_JamArea5003".stJam5003_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_1.stJamConfig.xLockEntry;
	        "DB_JamArea5003".stJam5003_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_2.stJamConfig.xLockEntry;
	        
	        "DB_JamArea5004".stJam5004_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_1.stJamConfig.xLockEntry;
	        "DB_JamArea5004".stJam5004_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_2.stJamConfig.xLockEntry;
	        
	        
	        "DB_JamArea5005".stJam5005_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_1.stJamConfig.xLockEntry;
	        "DB_JamArea5005".stJam5005_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_2.stJamConfig.xLockEntry;
	        "DB_JamArea5005".stJam5005_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_3.stJamConfig.xLockEntry;
	        
	        "DB_JamArea5006".stJam5006_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_1.stJamConfig.xLockEntry;
	        "DB_JamArea5006".stJam5006_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_2.stJamConfig.xLockEntry;
	        "DB_JamArea5006".stJam5006_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_3.stJamConfig.xLockEntry;
	        
	        
	        
	        "DB_JamArea5007".stJam5007_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_1.stJamConfig.xLockEntry;
	        "DB_JamArea5007".stJam5007_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_2.stJamConfig.xLockEntry;
	        "DB_JamArea5007".stJam5007_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_3.stJamConfig.xLockEntry;
	        
	        "DB_JamArea5008".stJam5008_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_1.stJamConfig.xLockEntry;
	        "DB_JamArea5008".stJam5008_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_2.stJamConfig.xLockEntry;
	        "DB_JamArea5008".stJam5008_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_3.stJamConfig.xLockExit;
	        
	    END_REGION
	    
	    REGION Ausfahrt sperren
	        "DB_JamArea5000".stJam5000_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_1.stJamConfig.xLockExit;
	        "DB_JamArea5000".stJam5000_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_2.stJamConfig.xLockExit;
	        "DB_JamArea5000".stJam5000_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_3.stJamConfig.xLockExit;
	        
	        "DB_JamArea5001".stJam5001_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_1.stJamConfig.xLockExit;
	        "DB_JamArea5001".stJam5001_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_2.stJamConfig.xLockExit;
	        "DB_JamArea5001".stJam5001_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_3.stJamConfig.xLockExit;
	        
	        "DB_JamArea5002".stJam5002_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_1.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_2.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_3.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_4.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_4.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_5.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_5.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_6.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_6.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_7.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_7.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_8.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_8.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_9.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_9.stJamConfig.xLockExit;
	        "DB_JamArea5002".stJam5002_10.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_10.stJamConfig.xLockExit;
	        
	        
	        "DB_JamArea5003".stJam5003_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_1.stJamConfig.xLockExit;
	        "DB_JamArea5003".stJam5003_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_2.stJamConfig.xLockExit;
	        
	        "DB_JamArea5004".stJam5004_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_1.stJamConfig.xLockExit;
	        "DB_JamArea5004".stJam5004_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_2.stJamConfig.xLockExit;
	        
	        
	        "DB_JamArea5005".stJam5005_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_1.stJamConfig.xLockExit;
	        "DB_JamArea5005".stJam5005_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_2.stJamConfig.xLockExit;
	        "DB_JamArea5005".stJam5005_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_3.stJamConfig.xLockExit;
	        
	        "DB_JamArea5006".stJam5006_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_1.stJamConfig.xLockExit;
	        "DB_JamArea5006".stJam5006_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_2.stJamConfig.xLockExit;
	        "DB_JamArea5006".stJam5006_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_3.stJamConfig.xLockExit;
	        
	        
	        
	        "DB_JamArea5007".stJam5007_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_1.stJamConfig.xLockExit;
	        "DB_JamArea5007".stJam5007_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_2.stJamConfig.xLockExit;
	        "DB_JamArea5007".stJam5007_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_3.stJamConfig.xLockExit;
	        
	        "DB_JamArea5008".stJam5008_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_1.stJamConfig.xLockExit;
	        "DB_JamArea5008".stJam5008_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_2.stJamConfig.xLockExit;
	        "DB_JamArea5008".stJam5008_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_3.stJamConfig.xLockExit;
	        
	    END_REGION
	    
	    REGION Manuelle Destination
	        "DB_JamArea5000".stJam5000_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5000".stJam5000_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_2.stJamConfig.xActivateManualDest;
	        "DB_JamArea5000".stJam5000_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5000.stJam5000_3.stJamConfig.xActivateManualDest;
	        
	        "DB_JamArea5001".stJam5001_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5001".stJam5001_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_2.stJamConfig.xActivateManualDest;
	        "DB_JamArea5001".stJam5001_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5001.stJam5001_3.stJamConfig.xActivateManualDest;
	        
	        "DB_JamArea5002".stJam5002_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_2.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_3.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_4.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_4.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_5.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_5.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_6.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_6.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_7.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_7.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_8.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_8.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_9.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_9.stJamConfig.xActivateManualDest;
	        "DB_JamArea5002".stJam5002_10.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5002.stJam5002_10.stJamConfig.xActivateManualDest;
	        
	        
	        "DB_JamArea5003".stJam5003_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5003".stJam5003_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5003.stJam5003_2.stJamConfig.xActivateManualDest;
	        
	        "DB_JamArea5004".stJam5004_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5004".stJam5004_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5004.stJam5004_2.stJamConfig.xActivateManualDest;
	        
	        
	        "DB_JamArea5005".stJam5005_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5005".stJam5005_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_2.stJamConfig.xActivateManualDest;
	        "DB_JamArea5005".stJam5005_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5005.stJam5005_3.stJamConfig.xActivateManualDest;
	        
	        "DB_JamArea5006".stJam5006_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5006".stJam5006_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_2.stJamConfig.xActivateManualDest;
	        "DB_JamArea5006".stJam5006_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5006.stJam5006_3.stJamConfig.xActivateManualDest;
	        
	        
	        
	        "DB_JamArea5007".stJam5007_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5007".stJam5007_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_2.stJamConfig.xActivateManualDest;
	        "DB_JamArea5007".stJam5007_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5007.stJam5007_3.stJamConfig.xActivateManualDest;
	        
	        "DB_JamArea5008".stJam5008_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_1.stJamConfig.xActivateManualDest;
	        "DB_JamArea5008".stJam5008_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_2.stJamConfig.xActivateManualDest;
	        "DB_JamArea5008".stJam5008_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJam5008.stJam5008_3.stJamConfig.xActivateManualDest;
	        
	    END_REGION
	END_REGION
END_FUNCTION_BLOCK

