ARC – The REXYGEN system archive
Block SymbolLicensing group: STANDARD
Function Description
The ARC block is intended for archives configuration in the REXYGEN control system. The
archives can be used for continuous recording of alarms, events and history trends
directly on the target platform. The output Archives of the EXEC block
must be connected to the prev input of the first archive. The following archives
can be added by connecting the input prev with the preceding archive’s output
next. Only one archive block can be connected to each next output, the output of
the last archive remains unconnected. The resulting archives sequence determines
the order of allocation and initialization of individual archives in the REXYGEN
system and also the index of the archive, which is used in the arc parameter of
the archiving blocks (see chapter 10). The archives are numbered from 1 and the
maximum number of archives is limited to 15 (archive no. 0 is the internal system
log).
The atype parameter determines the type of archive from the data-available-after-restarting point of view. The admissible types depend on the target platform properties, which can be inspected in the Diagnostics section of the REXYGEN Studio program after successful connecting to the target device.
Archive consists of sequenced variable-length items (memory and disk space optimization) with a timestamp. Therefore the other parameters are the total archive size in bytes asize and maximum number of timestamps nmarks for speeding-up the sequential seeking in the archive.
The frequency of writing values to disk can be influenced by the period parameter. For devices using flash memory or SD cards as a disk, it is not suitable to write values too often, therefore it is appropriate to set this parameter to a value in the order of minutes. Furthermore, it is possible to select a suitable source of time stamps with the timesrc parameter.
Input
prev | Input for connecting with the next output of the preceding archive or with the Archives output of the EXEC block in the case of the first archive | Long (I32) |
Output
next | Output for creating sequences of archives by connecting to the prev input of the following archive | Long (I32) |
Parameters
atype | Archive type 1 | Long (I32) |
|
|
|
asize | Size of the archive in bytes 256 102400 | Long (I32) |
nmarks | Number of time stamps for speeding-up sequential seeking in the archive 2 720 | Long (I32) |
ldaymax | Maximum size of archive per day [bytes] 1000 2147480000 1048576 | Large (I64) |
period | Period of writing data to disk [s] 60.0 | Double (F64) |
timesrc | Source of timestamps 1 | Long (I32) |
|
|
|
[Previous] [Back to top] [Up] [Next]
2024 © REX Controls s.r.o., www.rexygen.com