Struggling_forward Member S Join Date Nov 2007 Location london Posts 68 May 28, 2009 #1 How do you access the real time clock in a Siemens S7-300 or 400 PLC?
bluenoser337 Member Join Date Apr 2003 Location Nova Scotia Posts 391 May 28, 2009 #2 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: May 28, 2009
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!
ivo.maenen Member Join Date Nov 2003 Posts 663 May 28, 2009 #3 You can also use the clockdata of the local var's of OB1. Search this forum and you'll find more details.
You can also use the clockdata of the local var's of OB1. Search this forum and you'll find more details.