SMC_TrafoF_Wrapper (FB)ΒΆ
FUNCTION_BLOCK SMC_TrafoF_Wrapper EXTENDS SMC_Trafo_WrapperBase
Wrapper function block for kinematic function blocks that
implement the interface TRAFO.MC_KIN_REF_SM3.
- InOut:
Scope
Name
Type
Initial
Comment
Inherited from
Input
EnableBOOLThe transformation is computed if Enable is TRUE.
SMC_Trafo_WrapperBase
KinTRAFO.MC_KIN_REF_SM3The robotics kinematics
SMC_Trafo_WrapperBase
KinOriTRAFO.ISMOrientationKinematicsOptional: orientation kinematics that is combined with the kinematics
kin. IfkinOriis set, thenkinmust implement the interfaceTRAFO.ISMPositionKinematics.SMC_Trafo_WrapperBase
OriConvThe orientation convention used for dA, dB, and dC of output
pi.SMC_Trafo_WrapperBase
AxisSettingsARRAY [0..(SMRB.MAX_KIN_AXES - 1)] OF TRAFO.Axis_Settings
[6(STRUCT(limits := STRUCT(xUnlimited := TRUE)))]
The axis settings (e.g. axis ranges). The settings can be queried from the axis using the function block SMC_AxisSettingsFromAxes.
SMC_Trafo_WrapperBase
Output
ErrorBOOLTRUEif the transformation failedSMC_Trafo_WrapperBase
ErrorIDSMC_ERRORThe error identifier
SMC_Trafo_WrapperBase
Input
AxesTRAFO.AXISPOS_REFThe values of the axes corresponding to the value of
pi, given the last axis position and the configuration.Output
cdTRAFO.ConfigDataThe configuration of the robot
piCartesian position and orientation.
Methods:
Structure: