How can I get the week number of an Siemens S7-400 PLC?

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.
 

Similar Topics

Hi All. I've got to print a label that includes the current week number as part of the information. My brain's turned to sludge... If I use an...
Replies
5
Views
2,732
Hi All, I'd like to know can we use DTR instruction to get a week pulse ? Could anyone please help me to understand that one ? I've managed to...
Replies
4
Views
180
The day of week program started changing day of week 2 hours early. It changes at 10 P.M. instead of 12A.M. Just started this year.
Replies
22
Views
2,667
For some reason that I do not understand, FactoryTalk is showing the Day of Week in the time and date display, despite the fact that this isn't an...
Replies
5
Views
1,225
This is the reason why I signed up here and decided to get some help before I tackle the traffic light program on Wednesday. It looked good on...
Replies
17
Views
11,700
Back
Top Bottom