Programming
8.11 Language commands for tool monitoring
8-191
SINUMERIK 802D sl Operation and Programming Nibbling (BP-N), 06/2006 Edition
6FC5 398-3CP10-0BA0
After booting of the control system, reset / program end, the factor $A_MONIFACT has the
value 1.0. Real-time operation applies.
Calculation examples:
$A_MONIFACT=1 1 minute real time = 1 minute tool life that is decremented
$A_MONIFACT=0.1 1 minute real time = 0.1 minute tool life that is decremented
$A_MONIFACT=5 1 minute real time = 5 minutes tool life that are decremented
Setpoint update with RESETMON( )
The RESETMON(state, t, d, mon) function sets the actual value to the set-
point:
– for all or only one certain edge of a certain tool
– for all or only a certain monitoring types.
Transfer parameter:
INT state Status of command execution:
= 0 Successful execution
= –1 The cutting edge with the specified D number d does not exist.
= –2 The tool with the specified T number t does not exist.
= –3 The specified tool t does not possess a defined monitoring function.
= –4 The monitoring function is not activated; the command is not executed.
INT t Internal T number:
= 0 For all tools
<> 0 For this tool ( t < 0 : Absolute-value generation |t|)
INT d optional: D number of the tool with the number t:
> 0 For this D number
Without d / = 0 All cutting edges of tool t
INT mon optional: Bit-coded parameter for the monitoring type
(values analogous to $TC_TP9):
= 1: Tool life
= 2: Count
Without mon or = 0: All actual values of the monitoring functions active for tool t
are set to their setpoints.
Notes:
– RESETMON( ) has no effect when “Program test” is active.
– The variable for the state status feedback must be defined at the beginning of the pro-
gram using a DEF statement: DEF INT state
You can also define a different name for the variable (instead of state, with a maxi-
mum of 15 characters, beginning with 2 letters). The variable is only available in the
program if it was defined in this program.
This also applies to mon. If a data is required at all, this can also be directly trans-
ferred as a number (1 or 2).