Jump to content

S7-200 RTC Registers


Recommended Posts

Posted
Hello Siemens-Experts, I hope someone of you can help me with a small (and hopefully) easy question: Is it possible to access the RTC in a S7-200 through some registers or I need to use instructions to obtain the clock information? Have a nice day! SirPLC
Posted
There are two commands for reading/writing the real time clock into the PLC's memory. They are TODR (time of day read) and TODW (time of day write) and they will copy the real-time clock to/from the PLC's internal memory. Each requires 8 bytes, and their format is detailed in the S7-200 Programming Manual, which is available to download here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...