FUNCTION_BLOCK SMC_TRAFOF_Bipod_Arm
The transformation computes the forward transformation of a bipod with two rotary axes. See SMC_TRAFO_Bipod_Arm for a description.
Note
For more information on the supported transformations, see the chapter on CNC transformations.
InOut:
|
Scope
|
Name
|
Type
|
Initial
|
Comment
|
Input
|
dArmLength1
|
LREAL
|
|
Length of Arm1 connected to motor
|
dArmLength2
|
LREAL
|
|
Length of Arm2 from Arm1 to linked connection
|
dDistance
|
LREAL
|
|
Distance of the two motors
|
dOffsetA
|
LREAL
|
0
|
Additional offset of axis A in SoftMotion units
|
dOffsetB
|
LREAL
|
0
|
Additional offset of axis B in SoftMotion units
|
Output
|
bError
|
BOOL
|
|
TRUE, if position is invalid
|
dx
|
LREAL
|
|
X-position of manipulator
|
dy
|
LREAL
|
|
Y-position of manipulator
|
Inout
|
DriveA
|
AXIS_REF_SM3
|
|
Reference to axis A
|
DriveB
|
AXIS_REF_SM3
|
|
Reference to axis B
|
|