DATE_TIME function with Siemens PLC

Discussion of configuring and troubleshooting communication to PLC's or other devices using iX Developer.
Post Reply
bjornidar
Posts: 49
Joined: Thu Nov 17, 2011 2:10 am
Location: Norway
Contact:

DATE_TIME function with Siemens PLC

Post by bjornidar »

Hi,

I was wondering if it's possible to adjust the CPU clock on a Siemens PLC from an iX application?

In the Developer I see a dataype = DATETIME, but I'm not sure if this has the same/ correct syntax..

User avatar
Ron L.
Posts: 214
Joined: Fri Jul 15, 2011 3:21 pm

Re: DATE_TIME function with Siemens PLC

Post by Ron L. »

The format of DATETIME is documented in section 4.14 of the iX Developer Reference Manual.
https://www.beijerelectronics.com/API/S ... 3D3C1751/1

It requires 7 "16-bit" words/registers on the PLC to store the DATETIME. This is not Siemens specific and may require some PLC logic to read those values and update it's clock.
Best Regards,

Beijer Electronics, Inc.
Ron Lloyd | Applications Engineer

bjornidar
Posts: 49
Joined: Thu Nov 17, 2011 2:10 am
Location: Norway
Contact:

Re: DATE_TIME function with Siemens PLC

Post by bjornidar »

Thank you! Will try it!

Post Reply