461
VB and the development of wizards / Re: User LED
« on: January 13, 2016, 06:29:58 PM »
You canuse teh brains or teh macroPump. You would monitor teh switch state via the Input# that you brought the signal into. Seeing that yo have 2 signals you can watch makes it better.
The output signal that activates the cylinder and teh End of stroke signal that tells you you are extended.
So you look at both conditions
IF GetSignal(ouput#1) AND Getsignal(inout#1) then '
SetUserLed(*********x,1 ) ' Turn on Led
End If
The output signal that activates the cylinder and teh End of stroke signal that tells you you are extended.
So you look at both conditions
IF GetSignal(ouput#1) AND Getsignal(inout#1) then '
SetUserLed(*********x,1 ) ' Turn on Led
End If