1
VB and the development of wizards / how to test the time since the start?
« on: February 14, 2015, 03:53:02 AM »
hi i use a gcode mixed with macro vb
my is code is for exemple
g00x1y1
m51
g00x10y10
m52
g000x0y0
m47
m30
m51 is for exemple
sub main()
if "time after start button" < 10sec then
activatesignal(ouput1)
exit sub
end if
end sub
and m52 is for exemple
sub main()
if "time after start button" > 10sec then
activatesignal(ouput1)
exit sub
end if
end sub
i try to test the led statut to the start button, but after m47 , it flash
the only solution is the the time dro, but i don t know the oem code
thanks
and sorry for my english
my is code is for exemple
g00x1y1
m51
g00x10y10
m52
g000x0y0
m47
m30
m51 is for exemple
sub main()
if "time after start button" < 10sec then
activatesignal(ouput1)
exit sub
end if
end sub
and m52 is for exemple
sub main()
if "time after start button" > 10sec then
activatesignal(ouput1)
exit sub
end if
end sub
i try to test the led statut to the start button, but after m47 , it flash
the only solution is the the time dro, but i don t know the oem code
thanks
and sorry for my english