Hello,
i am Christian and new on this forum.
We are working with Mach3 in the waterjet controller.
But i want to save how much time the pump and cutting head is open.
For example if the button "cutting head" is on, time starts and when the button is off it stops and saves his time somewhere on the screen.
But i cant get it working.
Here is what in the hiddenscript.
If(GetUserLED(Z_1_ACTIVE_LED)) Then
If(IsOutputActive(H2O_1))
Setuserled (H2O_1_LED,)Then
DeactivateSignal(H2O_1 LED_OFF)
Else
ActivateSignal(H2O_1)
SetUserLED (H2O_1_LED, LED_ON)
CKtijd = SetTimer(1) = 0
End If
End If
If GetOemLed(1005) Then
SetTimer(1)
End If
If Not GetOemLed(1005) Then
SetUserDro (1301, (GetUserDro(1300 + GetTimer(1)))
End If
I have looked on this forum but could't find this problem somewere.
Best regards,
Christian v Dalen