Detailed description   
2.12 Block descriptions 
  Basic logic functions: PLC basic program solution line (P3 sl) 
140  Function Manual, 11/2006, 6FC5397-0BP10-2BA0 
PI service: TMMVTL 
Function Prepare magazine location for loading, unload tool: 
This PI service is used both to load and unload tools. Whether the PI initiates a loading or 
unloading operation depends on the assignment between the real locations and the "from" 
parameters and "to" parameters: Loading ⇒ 'From' = Loading point/station, unloading ⇒ 'To' 
= loading point/station 
The TMMVTL PI service is used for all movements. 
1.  Loading and unloading (loading point ↔ magazine) 
2.  Loading and unloading (loading point ↔ buffer storage, e.g., spindle) 
3.  Relocation within a magazine 
4.  Relocation between different magazines 
5.  Relocation between magazine and buffer storage 
6.  Relocation within buffer storage 
The following variables from the TM block are used to monitor case 1, 3, 4, 5: 
magCmd (area no. = TO unit, line = magazine number) 
magCmdState <- "acknowledgment" 
The following variables from the TMC block are used to monitor case 2), 6): 
magCBCmd (area no. = TO unit) 
magCBCmdState <- "acknowledgment" 
Load function 
Prepares the specified real magazine for the specified channel for loading, i.e., traverses the 
magazine to the selected location for loading at the specified loading point/station 
(location_number_from, magazine_number_from) and inserts the tool. 
When location_number_to = -1, an empty location for the tool specified by a T number is first 
sought in the specified magazine and the magazine then traversed. After execution of the PI, 
the number of the location found is listed in the TM area in component magCMCmdPar2 for 
the real magazine of the channel. 
With location_number_to = -2 and a valid magazine number, loading takes place into the 
currently queued magazine position of the specified magazine. After execution of the PI, the 
number of the location for tool loading is listed in the TM area in component 
magCMCmdPar2 for the real magazine of the channel. 
Unload function 
The tool specified by the tool number is unloaded at the specified loading point/station 
(location_number_to, magazine_number_to), i.e., the magazine is traversed to the position 
for unloading and the tool is then removed. The magazine location for the tool is marked as 
being free in the TP block. The tool can be specified either via a T number or by means of 
the location and magazine numbers. The value -1 is entered at unused specification points. 
 
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.