Evaluation of the last scan value at the function block L_CamSetXAxisVelocity

Which products are affected?
ESP-SPAC-CAM1 – Software Package Cam V1.4 (LenzeCamControl1V0104.lib library)

What happens?
If in case of an inverted master value (L_CamSetXAxisVelocity.bCwCcw = TRUE) a correction is made via touch probe signal, the last scan values are not evaluated with the correct sign at  the function block input L_CamSetXAxisVelocity.dnTpIncLastScan_p. This results in corresponding inaccuracies in the position correction of the master value and in the process.

When does the problem occur?
The problem occurs when inverting the master value via the function block input L_CamSetXAxisVelocity.bCwCcw  while the touch probe correction is used at the same time.  

Possible diagnostics?
Due to the transient correction processes and the usually small values for the last scan values the behaviour can in most cases only be diagnosed by process inaccuracies.  

Short-term measures/recommendations?
Via an additional function connected directly before the function block L_CamSetXAxisVelocity the last scan value is also to be inverted if the master value inversion has been preselected. An example of the program addition can be found below.

Evaluation:
The problem only occurs when using the master value inversion and touch probe correction at the same time. It can easily be avoided by applying the program addition described below.

URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/200501621/1/
Kontaktformular