FUNCTION_BLOCK "FB_PriorityLogic"
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1
   VAR 
      fbPrioTRO310_TRO311_TRO312 : "Fb_PriorityManagerV2";
      fbPrioTRO318_3_TRO335 : "Fb_PriorityManagerV2";
      fbPrioTRO318_4_TRO332 : "Fb_PriorityManagerV2";
      fbPrioTRO319_TRO330 : "Fb_PriorityManagerV2";
      fbPrioTRO320_TRO322 : "Fb_PriorityManagerV2";
      fbPrioTRO321_TRO333 : "Fb_PriorityManagerV2";
      fbPrioTRO340_3_TRO357 : "Fb_PriorityManagerV2";
      fbPrioTRO340_4_TRO354 : "Fb_PriorityManagerV2";
      fbPrioTRO341_TRO352 : "Fb_PriorityManagerV2";
      fbPrioTRO342_TRO344 : "Fb_PriorityManagerV2";
      fbPrioTRO343_TRO355 : "Fb_PriorityManagerV2";
      fbPrioTRO362_3_TRO376 : "Fb_PriorityManagerV2";
      fbPrioTRO362_4_TRO379 : "Fb_PriorityManagerV2";
      fbPrioTRO365_TRO377 : "Fb_PriorityManagerV2";
      fbPrioTRO364_TRO366 : "Fb_PriorityManagerV2";
      fbPrioTRO363_TRO374 : "Fb_PriorityManagerV2";
      fbPrioTRO329_TRO330in : "Fb_PriorityManagerV2";
      fbPrioTRO338_TRO333in : "Fb_PriorityManagerV2";
      fbPrioTRO323_TRO325 : "Fb_PriorityManagerV2";
      fbPrioTRO351_TRO352in : "Fb_PriorityManagerV2";
      fbPrioTRO360_TRO355in : "Fb_PriorityManagerV2";
      fbPrioTRO345_TRO347 : "Fb_PriorityManagerV2";
      fbPrioTRO373_TRO374in : "Fb_PriorityManagerV2";
      fbPrioTRO382_TRO377in : "Fb_PriorityManagerV2";
      fbPrioTRO367_TRO369 : "Fb_PriorityManagerV2";
   END_VAR

   VAR_TEMP 
      tmpInterruptParam : "udt_InterruptParameter";
   END_VAR


BEGIN
	// PRIORITY MANAGER VERSION PRÜFEN!!!
	
	REGION Priority-Manager 
	    REGION Kreuzung TRO310/TRO311/TRO312
	        #fbPrioTRO310_TRO311_TRO312(xInQuit := "cTodoFalse",
	                                    tIn_ReleaseTime1 := T#30s,
	                                    tIn_ReleaseTime2 := t#30s,
	                                    tIn_ReleaseTime3 := t#30s,
	                                    tIn_SourceChangeDelayTime := T#3500ms,
	                                    xInClearJam := FALSE,
	                                    udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO310.TroOut,
	                                    udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO311.TroOut,
	                                    udtIn_Source3Req := "DB_Prozessdaten".stPriorityManager.udt_TRO312.TroOut,
	                                    udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO310.TroIn,
	                                    udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO311.TroIn,
	                                    udtOut_Source3Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO312.TroIn,
	                                    udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO310_TRO311_TRO312,
	                                    udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO318_3/TRO335
	        #fbPrioTRO318_3_TRO335(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO318_3.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO335.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO318_3.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO335.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO318_3_TRO335,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO318_4/TRO332
	        #fbPrioTRO318_4_TRO332(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO318_4.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO332.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO318_4.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO332.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO318_4_TRO332,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO319/TRO330
	        #fbPrioTRO319_TRO330(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO319.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO330_Out.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO319.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO330_Out.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO319_TRO330,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO320/TRO322
	        #fbPrioTRO320_TRO322(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO320.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO322.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO320.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO322.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO320_TRO322,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    
	    
	    REGION Kreuzung TRO321/TRO333
	        #fbPrioTRO321_TRO333(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO321.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO333_Out.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO321.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO333_Out.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO321_TRO333,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO340_3/TRO357
	        #fbPrioTRO340_3_TRO357(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO340_3.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO357.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO340_3.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO357.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO340_3_TRO357,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO340_4/TRO354
	        #fbPrioTRO340_4_TRO354(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO340_4.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO354.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO340_4.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO354.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO340_4_TRO354,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO341/TRO352
	        #fbPrioTRO341_TRO352(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO341.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO352_Out.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO341.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO352_Out.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO341_TRO352,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO342/TRO344
	        #fbPrioTRO342_TRO344(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO342.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO344.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO342.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO344.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO342_TRO344,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO343/TRO355
	        #fbPrioTRO343_TRO355(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO343.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO355_Out.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO343.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO355_Out.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO343_TRO355,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO362_3/TRO376
	        #fbPrioTRO362_3_TRO376(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO362_3.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO376.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO362_3.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO376.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO362_3_TRO376,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO362_4/TRO379
	        #fbPrioTRO362_4_TRO379(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO362_4.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO379.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO362_4.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO379.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO362_4_TRO379,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO363/TRO374
	        #fbPrioTRO363_TRO374(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO363.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO374_Out.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO363.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO374_Out.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO363_TRO374,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO364/TRO366
	        #fbPrioTRO364_TRO366(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO364.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO366.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO364.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO366.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO364_TRO366,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO365/TRO377
	        #fbPrioTRO365_TRO377(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO365.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO377_Out.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO365.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO377_Out.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO365_TRO377,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION ab hier neu
	    END_REGION
	    
	    REGION Kreuzung TRO329/TRO330in
	        #fbPrioTRO329_TRO330in(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO329.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO330_In.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO329.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO330_In.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO329_TRO330in,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO338/TRO333in
	        #fbPrioTRO338_TRO333in(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO338.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO333_In.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO338.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO333_In.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO338_TRO333in,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO323/TRO325
	        #fbPrioTRO323_TRO325(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO323.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO325.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO323.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO325.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO323_TRO325,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO351/TRO352in
	        #fbPrioTRO351_TRO352in(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO351.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO352_In.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO351.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO352_In.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO351_TRO352in,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO360/TRO355in
	        #fbPrioTRO360_TRO355in(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO360.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO355_In.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO360.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO355_In.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO360_TRO355in,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO345/TRO347
	        #fbPrioTRO345_TRO347(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO345.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO347.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO345.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO347.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO345_TRO347,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO373/TRO374in
	        #fbPrioTRO373_TRO374in(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO373.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO374_In.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO373.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO374_In.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO373_TRO374in,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO382/TRO377in
	        #fbPrioTRO382_TRO377in(xInQuit := "cTodoFalse",
	                               tIn_ReleaseTime1 := T#20s,
	                               tIn_ReleaseTime2 := t#20s,
	                               xInClearJam := FALSE,
	                               udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO382.TroOut,
	                               udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO377_In.TroOut,
	                               udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO382.TroIn,
	                               udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO377_In.TroIn,
	                               udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO382_TRO377in,
	                               udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	    REGION Kreuzung TRO367/TRO369
	        #fbPrioTRO367_TRO369(xInQuit := "cTodoFalse",
	                             tIn_ReleaseTime1 := T#20s,
	                             tIn_ReleaseTime2 := t#20s,
	                             xInClearJam := FALSE,
	                             udtIn_Source1Req := "DB_Prozessdaten".stPriorityManager.udt_TRO369.TroOut,
	                             udtIn_Source2Req := "DB_Prozessdaten".stPriorityManager.udt_TRO367.TroOut,
	                             udtOut_Source1Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO369.TroIn,
	                             udtOut_Source2Resp => "DB_Prozessdaten".stPriorityManager.udt_TRO367.TroIn,
	                             udt_PrioParameter := "DB_Prozessdaten".stPriorityParameter.udt_TRO367_TRO369,
	                             udt_InterruptParameter := #tmpInterruptParam);
	    END_REGION
	    
	END_REGION ;
END_FUNCTION_BLOCK

