Timing of parts
TC_TIMER
With the TC_TIMER cycle, machining times for single workpieces can be measured, displayed, and logged. A maximum of five timings can be simultaneously programmed, and displayed together later.
TC_TIMER (INT P1, INT NUMBER, STRING[20] COMMENT)
-
The laser beam must not be ignited.
-
A maximum of five timings can be started parallel to each other, or one after the other. The sequence is arbitrary.
-
It takes 0.5 seconds to start each timing. If several timings are started simultaneously, then these 0.5 seconds are added to each timing.
-
The maximum measurable time is nine hours.
| Parameter | Value | Definition |
|---|---|---|
INT P1 |
1 |
Start timing. |
2 |
Stop timing, and save. At the same time, machining program continues to run. |
|
3 |
Stop all timings, and display. The machining program will stop until the display is closed. |
|
4 |
Stop all timings, and log. At the same time, machining program continues to run. |
|
INT NUMBER |
1 - 5 |
Number of the measurement. |
STRING[20] COMMENT |
- |
Comment, no more than 20 characters. |
With TC_TIMER(4), the cycle writes the result of the measurements into the log 'tc_timer.txt'.
The log is written into the directory 'c:\dh\topsmanu.dir\log \tc_timer' and is formatted for evaluation via a table calculation. The log can be viewed and exported using the TC_TIMER Logs button under Programming, Additional functions.
-
The maximum size of the file is 100 kByte.
-
Once the maximum file size is reached, 20 % of the data at the beginning of the file (the oldest entries) are deleted.
-
The file can be completely deleted. It is then automatically re-created at the next measurement.
| Log entry | Definition |
|---|---|
PROGRAMM |
Name of the main program |
DATE |
Date and time of the log entry |
TIMERNR |
Number of the timer, transfer parameter INT_NUMBER |
VALUE |
Measured time in HH:MM:SS. |
COMMENT |
Comment, transfer parameter STRING[20] COMMENT |
| PROGRAMM | DATE | TIMERNR | VALUE | COMMENT |
|---|---|---|---|---|
HP_1 |
2001-01-05 15:38:54 |
1 |
00:01:14 |
Up1 |
HP_1 |
2001-01-05 15:38:54 |
2 |
00:00:53 |
Up2 |
HP_1 |
2001-01-05 15:38:54 |
3 |
01:33:07 |
Up3 |
HP_1 |
2001-01-05 15:38:54 |
4 |
00:27:00 |
Up4 |
HP_1 |
2001-01-05 15:38:54 |
5 |
00:03:25 |
Up5 |
| Block | NC program | Description |
|---|---|---|
N10 |
TC_MSG("UP,P100031704 |
- |
N20 |
G91 |
- |
N30 |
(TEILENUMMER:1) |
- |
N40 |
TC_POS_LEVEL(40.0) |
- |
N45 |
TC_TIMER(1,1,"First Part") |
Start first timing |
N50 |
TC_LASER_ON(9,"3529",10,100) |
- |
… |
X… Y… |
- |
N70 |
TC_LASER_OFF(3) |
- |
N75 |
TC_TIMER(2,1) |
Stop first timing |
N80 |
TC_TIMER(1,2,"Second part") |
Start second timing |
… |
… |
- |
N300 |
TC_TIMER(2,2) |
Stop second timing |
… |
… |
- |
N500 |
TC_TIMER(3) |
Display times of the timings |
