EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R-R6SFM - Page 140

Mitsubishi Electric MELSEC iQ-R-R6SFM
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
138
6 RAS FUNCTIONS
6.4 Event History Function
File size
The size for event history files can be changed in event history setting (Page 136 Event history setting). If the storage size
exceeds the specified size, records are deleted in order from the oldest one and the latest one is stored. An event history file
size is obtained from the following calculation formula.
Event history file size = File header size + Event history management information size + (Number of records Size per event
history record)
*1 Because the contents of detailed information may differ depending on the event to be saved or the detailed information may include a
variable-length file name, the size per event history record is variable.
The number of events to be saved in the event history file differs depending on the event type to be saved. When the event
history file size is 128K bytes (default), 1365 events can be registered if programs (whose program name is 8 characters (12
characters including a period and extension)) are written to the CPU module using the engineering tool.
[Calculation formula]
128 bytes 1024 = 131072 bytes
131072 bytes - (20 bytes + 12 bytes) = 131040 bytes
131040 bytes 96 bytes = 1365 events
Ex.
The table below shows the size of each element when 100 programs (whose program name is 8 characters (12 characters
including a period and extension)) are written to the CPU module by the following operating procedure.
Operating procedure
1. Turn on the power in the STOP state.
2. Write the system parameter, CPU parameter, module parameter, and 100 programs (whose program name is 8
characters (12 characters including a period and extension)) to the CPU module using the engineering tool.
3. Switch the CPU module to the RUN state.
*1 The size will be 56 bytes for the process CPU with firmware version "06" or later.
Element Size
File header size 20 bytes
Event history management information size 12 bytes
Size per event history record 40 bytes minimum
*1
Element Size (byte)
File header 20
Event history management information 12
Event to be saved Power-on and reset 40
*1
Operating status change (STOP) 40
Writing files/folders (SYSTEM.PRM) 96
Writing files/folders (CPU.PRM) 88
Writing files/folders (UNIT.PRM) 88
Writing files/folders (MAIN_001.PRG to MAIN_100.PRG) 9600
Operating status change (RUN) 40
Total 10024

Table of Contents

Related product manuals