Main Content

Include Block Description

Include block description in generated code

Model Configuration Pane: PLC Code Generation / Comments

Description

The Include block description parameter specifies that block descriptions are included as comments in the generated code.

Settings

on (default) | off
On

Places comments in the generated files based on the contents of the block properties General tab.

Off

Omits block descriptions from the generated files.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityOn
EfficiencyNo impact
Safety precautionOn

Programmatic Use

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

Version History

Introduced in R2012b