beautypg.com

Hamilton Electronics EPHUM011 User Manual

Page 16

background image

pH ARC Sensors Modbus RTU Programmer

s Manual (EPHUM011)

624300/01

page 16 / 67

2.4.5.8

Defining the Error and Warning Output of the 4-20 mA Interface

Errors and warnings can be mapped to the AO1 / AO2.

Start
register

Number of
registers

Reg1 /
Reg2

Reg3 /
Reg4

Reg5 /
Reg6

Reg7 /
Reg8

Modbus
function
code

Read
access

Write
access

4386

8

Code of
warnings
and errors
(see Figure
2.4.4.8.2)
for AO1

Current
in case of

warning

[mA]
for AO1

Current
in case of

error

[mA]
for AO1

Current in
case of

T exceed

[mA]
for AO1

3, 4, 16

U/A/S

S

4514

8

Code of
warnings
and errors
(see Figure
2.4.4.8.2)
for AO2

Current
in case of

warning

[mA]
for AO2

Current
in case of

error

[mA]
for AO2

Current in
case of

T exceed

[mA]
for AO2

3, 4, 16

U/A/S

S

Figure 2.4.5.8.1: Definition of register 4386 / 4514.

Bit #

Code (hex)

Behaviour of the 4-20 mA interface in case of errors and warnings

0 (LSB)

0x000001

Error continuous output
not available

16

0x010000

Warning continuous output
not available

Figure 2.4.5.8.2: Code for the 4-20 mA interface in case of errors and warnings.

If the corresponding bits for the errors and warnings are not set (=0x00), the respective options are
inactive.

The default settings are:

 Code 0x01

 current in case of warnings:

3.5 mA

 current in case of errors:

3.5 mA

 current in case of temperature exceed: 3.5 mA

Command: ErrorWarnings AO1

Modbus address:

4386

Length:

8

Type:

3

Read

Parameter:

Warning code

Current in case of
warning
[mA]

Current in case of
error
[mA]

Current in case of
temperature exceed
[mA]

Format:

Hex

Float

Float

Float

Value:

0x010001

3.5

3.5

3.5

Figure 2.4.5.8.4: Example: Read the settings for AO1 in case of warnings and errors. Warning code

0x010001 corresponds to the continuous output current in case of warning (0x010000) and
continuous output current in case of error (0x01) of 3.5 mA. The output current in case of
temperature exceed is 3.5 mA.