20.8.2 Control Word Address for Data Save

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

To save data to an external storage device, specify the file number and write the command to the address.

Command and Status

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

Filing Data

0002h

GP-PRO/PB III for Windows Logging data (compatible)*1

0003h

GP-PRO/PB III for Windows Line Chart data (compatible)

0004h

GP-PRO/PB III for Windows Sampled data (compatible)

0005h

Block 1's Alarm History data

0006h

Block 2's Alarm History data

0007h

Block 3's Alarm History data

0008h

Block 4's Alarm History data

0009h

Block 5's Alarm History data

000ah

Block 6's Alarm History data

000bh

Block 7's Alarm History data

000ch

Block 8's Alarm History data

0020h

GP-PRO/PB III for Windows Logging (loop) auto-save start (compatible)*2

0021h

GP-PRO/PB III for Windows Logging (loop) auto-save completion (compatible)

Status

0000h

Completed Successfully

0100h

Write Error

0200h

No external storage is inserted

CF card cover is open

SD card is write protected

0300h

No data to be loaded (when no data is specified)

0400h

File Number Error (File number is outside of range)

2000h

GP-PRO/PB III for Windows Logging (loop) auto-save responding correctly (compatible)

Control Address becomes this value during the auto-save mode. When the value is changed, the auto-save mode finishes.

*1 CSV file is output using the format defined in the [Display/Save in CSV] tab. However, the date format is fixed to "yy/mm/dd."
The saved sampling group number is fixed (1). If the defined file number already exists, then the file is overwritten.

*2 If the defined file number already exists, then the content is appended to the file.

File Name and Location

Designate a File from 0 to 65535 in the address following the control word address prior to writing a command.

The Alarm History data is saved under the [alarm] folder in the external storage with the following file name:

When [Set number of files in destination folder on external storage] is set in the [Destination Folder], data is saved in a folder automatically created in the [alarm] folder according to the file numbers.

Example: When [Number of Files] is set to "100"

Z100099 is saved in "\alarm\00000"

Z100100 is saved in "\alarm\00001"