I made a Screenset for a cnc table with plasma and oxyfuel torch, this screenset have 2 DRO´s one for preheating time and the other for the pierce time. When I cut with oxifuel I put the torch over the plate and I count the seconds for a hot red dot for cutting, then y move the torch away the plate and put that seconds in the DRO for preheating... now im redy to cut some shapes in this plate.Ok that´s fine, but i want a alternative method for preheating ando cuting without using the anterior method of puting seconds in the DRO.
For example if I want to cut a shape with some holes, I want to decide when is the correct moment for cutting for each hole Basing Im seeing the hot red dot and then press a key in ma joypad to start for example the CycleStart Button. Im trying to make a Macro for that, something like this:
m4.m1s :
DRO1 = GetUserDRO(2222) * 1000
DRO2 = GetUserDRO(2223) * 1000
If (DRO1) = 0 Then
SystemWaitFor DoOEMButton (1000)
Else
Sleep (DRO1)
activateSignal(OUTPUT1)
Sleep (DRO2)
End If