Encoder for Siemens Datatype DTL

Questions regarding the use of the Java SDK for Server or Client development or integration into customer products ...

Moderator: uasdkjava

Post Reply
fprobst
Jr. Member
Jr. Member
Posts: 1
Joined: 05 Sep 2018, 09:44

Encoder for Siemens Datatype DTL

Post by fprobst »

Hello,

we are working with a Siemens SPS 1517 with integrated OPC-UA server and with Firmware 2.5 the nodes underneath the DTL nodes (DAY, MINUTE, HOUR, ...) are no longer writeable. The DTL must be written as structure at once. I tried to solve this but without success. When I read the node i get a Extension Object and a registered decoder is not used.

I think it's should not be so difficult to write a decoder and encoder writing a java.util.Date as Structure into the PLC.

We are using the prosys library in version 3.1.4.

Can someone help me in this issue?

Thanks in advance,
Florian

PME_Esteve
Jr. Member
Jr. Member
Posts: 1
Joined: 16 Nov 2022, 14:29

Re: Encoder for Siemens Datatype DTL

Post by PME_Esteve »

Hello,

I have also an issue with Datatype DTL.

Do you have a solution now?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3040
Joined: 18 Mar 2011, 15:09

Re: Encoder for Siemens Datatype DTL

Post by Support Team »

Hi,

you are running a very old SDK version (3.1.4), you should update to latest version 4.10.x, and try again.

Not realy sure about the Firmware you are using, but Siemens may not support the old DataTypeDictionaries anymore, which would be needed for non 1.04 based clients, which Java SDK 3.x is. Only the new Java SDK series 4.x supports the DataTypeDefinition. There were some issues with structures, hence check Siemens firmware version and update.
Best regards
Unified Automation Support Team

Post Reply