24.11.1.1 Usage Capacity of Sampled Data

Sampling data backup SRAM (or DRAM) usage capacity differs depending on the Number of Sampling Groups, Data Length, Number of Data (Addresses) and the contents of the action settings.

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

Calculation

20 + Blocks x Cycles*2 x [(Number of Data + 31)/32 x 4*3 + 2*5 x Number of Data*1 + 12*4]

*1 When the Number of Data is an odd number, this value becomes [Data Items] (the portion in bold)+1.

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

*3 When [Add Data Valid/Invalid Flag] is selected in the action settings, this portion size (the underlined portion) is added.

*4 When [Add Time Data] is designated in the 4 action settings, 12 bytes will be added to each sample as time data.

*5 2 bytes when the data length is 16 bit, 4 bytes when the data length is 32 bit.

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

Calculation Examples

Setting

Description

Number of Groups

1

Data Type

16 Bit

Blocks

1

Occurrences

100

Number of Data (Addresses)

7

(4 + 4 x Number of Groups) + [20 + Blocks x Cycles x {(Number of Data + 31)/32 x 4 + 2 x (Number of Data + 1)}]

(4+4×1)+[20+1×100×{(7+31)÷32×4+2×(7+1)}]
= 2103 bytes

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

(4+4×1)+[20+1×(100+1)×{(7+31)÷32×4+2×(7+1)+12}]
= 3260 bytes

Indication of the number of sampling data you can save

The storage size of backup SRAM is the maximum of approximately 320 KB, depending on the type of display unit. The maximum capacity of temporary storage (DRAM) is 320 KB. The maximum number of samples for the entire sampling group is 163,244.

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

Condition

Backup SRAM

(Used for Sampling Only)

DRAM

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 + 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