25.11.4 Display/Save in CSV

Set the format in which to display the sampled data on the display unit's screen and to save in an external storage as a CSV file. Settings will differ between the [Basic Settings] or [Custom] format settings mode.

The following explains the [Basic Settings]. Refer to the following for Custom Settings.

25.11.5 Display/Save in CSV (Custom Settings)

Display/Save in CSV

Specifies whether to display sampled data on the display unit screen or to save to an external storage.

When you display using the Sampling Data Display, or save the data to the external storage, you must check and set the format.

Basic Settings/Custom Settings

Select the format setting mode.

Use a preset format to easily configure settings.

Set a customized format.

CSV Control Word Address

Specifies whether to save as a CSV file. If so, set the control address to write the data to an external storage.

Two sequential word addresses are used as the area to write the command and its result (status), and File (the *****portion in "SA*****.csv".) The file number can be from 0 to 65535.

25.14.5 Saving to CSV

Save in

Select the save destination for the sampled data.

Write data to a CF card (or a SD card).

Write data to a USB storage device.

Destination Folder

The following dialog box appears.

Set number of files in destination folder on external storage

Select whether or not to partition the destination folder for the alarm history data and sampling data.

You can use the [Number of files per folder] field to control the number of files in one folder.

For example, [Number of files per folder] = [100], save sampling group 1 to CSV

Folder

File that is saved

\SAMP01\00000

SA00000.CSV to SA00099.CSV

\SAMP01\00001

SA00100.CSV to SA00199.CSV

:

:

\SAMP01\00655

SA65500.CSV to SA65535.CSV

  • Refer to the following for information on destination folder and file names.
    5.7.1 Destination Folder and File Name

  • The setting applies to both alarm history and sampling data. You cannot set up the file/folder partitioning for only one of these features or set up different file numbers.

Number of files per folder

You can select the number of files in a folder, from [50], [100 (recommended)], [150], [200], [250], [300], [350], [400], [450], or [500].

When you select [100 (recommended)], the speed of the save process is faster compared to folder content that is divided.

  • The file number defines the destination folder. The number is not used to count the number of files in the folder, as the number of files in a folder can be larger than the file number.

Append Date/Time to file name

Specifies whether to append to the file name the time stamp (year, month, date, and time when the save to CSV operation starts).

The file name will consist of "SA" to indicate sampling data and the file number (5 digits). The file number value is stored in the address following the [CSV Control Word Address].
For example, when file number is 1, file name is "SA00001.csv"

The file name will consist of "SA" to indicate sampling data, the file number (5 digits), and time stamp. The time stamp format is defined in the [Date/Time Format] field.
For example, When file number is 1, the save date and time is 2017/3/16 12:05:30, the Date/Time Format is _%Y%M%D_%h, the file name is "SA00001_20170316_12.csv".

Date/Time Format

When the [Append Date/Time to file name] check box is selected, set up the time stamp format with 16 single-byte characters or less. You can use single-byte alphanumeric characters, the following single-byte symbols, and the following macro symbols.

% _ - ( )

Macro

Description

%Y

Year (4 digit format)

%y

Year (2 digit format)

%M

Month

%D

Day

%h

Hours (24 hour time format)

%H

Hours (12 hour time format)

%m

Minutes

%s

Seconds

% + any character except those above

Adds any character string. "%" symbols at the beginning are not included in the file name.

Example 1, when _%Y%M%D_%A is defined: SA00001_20170316_A

Example 2, when _%Y%M%D_%% is defined: SA00001_20170316_%

 

Preview

Based on the defined [Date/Time Format], displays an image illustrating the file name with the current date and time. When the format is invalid, the preview is not updated.

CSV Date Format

Select the [CSV Date Format] from [yy/mm/dd], [dd/mm/yy], [mm/dd/yy], [20yy/mm/dd], [dd/mm/20yy], [mm/dd/20yy], or [mm/dd]. "yy" displays the last two digits of the year, and "mm" and "dd" use two digits to display the month and date.

Enable FTP Transfer

Transfers sampled data saved in CSV format to the FTP.

When you select this check box, the [FTP] tab is displayed. Set up the destination FTP server and start transfer trigger in the [FTP] tab.

25.11.6 FTP

Send E-mail

When sampling data is saved to a CSV file, the file is sent as an attachment to email.

To set up this feature, from the [System Settings] - [E-mail] settings define the SMTP server and recipient email addresses.

5.4.21 System Settings [E-mail] Settings Guide

Receiver Groups

Specify the receiver group number configured in [System Settings] - [E-mail].

Condition for Reading Alarm Value

When you enable [Alarm Settings] with the [Alarm] tab in the [Data Settings], and set [Address] in the [Alarm Action], you set the conditions for reading that address.

Continually read the alarm address.

Read when the [Trigger Bit Address] is ON.

Trigger Bit Address

Set the address that controls the timing for reading the alarm address.

Refine Search/Sort

Define if you will use the Refine Search function, which displays only data records that match specified conditions, and the Sort function, which re-order data records according to the condition specified.

For a list of models that support the Refine Search/Sort function, please see the following:
1.5 Supported Features

In the Sampling Data Display, when you touch the name field of an item, the Search dialog box appears.

Clears the search/sort applied to the selected column.

Sort from the smallest value to the largest.

Sort from the largest value to the smallest.

The Search Condition Entry keypad appears. See the following for information about the Search Condition Entry keypads.

20.10.3 Entering Search Conditions

Status Address

Specify the address where the search results and operation status are stored when you are using the Refine Search/Sort function. Use a sequence of 3 words.

Error codes are as follows:

Error code (decimal)

Description

Details

0000

Completed Successfully

The Search/Sort process is successfully completed.

0001

Search in progress

The Search/Sort process is successfully started.

0100

No target record error

As a result of search, no matching data record was found.

0101

Search Menu Display error

Other function is displaying the Search menu. Or, the Search menu cannot be displayed because all windows are in use.

0102

Search Start error

Search cannot be performed because other function is using Search/Sort or search results are currently displayed.

0200

Registered Size error

Sampled data size exceeds 1 MB

65535

Unexpected error

Search failed because of an internal issue.

After the Search/Sort operation, the number of matching data records is stored.

The number of columns with [Refine] specified is stored.

Date

Select the date format as: [yy/mm/dd], [mm/dd/yy], [dd/mm/yy], or [mm/dd]. "yy" displays the last two digits of the year, and "mm" and "dd" use two digits to display the month and date.

Time

Select the time format [hh:mm], [hh:mm:ss], or [hh:mm:ss.ms]. "hh" displays the hours, "mm" displays the minutes, and "ss" displays the seconds, all using two digits. "ms" uses three digits to display the milliseconds.

Data Display

Click [Data Type Settings] to open the [Data Settings] dialog box, where you can set the data type, the source range, and the number of display digits.

25.11.4.1 Display/Save in CSV/Data Settings - Data Type

Total

Select whether or not the totals row will be displayed. Values calculated from the data of the designated Occurrences stored in the display unit are displayed.

Click on [Data Type Settings] and open the [Calculation Settings] dialog box. The data type and style for the totals rows can now be set.

25.11.4.4 Display/Save in CSV/Calculation Settings - Data Type

Item Name Characters

Set the number of item name characters from 1 to 100 (single-byte).

Display Color

Select a color for the text and values to be displayed.

Background Color

Select a background color for the text.

Blink

Select the blink and blink speed. You can choose different blink settings for the [Display Color], and [Background Color].

Preview area

Displays the set contents with the selected format.

If [Overwrite old data after finishing the specified cycles] is selected on the [Mode] tab's Extended settings, only one data row will display. If the [Overwrite old data after finishing the specified cycles] check box is cleared, the data rows equal the designated [Occurrences].

When [Overwrite old data after finishing the specified cycles] check box is selected

When [Overwrite old data after finishing the specified cycles] check box is cleared