SMC_TRAFO_Scara2 (FB)ΒΆ
FUNCTION_BLOCK SMC_TRAFO_Scara2
The transformation module is provided to execute backward transformations of 2-jointed Scara systems.
Note
For detailed information on transformation modules see the survey on SoftMotion transformations.
- InOut:
Scope
Name
Type
Comment
Input
piTarget position vector (x,y). Output of Interpolator
dOffsetALREALAdditional offset for A-axis in degree
dOffsetBLREALAdditional offset for B-axis in degree
dArmLength1LREALLength of first robot arm
dArmLength2LREALLength of second robot arm
bElbowLowBOOLTRUEif elbow is low andFALSE, if elbow is highOutput
bErrorBOOLTRUEif position is invaliddALREALDrive position of axis A in degree
dBLREALDrive position of axis B in degree