App-1
IM 04L51B01-01EN
Appendix
App
Appendix 1 FileSizeofDisplayDataandEventData
This section explains how to calculate the file size of display data files and event data files.
The calculation examples are given for the display data only and event data only cases. If
you are recording both display and event data, calculate the data size of each and add them
together. Use the calculated file size as a rough guide.
The calculations discussed here apply to a GX/GP without the advanced security function
(/AS option) or a GX/GP whose advanced security function is disabled.
File Size
A file consists of the following data.
Information other than the sampled data + the sampled data + system information
The size of system information can range from 1 to 100 KB depending on how the system is
configured and other conditions.
The maximum size of a single display data file or event data file when there are no freehand
messages is 18 MB. If a file includes freehand messages, the size is in the range of 24 MB
to 50 MB.
The file size when there are freehand messages is a reference.
Size of Information Other Than the Sampled Data
Item Size(Bytes)
File format identification block 48
File information block 112
Event information block 304
Time zone information block 48
Alarm block 104 + 56 × the number of alarms (5000 max)
Message block 72 + 200 × the number of messages
Control information block 136 + 72 × number of loops + 40 × number of
program patterns
Control summary block 104 + 64 × number of control summaries
Control alarm summary block 104 + 64 × number of control alarm summaries
Batch information block 2360
Display information block 224
Group information block 24 + 264 × the number of groups
Channel information block 24 + 328 × the number of recording channels
Time change information block 280
Measurement data information block 96
Measurement data scan information block 40 + +16 × the number of recording channels
The number of recording channels is the total of all the channels that are recording.
Example1: When recording data for 30 I/O channels, 10 math channels, 50 communication
channels, and 10 group channels. Here we assume that there are no messages, alarms,
loops, program patterns, control summaries, or control alarms.
48 + 112 + 304 + 48 + 104 + 72 + 136 + 104 + 104 + 2360 + 224 + (24 + 264 × 10) + (24 +
328 × 90) + 280 + 96 + (40 + 16 × 90)
= 37,680 bytes
Sampled Data Size
• DataSizeofDisplayDataandEventData
Channel Display Data EventData
I/O channel 12 bytes/channel 6 bytes/channel
Math channel 12 bytes/channel 6 bytes/channel
Communication channel 12 bytes/channel 6 bytes/channel
Time data common to all channels is added for each sample.
Time data 16 bytes/sample
Appendix