Operation when errors occur (only when selecting Logging for application)

Operations when completed files with the same time data are created

Situation Countermeasures

When multiple data are logged in one second

Create an error file with the following file name, and exclude them from the target for generation management.

%File name% (Date_Time_ERR).csv

If the same file is created, discard the current file and continue the logging operation.

When time data was turned back

If the PLC detects during logging that the internal clock has been changed to an earlier time, it regards this as a file completion trigger and creates a file with the following file name:

"%File name% (Date_Time_TIM).csv"

The logging operation continues.

Operations when reactivating the power supply

Situation Countermeasures

When a current file with 0 record exists

Create a new current file based on the file definition.

When a current file with N records exists

Create a new current file based on the file definition after completion of the current file.

The completed file name is "%File name% (date_time_POW).csv", and it is excluded from the target for generation management.

Operation when log data is zero and file completion is requested

Operation when FP_LOGTRACE_SAMPLE instructions in main program and interrupt program are executed simultaneously

Related topics:

FP_LOGTRACE_SAMPLE

Modified on: 2020-10-01Feedback on this pagePanasonic hotline