Fanuc Series 15i/150i-MA (Programming) Operators Manual

17.CUSTOM MACRO PROGRAMMING B-63324EN/03
- 650 -
17.6.14 Sample Program
By using the subprogram call function that uses M codes, the
cumulative usage time of each tool is measured.
- Conditions
- The cumulative usage time of each of tools T01 to T05 is
measured.
No measurement is made for tools with numbers greater than T05.
- The following variables are used to store the tool numbers and
measured times:
#501 Cumulative usage time of tool number 1
#502 Cumulative usage time of tool number 2
#503 Cumulative usage time of tool number 3
#504 Cumulative usage time of tool number 4
#505 Cumulative usage time of tool number 5
- Usage time starts being counted when the M03 command is
specified and stops when M05 is specified. System variable
#3002 is used to measure the time during which the cycle start
lamp is on. The time during which the machine is stopped by feed
hold and single block stop operation is not counted, but the time
used to change tools and pallets is included.
Operation check
- Parameter setting
Set 3 in parameter No.7071, and set 5 in parameter No.7072.
- Variable value setting
Set 0 in variables #501 to #505.

Leave a Reply

Your email address will not be published. Required fields are marked *