Forum
Getting Program running time using FOCAS2
Quote from Mattia Donnini on March 25, 2022, 10:28 amIs there a method to understand how long the program has been running on the machine using FOCAS2?
Is there a method to understand how long the program has been running on the machine using FOCAS2?
Quote from Muhammed Taşdemir on September 5, 2022, 1:51 amHi Mattia, You can use cycle time.
//Specify timer data to be read.
//0 : Power on time
//1 : Operating time
//2 : Cutting time
//3 : Cycle time
//4 : Free purposeFocas1.IODBTIME time = new Focas1.IODBTIME();
_ret = Focas1.cnc_rdtimer(_handle, 3, time);
Console.WriteLine("st = " + _ret);
Console.WriteLine("Cycle Time Minute = " + time.minute);
Console.WriteLine("Cycle Time Milisecond= " + time.msec);
But with this method you can take real producting time for this reason you can see full time when producting finish.
Hi Mattia, You can use cycle time.
//Specify timer data to be read.
//0 : Power on time
//1 : Operating time
//2 : Cutting time
//3 : Cycle time
//4 : Free purpose
Focas1.IODBTIME time = new Focas1.IODBTIME();
_ret = Focas1.cnc_rdtimer(_handle, 3, time);
Console.WriteLine("st = " + _ret);
Console.WriteLine("Cycle Time Minute = " + time.minute);
Console.WriteLine("Cycle Time Milisecond= " + time.msec);
But with this method you can take real producting time for this reason you can see full time when producting finish.