Berechnung der Kalenderwoche

Begonnen von Bernd, 05. Mai 2007, 23:03:34

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 1 Gast betrachten dieses Thema.

Stanley

Hello forum,

I want to use Your WORK_WEEK Step7 block in my program. I am testing it now in PLCSIM and I thing there is a fault. When I set for example 4.1.2010 block show 53 week, but correctly it is 1 week. And this faut continues whole year 2010 and next years...

hugo

under codesys we get the correct work week 1 for 4. jan. 2010
wewill check our step7 implementation for this error

Stanley


dalbi

#18
hello Stanley,

sorry there are two errors in the code i hope you have simatic scl.
take a look at the attachment its the new code. It works!

thank you!

regards Daniel

[gelöscht durch Administrator]

Stanley

Hello dalbi, a have tested your new code and it seems to be good. Thank You.

Regards Stanley