L_MCPositionCorrection: Impermissible number of table elements

Which products are affected?
Positioner Software Package V3.1
LenzeMotionControlV3.lib

What happens?
The L_MCPositionCorrection function block does not indicate the status (nState = 20) 'number of measured value wNumOfMeasurePositions is no 2^n value, the corrective calculation is not made'. A corrective calculation of the target position is not made.

When does the problem occur?
The number of elements included in the measured value tables is determined by the user. However, it must only assume 2^n values (2, 4, 8, 16, …). If the number does not correspond to a 2^n value, a status informing the user that due to a faulty entry a correction cannot be made is indicated. If the position setpoint at the input corresponds exactly to the contents of a table element, this note is not indicated although the number is no 2^n value.

Possible diagnostics?
If the conditions described before occur, the status at the nState output only changes from 20 (correction not active) to 0 (OK) after releasing the function. Status 10 is not indicated. If the position setpoint at the input is slightly changed (so that it does not coincide with the table values anymore), the status 10 is indicated correctly.

Short-term measures/recommendations?
None.

Evaluation
If the function block with the number-table value = 2^n value is used correctly, a restriction does not occur. The function is described. The display only represents an additional means of control.

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