Wrong setpoint limitation depending on the position encoder gearbox ratio

Which products are concerned?
Library module L_MCProfileGenerator, included in the Software Package as of V3.3

Problem description:
Although profile generation was started and the setpoint setting is plausible, the drive doesn't move. The motor control system receives no or a very small speed setpoint (MCTRL_nNSet_a).

When does the problem occur?
There are two possible reasons for the behaviour:
1.  In L_MCMachineData, a value > 32677 is set for the numerator or the denominator of the position encoder gearbox ratio (wSensorNum/wSensorDen).
2. With the value set for the denominator (wSensorDen) in the L_MCMachineData, the result of the calculation (wSensorDen∙C11∙26844)/wSensorNum exceeds 2^31.

Therewith, the speed setpoint is erroneously
limited to 1 during profile generation and the drive doesn't rotate.

Possible diagnostics?
When the described restriction occurs, it has to be checked whether the numerator and denominator of the position encoder gearbox ratio are set below 32677 and whether the mathematical condition (wSensorDen∙C11∙26844)/wSensorNum ≥ 2^31 is not met.

Short-term measures/recommendations?
None. When entering the ratio factors, the described conditions imperatively have to be met.

Evaluation
Although the setpoint setting is correct, the axis doesn't rotate. The restriction directly occurs during project planning or commissioning. To ensure that the mathematical condition (wSensorDen∙C11∙26844)/wSensorNum>2^31 is met at a typical maximum motor speed of C11 = 3000, the position encoder must have a considerable reduction (i_encoder < 0,037). This is not applicable in practice.

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