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

Register value

Return the current value of a register.

r( deviceno, registerno )#

Return the current value of a register.

Description#

r( deviceno, registerno )

This function returns the current value of a given register.

Parameters#

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

Return value#

Returns the current value of the register.

Example usage#

r(3,14)

Returns the value of register 14 on device 3.

Last updated Apr 17, 2026