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










Need help?
Product Selector
Quickly and easily find the right products and accessories for your applications.
Get a Quote
Start your sales enquiry online and an expert will connect with you.
Where to buy?
Easily find the nearest Schneider Electric distributor in your location.
Help Centre
Find support resources for all your needs, in one place.