Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
139
PI service: TMCRTO
Create function tool:
Creating a tool under specification
• of an identifier, a Duplo number e.g. with
$TC_TP1[y] = Duplo number;
$TC_TP2[y] = "Tool identifer"
• and optionally a T Number e.g. with y = T Number
The tool is entered as existing in the tool directory area (TV). The first cutting edge "D1" (with
zero contents) is created for tool offsets in the TO block. "D1" (with zero contents) is also set
up for the monitoring data in the TS block, and simultaneously with zero contents for the
OEM cutting edge data in the TUE block - if one is present. The TD block contains the
identifier, duplo number and number of cutting edges (=1) for the T number that is entered
optionally or allocated by the NCK.
If a TU block exists, it will contain the data set for the tool. After execution of the PI, the T
number of the tool created is available in the TV block under TnumWZV.
Note
Before and after this PI service, the MMCSEM PI service must be called 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.TMCRTO Create tool
Unit INT 1, 2 TOA
WVar1 INT T number
WVar2 INT Duplo number
Addr1 STRING max. 32 characters Tool identifier
T number > 0 means a T number must be specified
T number = -1 means that the NCK should allocate a T number
The example shows T number = -1 ⇒ T number assigned by NCK