How to create a cam
The steps for creating a cam are explained by means of a sample application that describes a rotary table with eight slots (45° division). Inside, there is a component that is fused ultrasonically. The welding tool is fed in by a linear drive after the rotary table has turned. After welding, the linear axis returns and the rotary table continues turning.
Rotary table turns 45° (duration: 400 ms).
The welding head is moved down by a vertical axis of 250 mm (duration: 200 ms).
Start welding (duration: 1200 ms).
The welding head is moved up by a vertical axis of 250 mm (duration: 200 ms).
A cycle time of 2000 ms results from total times.
The application is implemented by means of a virtual master axis that runs continuously (modulo). The end value of the axis is projected according to the cycle time of 2000 ms. The rotary table is achieved as a cam (modulo; end value: 45°). The vertical axis is also achieved as a cam (restricted; end value: 300 mm). The welding process is controlled by a tappet.
Adding a cam to the device tree
Requirement: A SoftMotion controller is selected.
In the device tree, select the Application object.
Click
.Specify the name Rotary table for the cam and click OK.
The object is inserted into the device tree. The cam editor opens.
Insert another cam named Vertical axis.
Setting the properties of the cam
Select the Rotary table cam in the device tree.
Click Properties in the View menu or in the context menu.
Select the Cam tab.
Specify the following values:
Master start position: 0
Master end position: 2000
Slave start position: 0
Slave end position: 45
Smooth transition:
(disabled)
Click OK to exit the dialog. Confirm the dialog for changing the cam object.
Change the values for the Vertical axis cam in the same way:
Master start position: 0
Master end position: 2000
Slave start position: 0
Slave end position: 300
Smooth transition:
(enabled)
Click OK to exit the dialog. Confirm the dialog for changing the cam object.