Override Target Default enum Name Behavior
Override default enum variable behavior to use enum names instead of enum values
Model Configuration Pane: PLC Code Generation / Identifiers
Description
The Override target default enum name behavior parameter enables enum names to be used as the identifier names instead of enum values. The PLC target IDE must support enum type.
Settings
On Override target default enum behavior and always have enum names instead of enum values.
OffThe generated code uses the enum behavior of the target IDE.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | No impact |
| Safety precaution | No impact |
Programmatic Use
Parameter: PLC_GenerateEnumSymbolicName |
| Type: string |
Value: 'on' | 'off' |
Default: 'off' |
Limitations
This parameter is not available when Target IDE is set to:
Phoenix Contact PC WORX 6.0Rockwell RSLogix 5000: AOIRockwell RSLogix 5000: RoutineRockwell Studio 5000: AOIRockwell Studio 5000: RoutineSiemens SIMATIC Step 7Siemens TIA PortalSiemens TIA Portal: Double Precision
Version History
Introduced in R2018a