Yes, it is possible to read last power off date in M2XX Controllers programmed through EcoStruxure Machine Experts
System variable PLC_R.i_dwLastPowerOffDate gives last power off date of controller.
The date and time of the last detected power off in seconds beginning with January1, 1970 at 00:00.
Convert this value into date and time by using the function SysTimeRtcConvertUtcToDate.
Please see example below that shows conversion of UTC to Date/Time.


System variable PLC_R.i_dwLastPowerOffDate gives last power off date of controller.
The date and time of the last detected power off in seconds beginning with January1, 1970 at 00:00.
Convert this value into date and time by using the function SysTimeRtcConvertUtcToDate.
Please see example below that shows conversion of UTC to Date/Time.
Released for:Schneider Electric India









