P4: PLC for SINUMERIK 828D
14.6 Function interface
Basic Functions
1160
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Location status ($TC_MPP4)
T No. of tool at this location ($TC_MPP6)
DB120x.DBD1008
-
-
DB120x.DBW3004
Result: Value of the NCK variable x
> 0
Location type for virtual location
Data type: WORD
0
"match all" (buffer)
9999
undefined (no virtual location)
Location state: $TC_MPP4
Address
Description
Valid values
DB120x.DBB1000
Variables index
8
DB120x.DBB1001
-
-
DB120x.DBW1002
Location number
1 … 31999
DB120x.DBW1004
Magazine number
1 … 9999
DB120x.DBD1008
-
-
DB120x.DBW3004
Result: Value of the NCK variable x
1
Blocked
2
free (<> occupied)
4
reserved for tool in buffer
8
reserved for tool to be loaded
16
occupied in left half location
32
occupied in right half location
64
occupied in upper half location
128
occupied in lower half location
T number of the tool at this location: $TC_MPP6
Address
Description
Valid values
DB120x.DBB1000
Variables index
9
DB120x.DBB1001
-
-
DB120x.DBW1002
Location number
1 … 31999
DB120x.DBW1004
Magazine number
1 … 9999
DB120x.DBD1008
-
-
DB120x.DBW3004
Result: T number of the tool at this
location
T number of the tool
Location type: $TC_MPP2
Address
Description
Valid values