[?+]: How to read real time clock and date in step7?

SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
Post Reply
Nioton2000
Posts: 17
Joined: Mon Sep 29, 2008 6:49 pm
Location: Iran

[?+]: How to read real time clock and date in step7?

Post by Nioton2000 » Thu Oct 16, 2008 9:25 pm

How to read real time clock and date in step7?
has anyone a sample program for step7 about this question?

best regards :wink: [/b]

cvlsam
Posts: 48
Joined: Mon May 29, 2006 8:22 am
Location: China

Re: [?]How to read real time clock and date in step7?

Post by cvlsam » Fri Oct 17, 2008 4:36 am

Nioton2000 wrote:How to read real time clock and date in step7?
has anyone a sample program for step7 about this question?

best regards :wink: [/b]
You can call the system function to read realtime clock.

You can find SFC1 in standard library.

First of all, you need to establish a time-period variables.

Good Luck~~

Umencho
Posts: 508
Joined: Mon Jul 16, 2007 12:28 pm
Location: Europe

Re: [?]How to read real time clock and date in step7?

Post by Umencho » Fri Oct 17, 2008 10:11 am

Nioton2000 wrote:How to read real time clock and date in step7?
has anyone a sample program for step7 about this question?

Hi

More information in this FAQ:
http://support.automation.siemens.com/W ... n/21222026

regards

Nioton2000
Posts: 17
Joined: Mon Sep 29, 2008 6:49 pm
Location: Iran

[?]How to read real time clock and date in step7?

Post by Nioton2000 » Fri Oct 17, 2008 12:59 pm

Very thanks my friends cvlsam, Umencho

Schtiel
Site Admin
Posts: 1121
Joined: Wed Sep 06, 2006 12:03 pm
Location: CIS

Post by Schtiel » Fri Oct 17, 2008 3:05 pm

I recommend to use OB1_DATE_TIME of OB1 block. Then you do not need any SFC at all.

Post Reply