Programming Instructions

Modbus communication register Page 35/40
Communication programming instructions
Relays
46301
58 relay_PO1 r
STRUCT
PO1 relay states and value
46401
58 relay_FO1 r
STRUCT
FO1 relay states and value
46501
58 relay_FO2 r
STRUCT
FO2 relay states and value
46601
58 relay_FO3 r
STRUCT
FO3 relay states and value
46701
58 relay_FO4 r
STRUCT
FO4 relay states and value
46801
58 relay_RO1 r
STRUCT
RO1 relay states and value
4…20mA Outputs
47801
18 iout_AO1 r
STRUCT
States and value of the output 4…20mA AO1
47826
18 iout_AO2 r
STRUCT
States and value of the output 4…20mA AO2
(1) : It isn’t possible to set a High alarm lower than a Low alarm and vice versa.
(2) : To disable a low or high alarm you must send a NaN.
2) Data formatting
BOOL
“bool” uses 1 register and can have two values 0 or 1.
Example:
Register 41041 is the state of the PO1relay.
REG(41041) = 0: open relay
REG(41041) = 1: close relay
REAL
“real” uses 2 registers and allows coding of floating-point values on 32bits.
Example:
Register 41303 is the measurement value of channel E03, the unit of this value is the unit selected in the
measurement menu of the device.
For a measurement value of 1.94ppm, the hexadecimal encoding is 0x3FF851EC.
REG(41303) = 0x51EC
REG(41303) = 0x3FF8
WORD
“word” uses 1 register to encode a 16bit integer or a bit field.
Example (bits):
Register 41101 contains the device status indicators.
REG(41101) = b0000000000000101
REG(41101)(bit00) = 1: the device is running
REG(41101)(bit01) = 0: the timer is not running
REG(41101)(bit02) = 1: regulation and alarms of a least one measurement channel is being started
REG(41101)(bit03) = 0: there is no active timer
REG(41101)(bit04) - (bit15) = 0: not used
DWORD
“dword” uses 2 registers and allow to code a 32-bit integer or bit field.
Example:
Register 41092 contains the local time of the device, this time corresponds to the number of seconds since
January 1, 1970.
April 27, 2015 at 3h35min19sec corresponds to 1430141719 seconds since the reference date, the
hexadecimal value is 0x553E3B17.