Rode Member R Join Date Nov 2005 Location Maasbracht Posts 4 Nov 25, 2005 #1 How can I get the week number of an Siemens S7-400 PLC? Can I calculate it or is there an other option?
How can I get the week number of an Siemens S7-400 PLC? Can I calculate it or is there an other option?
lauu Member L Join Date Aug 2003 Posts 83 Nov 25, 2005 #2 Hej Try this! Should bee called in OB1 L LB 12 T #bYear L LB 13 T #bMonth L LB 14 T #bDay L LB 15 T #bHour L LB 16 T #bMin L LB 17 T #bSek It is obtain from OB1 In "OB1_DATE_TIME" Temp. Variable. Jesper.
Hej Try this! Should bee called in OB1 L LB 12 T #bYear L LB 13 T #bMonth L LB 14 T #bDay L LB 15 T #bHour L LB 16 T #bMin L LB 17 T #bSek It is obtain from OB1 In "OB1_DATE_TIME" Temp. Variable. Jesper.
Rode Member OP R Join Date Nov 2005 Location Maasbracht Posts 4 Nov 25, 2005 #3 I found that but want to get a week number
krk Lifetime Supporting Member K Join Date Aug 2004 Location Kent Posts 795 Nov 25, 2005 #4 Rolf B posted this a while back... http://www.plctalk.com/qanda/showpost.php?p=95585&postcount=17
Rode Member OP R Join Date Nov 2005 Location Maasbracht Posts 4 Nov 25, 2005 #5 He KRK Thanks for your reply. I tested the program and it functions very well. greetz Robert