beautypg.com

Hamilton Electronics EPHUM011 User Manual

Page 45

background image

pH ARC Sensors Modbus RTU Programmer

s Manual (EPHUM011)

624300/01

page 45 / 67

Command: Calibration status CP1

Modbus address:

5158

Length:

6

Type:

3

Read

Parameter:

Status

Unit

Value

Format:

Hex

Hex

Float

Value:

0x00000080

0x00001000

4.01

Figure 2.7.4.1.3: Example to read the calibration status of CP1 after calibration CP1 at 0 = auto. The

status message is:

CP1 pH reading during calibration is not stable

”(0x00000080). The physical

unit of the last successful calibration is pH (0x00001000) and the last successful calibration has
been performed at pH 4.01.

Command: Calibration status CP2

Modbus address:

5190

Length:

6

Type:

3

Read

Parameter:

Status

Unit

Value

Format:

Hex

Hex

Float

Value:

0x00000080

0x00001000

7

Figure 2.7.4.1.4: Example to read the calibration status of CP2 after calibrating CP2 at 0 = auto. All bits

of CP2 are zero (0x0000

0080), indicating that the calibration was successful. The physical unit of

the last calibration is pH (0x00001000) and the last successful calibration has been performed at
pH 7.

Command: Calibration status CP2

Modbus address:

5190

Length:

6

Type:

3

Read

Parameter:

Status

Unit

Value

Format:

Hex

Hex

Float

Value:

0x00000180

0x00001000

7

Figure 2.7.4.1.5: Example to read the calibration status of CP2 after attempt to calibrate CP2 at pH

4.01, which is the same as CP1. The value is 0x00000180 = 0x00000080 + 0x00000100. Shown
is still 0x000000

80 of CP1 and new 0x00000100 of CP2, which says: “

CP2 space to CP1 < pH

1.0

.

2.7.4.2

Reading the Calibration Status of CP6 (Product Calibration)

The calibration status and the current state of the product calibration process (CP6) is read in the
calibration status register for CP6 (register 5318).

Start
register

Number of
registers

Reg1 / Reg2

Reg3 / Reg4

Reg5 / Reg6

Modbus
function
code

Read
access

Write
access

5318

6

Status CP6
(see figure
2.7.4.1.1)

Physical unit of
the last
successful
calibration CP6
(always pH)

pH value of the
last successful
calibration CP6

3, 4

U/A/S

none

Figure 2.7.4.2.1: Definition of register 5318 for CP6. For examples, see following chapters.