Skip to main content

Clock Power Failure Relay Flags

Clock Power Failure Relay Flags (F500 ~ F540)

The clock power failure relay flags, F500 ~ F540, display the count, year, month, date, day of the week, hour, minute, and second from when the power failure occurred.
These flags identify when the real-time clock experienced a power failure.

The clock power failure relay flags, F500 ~ F540, are WORD data registers that can be accessed with the MOV instruction.

For more information about clock power failure, refer to the DATERD instruction.

  • The month, date, day of the week, hour, and minute flags, F520 ~ F540, should be converted to binary.
    • After converting the number to binary, convert it back to decimal.
  • Example: The flag F520 has the value 2,329.
    • Converted to binary: 0000 1001 0001 1001
      • Converted to decimal: 9/25

The count flag, F500, records the number of power failures.

Clock Power Failure Relay Flags
FlagItemWORDMOV Example
F500Count
F510Year
F520MonthUpper
DateLower
F530Day of the weekUpper
HourLower
F540MinuteUpper
SecondLower