SIMATIC S7-200/300/400, Step7, PCS7, CFC, SFC, PDM, PLCSIM,
SCL, Graph, SPS-VISU S5/S7, IBHsoftec, LOGO ...
-
Nioton2000
- Posts: 17
- Joined: Mon Sep 29, 2008 6:49 pm
- Location: Iran
Post
by Nioton2000 »
How to read real time clock and date in step7?
has anyone a sample program for step7 about this question?
best regards

[/b]
-
cvlsam
- Posts: 48
- Joined: Mon May 29, 2006 8:22 am
- Location: China
Post
by cvlsam »
Nioton2000 wrote:How to read real time clock and date in step7?
has anyone a sample program for step7 about this question?
best regards

[/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
Post
by Umencho »
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
Post
by Nioton2000 »
Very thanks my friends cvlsam, Umencho
-
Schtiel
- Site Admin
- Posts: 1122
- Joined: Wed Sep 06, 2006 12:03 pm
- Location: CIS
Post
by Schtiel »
I recommend to use OB1_DATE_TIME of OB1 block. Then you do not need any SFC at all.