Data is collected every time the designated bit turns ON.
If you are using a model that supports SD Cards, change the [CF] and [CF Card] to [SD] and [SD Card].
Execution Condition
Select the sampling action execution condition. Select [Bit ON].
Sampling Trigger Bit Address
Select the address which will control the sampling's timing. The sampling will execute every time this address turns ON.
Occurrences
Select the number of times sampling will occur. If in the [Extended] area the [Overwrite old data after finishing the specified cycles] check box is selected, this can be from 1 to 65535 times. If the check box is cleared, the range is from 1 to 2048 times.
The setting range is limited by the number of sampling groups and addresses (words) registered in the entire system.
Data Full Bit Address
After all the sampling is completed (the set [Occurrences] * [Blocks]) this address will be used to confirm that the operation is finished. Select whether or not to verify this bit address.
In the Extended area, when the [Overwrite old data after finishing the specified cycles] check box is selected, this bit tells when a data sampling cycle has been done. The sampling operation will continue running even when this bit is ON. If not designated, the sampling action will end when this bit turns ON. Please turn ON the [Data Clear Bit Address] to resume.
This address is not turned OFF automatically. If the [Overwrite old data after finishing the specified cycles] check box is selected, please ensure that the bit is turned OFF in order to confirm the next sampling cycle.
Data Clear Bit Address
Designate the bit address to control the clearing of the sampling data. When this address turns ON, all the Sampling Group data stored in the display unit will be erased. After clearing the data, this bit will turn OFF.
ACK Bit Address
Select the address which will confirm when the data reading is finished. When the data reading is finished, the display unit will turn this bit ON.
When this address receives a [Bit ON] state, please turn OFF the device/PLC [Sampling Trigger Bit Address]. When the [Sampling Trigger Bit Address] turns OFF, this bit will turn OFF.
When creating multiple sampling groups, specify a different address for the ACK Bit Address. If the same address is specified, bits will not be turned ON and OFF correctly.
Extended
Displays the [Extended] dialog box.
Overwrite old data after finishing the specified cycles
Select whether or not the data will be overwritten and stored, starting with the oldest data, after data has been sampled the designated number of times.
When this is selected, sampling will continue even after the number of times has completed. Old data will not remain.
If this is not set, previous data will not be overwritten. The new rounds of data will be stored as separate blocks. After data from ([Occurrences] x [Blocks]) has been stored, sampling will not occur until all stored data has been deleted.
Blocks
All the data collected in the sampled in the designated number of times is called a [block]. Designate the number of blocks to set inside one sampling group, only if [Overwrite old data after finishing the specified cycles] is not set. The setting range is from 1 to 2048. The settings range is limited to ensure that the amount of [Occurrences] x [Blocks] is less than 65535.
Block Completed Bit Address
After the sampling for one block of data (the designated number of times) is completed, this bit address will turn ON to confirm that the operation is finished. To confirm, set this address.
This tells that one block's sampling has completed. The sampling action will still continue for the designated [Blocks].
This address is not turned OFF automatically. In order to verify completion of the next block, please ensure that this bit is returned to OFF.
Add Time Data
Select whether or not to store the time when the data read finished, along with the sampled data. If this is not designated, when displaying/saving in CSV or printing, the date/time columns will be blank.
You must set [Show Cursor] in the [Historical Trend Graph] for Show Cursor to operate.
19.13.1.9 Historical Trend Graph - Display Historical Data
Add Data Valid/Invalid Flag
Stores an observation flag along with the data which monitors if the data has been saved properly. This setting is fixed to enable.
Retain Sampling Data (SRAM)
Select whether or not to save the sampling data to the backup memory (SRAM). If the sampling data is not saved, the data will be deleted when the power to the display unit is turned OFF or reset.
Back Up Sampling Data
Indicates whether data saved in the backup memory (SRAM) is written to the location specified in [Save in]. The data is saved in binary format.
25.12.1 Usage Capacity of Sampled Data
When selecting this item, precautions on backing up and the maximum number of historical data that can be displayed in the Historical Trend Graph are displayed on the right-hand side. The maximum number is [Occurrences] x [Backup Count].
If you are using the GP4000 Series (except for the GP-4100 Series), the index file "TSAMPINDEX.idx" is automatically created during backups. The display retrieves the data from this file and displays it in the Historical Trend Graph. For more information about index files, please refer to the following.
19.8.3 Display Historical Data
Save in
Select the "Save in" location for backup data from [CF card], [SD Card] and [USB storage].
Folders are automatically created for each sampling group in the "Save in" location. The saved file name will be Time Stamp (year/month/day/hour/minute/second when saved).
For example, when it is saved at 14:30:5 on July 2 in 2007
\SAMP**\T070702_143005#.bin
("**" represents sampling group number and "#" represents index number)
The index number for file names is from 0 to 9. You can save up to 10 files at the same time.
Backup Count
Specify the number of times (1 to 500) to write the backup data. The number specified here is the number of files that will be created.
When Exceeding Backup Count
Select an action when the number of backup files exceeds the value set in the Backup Count.
Overwrite oldest data
Delete the oldest file and add a new file.
Interrupt Backup
Stops backup. "9" (number of files exceeded) is stored in the status address.
Status Address
Indicates whether the saved operation status and error information are stored in the specified address.
The error status indicates the following error codes.
Error Code
Bit 12 to 15 |
Contents |
Details |
---|---|---|
0 |
Completed Successfully |
Transfer completed successfully. |
1 to 3 |
Reserved |
— |
4 |
No external storage |
There is no external storage device inserted into the display unit. The CF Card cover is open. The USB storage is not formatted properly or is damaged. |
5 |
Write Error |
The external storage does not have enough free space or the storage was disconnected during write operation. 10 backup data files with the same time stamp already exist because the time setting of the display unit was restored, etc. The SD Card is write-protected. The index file is read-only. (GP4000 Series only) |
6 |
Reserved |
— |
7 |
CF Card Error |
The CF Card is not formatted properly or is damaged. |
8 |
Reserved |
— |
9 |
Excess Number of Files |
Exceeded number of files set |
Even if the error status is saved, retains the save request. The save process runs the moment the error status is released. If the [Data Full Bit Address] turns ON while still in error status, the retained save request is discarded, and the save request for the new backup data is now retained.