5 Configuring 01.91
5.15 FB 156 Tool life monitoring/prewarning limit
K = 0: Processing of block aborted. The current values are stored and
the error output set.
K < 10: Acceleration of tool life down-counting
K = 10: Tool life down-counting in minutes
K > 10: Deceleration of tool life down-counting
K > 99: Processing of block is aborted. The current values are stored and
the error output set.
AKT Block is active
"1"-signal: Block is active
"0"-signal: Block is not active
Important: A new initiation signal (positive-going edge of "BEAR") is recognized only
if AKT=0.
ZEAB Tool life elapsed
"1"-signal: The tool life has elapsed (Tool life <= 0)
"0"-signal: The tool life has not yet elapsed
F Error
The error output is set for one cycle. The error number is entered in DB 134, DL 0.
Important: If the block is called several times in a PLC cycle (different job numbers),
the error word entered in DB 134/-DL must be saved immediately after the block call
with the error output set!
F-NR Error number
The error number is entered in DB 134, DL 0.
Program example:
The default values for tool life and prewarning limit are stored in the NC in the P memories
P10 and P11. The tool data are entered in the magazine table of magazine 2, location 10. The
tool life is measured in minutes (K=10). If the prewarning limit is to be evaluated or the tool to
be disabled immediately, the inputs "VWG" (I 3.1) and/or "SPER" (I 3.2) must be connected
correspondingly. If input I 3.0 (machining active) has a "high" signal, the tool life is counted
down. The part program runs in NC channel 1.
: L KY 2,10 MAGAZINE 2, LOCATION 10
: T FW 100
: L KB 10 K=10, MINUTE INTERVALS
: T FY 103
:
: JU FB 156 TOOL LIFE MONITOR
NAME : STAZ/VWG
BEAR : I 3.0
VWG : I 3.1
SPER : I 3.2
A-NR : KF+1
MANR : FY 100
PLSP : FY 101
NSBY : DL 17
SPNR : KF+10
K : FY 103
AKT : Q 3.0
ZEAB : Q 3.1
F : Q 3.2
:
:BE
5–70
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)