.

Release Notes: CODESYS Communication 4.6.0.0

Key Issue Type Summary Resolution Note
COMM-1105 Bug

OPC UA.Net: Security issues in versions before 1.5.375.457

Duplicate
COMM-1050 Bug

Build error after deleting some datasources in a project

Fixed
COMM-1047 Bug

Internal Error: OverflowException on GenerateCode

Fixed
COMM-1046 Bug

Internal error with Redundancy and Symbol Set

Fixed
COMM-1042 Bug

SymbolicVarsBase: GetChildByBrowseName does not return ERR_NO_OBJECT if child was not found

Fixed
COMM-1036 Bug

Datasources: Variable not monitored due to inconsistent codegeneration

Fixed [[GENERAL]]
The error occurred because the same mapping names with different mapping contents were configured in the project. This was not reported as an error so far
Now a compile error is reported in such a case. This can easily be solved by renaming one of the mapping types.
COMM-1035 Bug

Datasources: Existing project raises exceptions during language model generation

Fixed [[GENERAL]]
A new compile error is displayed when mapping type names are not unique in one datasource.
COMM-1032 Bug

Unhandled exception occurs when compiling a project containing a non available symbol type

Fixed
COMM-1026 Bug

Datasource, Opc UA: Writing multiple String value at once does not work

Fixed
COMM-1022 Bug

IecSymbolPublishing: Typemapping not complete and correct

Fixed [[GENERAL]]
The mapping of IEC Datatypes to OPC UA Datatypes was incorrect and had missing types for struct definitions. This has been fixed to the mapping already implemented within the OPC UA Server.
COMM-1019 Bug

OPC UA Client, Datasource: Browse not possible if user credential of server changed

Cannot Reproduce
COMM-1013 Bug

SymbolConfiguration: Publishing a structure member located at a direct address does not work

Fixed
COMM-1010 Bug

Crash on download with OPC UA datasources

Won't Fix [[GENERAL]]
Won't fix, because the error reason is the userdefined POU Datasource_Initializer, where the result of the call GetDatasource() is used without any check.
Both the message box and the device log tell the user the reason (i.e. the POU) of the exception.
COMM-1009 Improvement

Add base64 encoded string Node IDs to the condition id export

Fixed
COMM-1008 Improvement

Remove outdated and redundant CHM-based Online Help from AddOn package

Fixed [[GENERAL]]
Outdated and redundant CHM-based online help removed from the CODESYS Communication package.
COMM-1007 Bug

Datasource, OPC UA Client: Generate a new certificate while PLC is running, the exchange of the certificate doesn't work

Won't Fix [[GENERAL]]
We don't see this issue as security relevant. To use a new client certificate reconnecting the datasource is necessary, this is possible with standard IEC-Code.
COMM-1003 Improvement

Datasource Opc: Improve performance of browsing

Fixed
COMM-1002 Bug

Online change: Fast online change not done after opening project

Fixed [[GENERAL]]
The project for which the error was reported will only offer a fast online change for compiler version >= 3.5.20.0. This is due to a bug unrelated to the symbol configuration.
COMM-1001 Improvement

Add warning, if variables of type string are published, but UTF-8 support is not active in project settings

Fixed
COMM-1000 Bug

Datasource Browser should warn, when using unencrypted passwords, or even deny the connection

Duplicate [[GENERAL]]
Duplicate of COMM-443
COMM-999 Bug

RequestedQueueSize is UINT32_MAX for all monitoredItems

Fixed
COMM-998 Bug

ApplicationDescription of Datasource: ApplicationUri is not a valid URI ProductUri is not defined

Fixed [[GENERAL]]
New Datasource objects of type OPC UA get during creation an application URI of this type:
urn:<hostname>:CODESYS GmbH:<project name>:<application name>:<name of Datasource object>
The application URI is not adjusted during any refactoring rename operations.
The user must adjust the application URI in this case manually.

The product URI is always
urn:CODESYS Development GmbH:CODESYS Datasource OPC UA Client
COMM-994 Improvement

IecSymbolPublishing, Information Model: Add option to allow base64 encoded NodeIds

Fixed [[GENERAL]]
Enable usage of base64 encoded string Node IDs.
COMM-984 Bug

DatasourceOpcUa: Make application uri configurable

Fixed [[GENERAL]]
To provide connection settings using an IEC variable a new type UserConfigurationV2 has been introduced. This type allows to specify both the application name and the application URI
COMM-982 Improvement

Datasource should support Longer strings then 80 letters.

Fixed
COMM-975 Bug

SymbolConfig: Target Setting for SymbolConfiguration behaves different since SP15 Patch3

Duplicate [[GENERAL]]
Already fixed with COMM-318
COMM-974 Bug

Datasource OpcUA: Children that are references with HasChild are not found

Fixed [[GENERAL]]
Browse and display all hierachical references except HasEventSource and HasNotifier and their subtypes.
COMM-971 Bug

Symbol Sets: Editor cannot display precompile content in projects with many items

Fixed
COMM-970 Bug

Symbol Sets: Exception in projects using inline declaration of enum

Fixed [[GENERAL]]
Implicit enum definitions are not supported by the IEC Symbol Publishing. Use a proper enum datatype instead.
COMM-967 Improvement

OPC UA Datasource: Certificates should match the OPC UA specification

Fixed
COMM-966 Bug

Information model: Inheritance of methods from library is not working

Fixed
COMM-965 Bug

IEC Symbol Publishing: deleting default Symbol Set leads to GUID not valid error

Cannot Reproduce
COMM-961 Bug

Description text for package shows wrong umlauts due to wrong encoding of package.manifest file

Fixed
COMM-958 Bug

SymbolicVarsBase: PROPERTY provides wrong type information

Fixed
COMM-956 Bug

IecSymbolPublishing: MemoryLeak with AvailableDataTypeSet

Fixed
COMM-954 Bug

OPC UA.Net: Security issues in versions before 1.5.374.126

Fixed [[GENERAL]]
Update used SDK to 3.5.19.0
COMM-951 Bug

Information model: Exception during compile when using VAR_IN_OUT

Fixed
COMM-946 Bug

Datasource Reload ends in an exception - array out of bounds

Fixed
COMM-944 Bug

Datasource, OpcUa: Use-After-Free Bug in DatasourceOpcUa library Causing Runtime System Crashes

Fixed
COMM-939 Improvement

OPC UA information model repository should support relative paths

Fixed
COMM-913 Bug

Symbol Config can not be added to project

Duplicate
COMM-901 Improvement

Datasource: Provide a possibility to hide the ApplicationV3 data source

Fixed [[GENERAL]]
The following target setting can be used to influence whether the Application V3 data source is offered in the selection or not. If value = 1, the Application V3 data source is not displayed.

If the setting does not exist, the Application V3 data source is displayed as before.

<ts:section name="datasources">
<ts:setting name="hideapplicationV3driver" type="boolean" access="visible">
<ts:value>1</ts:value>
</ts:setting>
</ts:section>
COMM-898 Improvement

Information model: Enable usage of inheritance in the IEC function blocks

Fixed
COMM-897 Bug

"Search for mapped Instances" in the OPC_UA_Symbols Editor only works on toplevel instances of FBs

Won't Fix [[GENERAL]]
Only top-level values can be exported directly. If sub-elements shall be exported the user must adapt their information model to include the real top-level value.
COMM-890 Bug

Typenames of Symbolconfiguration contains '#' instead of '. ' if type is from a library

Fixed
COMM-881 Bug

Information Model: Unhandled exceptions when using models referencing invalid node ids

Fixed
COMM-879 Improvement

SymbolicVarsBase: Improve Code Get, Set and Swap of Typedesc_Struct

Fixed
COMM-878 Improvement

Fix Lib dependenices for CmpOPCUAProviderAlarmConfiguration

Fixed
COMM-875 Bug

IecVarAccess/SymbolicVarsBase: TypeDesc_Simple resolves a non existing struct member

Fixed
COMM-856 Bug

IecVarAccess: Alignment and padding bytes are not handled correctly.

Fixed
COMM-849 Improvement

IecSymbolPublishing: Disable accessright configuration for STRUCT-Types

Fixed
COMM-846 Bug

Compileinfo will be deleted after upgrade from 4.2 to newer

Won't Fix [[GENERAL]]
With COMM 4.3.0.0, changes in libraries were made that prevent an online change in existing projects. We don't guarantee that a project can be logged in/online changed after updates to packages.
COMM-834 Bug

Refactoring does not change the name of vars at the OPC UA Symbol Set

Fixed
COMM-833 Bug

Unhadled exception using Symbolconfig and change var Type

Fixed
COMM-832 Improvement

Licensing: Rename OPC UA Tags to Communication Tags in the UI

Fixed
COMM-828 Improvement

Datasources: Use IDeferrableLanguageModelProvider for smoother loading

Fixed
COMM-824 Improvement

Symbolconfiguration: Create a clear error message if identifiers with backticks are published

Fixed
COMM-822 Bug

IecSymbolPublishing: Enum Values are not part of type definition

Fixed
COMM-819 Epic

OPC UA Server: A&C compliant alarms

Fixed [[COMPATIBILITY_INFORMATION]]
The optional ConfirmedState was removed from the event notifications because the intention of the ConfirmendState within OPC UA has a different meaning as "Confirm" within the CODESYS AlarmManager
COMM-818 Improvement

Performance, License Metrics: Improve performance of calculation of datasources tag count

Duplicate [[GENERAL]]
Duplicates COMM-602
COMM-811 Bug

IecVarAccess: GetNodeFullPath4 does not work in combination with BrowseDown, BrowseGetNext, BrowseUp for REFERENCES

Cannot Reproduce
COMM-810 Bug

Compiler: Usage of variables of __VECTOR type in SymbolConfiguration lead to Internal Error

Fixed [[GENERAL]]
A compile error is reported in case of exporting a variable of type __VECTOR
COMM-809 Bug

Symbol configuration: Assertion error for arrays with negative indices

Fixed
COMM-799 Bug

IECVarAccess: Quality Bad when BLOB array of struct greater than the communication buffer on Motorola PLC

Duplicate
COMM-798 Bug

PLCHandler: Sync writing a blob greater than comm buffer onto an array of struct returns RESULT_FAILED

Fixed
COMM-793 Bug

Crash when calling GetFirst(Next)ChildByBrowseName on methods without arguments

Fixed [[GENERAL]]
This bug effects only systems in combination with a CODESYS Control Runtime since version 3.5.20.0
COMM-790 Bug

OPC UA Client, Datasources: Sign communication does not work with AllowUserPasswordOnPlaintext

Won't Fix [[GENERAL]]
While this use-case is supported by the OPC UA Standard is also explicitly mentioned that it poses security risks. We want to provide a solution to customers that is as secure as possible by default, without the sigificant risk of leaking passwords. We recommend using anonymous login instead.
COMM-785 Bug

SymbolicVarsBase: Browsing of VAR_STAT does not work

Fixed
COMM-783 Bug

IecVarAccess: Access to arrays with padding bytes does not work

Cannot Reproduce [[GENERAL]]
The issue has been fixed some time ago. The related testcases are running without problems.
COMM-782 Bug

Value can not be null error during Symbolconfig adding

Fixed
COMM-779 Bug

OPC UA, Symbol Set: "Exported Name" is not exported if you change it

Cannot Reproduce [[GENERAL]]
The feature of renaming members of symbol types works the way it should.
COMM-777 Bug

IecVarAccess: Crash when browsing out of reference to struct

Fixed [[General]]
Accident of COMM-236
COMM-776 Bug

GetAddress(3): References are not supported. Return error if reference (or property) was part of the variable path

Fixed [[COMPATIBILITY_INFORMATION]]
As with COMM 4.6.0.0 SymbolicVarNodeAccessor.GetAddress signals result Errors.ERR_NOT_SUPPORTED if REFERENCE or IEC-property is part of node path.
COMM-772 Bug

OPC UA, Information Model, Editor: No types can be selected in the top-level namespace, but they can be selected in the subordinate namespaces.

Won't Fix [[GENERAL]]
Won't fix, because the used InformationModel does not contain an UAObjectType, an UADataType or an UAVariableType
COMM-766 Bug

ProjectArchive: UA Information Model is offered multiple times for saving

Fixed
COMM-697 Bug

SymbolConfig: Variables get lost (unselected), after editing data type

Fixed
COMM-694 Bug

Datasources: Datasources reported always as changed in svn or git

Fixed
COMM-627 Bug

Symbol Set: click synchronize configuration leads to an exception

Cannot Reproduce
COMM-602 Bug

DataSourcesObjects.TagCount may take a long time and slow down compile and online change

Fixed
COMM-575 Bug

Licensed Software Metrics Editor: Does not recognize renaming of the application

Fixed
COMM-540 Improvement

Datasources, OPC UA Client: reference to Certificate-Libraries should be optional

Won't Fix [[GENERAL]]
Since encryption and authentication are an essential part of OPC UA, it is not possible to use the data sources without cryptography libraries.
COMM-518 Improvement

IecVarAccess: Add support for new data type LDATE, LDATE_AND_TIME, LTIME_OF_DAY

Cannot Reproduce [[GENERAL]]
Support for the requested data types has been implemented with CDS-61015 already.
COMM-516 Bug

IecVarAccess: empty Array (ARRAY[1..0] of Type) and empty STRUCT not handled correctly

Fixed
COMM-510 Improvement

Datasources, OPC UA Client: Show certificate verification errors in status of IDE

Fixed
COMM-501 Bug

IecSymbolPublishing: Internal error in code generation if also Datasource is present

Won't Fix [[GENERAL]]
Won't fix, because the cause of the problem is a name conflict from data source, which cannot be fixed in the IECSymbolPublishing.
COMM-477 Bug

Datasources OPC UA Server: Client mixes up UserAuthentikationTokens

Cannot Reproduce
COMM-443 Improvement

Datasource OPC UA Server: Improved error message, when trying to use username and password without encryption

Fixed [[GENERAL]]
Configuring an OPC UA Datasource in a way, that would lead to transmitting an unencrypted password (Message Security Mode "None" and Authentication with username and password) now leads to a compiletime error. Additionally, a alert icon is shown, as soon, as such a configuration is entered.
COMM-432 Bug

Open Signal Composition interface takes very long

Cannot Reproduce -
COMM-427 Bug

SymbolConfig: Exception on OC with >32k symbols

Fixed
COMM-425 Improvement

Add keywords to package, so that the features can be found through CODESYS Installer

Fixed
COMM-405 Improvement

SymbolConfig: Info about number of selected variables in SymbolConf requested

Cannot Reproduce [[GENERAL]]
Statistics about the configuration like number of variables and number of types is output as textual messages in the compiler messages.
COMM-392 Bug

Datasource OPC UA Client: Sign and Encrypted Communication: If you did not browse ("Update variables") it is using an empty string as Username

Cannot Reproduce
COMM-327 Bug

Simplified Editor, OpcUa: Support ARRAY of Enum

Cannot Reproduce
COMM-318 Bug

Symbolconfig: no longer works with non-IecVarAccess PLCs

Fixed
COMM-316 Improvement

Datasource OPC UA: Do not require OpcUaDatasource library if OpcUaDatasource is not used

Fixed
COMM-300 Bug

Datasources, OPC UA Client: Update rate does not work below 1s for static configuration

Won't Fix [[GENERAL]]
Won't fix, because will be implemented by COMM-74.
There is no general approach to handle the two durations (SubscriptionPublishingInterval and SamplingInterval) correctly for all possible refresh rates.
The user must configure this using the new dialog introduced with COMM-74.
COMM-254 Improvement

[Technical Debt] Datasource, OpcUa: Move processing logic from presentation layer into dedicated class

Cannot Reproduce [[GENERAL]]
Already done with COMM-32
COMM-189 Improvement

OpcUaClient, Datasources: Add a Probe Server button

Cannot Reproduce [[GENERAL]]
The probe server button was implemented as "Show All Endpoints".
COMM-173 Improvement

OpcUaClient, Datasource: Improve error output for errors during Monitored Item Creation

Fixed
COMM-170 Bug

OpcUaClient, Datasources: Remove usage of temporary file for client settings

Cannot Reproduce
COMM-74 Improvement

UA Datasource: More configuration options for Communication

Fixed [[GENERAL]]
New dialog "Advanced Settings", that allows to configure the following settings:
* ApplicationName
* ApplicationUri
* SessionTimeout
* SubscriptionPublishingInterval
* SubscriptionMaxKeepAliveCount
* SubscriptionLifetimeCount
* SubscriptionMaxItemsPerPublish
* SamplingInterval
* ConnectionTimeout
* MaxMonitoredItemsPerCall
COMM-63 Bug

OPC UA Information Models: Object not set to instance error if installed nodeset does not match nodeset of Information Model object

Cannot Reproduce
COMM-62 Bug

InformationModels: generated ENUM declarations are not decorated with attributes 'qualified_only' and 'strict'

Fixed [[GENERAL]]
Fixed attributes for generated ENUM declarations out of an information model.