The following list summarizes the features supported in the different versions of PLC Link´Legend:
- Included in all versions
- Included in Stateflow enabled versions only
- Depending on OPC server
| PLC Link feature |
CoDeSys |
TwinCAT |
PCWorX / MULTIPROG |
SIMATIC Step 7 |
|---|---|---|---|---|
| Compilation of arbitrarily composed Simulink models to IEC 61131-3 compatible code | ||||
| Support for initialization file for declaration of constants, parameters and derived parameters | ||||
| Unlimited number of blocks in models | ||||
| Direct support for 70+ Simulink blocks | ||||
| Template for manual implementation of unsupported blocks | ||||
| Include custom code via supplied blocks | ||||
| Generate code only from a subsystem (in cases when the whole plant is modelled) | ||||
| Wide signal support (limited to [1xn] vectors) | ||||
| Subsystem masking support | ||||
| Init code for masks support | ||||
| M parser included (supporting a subset of M) | ||||
| M expressions can be used throughout the Simulink model | ||||
| Translation of Embedded MATLAB function | ||||
| Optimization of generated code | ||||
| Unlimited Stateflow support | ||||
| Stateflow code generation to ST (Structured Text) | ||||
| Stateflow code generation to SFC (Sequential Function Chart) (only for simple Charts) | ||||
| Direct parameter tuning support | ||||
| Send and receive values to/from the PLC | ||||
| Scope monitoring support | ||||
| Display logging support | ||||
| Main program and task configuration setup | ||||
| Automatically open and import generated code into PLC IDE | ||||
| Customization of variable names (apply own code patterns) | ||||
| Selectable maximum precision used in generated code | ||||
| Possibility to reset (initialize) the PLC | ||||
| Disable code generation for subsystems in case of hardware/library user made functions |