Skip to main content
1-Visitor
October 10, 2024
Question

Cannot Use DT Data Type for Date and Time values

  • October 10, 2024
  • 0 replies
  • 754 views

Hello. We're switching our OPC Explorer application Matrikon to KepserverEx on our S7-1500 Siemens PLC. We're facing a difficulty on Date and Time tags. In Matrikon, we're using a Date and Time tag for power-off time of a machine. When we trying to use as it is on KepserverEX, there is two data types : Date and DT. Date is Read / Write tag but we have to write a value like "2024-10-10-08:23:52" and we can't. We can only write "2024-10-10" to that tag.

 

Other option is DT but DT is read-only tag so we can't use it. And DT data type is the data type we want. It's like 2024-10-10T08:23:52" but we can't write to it. We receiving a error message on SAP MII Workbench : "The item's access rights do not allow the operation. Operation was unsuccessful"

 

My question, is there any way to use DT as read/write ? Or there is any other data type other than string ?

 

You can see the tag in Siemens Tia Portal and it's format and the tag in KepserverEX.

 

Thanks