ARS – Archive store value

Block SymbolLicensing group: STANDARD
PIC

Function Description
The block allow to store value into archive subsystem. Written value must be connected to the u input. Value could be simple like bool, int or float, string or matrix/vector. Type of value must be set by the type parameter. The the parameter codetype=13:Reference must be set for vector or matrix. There is one archive item for each column of the matrix. Data are stored only if the input RUN=on is set. The parameter subtype allow write alarm type that write other alarm blocks (for example L->H for bool alarm, HiHi for numeric alarm). the value of this parameter is in range 0 to 7 and is not used in vector/matrix items. This parameter is usualy not needed.

Inputs

u

Value to store into archive

Unknown

RUN

Enable execution

Bool

Parameters

type

Type of all trend buffers  12

Byte (U8)

1 ....

Bool

2 ....

Byte (U8)

3 ....

Short (I16)

4 ....

Long (I32)

5 ....

Word (U16)

6 ....

DWord (U32)

7 ....

Float (F32)

8 ....

Double (F64)

9 ....

Time

10 ...

Large (I64)

11 ...

Error

12 ...

String

13 ...

Reference

arc

List of archives to write the events to

Word (U16)

id

Unique archive item ID  1

Word (U16)

lvl

Alarm level  1

Word (U16)

Desc

Event description string  Value Description

String

subtype

alarm subtype (for special ussage only)

Output

iE

Error code

Error

2020 © REX Controls s.r.o., www.rexygen.com