FUNCTION_BLOCK "FB_Visu_Jams"
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1
   VAR 
      "arfbJamStorage1.1" { S7_SetPoint := 'False'} : Array[1.."cNoLines"] of "FB_Visu_JamStorage";
      "arfbJamStorage1.2" : Array[1.."cNoLines"] of "FB_Visu_JamStorage";
      fbJamHyper : "FB_Visu_Jam";
      fbJam0100_1 : "FB_Visu_Jam";
      fbJam0101_1 : "FB_Visu_Jam";
      fbJam0101_2 : "FB_Visu_Jam";
      fbJam0102_1 : "FB_Visu_Jam";
      fbJam0102_2 : "FB_Visu_Jam";
      fbJam0102_3 : "FB_Visu_Jam";
      fbJam0102_4 : "FB_Visu_Jam";
      fbJam0102_5 : "FB_Visu_Jam";
      fbJam0102_6 : "FB_Visu_Jam";
      fbJam0103_1 : "FB_Visu_Jam";
      fbJam0104_1 : "FB_Visu_Jam";
      fbJam0104_2 : "FB_Visu_Jam";
      fbJam0104_3 : "FB_Visu_Jam";
      fbJam0106_1 : "FB_Visu_Jam";
      fbJam0106_2 : "FB_Visu_Jam";
      fbJam0107_1 : "FB_Visu_Jam";
      fbJam0108_1 : "FB_Visu_Jam";
      fbJam0108_2 : "FB_Visu_Jam";
      fbJam0108_3 : "FB_Visu_Jam";
      fbJam0110_1 : "FB_Visu_Jam";
      fbJam0110_2 : "FB_Visu_Jam";
      fbJam4103_1 : "FB_Visu_Jam";
      fbJam4104_1 : "FB_Visu_Jam";
      fbJam4204_1 : "FB_Visu_Jam";
      fbJam4204_2 : "FB_Visu_Jam";
      fbJam4203_1 : "FB_Visu_Jam";
      fbJam4302_1 : "FB_Visu_Jam";
      fbJam4302_2 : "FB_Visu_Jam";
      fbJam4402_1 : "FB_Visu_Jam";
      fbJam4403_1 : "FB_Visu_Jam";
      fbJam4403_2 : "FB_Visu_Jam";
      fbJam4501_1 : "FB_Visu_Jam";
      fbJam4501_2 : "FB_Visu_Jam";
      fbJam4502_1 : "FB_Visu_Jam";
      fbJam4502_2 : "FB_Visu_Jam";
      fbJam4503_1 : "FB_Visu_Jam";
      fbJam4503_2 : "FB_Visu_Jam";
   END_VAR

   VAR_TEMP 
      idx : Int;
   END_VAR


BEGIN
	REGION Visu Jam Aufrufe
	    REGION Jam-Listen
	        REGION HyperJam
	            // Statement section REGION
	            #fbJamHyper(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stHyperJam,
	                        arInOutJam := "DB_HyperJam".stHyperJam.arCarrier,
	                        nInJamCount := "DB_HyperJam".stHyperJam.stData.Status.nCount,
	                        stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stHyperJam);
	        END_REGION
	        
	        
	        REGION Jam0100
	            #fbJam0100_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0100_1,
	                         arInOutJam := "DB_JamArea0100".stJam0100_1.arCarrier,
	                         nInJamCount := "DB_JamArea0100".stJam0100_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0100.stJam0100_1);
	        END_REGION
	        
	        REGION Jam0101
	            #fbJam0101_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0101_1,
	                         arInOutJam := "DB_JamArea0101".stJam0101_1.arCarrier,
	                         nInJamCount := "DB_JamArea0101".stJam0101_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_1);
	            
	            #fbJam0101_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0101_2,
	                         arInOutJam := "DB_JamArea0101".stJam0101_2.arCarrier,
	                         nInJamCount := "DB_JamArea0101".stJam0101_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_2);
	        END_REGION
	        
	        REGION Jam0102
	            #fbJam0102_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0102_1,
	                         arInOutJam := "DB_JamArea0102".stJam0102_1.arCarrier,
	                         nInJamCount := "DB_JamArea0102".stJam0102_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_1);
	            
	            #fbJam0102_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0102_2,
	                         arInOutJam := "DB_JamArea0102".stJam0102_2.arCarrier,
	                         nInJamCount := "DB_JamArea0102".stJam0102_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_2);
	            
	            #fbJam0102_3(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0102_3,
	                         arInOutJam := "DB_JamArea0102".stJam0102_3.arCarrier,
	                         nInJamCount := "DB_JamArea0102".stJam0102_3.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_3);
	            
	            #fbJam0102_4(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0102_4,
	                         arInOutJam := "DB_JamArea0102".stJam0102_4.arCarrier,
	                         nInJamCount := "DB_JamArea0102".stJam0102_4.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_4);
	            
	            #fbJam0102_5(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0102_5,
	                         arInOutJam := "DB_JamArea0102".stJam0102_5.arCarrier,
	                         nInJamCount := "DB_JamArea0102".stJam0102_5.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_5);
	            
	            #fbJam0102_6(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0102_6,
	                         arInOutJam := "DB_JamArea0102".stJam0102_6.arCarrier,
	                         nInJamCount := "DB_JamArea0102".stJam0102_6.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_6);
	        END_REGION
	        
	        REGION Jam0103
	            #fbJam0103_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0103_1,
	                         arInOutJam := "DB_JamArea0103".stJam0103_1.arCarrier,
	                         nInJamCount := "DB_JamArea0103".stJam0103_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0103.stJam0103_1);
	        END_REGION
	        
	        REGION Jam0104
	            #fbJam0104_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0104_1,
	                         arInOutJam := "DB_JamArea0104".stJam0104_1.arCarrier,
	                         nInJamCount := "DB_JamArea0104".stJam0104_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_1);
	            
	            #fbJam0104_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0104_2,
	                         arInOutJam := "DB_JamArea0104".stJam0104_2.arCarrier,
	                         nInJamCount := "DB_JamArea0104".stJam0104_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_2);
	            
	            #fbJam0104_3(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0104_3,
	                         arInOutJam := "DB_JamArea0104".stJam0104_3.arCarrier,
	                         nInJamCount := "DB_JamArea0104".stJam0104_3.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_3);
	            
	            
	        END_REGION
	        
	        REGION Jam0106
	            #fbJam0106_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0106_1,
	                         arInOutJam := "DB_JamArea0106".stJam0106_1.arCarrier,
	                         nInJamCount := "DB_JamArea0106".stJam0106_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_1);
	            
	            #fbJam0106_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0106_2,
	                         arInOutJam := "DB_JamArea0106".stJam0106_2.arCarrier,
	                         nInJamCount := "DB_JamArea0106".stJam0106_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_2);
	        END_REGION
	        
	        REGION Jam0107
	            #fbJam0107_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0107_1,
	                         arInOutJam := "DB_JamArea0107".stJam0107_1.arCarrier,
	                         nInJamCount := "DB_JamArea0107".stJam0107_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0107.stJam0107_1);
	        END_REGION
	        
	        REGION Jam0108
	            #fbJam0108_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0108_1,
	                         arInOutJam := "DB_JamArea0108".stJam0108_1.arCarrier,
	                         nInJamCount := "DB_JamArea0108".stJam0108_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_1);
	            
	            #fbJam0108_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0108_2,
	                         arInOutJam := "DB_JamArea0108".stJam0108_2.arCarrier,
	                         nInJamCount := "DB_JamArea0108".stJam0108_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_2);
	            
	            #fbJam0108_3(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0108_3,
	                         arInOutJam := "DB_JamArea0108".stJam0108_3.arCarrier,
	                         nInJamCount := "DB_JamArea0108".stJam0108_3.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_3);
	        END_REGION
	        
	        REGION Jam0110
	            #fbJam0110_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0110_1,
	                         arInOutJam := "DB_JamArea0110".stJam0110_1.arCarrier,
	                         nInJamCount := "DB_JamArea0110".stJam0110_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_1);
	            
	            #fbJam0110_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam0110_2,
	                         arInOutJam := "DB_JamArea0110".stJam0110_2.arCarrier,
	                         nInJamCount := "DB_JamArea0110".stJam0110_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_2);
	        END_REGION
	        
	        REGION Jam4103
	            #fbJam4103_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4103_1,
	                         arInOutJam := "DB_JamArea4103".stJam4103_1.arCarrier,
	                         nInJamCount := "DB_JamArea4103".stJam4103_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4103.stJam4103_1);
	        END_REGION
	        
	        REGION Jam4104
	            #fbJam4104_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4104_1,
	                         arInOutJam := "DB_JamArea4104".stJam4104_1.arCarrier,
	                         nInJamCount := "DB_JamArea4104".stJam4104_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4104.stJam4104_1);
	        END_REGION
	        
	        REGION Jam4203
	            #fbJam4203_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4203_1,
	                         arInOutJam := "DB_JamArea4203".stJam4203_1.arCarrier,
	                         nInJamCount := "DB_JamArea4203".stJam4203_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4203.stJam4203_1);
	        END_REGION
	        
	        REGION Jam4204
	            #fbJam4204_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4204_1,
	                         arInOutJam := "DB_JamArea4204".stJam4204_1.arCarrier,
	                         nInJamCount := "DB_JamArea4204".stJam4204_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_1);
	            
	            #fbJam4204_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4204_2,
	                         arInOutJam := "DB_JamArea4204".stJam4204_2.arCarrier,
	                         nInJamCount := "DB_JamArea4204".stJam4204_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_2);
	        END_REGION
	        
	        REGION Jam4302
	            #fbJam4302_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4302_1,
	                         arInOutJam := "DB_JamArea4302".stJam4302_1.arCarrier,
	                         nInJamCount := "DB_JamArea4302".stJam4302_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_1);
	            
	            #fbJam4302_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4302_2,
	                         arInOutJam := "DB_JamArea4302".stJam4302_2.arCarrier,
	                         nInJamCount := "DB_JamArea4302".stJam4302_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_2);
	        END_REGION
	        
	        REGION Jam4402
	            #fbJam4402_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4402_1,
	                         arInOutJam := "DB_JamArea4402".stJam4402_1.arCarrier,
	                         nInJamCount := "DB_JamArea4402".stJam4402_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4402.stJam4402_1);
	        END_REGION
	        
	        REGION Jam4403
	            #fbJam4403_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4403_1,
	                         arInOutJam := "DB_JamArea4403".stJam4403_1.arCarrier,
	                         nInJamCount := "DB_JamArea4403".stJam4403_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_1);
	            
	            #fbJam4403_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4403_2,
	                         arInOutJam := "DB_JamArea4403".stJam4403_2.arCarrier,
	                         nInJamCount := "DB_JamArea4403".stJam4403_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_2);
	        END_REGION
	        
	        REGION Jam4501
	            #fbJam4501_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4501_1,
	                         arInOutJam := "DB_JamArea4501".stJam4501_1.arCarrier,
	                         nInJamCount := "DB_JamArea4501".stJam4501_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_1);
	            
	            #fbJam4501_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4501_2,
	                         arInOutJam := "DB_JamArea4501".stJam4501_2.arCarrier,
	                         nInJamCount := "DB_JamArea4501".stJam4501_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_2);
	        END_REGION
	        
	        REGION Jam4502
	            #fbJam4502_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4502_1,
	                         arInOutJam := "DB_JamArea4502".stJam4502_1.arCarrier,
	                         nInJamCount := "DB_JamArea4502".stJam4502_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_1);
	            
	            #fbJam4502_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4502_2,
	                         arInOutJam := "DB_JamArea4502".stJam4502_2.arCarrier,
	                         nInJamCount := "DB_JamArea4502".stJam4502_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_2);
	        END_REGION
	        
	        REGION Jam4503
	            #fbJam4503_1(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4503_1,
	                         arInOutJam := "DB_JamArea4503".stJam4503_1.arCarrier,
	                         nInJamCount := "DB_JamArea4503".stJam4503_1.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_1);
	            
	            #fbJam4503_2(stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists.stJam.stJam4503_2,
	                         arInOutJam := "DB_JamArea4503".stJam4503_2.arCarrier,
	                         nInJamCount := "DB_JamArea4503".stJam4503_2.stData.Status.nCount,
	                         stInOutHMIData := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_2);
	        END_REGION
	        
	    END_REGION ;
	    
	    REGION Jams Status, config   
	        REGION HyperJam
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stHyperJam.stStatus := "DB_HyperJam".stHyperJam.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stHyperJam.stJamConfig.nCapacityPLC := "DB_HyperJam".stHyperJam.stData.Config.nCapacitySet;
	            
	        END_REGION
	        
	        
	        
	        REGION Jam0100_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0100.stJam0100_1.stStatus := "DB_JamArea0100".stJam0100_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0100.stJam0100_1.stJamConfig.nCapacityPLC := "DB_JamArea0100".stJam0100_1.stData.Config.nCapacitySet;
	            "DB_JamArea0100".stJam0100_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0100.stJam0100_1.stJamConfig.xLockEntry;
	            "DB_JamArea0100".stJam0100_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0100.stJam0100_1.stJamConfig.xLockExit;
	            "DB_JamArea0100".stJam0100_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0100.stJam0100_1.stJamConfig.xActivateManualDest;
	            
	        END_REGION
	        
	        REGION Jam0101_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_1.stStatus := "DB_JamArea0101".stJam0101_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_1.stJamConfig.nCapacityPLC := "DB_JamArea0101".stJam0101_1.stData.Config.nCapacitySet;
	            "DB_JamArea0101".stJam0101_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_1.stJamConfig.xLockEntry;
	            "DB_JamArea0101".stJam0101_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_1.stJamConfig.xLockExit;
	            "DB_JamArea0101".stJam0101_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0101_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_2.stStatus := "DB_JamArea0101".stJam0101_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_2.stJamConfig.nCapacityPLC := "DB_JamArea0101".stJam0101_2.stData.Config.nCapacitySet;
	            "DB_JamArea0101".stJam0101_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_2.stJamConfig.xLockEntry;
	            "DB_JamArea0101".stJam0101_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_2.stJamConfig.xLockExit;
	            "DB_JamArea0101".stJam0101_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0101.stJam0101_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0102_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_1.stStatus := "DB_JamArea0102".stJam0102_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_1.stJamConfig.nCapacityPLC := "DB_JamArea0102".stJam0102_1.stData.Config.nCapacitySet;
	            "DB_JamArea0102".stJam0102_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_1.stJamConfig.xLockEntry;
	            "DB_JamArea0102".stJam0102_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_1.stJamConfig.xLockExit;
	            "DB_JamArea0102".stJam0102_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0102_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_2.stStatus := "DB_JamArea0102".stJam0102_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_2.stJamConfig.nCapacityPLC := "DB_JamArea0102".stJam0102_2.stData.Config.nCapacitySet;
	            "DB_JamArea0102".stJam0102_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_2.stJamConfig.xLockEntry;
	            "DB_JamArea0102".stJam0102_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_2.stJamConfig.xLockExit;
	            "DB_JamArea0102".stJam0102_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0102_3
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_3.stStatus := "DB_JamArea0102".stJam0102_3.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_3.stJamConfig.nCapacityPLC := "DB_JamArea0102".stJam0102_3.stData.Config.nCapacitySet;
	            "DB_JamArea0102".stJam0102_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_3.stJamConfig.xLockEntry;
	            "DB_JamArea0102".stJam0102_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_3.stJamConfig.xLockExit;
	            "DB_JamArea0102".stJam0102_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_3.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0102_4
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_4.stStatus := "DB_JamArea0102".stJam0102_4.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_4.stJamConfig.nCapacityPLC := "DB_JamArea0102".stJam0102_4.stData.Config.nCapacitySet;
	            "DB_JamArea0102".stJam0102_4.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_4.stJamConfig.xLockEntry;
	            "DB_JamArea0102".stJam0102_4.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_4.stJamConfig.xLockExit;
	            "DB_JamArea0102".stJam0102_4.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_4.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0102_5
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_5.stStatus := "DB_JamArea0102".stJam0102_5.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_5.stJamConfig.nCapacityPLC := "DB_JamArea0102".stJam0102_5.stData.Config.nCapacitySet;
	            "DB_JamArea0102".stJam0102_5.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_5.stJamConfig.xLockEntry;
	            "DB_JamArea0102".stJam0102_5.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_5.stJamConfig.xLockExit;
	            "DB_JamArea0102".stJam0102_5.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_5.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0102_6
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_6.stStatus := "DB_JamArea0102".stJam0102_6.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_6.stJamConfig.nCapacityPLC := "DB_JamArea0102".stJam0102_6.stData.Config.nCapacitySet;
	            "DB_JamArea0102".stJam0102_6.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_6.stJamConfig.xLockEntry;
	            "DB_JamArea0102".stJam0102_6.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_6.stJamConfig.xLockExit;
	            "DB_JamArea0102".stJam0102_6.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0102.stJam0102_6.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0103_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0103.stJam0103_1.stStatus := "DB_JamArea0103".stJam0103_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0103.stJam0103_1.stJamConfig.nCapacityPLC := "DB_JamArea0103".stJam0103_1.stData.Config.nCapacitySet;
	            "DB_JamArea0103".stJam0103_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0103.stJam0103_1.stJamConfig.xLockEntry;
	            "DB_JamArea0103".stJam0103_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0103.stJam0103_1.stJamConfig.xLockExit;
	            "DB_JamArea0103".stJam0103_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0103.stJam0103_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0104_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_1.stStatus := "DB_JamArea0104".stJam0104_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_1.stJamConfig.nCapacityPLC := "DB_JamArea0104".stJam0104_1.stData.Config.nCapacitySet;
	            "DB_JamArea0104".stJam0104_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_1.stJamConfig.xLockEntry;
	            "DB_JamArea0104".stJam0104_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_1.stJamConfig.xLockExit;
	            "DB_JamArea0104".stJam0104_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0104_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_2.stStatus := "DB_JamArea0104".stJam0104_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_2.stJamConfig.nCapacityPLC := "DB_JamArea0104".stJam0104_2.stData.Config.nCapacitySet;
	            "DB_JamArea0104".stJam0104_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_2.stJamConfig.xLockEntry;
	            "DB_JamArea0104".stJam0104_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_2.stJamConfig.xLockExit;
	            "DB_JamArea0104".stJam0104_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0104_3
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_3.stStatus := "DB_JamArea0104".stJam0104_3.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_3.stJamConfig.nCapacityPLC := "DB_JamArea0104".stJam0104_3.stData.Config.nCapacitySet;
	            "DB_JamArea0104".stJam0104_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_3.stJamConfig.xLockEntry;
	            "DB_JamArea0104".stJam0104_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_3.stJamConfig.xLockExit;
	            "DB_JamArea0104".stJam0104_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0104.stJam0104_3.stJamConfig.xActivateManualDest;
	            
	        END_REGION
	        
	        REGION Jam0106_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_1.stStatus := "DB_JamArea0106".stJam0106_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_1.stJamConfig.nCapacityPLC := "DB_JamArea0106".stJam0106_1.stData.Config.nCapacitySet;
	            "DB_JamArea0106".stJam0106_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_1.stJamConfig.xLockEntry;
	            "DB_JamArea0106".stJam0106_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_1.stJamConfig.xLockExit;
	            "DB_JamArea0106".stJam0106_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_1.stJamConfig.xActivateManualDest;
	            
	        END_REGION
	        
	        REGION Jam0106_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_2.stStatus := "DB_JamArea0106".stJam0106_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_2.stJamConfig.nCapacityPLC := "DB_JamArea0106".stJam0106_2.stData.Config.nCapacitySet;
	            "DB_JamArea0106".stJam0106_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_2.stJamConfig.xLockEntry;
	            "DB_JamArea0106".stJam0106_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_2.stJamConfig.xLockExit;
	            "DB_JamArea0106".stJam0106_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0106.stJam0106_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0107_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0107.stJam0107_1.stStatus := "DB_JamArea0107".stJam0107_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0107.stJam0107_1.stJamConfig.nCapacityPLC := "DB_JamArea0107".stJam0107_1.stData.Config.nCapacitySet;
	            "DB_JamArea0107".stJam0107_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0107.stJam0107_1.stJamConfig.xLockEntry;
	            "DB_JamArea0107".stJam0107_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0107.stJam0107_1.stJamConfig.xLockExit;
	            "DB_JamArea0107".stJam0107_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0107.stJam0107_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0108_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_1.stStatus := "DB_JamArea0108".stJam0108_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_1.stJamConfig.nCapacityPLC := "DB_JamArea0108".stJam0108_1.stData.Config.nCapacitySet;
	            "DB_JamArea0108".stJam0108_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_1.stJamConfig.xLockEntry;
	            "DB_JamArea0108".stJam0108_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_1.stJamConfig.xLockExit;
	            "DB_JamArea0108".stJam0108_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0108_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_2.stStatus := "DB_JamArea0108".stJam0108_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_2.stJamConfig.nCapacityPLC := "DB_JamArea0108".stJam0108_2.stData.Config.nCapacitySet;
	            "DB_JamArea0108".stJam0108_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_2.stJamConfig.xLockEntry;
	            "DB_JamArea0108".stJam0108_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_2.stJamConfig.xLockExit;
	            "DB_JamArea0108".stJam0108_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0108_3
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_3.stStatus := "DB_JamArea0108".stJam0108_3.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_3.stJamConfig.nCapacityPLC := "DB_JamArea0108".stJam0108_3.stData.Config.nCapacitySet;
	            "DB_JamArea0108".stJam0108_3.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_3.stJamConfig.xLockEntry;
	            "DB_JamArea0108".stJam0108_3.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_3.stJamConfig.xLockExit;
	            "DB_JamArea0108".stJam0108_3.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0108.stJam0108_3.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0110_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_1.stStatus := "DB_JamArea0110".stJam0110_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_1.stJamConfig.nCapacityPLC := "DB_JamArea0110".stJam0110_1.stData.Config.nCapacitySet;
	            "DB_JamArea0110".stJam0110_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_1.stJamConfig.xLockEntry;
	            "DB_JamArea0110".stJam0110_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_1.stJamConfig.xLockExit;
	            "DB_JamArea0110".stJam0110_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam0110_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_2.stStatus := "DB_JamArea0110".stJam0110_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_2.stJamConfig.nCapacityPLC := "DB_JamArea0110".stJam0110_2.stData.Config.nCapacitySet;
	            "DB_JamArea0110".stJam0110_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_2.stJamConfig.xLockEntry;
	            "DB_JamArea0110".stJam0110_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_2.stJamConfig.xLockExit;
	            "DB_JamArea0110".stJam0110_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea0110.stJam0110_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4103_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4103.stJam4103_1.stStatus := "DB_JamArea4103".stJam4103_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4103.stJam4103_1.stJamConfig.nCapacityPLC := "DB_JamArea4103".stJam4103_1.stData.Config.nCapacitySet;
	            "DB_JamArea4103".stJam4103_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4103.stJam4103_1.stJamConfig.xLockEntry;
	            "DB_JamArea4103".stJam4103_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4103.stJam4103_1.stJamConfig.xLockExit;
	            "DB_JamArea4103".stJam4103_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4103.stJam4103_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4104_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4104.stJam4104_1.stStatus := "DB_JamArea4104".stJam4104_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4104.stJam4104_1.stJamConfig.nCapacityPLC := "DB_JamArea4104".stJam4104_1.stData.Config.nCapacitySet;
	            "DB_JamArea4104".stJam4104_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4104.stJam4104_1.stJamConfig.xLockEntry;
	            "DB_JamArea4104".stJam4104_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4104.stJam4104_1.stJamConfig.xLockExit;
	            "DB_JamArea4104".stJam4104_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4104.stJam4104_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4203_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4203.stJam4203_1.stStatus := "DB_JamArea4203".stJam4203_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4203.stJam4203_1.stJamConfig.nCapacityPLC := "DB_JamArea4203".stJam4203_1.stData.Config.nCapacitySet;
	            "DB_JamArea4203".stJam4203_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4203.stJam4203_1.stJamConfig.xLockEntry;
	            "DB_JamArea4203".stJam4203_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4203.stJam4203_1.stJamConfig.xLockExit;
	            "DB_JamArea4203".stJam4203_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4203.stJam4203_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4204_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_1.stStatus := "DB_JamArea4204".stJam4204_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_1.stJamConfig.nCapacityPLC := "DB_JamArea4204".stJam4204_1.stData.Config.nCapacitySet;
	            "DB_JamArea4204".stJam4204_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_1.stJamConfig.xLockEntry;
	            "DB_JamArea4204".stJam4204_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_1.stJamConfig.xLockExit;
	            "DB_JamArea4204".stJam4204_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4204_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_2.stStatus := "DB_JamArea4204".stJam4204_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_2.stJamConfig.nCapacityPLC := "DB_JamArea4204".stJam4204_2.stData.Config.nCapacitySet;
	            "DB_JamArea4204".stJam4204_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_2.stJamConfig.xLockEntry;
	            "DB_JamArea4204".stJam4204_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_2.stJamConfig.xLockExit;
	            "DB_JamArea4204".stJam4204_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4204.stJam4204_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4302_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_1.stStatus := "DB_JamArea4302".stJam4302_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_1.stJamConfig.nCapacityPLC := "DB_JamArea4302".stJam4302_1.stData.Config.nCapacitySet;
	            "DB_JamArea4302".stJam4302_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_1.stJamConfig.xLockEntry;
	            "DB_JamArea4302".stJam4302_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_1.stJamConfig.xLockExit;
	            "DB_JamArea4302".stJam4302_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4302_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_2.stStatus := "DB_JamArea4302".stJam4302_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_2.stJamConfig.nCapacityPLC := "DB_JamArea4302".stJam4302_2.stData.Config.nCapacitySet;
	            "DB_JamArea4302".stJam4302_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_2.stJamConfig.xLockEntry;
	            "DB_JamArea4302".stJam4302_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_2.stJamConfig.xLockExit;
	            "DB_JamArea4302".stJam4302_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4302.stJam4302_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4402_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4402.stJam4402_1.stStatus := "DB_JamArea4402".stJam4402_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4402.stJam4402_1.stJamConfig.nCapacityPLC := "DB_JamArea4402".stJam4402_1.stData.Config.nCapacitySet;
	            "DB_JamArea4402".stJam4402_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4402.stJam4402_1.stJamConfig.xLockEntry;
	            "DB_JamArea4402".stJam4402_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4402.stJam4402_1.stJamConfig.xLockExit;
	            "DB_JamArea4402".stJam4402_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4402.stJam4402_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4403_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_1.stStatus := "DB_JamArea4403".stJam4403_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_1.stJamConfig.nCapacityPLC := "DB_JamArea4403".stJam4403_1.stData.Config.nCapacitySet;
	            "DB_JamArea4403".stJam4403_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_1.stJamConfig.xLockEntry;
	            "DB_JamArea4403".stJam4403_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_1.stJamConfig.xLockExit;
	            "DB_JamArea4403".stJam4403_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4403_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_2.stStatus := "DB_JamArea4403".stJam4403_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_2.stJamConfig.nCapacityPLC := "DB_JamArea4403".stJam4403_2.stData.Config.nCapacitySet;
	            "DB_JamArea4403".stJam4403_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_2.stJamConfig.xLockEntry;
	            "DB_JamArea4403".stJam4403_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_2.stJamConfig.xLockExit;
	            "DB_JamArea4403".stJam4403_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4403.stJam4403_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4501_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_1.stStatus := "DB_JamArea4501".stJam4501_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_1.stJamConfig.nCapacityPLC := "DB_JamArea4501".stJam4501_1.stData.Config.nCapacitySet;
	            "DB_JamArea4501".stJam4501_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_1.stJamConfig.xLockEntry;
	            "DB_JamArea4501".stJam4501_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_1.stJamConfig.xLockExit;
	            "DB_JamArea4501".stJam4501_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4501_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_2.stStatus := "DB_JamArea4501".stJam4501_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_2.stJamConfig.nCapacityPLC := "DB_JamArea4501".stJam4501_2.stData.Config.nCapacitySet;
	            "DB_JamArea4501".stJam4501_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_2.stJamConfig.xLockEntry;
	            "DB_JamArea4501".stJam4501_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_2.stJamConfig.xLockExit;
	            "DB_JamArea4501".stJam4501_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4501.stJam4501_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4502_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_1.stStatus := "DB_JamArea4502".stJam4502_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_1.stJamConfig.nCapacityPLC := "DB_JamArea4502".stJam4502_1.stData.Config.nCapacitySet;
	            "DB_JamArea4502".stJam4502_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_1.stJamConfig.xLockEntry;
	            "DB_JamArea4502".stJam4502_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_1.stJamConfig.xLockExit;
	            "DB_JamArea4502".stJam4502_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4502_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_2.stStatus := "DB_JamArea4502".stJam4502_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_2.stJamConfig.nCapacityPLC := "DB_JamArea4502".stJam4502_2.stData.Config.nCapacitySet;
	            "DB_JamArea4502".stJam4502_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_2.stJamConfig.xLockEntry;
	            "DB_JamArea4502".stJam4502_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_2.stJamConfig.xLockExit;
	            "DB_JamArea4502".stJam4502_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4502.stJam4502_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4503_1
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_1.stStatus := "DB_JamArea4503".stJam4503_1.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_1.stJamConfig.nCapacityPLC := "DB_JamArea4503".stJam4503_1.stData.Config.nCapacitySet;
	            "DB_JamArea4503".stJam4503_1.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_1.stJamConfig.xLockEntry;
	            "DB_JamArea4503".stJam4503_1.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_1.stJamConfig.xLockExit;
	            "DB_JamArea4503".stJam4503_1.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_1.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	        REGION Jam4503_2
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_2.stStatus := "DB_JamArea4503".stJam4503_2.stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_2.stJamConfig.nCapacityPLC := "DB_JamArea4503".stJam4503_2.stData.Config.nCapacitySet;
	            "DB_JamArea4503".stJam4503_2.stData.Status.bByte.%X2 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_2.stJamConfig.xLockEntry;
	            "DB_JamArea4503".stJam4503_2.stData.Status.bByte.%X3 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_2.stJamConfig.xLockExit;
	            "DB_JamArea4503".stJam4503_2.stData.Status.bByte.%X7 := "DB_Interface_HMI".stJamsAndStorage.stJams.stJamArea4503.stJam4503_2.stJamConfig.xActivateManualDest;
	        END_REGION
	        
	    END_REGION
	    
	END_REGION
	
	REGION Visu Storage Aufrufe
	    REGION Buffer 1.1 (TRO102)
	        FOR #idx := 1 TO "cNoLines" DO
	            #"arfbJamStorage1.1"[#idx](arInOutJam := "DB_JamBuffer102".arLine[#idx].arCarrier,
	                                       nInJamCount := "DB_JamBuffer102".arLine[#idx].stData.Status.nCount,
	                                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists."arStorageJams1.1"[#idx],
	                                       stInOutHMIData:= "DB_Interface_HMI".stJamsAndStorage.stStorageBlocks."arStorage1.1.1"[#idx]);
	        END_FOR;
	    END_REGION
	
	    
	    REGION Buffer 1.2 (TRO101)
	        FOR #idx := 1 TO "cNoLines" DO
	            #"arfbJamStorage1.2"[#idx](arInOutJam := "DB_JamBuffer101".arLine[#idx].arCarrier,
	                                       nInJamCount := "DB_JamBuffer101".arLine[#idx].stData.Status.nCount,
	                                       stInOutHMIJam := "DB_Interface_HMI".stJamsAndStorage.stJamLists."arStorageJams1.2"[#idx],
	                                       stInOutHMIData:= "DB_Interface_HMI".stJamsAndStorage.stStorageBlocks."arStorage1.1.2"[#idx]);
	        END_FOR;
	    END_REGION
	
	    
	    REGION Empty Buffer Storages   
	        FOR #idx := 1 TO "cNoLines" DO
	            "DB_Interface_HMI".stJamsAndStorage.stStorageBlocks."arStorage1.1.1"[#idx].stStatus := "DB_JamBuffer102".arLine[#idx].stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stStorageBlocks."arStorage1.1.1"[#idx].stConfig.nCapacityPLC := "DB_JamBuffer102".arLine[#idx].stData.Config.nCapacitySet;
	        END_FOR;
	        
	        FOR #idx := 1 TO "cNoLines" DO
	            "DB_Interface_HMI".stJamsAndStorage.stStorageBlocks."arStorage1.1.2"[#idx].stStatus := "DB_JamBuffer101".arLine[#idx].stData.Status;
	            "DB_Interface_HMI".stJamsAndStorage.stStorageBlocks."arStorage1.1.2"[#idx].stConfig.nCapacityPLC := "DB_JamBuffer101".arLine[#idx].stData.Config.nCapacitySet;
	        END_FOR;
	    END_REGION
	    
	END_REGION
END_FUNCTION_BLOCK

