L_MC4P_WriteParameter, L_MC1P MC_WriteParameter: Value range check incorrect for parameters of axis groups (corrected from V03.26.00)

Corrected from:
Library: L_MC4P_RoboticHandling (FAST Motion) from V03.26.00
               L_MC1P_MotionControlBasic (FAST Motion) from V03.26.00
               (Update via Package Manager)
 
Response of the new version:
L_MC1P MC_WriteParameter and L_MC4P_WriteParameter:
If the value to be written is outside the permissible value range of the parameter, a corresponding error message is now output.


What happens?
L_MC1P MC_WriteParameter and L_MC4P_WriteParameter:
The value range check of fixed-point parameters is faulty.
Values outside the valid range are not caught. This can lead to undefined behaviour.

When does the behaviour occur?
  • By means of MC_WriteParameter or L_MC4P_WriteParameter, parameters of axes or axis groups are changed from the application at runtime of the PLC and
  • they are fixed-point parameters (e.g. UINT with three decimal places), which have a value range limitation and
  • the value to be written is outside the permissible value range.
Which products are affected?
Library: L_MC4P_RoboticHandling (FAST Motion) 
               L_MC1P_MotionControlBasic (FAST Motion) 
 
Short-term measures / evaluation / recommendations:
As a remedy, parameters which are described with the FBs mentioned at runtime of the PLC should only be described with values in the valid value range.


Automatic Translation

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