Calculating the Size of Data to Save

You can check the size of each piece of data that is stored in backup memory (SRAM) or external storage from the system settings editing screen.

For calculating the size of each data, see the following.

Note: The save destination for variable values (retentive variables) is limited to backup memory (SRAM).

Alarm

(Unit: Bytes)

42000 + [(Maximum Records*1) x 24.5] + [(Number of active alarms in all alarm groups) x 45]

 

*1 Set at [Max Records] in the Alarm property

Data Logging

(Unit: Bytes)

1626 + (Sum of data sizes of each data logging group)

How to calculate a data size of a data logging group

A: Sum of sizes of each variable in a data logging group

B: (Maximum Records*1) x (A + 14)

C: 1446 + [(Number of variables) x 342] + B

 

*1 Set at [Max Records] in the Data Logging property

Operation Log

(Unit: Bytes)

8192 + [(SRAM Records*1) x 343]

 

*1 Set in the Operation Log property

Variable Values (Retentive Variables)

(Unit: Bytes)

8192 + (Total data size of variables with [Retentive] enabled)

 

Variable Type Size (Bytes)
BOOL 18
BYTE 22
WORD 26
DWORD 36
LWORD 56
SINT 24
USINT 22
INT 28
UINT 26
DINT 38
UDINT 36
LINT 56
ULINT 56
REAL 64
LREAL 64
STRING 8 + 5 + [(String length) x 2]
TIME 38
TOD 36
TIME_OF_DAY 36
DATE 36
DT 36
DATE_AND_TIME 36