25.11.6.1 Writing to
the Internal Device
Turn ON the designated [Write Trigger Bit Address], and sampling
data stored in backup SRAM (or DRAM) is written to the internal
device.
If in the [Action Setting] tab's Extended area the [Overwrite
old data after finishing the specified cycles] check box is
cleared, you can write each block.
Writing Sampled Data
When storing sampling data to the internal device, the stored
data of the current sampling round is saved in the top address in
Binary format.
For example, if the Cycles is 5, and the current sampling round
is 2, then [Number of Stored Data] will be "2". At that time, "0"
will be stored in sampling data storage area for sample 3 and
later.
-
If the [Overwrite old data after finishing the
specified cycles] check box is selected, sampling data will be
transferred, in order, starting with old data.

-
If no block number is stored, data from block
number "0" will be written.
-
If you set up a calculation row in the
[Display/Save in CSV] tab, you can also write calculation data to
the internal device. Sampling data and calculation data are written
separately.
-
If the size of blocks or calculation data to be
written is larger than the internal device's storage area, they
cannot be written.
The
Structure of Sampled Data Stored in the Internal Device
When the internal device is 16
bit
Code/Flag
If the [Add Time Data] check box is selected in the [Mode] tab's
Extended settings, you can monitor whether sampling is completed
and whether the sampling was read normally or a read error
occurred.
The flag's value is "1" when sampling is
complete, and "0" when sampling is not occurring.
The code's value is "0" when data is
being read correctly, and "1" when there is a read error.
Time Data
If the [Add Time Data] check box is selected in the [Mode] tab's
Extended settings, the sample's time data is stored as in the
following picture. The data is 2 digits long and saved in BCD
format.
-
When the Execution Condition is set to [Bit
ON], the Time data will represent the time when the data read
completes.
-
When the sampling cycle is set in milliseconds,
the data will be stored in 10 ms units.
For example, March 31, 2005 17h 30m 25s 600ms

Data Valid/Invalid Flag
The [Data Valid/Invalid Flag], which monitors whether address
data is valid or invalid, is added to the sampling data if the
Execution Condition is set to [Set Time] or [Bit ON]. Valid data is
marked with "1" invalid data with "0".
For example, when a read error occurs during sampling, "1" is
stored in [Code], and each address's valid/invalid bit is "0". When
the value of erroneous sampling data (data displayed with
"****") is corrected, that data changes from invalid
to valid, and the corrected address's valid/invalid bit changes
from "0" to "1".
The storage area for the data valid/disabled flags fluctuates
from 2 to 32 addresses.
The Structure of Calculated Data Stored in
the Internal Device
The structure of calculation data (Total, Average, Max, Min) is
set according to settings in the [Display/Save in CSV] tab and is
shown in the following diagram. Bit length is 32 bit and data is
stored in the internal device.
Calculated values are stored in order from the top down,
starting with the left most data column designated in the
[Display/Save in CSV] format.
When Total and Average are set
|