Time-related functions include functions to read and to set the clock of the FP-I4C unit.
This function reads the internal clock of the FP-I4C unit.
This function is useful to forward the FP-I4C time to the PLC. The FP-I4C unit gets its time from NTP servers and is using the regional setting to handle the daylight saving time.
FPWEB_GETCLOCK_DATETIME();
The internal clock of the FP-I4C unit in the DT (DATETIME) format of Control FPWIN Pro7 (32-bit value)
DT[1000] := FPWEB_GETCLOCK_DATETIME();