What is new in 20-sim 4C

What is new in 20-sim 4C

Navigation:  »No topics above this level«

What is new in 20-sim 4C

Previous pageReturn to chapter overviewNext page

New Features

1.Support for xenomai targets.

2.Check for updates when a newer version of 20-sim 4C is available.

3.Improved Code-Engine :
Target can be changed (e.g. swith from Bachmann to TS-arm) without regeneration of code from 20-sim.
The code templates and the source code framework have been updated which allows multiple code creators.

4.Experimental support for Matlab as code creator. (works on all linux/rtai/xenomai targets.)

5.Experimental support for Scilab as code creator. (works on all linux/rtai/xenomai targets.)

6.Optional finish time, run the application forever.

7.Context help for each target from the Target Information dialog. Help shows configuration options and pin layout.

8.Present a small icon for each target in the target overview

9.New Controllab house style for icons and dialogs.

10.Unattended installation. ( usage 20-sim-4C-2.1.X.X-win32.exe /S )

General Improvements

1.Improved the TCF format for initialization and deinitialization for I/O components.

2.Updated various targets, see target/<target name>/doc/Changelog.txt for details per target.

3.Updated license dialog, improved support for updating licenses and floating license support.

4.Added scrollbars to main window for small screens.

5.Removed double scrollbars for tree controls when resizing to small.

6.C-Code: added "custom_pre_io_func" and "custom_post_io_func" functions for custom I/O initialization and termination.

7.C-Code: warn about unimplemented SIDOPS functions

8.Installer: removed the dos-box during installation.

Bug fixes

1.Layout of the TargetOverview window when switching target.

2.License: error where 20-sim 4C could not go to demonstration mode is fixed.

3.License: minor fix when trying to activate a license that does not exist.

4.License: activation now checks if "All Users" is possible. If not this option is greyed out.

5.C-Code: Initialize hidden parameters and hidden initial values.


7.C-Code: Fix the implementation of the dly() function

8.Fixed: crash on unloading a monitor window with open 3D animation on systems with older OpenGL drivers


1.Two TS-7300 target configurations are available:
(1) TS-7300 with default FPGA configuration 2xPWM and 2xEncoder
(2) TS-7300 with CUSTOM FPGA configuration that enables 5xPWM and 5xEncoder
Both configurations have support for the TS-9700 and TS-ADC16 I/O boards.


1.Support for logging.

2.Card discovery is rewritten, real, virtual, network mapped modules will be found.
No need to list in the mconfig.ini

3.Store parameters & variables in xml format on target.
All settings/parameters/values are retrieved from model configuration file. (Will be stored on target)

4.Bachmann show busy percentage (CPU usage) in the model browser.

5.No need to regenerate code with 20-sim for e.g. time base or changed parameters.

6.Check and adapt time base if possible.
When a module is started a check is performed if the sample time is an exact multiple of the sync time.
If so a factor is calculated and set. If no exact multiple can be found the module will not be started.

7.Multiple 20-sim modules can be ran at the same time.
Module name is the generated submodel name. (xxsim module name is no longer used)
(restriction module names may not exceed 8 characters.)

8.Setting the channel mode is now performed from 20-sim 4C, no need to the configure the mconfig.ini manually.

9.On reboot the connection will be restored. (no need to close & open 20-sim 4C anymore)

10.Updated initialization and deinitialiazation of all supported cards.
Make sure you update your own configuration accordingly to make sure all I/O components are properly initialized and deinitialized.

11.Updated documentation for Bachmann Target usage e.g. for configuration with 20-sim and setting the time base.