11.92
9 Examples
9.1.3 Description of the PLC program
9.1.3.8 Relevant machine data (in this example)
NC MD No.
13:
Number of TO parameter
16
2)
210:
Number of the TO areas
1
211:
Initial D No. TO area 1
1
104*:
TO area 1
1
NC MD bit
5440.4:
T word channel 1, binary output
5440.6:
H word channel 1, binary output
PLC MD No.
2000:
Initial address of tool buffer
4
2001:
Number of data words in tool buffer
3
2002:
Number of user DBs
7
2003:
Number of reference DBs
4
2004:
Submag. 1, initial address
31
2005:
Submag. 1, length
10
2006:
Submag. 1, permissible TO area
1
2007:
Submag. 1, permissible background mag.
1)
2
2008:
Submag. 2, initial address
41
2009:
Submag. 2, length
10
2010:
Submag. 2, permissible TO area
1
2011:
Submag. 2, permissible background mag.
1)
0
2068:
M function for tape
70
2072:
H group for special position
57
2075:
Number of magazines with
1.1=257
assigned buffer
2076:
Spindle No./DW address spindle
1/4 = 260
PLC MD bit
7010.7:
Tool management in PLC 1
1
7011.4:
Loading with operator guidance
1
7013.0:
Submag. available (magazine 1)
1
7015.0:
Submag. available (magazine 2)
1
Note:
The area of data word 2 of the magazine table is required for the loading line. The tool buffer
may therefore not start before data word 3 (cf. MD 2000).
The following machine data are stored temporarily in DB 146:
DWs relevant for this example:
DW 136: Loading point "Magazine number"
DW 137: Offset loading point 1
DW 138: Offset loading point 2
DW 143: DBVS (3 DBs), DBTL (6 DBs) (package 2 only)
When loading via the operator panel, an empty location to fit the tool size is searched for. The
number of this location is stored in data word DW 5 in DB 146. The user has to ensure that
the magazine is positioned on this location at the actual start of the loading procedure (when
softkey "Acknowledge" is pressed). Otherwise, the error message "Incorrect location at
loading point" appears.
_______
1)
Background magazine permissible with SINUMERIK 880/880 GA2 only.
2)
Value range for SINUMERIK 840/840C 1...32, 1..16 if tool management is used.
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
9–33
SINUMERIK 840/880 (PJ)