Main Content

Override Target Default Maximum Identifier Length

Enable the overriding of the maximum number of characters in identifiers

Model Configuration Pane: PLC Code Generation / Identifiers

Description

The Override target default maximum identifier length parameter enables you to override the maximum number of characters in the generated function, type definition, and variable names.

Settings

off (default) | on
On

Override target default maximum identifier length in the generated code.

Off

The generated code uses the default identifier length of the target IDE.

Recommended Settings

ApplicationSetting
DebuggingOn
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

Programmatic Use

Parameter: PLC_OverrideDefaultNameLength
Type: string
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2018a