P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
960
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
backed up using the semaphore mechanism (PI service _N_MMCSEM) with the function number for
_N_TMGETT.
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"
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.
Parameterization
Signal
Type
Value range
Meaning
PIService
ANY
PI.TMGETT
Determining the T
number
Unit
INT
1 ... 10
TOA
Addr1
STRING
max. 32 characters
Name of the tool, for
which the T number is
searched
WVar1
INT
Duplo number of the
tool, for which the T
number is searched