Can you give me a example of a working systemwaitfor()
It just blows past it, when doing step through, it doesnt wait for the signal.
I want to stay away from other While loops, but there doesnt appear to be a choice.
Any way to see if there is a bug in the VB interpreter?
What was that work around that, some guy posted about doing "Sleep..something" that made the interpreter run faster?
Currently, the VB will hang, and hang, and hang I have to reboot.
ActivateSignal(OUTPUT1)
Code "G4 p5"
While IsMoving()
Wend
DeActivateSignal(OUTPUT1)
ActivateSignal(OUTPUT3) 'starts a latched timer in a PLC (times out in 5 seconds)
While
SystemWaitFor(INPUT3) 'When the 5 second timer in the PLC times out, it sends a signal to INPUT3 in mach
WEnd
DeActivateSignal(OUTPUT3) 'Therorectcally, after the systemwaitfor drops out, it will deactivate output three
ActivateSignal(OUTPUT1)
Code "G4 p2"
While IsMoving()
Wend
DeActivateSignal(OUTPUT1)
Scott