Professional Documents
Culture Documents
ReleaseInformation V3.5 SP1 Patch 4
ReleaseInformation V3.5 SP1 Patch 4
ReleaseInformation V3.5 SP1 Patch 4
CODESYS V3
Profile V3.5 SP1 Patch 4
Release Date 30.10.2012
tech_doc_e.doc / V1.6
CONTENT
1 GENERAL 3
1.1 Responsible for the release 3
3 INSTALLATION 9
4 COMPATIBILITY INFORMATION 9
4.1 Compatibility Information for End Users 9
4.2 Compatibility Information for OEMs 10
5 KNOWN RESTRICTIONS 12
7 RELEASE INFORMATION 15
8 DOCUMENT RELEASE 16
tech_doc_e.doc / V1.6
1 General
This document contains information on a product version which was released in compliance with our
quality guidelines.
Kempten, 30.10.2012
____________________(Dieter Hess)
____________________(Dirk Schubel)
____________________(Hilmar Panzer)
____________________(Andrea Hein)
Note: If the version you are updating from is not CoDeSys V3.4 but an earlier version, please make
sure to read the release information documents of the versions in between.
tech_doc_e.doc / V1.6
Supported features: A predifined set of rules to check your source code, a possibility
to define naming conventions and some software metrics.
Please contact our sales department under sales@3s-software.com to obtain these products.
General
CDS-25795
Performance: Reduce the impact of CODESYS plug-ins on the Large Object Heap
Due to limitations in the .NET memory management, users who work with large projects over several
hours often encountered out-of-memory exceptions during complex operations like “build”, “download”,
or “online change”. We now improved the memory footprint throughout the entire programming system
so that out-of-memory conditions are by far less probable to occur than in previous versions.
Visualization
CDS-26529
Visu: TextEditor
A new visualization element to edit text files.
tech_doc_e.doc / V1.6
CDS-23675
Visu, Combobox: A second combobox which is similar to the table element where an IEC array
variable can be configured
CDS-6092
Visu, Alarm: Visualization of Alarms on a remote CODESYS HMI
SoftMotion
CDS-23942
SM: CNC: Quadratic velocity mode (jerk limitation)
The FB SMC_Interpolator now supports a new velocity mode (in addition to trapezoid and sigmoidal): a
quadratic mode. Hence, path acceleration has a steady, trapezoid shape and the jerk can be limited by
a user parameter.
In this mode, the generated set positions limit the path jerk and a machine following these values will
have a lower excitation.
CDS-13075
SM: CAM visu editor
A new visualization frame is provided, that – in combination with the corresponding FB – allows the
user to display and edit a cam table in the CODESYS visualization.
CDS-26531
Visu: Release 3DPath element
A new visualization element is provided that can display a 3D path. The user can generate and display
a 3D path and – with a navigation frame – control the view on the path in 3D.
The element is designed to display CNC paths and works with the FBs of SoftMotion CNC, providing
the path.
CDS-25075
SM: Update all visu FB templates: use new visu elements
In addition to the existing visu frames that fit the SoftMotion FBs, a new set of visu frames providing a
modern look and feel has been developed. Changes in the new “Style Concept” now automatically
results in changes of the visu frames as well.
CDS-26370
SM: CNC: Modulo axis in CNC
CNC supports the control of modulo axis from the CNC program. An axis can get an arbitrary modulo
value. The path planning will take this into account and use the shortest way.
New Drivers:
CDS-26171
SM: Lexium23 driver (CAN)
CDS-25896
SM: New generic driver for DSP402
Any CANopen or EtherCAT device supporting CiA DSP402 can be used as SoftMotion axes, since this
feature adds a SoftMotion axis and driver below the slave device.
CDS-23958
SM: New driver Festo CMMP-AS EtherCAT
CDS-25777
Application Composer: Configure default module instances
The definition of a father module can make settings of its default child modules.
CDS-25766
Application Composer: Support for printing/documenting of module instances and declarations
CDS-25708
Application Composer: Support for project comparison
Fieldbusses
CDS-25353
Redundancy EtherCAT should be supported by CODESYS
A ring topology is used in the EtherCAT to support redundancy. If any segment in the network is
broken, the masteris still able to update I/Os in the slaves using another route.
CDS-11135
CAA Device Diagnosis: Implementation of an end user library
New CAA library for fieldbus diagnosis in IEC is needed for end users.
CDS-25389
CANopen Master: Reduce config size.
Many I/OConfigParameters are created by the configurator. Each parameter has an overhead of 20
Bytes. This overhead can be reduced if parameters are grouped in arrays.
CDS-26224
Profibus Configurator: Display text-messages (from gsd) on status page for Diag/ExtDiag
CDS-9120
EtherCAT: Support EtherCAT slave<->ProfibusMaster gateway device EL6731
Runtime System
CDS-25831
MicroRTS: Runtime System should be available for small systems (Flash < 100 kB, RAM < 40
kB)
Standard v3 Runtime System is prepared for single chip controllers.
Actual footprint: 88 kB code / 16 kB RAM on a Cortex-M3 target
Contains:
Standard v3 Communication Stack
Download
IEC-Application is running from flash
Monitoring (read/write/force)
Start/Stop/Single cycle
Exception Handling
Logger
Excluded:
Breakpoints (CDS-20137)
Online-Change (CDS-17645)
CAN-Open
CDS-15615
Config: System Event configurator as in CODESYS V2.3
System Event Configurator is now available as in CODESYS v2
CDS-19275
All calls to IEC code from the runtime should be surrounded by rts_try / rts_catch exception
handling to avoid a crash of the communication thread in case of errors here
There is a new generic rts_try/rts_try catch structured exception handling mechanism in the runtime
tech_doc_e.doc / V1.6
system to handle exceptions directly in the protected code parts. The generated IEC codes with user
code behind (e.g. FB_Exit/FB_Init code) is protected no with this mechanism. So exceptions during
download or during loading the bootproject is handled now in a safe way. A log message is provided
with the kind of exception, the name of the code part and the position of the exception.
CDS-12108
Navigator: Correlation between node and editor should be improved
The currently selected object in the navigator now automatically changes when open editors are
switched, so that the currently active editor is always selected in the tree. We know that this is a
behaviour that might disturb some of our users (while the others will probably like it), so the old
behaviour can be restored by deactivating the “Track Active Editor” option in the dropdown menu of the
navigator.
CDS-27270
Frame: New command "Open parent object" in the context menu of an editor tab
The context menu of an editor tab has been extended by two new commands: “Select Object In
Navigator” and “Select Parent Object In Navigator”. They can be used to quickly select the object of the
active editor in the navigator, or its parent object, respectively. These commands are especially
interesting for those users who switched off the “Track Active Editor” option mentioned above.
CDS-25434
FileCommands: Additional file type "All usable file types"
The File :: Open… dialog now contains a filter “All supported files”, which has become the default.
Using this filter, projects, libraries, and project archives are displayed simultaneously. Note that this
way, project archives can now be opened using File :: Open…, too. The command File :: Project
Archive :: Extract… becomes obsolete, but is still present.
CDS-28147
File Commands: Change the template structure in the "File::New" command
We reworked our project template structure. Especially the (Miscellaneous) category and some
obsolete templates have been removed.
CDS-21638
Tree Editor: it would be nice to support the NUM + '*' key to expand all closed collapsed nodes
The keys Numpad-* and Numpad-/ can now be used to expand and collapse tree nodes recursively.
By the way, this will work for all trees in CODESYS, not only for the navigator.
Usability – Online
CDS-25508
Value of a String variable should be displayed in tool tip.
In Structured Text inline monitoring, long values like strings and floating point numbers are truncated at
a certain position (which is configurable). Now, the entire value is displayed in a tooltip when the
mouse is hovered over such a truncated watch box.
CDS-25162
ST: Use double click to change prepared boolean value in online mode
In Structured Text inline monitoring, a double click on boolean watch boxes now quickly toggles the
prepared value between TRUE, FALSE and <none>, instead of opening the Prepare Value dialog.
CDS-6189
tech_doc_e.doc / V1.6
Watch and POU animation variable: The widths of columns aren't memorized
The tabular declaration watch windows (displayed in the declaration part of POUs, methods, etc., and
in the views Watch 1 to Watch 4) now memorize the column widths as adjusted by the user. By the
way, the same feature has been implemented for the Messages view.
User Management
CDS-18585
User Management: Setting access rights to folders is not inherited by child objects
Access rights that have been specified at a folder object are now inherited by the objects within that
folder, as expected.
CDS-26682
User-permissions: Folder-structure is missing in dialog "permissions"
The aforementioned improvement is also displayed in the Permissions dialog. The list of objects is no
longer flat, but displayed hierarchically according to the actual project structure.
CDS-27110
User Management: Improve the double click action in the status bar
The current user can logoff quickly by double clicking the “Current user” status field, instead of
selecting the Project :: User Management :: Logoff menu command.
PLCopenXML
CDS-27954
PLCopenXML: Optional export/import of the declaration parts as plain text
Optionally, declaration parts are now additionally exported as plain text. This preserves the formatting
and all the comments of the declaration parts which otherwise would be lost due to the limitations of
the PLCopenXML file format.
CDS-9675
PLCopenXML: Support SFC implementations
SFC is now supported for PLCopenXML, both export and import.
Licensing
CDS-24260
Library: Protection and licensing with Wibu Dongle
Compiled libraries can now be license protected using a Wibu dongle.
tech_doc_e.doc / V1.6
2 Installation
In CODESYS V3.5 we updated from version 2.0 to version 4.0 of the Microsoft .NET framework. The
framework version that is actually used is determined by the executable startup file (CODESYS.exe).
In order to avoid any compatibility risks between these two versions, we decided that our setup will
prohibit an installation of CODESYS V3.5 or newer into a directory which already contains any
CODESYS version before V3.5 (Otherwise, the CODESYS.exe would be overwritten by the newest
version running on .NET 4.0 and consequently the older CODESYS version would also be executed
under .NET 4.0, which might cause compatibility problems).
We strongly recommend our OEM customers who adapt the CODESYS setup to implement a similar
mechanism.
3 Compatibility Information
- IEC prio=11, OS prio base for all IEC tasks=64..80 --> IEC task prio on OS= 69
…
- IEC prio=15, OS prio base for all IEC tasks=64..80 --> IEC task prio on OS= 71
- IEC prio=16, OS prio base for all IEC tasks=64..80 --> IEC task prio on OS= 72
- IEC prio=17, OS prio base for all IEC tasks=64..80 --> IEC task prio on OS= 72
….
- IEC prio=32, OS prio base for all IEC tasks=64..80 --> IEC task prio on OS= 80
3S-Smart Software Solutions GmbH Page 9 of 16
ReleaseInformation V3.5 SP1 Patch 4.doc
CODESYS V3
In the device description, the number of available priorities must be specified with the priorities actually
available on the target:
<ts:section name="taskconfiguration">
<ts:setting name="mintaskpriority" type="integer" access="visible">
<ts:value>0</ts:value>
</ts:setting>
<ts:setting name="maxtaskpriority" type="integer" access="visible">
<ts:value>31</ts:value>
</ts:setting>
CmpCAAResMan
In accordance with the requirement to simplify and shrink the footprint of the runtime system we
removed the CmpCAAResMan component.
This has a certain influence on the other CAA related components like CmpCAACallback,
CmpCAAMemBlockMan, …
These components are now citizens of the CODESYS Runtime System without any special behaviour.
They behave like any other runtime system component. We removed all references to the
CmpCAAResMan component in all projects, *Itf.m4 and *Dep.m4 files.
In order to still be able to provide the resource management feature of IEC libraries we changed every
CAA related library as follows:
Each function now has a sibling function prefixed with an underline character (e.g. CL2.DriverOpenH
<-> CL2._DriverOpenH).
Prefixed functions are externally implemented functions and will be linked directly to the related
functions inside the runtime system.
These functions do their job without having to worry about the resource management.
The function family without a prefix is now implemented as a wrapper which realizes the resource
management job. This is done with a new version of the CAA_ResMan.library.
The CAA_ResMan.library contains all “old” functions but now implements them as internal functions
that will return an error code.
All “old” functions are marked as obsolete and will generate a compiler warning if they are used in
projects or libraries.
We extended this library as follows:
Some IEC code was added to the RSMUtility folder which will implement the resource management
algorithms and is used by other libraries which require resource management.
tech_doc_e.doc / V1.6
CmpChannelServer [CDS-431]:
The channelbuffer and the number of channels can be adjusted by these settings:
[CmpChannelServer]
Buffersize=1600000
MaxChannels=8
CHANNELBUFFER_ALLOC_ON_HEAP is not needed anymore, the channelbuffer of the
4 Known Restrictions
Color gradient The new feature color gradient is released for the CDS-26152
platforms supporting this feature (Windows, Linux,
but not WinCE). The support of this feature must
be declared in the device description.
PLCOpen XML The Import/Export of settings of the SFC Object CDS-28361
tech_doc_e.doc / V1.6
Application Encryption
Encryption overview:
Action Supported Not supported
Download X
Bootproject on download X
Online Change X
Bootproject on online change X
Bootproject on demand X
tech_doc_e.doc / V1.6
6 Release Information
This chapter describes the tests conducted during the release of the above mentioned version and the
corresponding results.
7 Document Release