Logging/TraceTroubleshooting6-26.1 Operations When Errors Occur6.1.1 Operation When Power Supply Turns Off Operation When Power Supply Turns Off• While the logging/trace buffer logging/file writing is performed (R9179 is on), the power offflag during SD memory card access flag (R917F) turns on.• The data stored in the buffer of the control unit will be discarded.• In case of the middle of file writing, written data or files may be damaged, orthe SD memory itself may not be read.6.1.2 Operation When Errors Occur (Only When Selecting Logging forApplication) Operations when determined files with the same time data are createdState OperationWhen multiple data are logged inone secondCreate an error file with the following file name, and exclude them from thetarget for generation management.File name (Date_Time_ERR).csvIf the same file is created, discard the current file and continue the loggingoperation.When time data was turned backIf detecting that time is turned back from the previous record in loggingoperation, it is regarded as a file determination trigger, and a file with thefollowing file name is created and excluded from the target for generationmanagement.File name (Date_Time_TIM).csvThe logging operation continues. Operations when reactivating the power supplyState OperationWhen a current file with 0 recordexists Newly create a current file based on the file definition.When a current file with N recordsexistsNewly create a current file based on the file definition after determining thecurrent file.The determined file name is “file name (date_time_POW).csv, and it isexcluded from the target for generation management. Operation when log data is zero and file determination is requestedThe request for file determination is ignored. Operation when the F422(LOGSMPL) instructions in main program and interruptprogram are executed simultaneouslyThe F422(LOGSMPL) instruction in the interrupt program is not executed.