10/8/2008 10:37 AM | |
Posts: 5 Rating:
|
Hi, how can I compare two TOD? Does IEC function exist in a standard library? Is it possible to insert by wincc a TOD time into DB? Thanks a lot Best regards |
10/8/2008 11:32 AM | |
Posts: 5 Rating:
|
ok, but how can I view TOD format as DINT? Besides the GE_D or LT_D blocks require Date&Time Input format... thanks a lot Best regards |
10/8/2008 12:11 PM | |
Posts: 2348 Rating:
|
If you look using VAT - enable Data Type column and select Dec there. You can compare them with >D <D in STL - iguessthiscorrespondstoGE_D/LT_D. ButLADwouldn'tallowthatsimple-datatypesarenotmatching. So disablecheckbox"typecheckofaddresses"locatedin Options->Custumize->LAD/FBD |
10/8/2008 12:24 PM | |
Joined: 9/27/2006 Last visit: 12/8/2023 Posts: 12189 Rating:
|
Hello siddino; I have prepared a screen shot of a FC that will work for your TOD comparisons. Hope this helps, Daniel Chartier |
This contribution was helpful to
1 thankful Users |
10/8/2008 12:45 PM | |
Posts: 5 Rating:
|
Thanks, my problem was in KOP language, but in AWL language it's all very simple. Bye |
8/21/2016 1:08 PM | |
Posts: 38 Rating:
|
Can you please tell me where you get that FC in TIA Thank you |
8/22/2016 11:27 AM | |
Joined: 3/5/2014 Last visit: 8/5/2022 Posts: 5521 Rating:
|
hi, have a look in extended in structions -> Date and Time-of-day It depends on CPU what kind of instructions are available. regards, |
FCK WAR! |
|
This contribution was helpful to
1 thankful Users |
Follow us on