5 Configuring
01.91
5.21 FB 198 Generate exchange list of missing tools (turning version)
Signal descriptions
ST
Start
The positive-going edge of the parameter triggers a comparison of the tool list and
the magazines.
MANR
Magazine number
Specification of the number for the active magazine
DBTL
Data block exchange list/list of missing tools
Specification of the first of a total of seven data blocks (four DBs for the exchange
list and three DBs for the list of missing tools).
DBVS
Data block for leader data (tool list)
Specification of the first data block of a total of three data blocks of the tool list. This
data block must correspond to the data block initialized by the FB "Load tool list"!
ANZ
Number
The parameter specifies the maximum of tool numbers that can be programmed in
the leader of the part program.
F
Error
Parameter has a "1" signal (1 cycle) if an error has occurred.
FNR
Error number
The error number is entered in DW 4 of DBVS+1 and is valid only in connection with
the error bit ("1" signal).
VL
Comparison active
Parameter has a "1" signal for the duration of one PLC cycle if all data of the tool list
have been considered.
END
End
This parameter has a "1" signal for the duration of one PLC cycle if all data of the
tool list have been considered.
ZW
Status word
Memory location for internal statuses
ZWE
Intermediate results
GST
Initial setting
At the initial setting (F 2.1), the data blocks of the exchange list and the list of mis-
sing tools are created and the internal status words deleted.
Program example:
The "Exchange list/list of missing tools" FB is used for generating two lists of four and three
data blocks each:
The exchange list (DB 240 to DB 243) and the list of missing tools (DB 244 to DB 246).
This list includes the data (target locator number, T number and magazine locator number of
the tool found) of the tools that are required for machining but are not available in the active
magazine
5–92
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)