Configures the settings for saving data to various memory
cards.
Save data
Saves data from the display unit's backup memory (SRAM) to the
[CF Card] or [USB Storage].
5.5.3 Restrictions on External
Storage Usage
Control Word Address
This address controls writing data. It writes a command to the
address after designating a file number.
Command and Status
The data is written to the CF Card or USB Storage device. The
processing results (status) are reflected in the address.
Summary
|
Description
|
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)
|
Summary
|
Description
|
0000h
|
Completed Successfully
|
0100h
|
Write Error
|
0200h
|
The CF Card/USB storage device is not inserted,
or the CF Card cover is open
|
0300h
|
No data to be loaded (when no data is
specified)
|
0400h
|
File Number Error (File number is outside of
range)
|
0500h
|
Conflict error with the Pro-Server request
|
2000h
|
GP-PRO/PB III for Windows Logging (loop)
auto-save responding correctly (compatible)
While the Control Address has this value, the
auto-save mode continues. When the value is changed, the auto-save
mode finishes.
|
-
When converting a GP-PRO/PB III for Windows
project, logging data is stored as sampling group 1, and trend
graph and sampling data is stored as groups 2 to 64. As a result,
writing the command 0002h to the defined control word address saves
group1 data. Writing commands 0003h or 0004h saves data from groups
2 to 64.
File Number
Define the file number from 0 to 65535, or for filing data from
1 to 8999.
Defining the file number automatically defines the file
name.
For example, when [File Number] = 2 and you send the command to
save alarm history data for Block1, data is output to external
storage's "ALARM" folder with the file name "Z100002.CSV".
Refer to the following for destination folder and file
names.
5.6.1 Save in Folder and File
Name
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 alarm
history data from Block1
Folder
|
File that is saved
|
\ALARM\00000
|
Z100000.CSV to Z100099.CSV
|
\ALARM\00001
|
Z100100.CSV to Z100199.CSV
|
:
|
:
|
\ALARM\00655
|
Z165500.CSV to Z165535.CSV
|
-
Refer to the following for destination folder
and file names.
5.6.1 Save in 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 (last 5 characters of the file
name) 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.
For example, when using [100 (recommended)] and saving alarm
history data for blocks 1 to 8, there are 800 files in the
folder.
Also, if you copy or move other files into the folder, the file
will save regardless of the defined file number.
CF Card Free Space
Set whether or not to store the CF Card's free space in an
internal device. You can view the amount of free space.
Free Space Storage Address
Set the address to store CF Card free space.
For direct access method, the start address should be specified
within the range of LS20 to LS2031, LS2096 to LS8999, or USR0 to
USR29999.
For direct access method, the start address should be specified
within the range of 20 to 2031, 2096 to 8999, or USR0 to
USR29999.
Stores the value within the range of 0 to 65535 (FFFFh) in the
specified address. The unit of a value to be stored is in KB.
-
When a CF Card is not inserted, the display
unit cannot check the free space successfully and displays it as 0
KB.
-
The CF Card free space is only an estimate. You
may not always be able to save data exactly the size of the free
space.
-
If free space exceeds 65535 (FFFFh) KB, the
value of the LS area is 65535 (FFFFh).
USB Storage Free Space
Set whether or not to store the USB storage's free space in an
internal device. You can view the amount of free space.
Free Space Storage Address
Configures the address where the USB storage free space is
saved.
For direct access method, the start address should be specified
within the range of LS20 to LS2031, LS2096 to LS8999, or USR0 to
USR29999.
For direct access method, the start address should be specified
within the range of 20 to 2031, 2096 to 8999, or USR0 to
USR29999.
Stores the value within the range of 0 to 65535 (FFFFh) in the
specified address. The unit of a value to be stored is in KB.
-
When USB storage is not available, the display
unit cannot check the free space successfully and displays it as 0
KB.
-
The USB storage free space is only an estimate.
You may not always be able to save data exactly the size of the
free space.
-
If free space exceeds 65535 (FFFFh) KB, the
value of the LS area is 65535 (FFFFh).
SRAM Auto Backup
Set whether or not to automatically transfer all the backup
memory (SRAM) data to the CF Card.
Control Word Address
Specify the control address to trigger the backup. The
processing status is saved to an address created from the specified
control address +1.
Turn On Bit 0 to start the backup.
When the transfer has successfully completed,
Bit 0 (Transfer Completion Flag) turns ON. Confirm that Bit 0 is
ON, and turn OFF Bit 0 of the control address. The transfer
completion bit will then turn OFF automatically.
The following explains the details of each
error code.
Error Code
|
Error Name
|
Details
|
0000
|
Completed Successfully
|
When the backup process is completed
successfully.
|
0100
|
No CF Card
|
A CF Card was not inserted when backing up, or
the CF Card cover is open
|
0101
|
CF Card Write Error
|
Occurs when the CF Card does not have
sufficient free space for backing up or when it is removed during
writing
|
0111
|
CF Card Error
|
Occurs when the CF Card is unformatted.
|
The timing for transfer is as follows.
-
When running backup, check that the [Transfer
Complete Flag] is OFF to make sure other operations are not saving
to the CF card.
-
Taking into account that the power supply may
turn OFF in the middle of backing up, when starting the operation
you need to turn OFF the [Transfer Trigger Bit] and the [Transfer
Complete Flag].
-
For the transfer trigger bit ON/OFF time, use
an interval longer than either the communication cycle time*1 or display scan time*2, whichever is longer.