25.14.5 Saving to CSV

There are two save operations for external storage devices:

When the command is written to the [CSV Control Word Address], data stored in the display unit is output as a CSV file.
25.7.2 Operation - Normal Save

When the defined number of samples are stored in the display unit and the sampling cycle is complete, data stored in the display unit is output as a CSV file. This option is available when in the [Mode] tab, [Extended] dialog box, you select the [Overwrite old data after finishing the specified cycles] check box.
25.7.3 Operation - Automatic Save

CSV Control Word Address

This address controls writing data to external storage. Use a sequence of 2 Words from the specified address. If a 32-bit device is specified, only the bottom 16 bits are used.

It writes a command to the address after designating a file number.

After you specify the file number and write the command to the control address, data is output to the external storage. The processing results (status) are reflected in the address.

Mode

Word Data

Description

Command

0001h

Normal Save

0020h

Start Auto Save (only when data is stored by overwriting data*1)

0021h

End Auto Save (Only when data is stored by overwriting old data*1)

Status

0000h

Completed Successfully

0100h

Write Error

0200h

External storage is not connected.

The CF Card cover is open.

The SD Card is write-protected.

0300h

No data to be loaded

0400h

File Error

0500h

Writing a command to the control word address, and Pro-Server EX, GP-Viewer EX, or Ethernet Multilink access to backup memory (SRAM) occurs at the same time.

Write the command to the control word address again, and run the process.

2000h

The display unit is in the normal Auto Save mode.
While the [CSV Save Control Address] has this value, the Auto Save action continues. When the value changes, the Auto Save mode finishes.

*1 For methods to store data, refer to 25.14.3.2 Data Storage Methods.

Designates the ***** portion in the file name, "SA*****.csv", when saving to the CF Card/USB storage. The file number can be from 0 to 65535. Set the file number before writing the command.

The CSV File is saved to the folder created in the external storage automatically. The folder is created with a fixed folder name for each sampling group.

Data to be saved

Folder

File Name

Sampling Group 1 data

\SAMP01

SA*****.CSV

.

.

.

.

.

.

 

Sampling Group 64 data

\SAMP64

SA*****.CSV

 

When the [Set number of files in destination folder on external storage] check box is selected, save operates as follows.
For example, [Number of files per folder] = [100], save sampling group 1 to CSV

Data to be saved

Folder

File Name

Sampling Group 1 data

\SAMP01\00000

SA00000.CSV ... SA00099.CSV

\SAMP01\00001

SA00100.CSV ... SA00199.CSV

:

:

\SAMP01\00655

SA65500.CSV ... SA65535.CSV