Is there a way of using the time from the HMI, WinCCFlex in this case to trigger time related events in the code?
I'm currently trying to trigger logging events in the code but i want to avoid using the PLC time as its prone to drift.
I've looked all around and using a script looks promising but the Setbit function isnt giving me any joy at all, i just need to toggle a bit every time the HMI clock hits midnight.
I'm currently trying to trigger logging events in the code but i want to avoid using the PLC time as its prone to drift.
I've looked all around and using a script looks promising but the Setbit function isnt giving me any joy at all, i just need to toggle a bit every time the HMI clock hits midnight.