Fixes IPP-130. min_seconds was missing from Epoch Time calculation

This commit is contained in:
Patrick McDonagh
2016-08-19 13:02:05 -05:00
parent 0c2defa280
commit a8199543b4
3 changed files with 2 additions and 1 deletions

View File

@@ -26,5 +26,5 @@ day_seconds := ANY_TO_ULINT((prev_months_days + RTC_READ_1.RTCData.Day) * ANY_TO
hour_seconds := ANY_TO_ULINT(RTC_READ_1.RTCData.Hours * 3600);
min_seconds := ANY_TO_ULINT(RTC_READ_1.RTCData.Minutes * 60);
Epoch := year_seconds + day_seconds + hour_Seconds + ANY_TO_ULINT(RTC_READ_1.RTCData.Seconds);
Epoch := year_seconds + day_seconds + hour_Seconds + min_seconds + ANY_TO_ULINT(RTC_READ_1.RTCData.Seconds);
END_FUNCTION_BLOCK

View File

@@ -13,6 +13,7 @@
<AcfElementGuid Guid="73aee734-b491-4716-bb8a-e114474b2e0b" />
<AcfElementGuid Guid="7fef2c64-8552-4a7b-bfcb-a81bf0653d28" />
<AcfElementGuid Guid="825fba0c-a967-4905-b00b-13d3fe1ff759" />
<AcfElementGuid Guid="88be61f4-7c0b-465f-9894-13192a9bfa6f" />
<AcfElementGuid Guid="939ebd4d-03fd-401c-ab85-9cdf9558de18" />
<AcfElementGuid Guid="9e116e82-db64-4872-bda1-ef7ada62d71b" />
<AcfElementGuid Guid="a537c79f-58bd-4503-a8bd-4473e96020b3" />

BIN
WaterWellPanel.v12.ccwsuo Normal file

Binary file not shown.