Ger21 and BR549-
I started playing with the Macros, and I could get everything to work when I used 4 macros.
I used m801, 802, 901, 902. I chose these numbers because I could test different codes, and still have my cutter running using M03 and M05.
Once I get everything figures out, then I will edit M03 and Mo5
ok Now for the problems
When I used simple 1 line commands everything works great
ActivateSignal (output2)
When I statrted doing multiple tasks is when I started having problems
code ("G31 z-100")
code ("g92 z-.08")
sleep (100)
ActivateSignal (output2)
sleep (100)
ActivateSignal (output3)
sleep (100)
deactivateSignal (output3)
the problem is that the solenoids turn on before the z axis reaches the correct height
I tried to use --
While IsMoving()
Sleep (100)
wend
but this command locked up the computer. Is there something that is supposed to be inside the () like a 1 or 0?
Thanks for the help
Steve