tulip Member T Join Date Oct 2005 Location ist Posts 236 Dec 19, 2006 #1 Hi,folks..Where can I find example for cpu tıme reading for S7-300 plc (hour&minute)?Thanks...
dchartier Member D Join Date May 2003 Posts 1,546 Dec 19, 2006 #2 Hello tulip; SFC1 will read the Real-Time Clock of your processor: The tag that you will use to write the CDT output to must be formated as a Date_and_Time variable. Here is (from a preceding thread) the way the info is distributed inside the Date_and_Time variable: http://www.plctalk.net/qanda/showpost.php?p=177998&postcount=2 Hope this helps, Daniel Chartier
Hello tulip; SFC1 will read the Real-Time Clock of your processor: The tag that you will use to write the CDT output to must be formated as a Date_and_Time variable. Here is (from a preceding thread) the way the info is distributed inside the Date_and_Time variable: http://www.plctalk.net/qanda/showpost.php?p=177998&postcount=2 Hope this helps, Daniel Chartier
krk Lifetime Supporting Member K Join Date Aug 2004 Location Kent Posts 795 Dec 19, 2006 #3 You can use this function if you have any problems extracting the components from the DT variable: http://forums.mrplc.com/index.php?download=660 Kevin H Last edited: Dec 19, 2006
You can use this function if you have any problems extracting the components from the DT variable: http://forums.mrplc.com/index.php?download=660 Kevin H
tulip Member OP T Join Date Oct 2005 Location ist Posts 236 Dec 19, 2006 #4 With kind regards to dchartier & krk.