Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
"Ubi non accusator, ibi non judex."

(Where there is no police, there is no speed limit.)
-- Roman Law, trans. Petr Beckmann (1971)
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the double left handed department...
Time/date display on a TD200C with Siemens S7-224
PLCs and related questions. topic
Posted by Daniel Romano on 22 January, 2008 - 11:17 pm
I want to show some alarms with the time when they have occurred. How can I display the time and date in a TD200C connected to a Siemens S7-224?

I know this is probably a stupid question and the answer is simple, but I'm not very expert. :) :)

Thank you.


Posted by David Adams on 24 January, 2008 - 12:29 am
Use the "READ_RTC" instruction to transfer the real time clock to a memory area, convert the data into the form you wish to view, and then embed that data into the alarm message.


Posted by Jim Thomas on 11 February, 2008 - 9:44 pm
The READ_RTC solution is good, but it may be tricky for non-experienced programmers.

There's a very simple free library for STEP7-MicroWIN that solves this, Nubitek_Free_Utils from http://www.nubitek.com.
It is a free block collection that includes a date/time to string converter. You can use it as a simple converter function of MicroWIN.

Here's the link:
http://www.nubitek.com/section02/pr10-free_utils.htm

R egards,
Jim

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Internet Explorer 6.0 Fix

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!