S7-300 real time clock

Look in HELP for "SFC1 READ_CLK". That will get you started.

Also, check out "Format of the Data Type DATE_AND_TIME".

You read the time, and then do with it as you wish. A bit cumbersome but it gets you there. Good Luck!
 
Last edited:
You can also use the clockdata of the local var's of OB1. Search this forum and you'll find more details.
 

Similar Topics

Further to a post yesterday regarding access to the PLC's real time clock in an S7 300 PLC, I have followed the advice of the forum and used the...
Replies
4
Views
14,805
I want to realize the communication S7 and pc by cable profibus or mpi I want to know the steps to that allows me to do it
Replies
0
Views
1,259
Hi, Is it possible and how to get automated data transfer, what works real-time all the time, from Siemens S7-300PLC to MS excel spreadsheet...
Replies
11
Views
12,928
Hello! Im back with some questions. :confused: Is there in S7-300 some timer who read real time or count real time? I have to program 2 way...
Replies
5
Views
2,526
Dear Sir, I try to write a function use SCL to read the string from a DB and convert it to real and transfer to another DB. But the simple...
Replies
34
Views
24,923
Back
Top Bottom