FUNCTION "FC_Call_StorageLines" : Void
{ S7_Optimized_Access := 'TRUE' }
VERSION : 0.1

BEGIN
	//Call Storage Line Status, Fill Level, Statistics
	
	REGION Storage 2.1.1
	    "FC_StorageLines"(nInDest := "cDest21100",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount211,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics211,
	                      arInOutStorage := "DB_Storage2.1.1".arLine);
	END_REGION
	
	REGION Storage 2.1.2
	    "FC_StorageLines"(nInDest := "cDest21200",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount212,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics212,
	                      arInOutStorage := "DB_Storage2.1.2".arLine);
	END_REGION
	
	REGION Storage 2.1.3
	    "FC_StorageLines"(nInDest := "cDest21300",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount213,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics213,
	                      arInOutStorage := "DB_Storage2.1.3".arLine);
	END_REGION
	
	REGION Storage 2.1.4
	    "FC_StorageLines"(nInDest := "cDest21400",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount214,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics214,
	                      arInOutStorage := "DB_Storage2.1.4".arLine);
	END_REGION
	
	REGION Storage 2.2.1
	    "FC_StorageLines"(nInDest := "cDest22100",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount221,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics221,
	                      arInOutStorage := "DB_Storage2.2.1".arLine);
	END_REGION
	
	REGION Storage 2.2.2
	    "FC_StorageLines"(nInDest := "cDest22200",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount222,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics222,
	                      arInOutStorage := "DB_Storage2.2.2".arLine);
	END_REGION
	
	REGION Storage 2.2.3
	    "FC_StorageLines"(nInDest := "cDest22300",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount223,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics223,
	                      arInOutStorage := "DB_Storage2.2.3".arLine);
	END_REGION
	
	REGION Storage 2.2.4
	    "FC_StorageLines"(nInDest := "cDest22400",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount224,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics224,
	                      arInOutStorage := "DB_Storage2.2.4".arLine);
	END_REGION
	
	REGION Storage 2.3.1
	    "FC_StorageLines"(nInDest := "cDest23100",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount231,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics231,
	                      arInOutStorage := "DB_Storage2.3.1".arLine);
	END_REGION
	
	REGION Storage 2.3.2
	    "FC_StorageLines"(nInDest := "cDest23200",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount232,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics232,
	                      arInOutStorage := "DB_Storage2.3.2".arLine);
	END_REGION
	
	REGION Storage 2.3.3
	    "FC_StorageLines"(nInDest := "cDest23300",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount233,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics233,
	                      arInOutStorage := "DB_Storage2.3.3".arLine);
	END_REGION
	
	REGION Storage 2.3.4
	    "FC_StorageLines"(nInDest := "cDest23400",
	                      nOutStorageLevel => "DB_Statistics".nStorageCount234,
	                      stOutCarrStats => "DB_Statistics".stStorageStatistics234,
	                      arInOutStorage := "DB_Storage2.3.4".arLine);
	END_REGION
	
	REGION Storage Konfiguration
	    REGION Block 2.3.1
	        "DB_Storage2.3.1".arLine[1].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[2].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[3].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[4].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[5].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[6].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[7].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[8].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[9].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[10].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[11].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[12].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[13].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[14].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[15].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[16].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[17].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[18].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[19].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[20].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.1".arLine[21].stData.Config.bByte.%X3 := TRUE;
	    END_REGION
	    
	    REGION Block 2.3.2
	        "DB_Storage2.3.2".arLine[1].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[2].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[3].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[4].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[5].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[6].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[7].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[8].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[9].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[10].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[11].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[12].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[13].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[14].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[15].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[16].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[17].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[18].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[19].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[20].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.2".arLine[21].stData.Config.bByte.%X3 := TRUE;
	    END_REGION
	    
	    REGION Block 2.3.3
	        "DB_Storage2.3.3".arLine[1].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[2].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[3].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[4].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[5].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[6].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[7].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[8].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[9].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[10].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[11].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[12].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[13].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[14].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[15].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[16].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[17].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[18].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[19].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[20].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.3".arLine[21].stData.Config.bByte.%X3 := TRUE;
	    END_REGION
	    
	    REGION Block 2.3.4
	        "DB_Storage2.3.4".arLine[1].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[2].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[3].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[4].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[5].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[6].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[7].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[8].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[9].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[10].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[11].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[12].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[13].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[14].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[15].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[16].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[17].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[18].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[19].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[20].stData.Config.bByte.%X3 := TRUE;
	        "DB_Storage2.3.4".arLine[21].stData.Config.bByte.%X3 := TRUE;
	    END_REGION
	END_REGION
END_FUNCTION

