ID : 9197
J2T
Syntax
J2T(joint type data)
Guaranteed entry
- Joint type data
- Designate 连接型 data.
Return value
Return 齐次变换型 data.
Description
连接型 data is converted into 齐次变换型 data and returned.
Calculation result reflecting current work coordinates (6th-Axis) and current tool coordinates (6-axis) is returned.
Attention
The argument joint type data is calculated even if it is out of the motion space. To see if it is within the motion space, use the OutRange function.
Example
'!TITLE "Conversion from Joint Type to Homogeneous Translation Type"
' Convert the current angle acquired in joint type into homogeneous translation type
Sub Sample_J2T
Dim aaa As Joint
Dim bbb As Trans
' Acquisition of current angle
aaa = CurJnt
' Conversion from joint type to homogeneous translation type
bbb = J2T( aaa )
' Display the current angle converted into homogeneous translation type on the message output window
PrintDbg bbb
End SubID : 9197

