ID : 187
DestExJ
Function
To return the target angle of specified axis.
Syntax
DestExJ(axis number)
Guaranteed Entry
- Axis number
- Designate an axis number by data. Return 0 when using unavailable axis number.
Return value
Return the target angle of specified axis by single precision real number type data.
Description
Return a target position of the extended-joint specified by the current motion instruction.
Return a current position (command position) in stop state.
Return a current position (command position), when the stop motion command "Interrupt On/Off" is performed.
Attention
-
Example
Do
If DestExJ(7) - CurExJ(7) > 100 then
Debug.Print "When the axis 7 approaching the target 100 mm most is " & Now & "."
Exit Do
End If
Loop
ID : 187