25.14.1 Usage Capacity of Sampled Data

When saving to the backup memory (SRAM), the amount of space used by the sampling data varies depending on the Number of Sampling Groups, [Enable multiple data types] setting, Data type, Number of Data (Addresses) and the [Mode] tab settings.

Without the sampling settings, the usage capacity is 0 bytes.

Calculation - if [Enable multiple data types] is off

(4 + 4 x Number of Groups) + each Sampling Group's total usage capacity

20+ Number of Blocks x Occurrences*1 x {2*2 x Number of Data*3 + 12*4 + (Number of Data + 31)/32 x 4*5}

*1 When in the [Mode] tab's Extended area the [Overwrite old data after finishing the specified cycles] check box is selected, the value is [Occurrences]+1.

*2 Two bytes when the [Address] tab's [Bit Length] is [16 Bit]. Four bytes when the [Bit Length] is [32 bit].

*3 If the number of data (addresses) is an odd number, add +1 to the value.

*4 When the [Add Time Data] in the [Mode] tab is selected, add 12 bytes for time data.

*5 When the [Add Data Valid/Invalid Flag] in the [Mode] tab is selected, add the defined size (the underlined portion). Decimal places are truncated.

Example calculation - if [Enable multiple data types] is off

Setting

Description

Number of Groups

1

Data Type

16 Bit

Sampling Words

7

Occurrences

100

Blocks

1

Overwrite old data after finishing the specified cycles

ON

Add Time Data

ON

Add Data Valid/Invalid Flag

ON

(4 + 4 x Number of Groups) + 20 + Number of Blocks x (Occurences + 1) x {2 x (Number of Data + 1) + 12 + (Number of Data + 31) / 32 x 4}

(4+4x1)+20+1x(100+1)x{2x(7+1)+12+(7+31)/32x4} = 3260 bytes

Calculation - if [Enable multiple data types] is on

4 + 4 x Number of Groups + Total of each Sampling Group's Usage

20 + Number of Blocks x Occurrences*1 x {2 x Number of Data*2 + 12*3 + (Number of Data + 31) / 32 x 4*4}

*1 When in the [Mode] tab's Extended area the [Overwrite old data after finishing the specified cycles] check box is selected, the value is [Occurrences]+1.

*2 Number of Data is the number of rows (words) used. The total size for the data portion (underlined portion in the calculation) is 2 bytes x Number of Rows.
If the total size for the data portion cannot be divided by four, it is displayed to a value divisible by four.

*3 When the [Add Time Data] in the [Mode] tab is selected, add 12 bytes for time data.

*4 When the [Add Data Valid/Invalid Flag] in the [Mode] tab is selected, add the defined size (the underlined portion). Decimal places are truncated.

The total size for the data portion is 2 bytes x Number of Rows. The relationship between the Data type and the number of rows used is as follows.

Data Type

Number of Rows Used

Bit, Word 8 Bit, Word 16 Bit

Row 1

Word 32 Bit, TIME, DATE, TIME_OF_DAY

Row 2

Text

1 Rung for 2 characters

DATE_AND_TIME

4 Rungs

Example Calculation - if [Enable multiple data types] is defined

Setting

Description

Number of Groups

1

Total (Number of Data)

7

 

Bit

#:1

1 rows

Word 16 Bit

#:1

1 rows

Word 32 Bit

#:1

2 rows

Text (16-bit device)

Number of characters: 5

3 rows

Occurrences

100

Blocks

1

Overwrite old data after finishing the specified cycles

ON

Add Time Data

ON

Add Data Valid/Invalid Flag

ON

(4 + 4 x Number of Groups) + 20 + Number of Blocks x (Occurrences + 1) x {(2 x Number of Data + Adjustment Value) + 12 + (Number of Data + 31) / 32 x 4}

(4+4x1)+20+1x(100+1)x{(2x7+2)+12+(7+31)/32x4} = 3260 bytes

Indication of the number of sampling data you can save

The save area size differs depending on the display unit model. On models with 320 KB backup memory (SRAM), you can save a maximum 163,244 units of data for all sampling groups when you use both backup memory (SRAM) and working memory.

However, when backup memory (SRAM) is used for other features, the capacity for sampling data decreases.

Estimate when you use a display unit with 320 KB of SRAM (using only data sampling)

Condition

Backup Memory (SRAM)

Working Memory

Word data only

Up to 81,332

Up to 81,912

Word data + Time data

Up to 20,332

Up to 20,476

Word data + Data Valid/Invalid Flag

Up to 40,664

Up to 40,954

Word data + Time data + Data Valid/Invalid Flag

Up to 16,264

Up to 16,380