Hello,
You are looking to change the dwell time... Hmmmm I think the best way to change to dwell time with a DRO is to use the M3 and M5 macros
Much the same way that you have done here:
c=Timer()
totaltime=(c-getuserdro(1002))
setuserdro(1000,totaltime)
dooembutton(1000)
1002 userDRO is the time from the beginning of the preheat. I use M18 to fill 1002 up.
b=Timer()
setuserdro(1002,b)
preheat=getuserdro(1000)
ActivateSignal(Output4)
code ("G4 P" & preheat)
totaltime is the the xx (G4 Pxx) time
dooembutton(1000)=dobutton(0) I think. I tried them both.
I don' t get what it is that you are trying to do
If it was e and I needed to change the Pre heat time I woudl do the following
'M3
preheat=getuserdro(1000)
DoSpinCW()
code ("G4 P" & preheat)
and to turn off
'M5
DoSpinStop()
Sorry i don't see what you need
the other thing that you are talking about :
"I also found out the "no sense" movement. In G is
G01 X119.7404 Y112.9179 F180.3516"
What is a "No Sense" Move??? are you talking about a nonprobe move?
we will get you fixed up
Thanks
Brian