Before an additional component transformation can be used, a function block that implements the direct and inverse transformation must be available.
Step |
Action |
---|---|
1 |
In the Devices tree or the POUs tree, select from the contextual menu. Result: The dialog box is displayed. |
2 |
Enter a Name for your function block. |
3 |
As Type, select Function Block. |
4 |
Activate the check box . |
5 |
Click the browse button next to the input field to open the . |
6 |
Select .
NOTE: You can also type the name of the interface directly into the input field.
|
7 |
Confirm with .Result: The dialog box is displayed. |
8 |
Click .Result: The function block implementing the interface is added. |
9 |
Click Add to create the function block. |
q_stPositionTCP := i_stPositionTCP;
q_stOrientationTCP := i_stOrientationTCP;
The necessary code for the additional components must be added afterwards and overwrite the respective outputs.
q_stRefPositionTCP := i_stRefPositionTCP;
q_stRefOrientationTCP := i_stRefOrientationTCP;
The necessary code for the additional components must be added afterwards and overwrite the respective outputs.
After the successful configuration of the main transformation, the necessary additional drives can be added to the robot. The next step is the configuration of the additional components transformation where an instance of the transformation function block is handed over to the robotic configuration.
You must set the motion and emergency stop parameters after the configuration of the additional components, as any selected component such as All, AuxAxAll, AxisAll, CartesianAll and OrientationAll only targets the components that were configured up to the call of the respective method.
If there are some components with a transformed mapping, and others with direct mapping, the direct mapping must be implemented in the transformation methods. Copy the respective inputs directly to the outputs.