Detailed description   
2.12 Block descriptions 
  Power Line Basic PLC Program (P3) 
2-150  Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
Empty location search 
TMFPBP 
Function: 
(dependent on parameter assignment) 
This service searches the magazine(s) named in the relevant parameters for an empty 
location, which meets the specified criteria (tool size and location type). The result of the 
empty location search can be fetched from variables magCMCmdPar1 (magazine number) 
and magCMCmdPar2 (location number) in block TMC when the service has functioned 
correctly. As the PI service stores a result in variables magCMCmdPar1 and 
magCMCmdPar2, the service must be protected by the semaphore mechanism (PI service 
MMCSEM) with the function number for _N_TMFDPL in cases where several control units or 
PLCs are operating on one NC. The search area can be predefined in the following way by 
setting parameters MagazineNumber_From, LocationNumber_From, MagazineNumber_To, 
LocationNumber_To: 
 
MagazineN
umber 
_From  
LocationNu
mber_From  
MagazineN
umber_To  
LocationNu
mber_To  
Search area 
WVar1  WVar2  WVar3  WVar4 
#M1  #P1  #M1  #P1  Only location #P1 in magazine #M1 is 
checked 
#M1  #P1  #M2  #P2  Locations starting at magazine #M1, location 
#P1 up to magazine #M2, location #P2 are 
searched 
#M1  -1  #M1  -1  All locations in magazine #M1 - and no others 
- are searched 
#M1  -1  -1  -1  All locations starting at magazine #M1 are 
searched 
#M1  #P1  -1  -1  All locations starting at magazine #M1 and 
location #P1 are searched 
#M1  #P1  #M1  -1  Locations in magazine #M1 starting at 
magazine #M1 and location #P1 in this 
magazine are searched 
#M1  #P1  #M2  -1  Locations starting at magazine #M1, location 
#P1 up to magazine #M2, location #P2 are 
searched 
#M1  -1  #M2  #P2  Locations starting at magazine #M1 up to 
magazine #M2, location #P2 are searched 
#M1  -1  #M2  -1  Locations starting at magazine #M1 up to and 
including magazine #M2 are searched 
-1  -1  -1  -1  All magazine locations are searched 
 
 
 
Note 
Before and after this PI service, the MMCSEM PI service must be called up with the 
associated parameter WVar1 for this PI service. See PI service MMCSEM for more 
information.