Main Content
Use Subsystem Instance Name as Function Block Instance Name
Use model subsystem instance name as function block instance name
Model Configuration Pane: PLC Code Generation / Identifiers
Description
The Use subsystem instance name as function block instance name parameter specifies how you want the software to name the Function block instances it generates for the subsystem. When you select this option, the software uses the subsystem instance name as the name of the Function blocks in the generated code. By default, the software generates index-based instance names.
Settings
off (default) | on
- On
Uses the subsystem instance name as the name of the Function block instances in the generated code.
- Off
Uses auto-generated index-based instance names for the Function blocks in the generated code.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | On |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: PLC_FBUseSubsystemInstanceName |
Type: string |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced in R2017b