JS Method
Description
Jump Sense detects whether the arm stopped prior to completing a JUMP instruction (which used a SENSE input) or if the arm completed the JUMP move.
Syntax
Function JS () As Boolean
Return Value
True if the SENSE input was detected during motion, False if not.
See Also
Jump Method, Jump3 Method, Jump3CP Method, Sense Method, Till Method
JS Example
VB Example:
With m_spel
.Sense("Sw(1) = On")
.Jump("P1 Sense")
stoppedOnSense = .JS()
End With
C# Example:
m_spel.Sense("Sw(1) = On");
m_spel.Jump("P1 Sense");
stoppedOnSense = m_spel.JS();