How to Get System Time in Control Builder? I am using ABB 800xA FP5.1
How to Get System Time in Control Builder. I am using ABB 800xA FP5.1.
My application required to generate 1sec pulse at 23:59 PM daiy (i.e. 3 sec pulse every dat at mid night.).
I want to use only time & do not want to use get System Date & Time Function Block.
Voted best answer
1) Call GetDt Block and Enable it. Assign a variable to LOCAL_DT
2) Call DATE_AND_TIMETOCALENDARSTRUCT… Connect “LOCAL_DT” to ‘date and time’
3) Define another variable CAL_ST to ‘CalendarStruct’.
4) With help of this you can make programming as required by calling CAL_ST.Hour / CAL_ST.Minute
Refer the attachment which meets your logic requirement