Hello guys,
I'm working on editing the mach3 's screen for a machine to cut only in oxyfuel.
Below the macro m3 that I'm using for the pre-plate heating and drilling lag time.
DRO1 = GetUserDRO(2222) * 1000 //Pre-heating time
DRO2 = GetUserDRO(2223) * 1000 //Drilling lag time
ActivateSignal(OUTPUT2) //Activates output 2 of pre-heating
Sleep (DRO1) //Waits for the time of pre-heating
DoSpinCW() //Output 1 activates for the cutting Jet
DeactivateSignal(OUTPUT2) //Disables the output 2 of pre-heating
Sleep (DRO2) // Waits for the drilling lag time and frees the machine to hang.
The macro works normally but when I put more than 32s DRO1 it doesnt work and introduces an error.
I wonder if some of our colleagues have any tips to solve this problem.
Regards to all and I'm awaiting any hint.