this is what I have right now:
If GetSelectedTool() = GetCurrentTool() Then
End
End If
If GetSelectedTool = 1 Then
ActivateSignal(Output2) 'output2 is turret foward
While Not IsActive(oemtrig1) 'oem trig #1 is tool position 1
Wend 'wait in while statement till input is on
DeactivateSignal(Output2) 'turn off output 2
ActivateSignal(Output3) 'output 3 is turret reverse
While Not IsActive(Input1) 'input 1 is turret clamped
Wend 'wait in while statement till clamped
Sleep 1000 'wait 1 second
DeactivateSignal(Output3) 'turn off output 3
End If
End
this is what I was playing with in the VB editor. now I have to copy and past it for 7 more tools and im done. I was worried about "what if same tool number is called?" answer: change to that tool again! lol I did handle if same tool called then end program.
