Changes from R1.6 to R1.7
|
|
|
> |
Multi task multi rate systems are now supported for targets allowing it. The strategy for creation is the following: |
|
> |
In- and/or outputs on multirate subsystems are supported if they are connected directly to source or sink blocks |
|
> |
Parameter tuning is supported with multi task systems |
|
> |
Indexing parameters (either arrays or matrices) is now supported generally in blocks where parameters are used |
|
> |
The STEP keyword has been changed to CYCLE |
|
> |
The PLC Link menu option "Generate code" has been changed to "Build Only". "Build model" has been changed to "Build and Import" where import is supported |
|
New Blocks |
|
> |
"Raw Inclusion" custom code block have been added allowing text/code to be inserted directly in the generated file(s) |
|
> |
Old custom code blocks have been replaced with revised and more dynamic ones |
|
> |
Old custom code blocks will no longer work and have to be ported to the new ones |
|
> |
Integrator and Discrete-Time Integrator are now supported with both wide and slim signals. The saturation feature is however not supported at the moment |
|
> |
Fcn block is now supported with input signal as wide or slim |
|
> |
Lookup Table (2-D) is now supportedThe PLC Link menu option "Generate code" has been changed to "Build Only". "Build model" has been changed to "Build and Import" where import is supported |
|
PLC Link Gateway |
|
> |
A new gateway is now included with PLC Link allowing communication to various PLC types and protocols |
|
> |
A scope viewer is included used for viewing realtime signals from the PLC |
|
> |
Tools for easy creation of MATLAB GUIs for viewing/updating parameters are now included |
|
> |
New easier to use To/From blocks are included for use in co-simulation to send and retrieve data from the PLC |
|
> |
New easier way to monitor and change parameters/variables using the MATLAB command window has been added |
|
> |
Model options design has been updated and some new options have been added |
|
PLC Link demo models |
|
> |
All demo models have been revised and updated to fit the new Gateway Control |
|
|
|
> |
Custom code blocks have been revised such that empty windows/statements no longer generate errors |
|
> |
Custom code "Function" has been fixed such that no instance is tried declared |
|
> |
Custom code blocks now support all shown data types |
|
> |
An initial value is now possible also for data type STRING in custom code blocks |
|
> |
A bug with the Multiport switch when optimization was enabled has been corrected |
|
Wide signals |
|
> |
Integer Delay is now supported with wide signals |
|
> |
Wide signals used with Goto/From blocks are now correct in size |
|
General |
|
> |
Handle map creation was moved to an earlier stage to ensure correct execution order calculation whenever a path is not found (linked subsystems) |
|
> |
M-files are now pcoded with backward compatibility to MATLAB R2007a |
|
> |
Unsupported circular references in Simulink models are now caught and thrown as exceptions instead of PLC Link running until out of memory |
|
> |
A bug which caused PLC Link to crash when block names were to long or contained character "'" has been fixed |
|
> |
A bug causing crash at symbol table creation has been fixed. The problem was with the Compare To Constant block enumerator data type |
| > | Symbol table fixed with regards to I/O variables and trigger variable |
| > | Only when co-simulation is enabled will the generated symbol file will include I/O sections |
| > | When using multi rate systems, the variable PLCLinkCurrentTime is now reset in the INIT section |
| > | When multi rate systems are used, the variable currentTS is now correctly set. Note that different sample times in library systems are not supported |
|
MATLAB Parser |
|
> |
A data type bug caused by some functions having more than one argument has been |
|
> |
Derived type declarations are now set to their correct type where before always had |
|
> |
A bug with the data type for MOD calculations has been fixed. Input and output data |
|
Pending Issues |
|
> |
Circular references to subsystems are only supported when a delay or equivalent is |