Parameters of type STRING display no more than 81 characters (fixed in V1.10)

​Fixed as of:

L_SPMI_PlcParameterManager (as of V3.27.0.0)

Included in the device description for:

  • Cabinet Controller c520 (as of V1.10)
  • Cabinet Controller c550 (as of V1.10)
  • Servo Drive i950 (as of V1.8)


Behavior of the new version:
With the new version of L_SPMI_PlcParameterManager in the PLC project, user parameters of type STRING with more than 81 characters are supported. (Up to a maximum of 255 characters)
Note:
PLC Designer version 4.1 and later generates compiler warnings or errors if STRING-type user parameters with more than 255 characters are used. 
 
Behavior description:
In the PLC project, a variable of the STRING data type was linked to a user parameter.
  • In the parameter list of the PLC Designer and EASY Starter, only the first 81 characters of the text stored in the variable are displayed.
  • When accessing the user parameter using the L_IPAP_ParameterRead function block, the text of the variable is truncated at 81 characters.
Under what conditions does this behavior occur?
The controller supports a maximum of 80 characters for a user parameter of type STRING. If the variable linked to the parameter contains more characters, they are truncated and not displayed.

Affected products:
Cabinet Controller c520
Cabinet Controller c550
Servo Drive i950

Short-term measures:
Make sure that no more than 80 characters are stored in STRING-type variables that are linked to a user parameter.

Assessment/Recommendations:
When declaring a variable with the STRING data type, 80 characters are automatically reserved for the variable in memory. If more characters are needed, the length must be specified explicitly. Lenze controllers only support user parameters of the STRING type with a maximum of 80 characters.
[Automatic Translation]
URL for linking this AKB article: https://www.lenze.com/en-de/go/akb/202200393/1/
Kontakt