日本語 English

How to Save CSV to a CF Card on the CS/CJ Series

Overview

This page shows how to save data to a CF card on the OMRON CS/CJ series.

When a flag turns ON, memory values are saved in CSV format.

Method 1: Saving with the FWRIT Instruction

When the contact turns ON, the value of D0 is saved with the date and time.
It is saved as a CSV file (comma-separated). The saved data is in the order YYMM, DDHH, MMSS, data.
Example of a saved file

FWRIT instruction ladder
FWRIT instruction ladder

Method 2: Saving with the TWRIT Instruction

An example that saves the values of D0 and D1 with the date and time when the contact turns ON.
The save format is YYMMDDHHMMSS, data 1, data 1.
Example of a saved file

Ladder saving with the TWRIT instruction
Ladder saving with the TWRIT instruction

Method 3: Saving with the CMND Instruction

When the contact turns ON, the values of D0 and D1 are saved with the date and time.
It is saved as a CSV file (comma-separated). The saved data is in the order YYMMDDHHMMSS, data.

Ladder saving with the CMND instruction
Ladder saving with the CMND instruction

Download

Comments