Cam profile changeover at the L_CamData function block in combination with x-offset <>0

Which products are affected?
ESP-SPAC-CAM1 – Cam V2.0 software package (LenzeCamControl1V0200.lib library, cam template)

What happens?
The x setpoint (L_CamData.dnXPosIn_p signal input plus L_CamData.dnXOffset_p x offset value) does not match the current x value (L_CamData.dnXActPos_p signal output). The occurring shift has a value which corresponds to the length difference of the two cam profiles between which the user has changed over. The drive motion shows an additional x phase of this value shift against other axes.

When does the problem occur?
The problem may occur if
  • a changeover is performed between profiles with different x-lengths and
  • the x-offset (L_CamData.dnXOffset_p signal input) does not equal zero.

The problem may also arise in the cam template.

Possible diagnostics?
Read the values of the following variables
- L_CamData.dnXPosIn_p
- L_CamData.dnXOffset_p
- L_CamData.dnActXLength_p

and calculate a control value according to the following formula:
(L_CamData.dnXPosIn_p + L_CamData.dnXOffset_p) MOD L_CamData.dnActXLength_p
The problem has occurred if the value of the L_CamData.dnXActPos_p output variable does not equal the value obtained when the previously mentioned formula has been applied.

Short-term measures/recommendations?
Only allow a profile changeover at the L_CamData.wProfileSet signal input if the x offset value equals 0 (L_CamData.dnXOffset_p = 0). After the profile changeover is finished, it is possible to set an x offset value.

Evaluation:
In case of applications with predefined motion profiles, the previously described behaviour can be detected during commissioning. In the case of applications with online calculation of motion profiles (e. g. rotary cross cutter), it is not possible to check all cases during commissioning. As a result, the previously described behaviour may not be detected until production is started. In this case, it is compulsory to apply the measure mentioned under 'Short-term measures/recommendations'.

 

 

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200606904/1/
Contact form