Logging operation flow

Triggers of logging operation and file contents

  1. Start of logging operation

    The logging operation is started by any of the following methods: selecting the Start button in the Data recording window, using an instruction in a user program, and Automatic start setting.

  2. Data logging
    • Once the logging operation has been started, it is executed when the sampling trigger condition is met.

    • Logged data is stored in the buffer memory (RAM) of the CPU.

    • After that, the logging operation continues until the logging stop condition is met.

  3. File completion
    • A file is completed when the specified file completion condition (bit device ON, time, samples per file) is met.

    • The file completion is to rename the file "%specified file name% (------current------).csv" created in STEP 2 after writing all the data stored in the buffer into theĀ SD card.

    • The time data of the oldest record is added to the specified file name.

      Example: When the file name is "Sample", and the oldest record was recorded at 12 o'clock on April 1, 2013, it is saved as "%specified file name% (130401_120000).csv".

    • Once the file has been completed, a new file "%specified file name% (------current------).csv" for saving the next logging data is created. The logging operation restarts when the sampling trigger condition is met.

  4. Stop of logging operation
    • The logging operation is stopped by either instruction in user programs or tool software operation.

    • Once the logging operation stop is requested, all the data in the buffer memory in the CPU unit is written to the file in the SD card. The records logged so far are saved and the file is completed even if the specified file completion condition has not been met.

    • The time data of the oldest record is added to the specified file name.

Tip

When Bit, Interval or Time have been selected as sampling triggers for the logging operation, the buffer memory data is stored at the end of the scan time. In the case of Instruction (FP_LOGTRACE_SAMPLE), it is stored when the FP_LOGTRACE_SAMPLE instruction is executed.

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