I think it is the same as dro 814. My machine is running now, but i am pretty sure it won't work too.
Moreover, GetTimer/SetTimer do not work either.
The manual for these function says:
Note that this
function works only with the parallel port driver, and support for this function may be
removed without notice in a future release.
Why do you even need parallel port to measure time?? Especially considering the desired time is actually always shown on mach3's first screen.
In case of dro 814 the manual says nothing besides "Elapsed Time".
However i have managed to write my own function to do this:
Sub showtime(t)
' usage: setvar(CYCLE_START_TIME_VAR, now); ..... elapsed = datediff("s", getvar(CYCLE_START_TIME_VAR), now); Message showtime(elapsed)
Dim s As Integer, m As Integer, h As Integer
m = Int(t / 60)
h = Int(m / 60)
s = t Mod 60
m = m Mod 60
showtime = h & ":" & Format(m,"00") & ":" & Format(s,"00") ' there is no function to get date as difference of other dates in mach3! and also no function to properly display time intervals larger than 24 hours! and TimeSerial() yields error on numbers greater than 32767!
End Sub