set a real time clock on s7 1200

wr_sys_rtc or something like that is a command to write system time. beside that when you're online there's function set time (take time from PG, or write you're own.
just to mention there's option in system properties to set timezone and DST
 
thank you chauvinhloi

its very helpful video

my question is: with that functions could I turn on a motor for specific date and time and how to??

best regards
 
If you read your system time to a DTL variable you use this to compare to your desired time.

You can use for example

DTL.Month=1 AND DTL.DAY=3 AND DTL.HOUR=20

To start the motor January 3rd at 20:00
 

Similar Topics

Does anyone know how to set the real time clock in the Schneider m251? Or point me to the help file?
Replies
1
Views
1,858
can anyone help me about how to use Real-Time Clock to run pump at certain time everyday
Replies
5
Views
4,199
Hi, I am a beginner in RSlogix5000.:cool: (Version28.00 - Professional edition) I have to preset the tag's in the array(Real[45,60]) with...
Replies
7
Views
2,345
I have a Siemens TP177B HMI & S7-315 PLC unit where the machine operator has to change some timer presets. The presets will be in the 9.999 REAL...
Replies
0
Views
1,702
Omron AD081-V1 Analog Input Card Offset & Gain Adjustment Entering Adjustment Mode 1. Set the input card in adjustment mode (Turn ON Dip SW No-1)...
Replies
0
Views
56
Back
Top Bottom