Skip to content
ezeioDocs
  1. Reference
  2. Expressions
  3. Fields and registers

Register age

Return the age of a register.

ra( deviceno, registerno )#

Return the age of a register.

Description#

ra( deviceno, registerno )

This function returns the number of seconds passed since the register was updated.

Each time SetRegister is called, the age is reset to 0 - even if the value written to the register is the same.

Parameters#

deviceno Device number (1 - 40)
registerno Register number on the device (1 - 150)

Return value#

Returns the age of the register in seconds (up to 4095, 68 minutes and 15 seconds).

Example usage#

ra(3,14)

Returns the age of register 14 on device 3.

FIRST AVAILABLE IN FW VERSION 25020101

Last updated Apr 17, 2026