Remove unused ssmethod FB call arguments
Generate compact code by removing unused function block ssmethod calls
Since R2023a
Model Configuration Pane: PLC Code Generation / Optimization
Description
Use the Remove unused ssmethod FB call arguments parameter to generate less complex, more readable code by removing unused arguments in function block calls from ssmethod calls.
Settings
off (default) | on
Default: off
On Generate readable, less complex code by removing unused arguments in function block calls from
ssmethodcalls in the generated code.
OffDo not remove unused arguments in function block calls.
Recommended Settings
| Application | Setting |
|---|---|
| Debugging | No impact |
| Traceability | No impact |
| Efficiency | On |
| Safety precaution | No impact |
Programmatic Use
Parameter:PLC_RemoveUnusedSSMethodCallArguments |
| Type: string |
Value: 'on' | 'off' |
Default: 'off' |
Limitations
Before you enable this option, ensure that the target IDE supports the removal of unused arguments in function block calls from ssmethod calls.
Version History
Introduced in R2023a