Sense Method
Description
Specifies input condition that, if satisfied, completes the Jump in progress by stopping the robot above the target position.
Syntax
Sub Sense (Condition As String) As Boolean
Parameters
- Condition
For details about the setting the I/O conditions, see “Sense” in the SPEL+ Language Reference manual.
See Also
Jump Method, JS Method
Sense 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();