Register value
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