Hamilton Electronics EPHUM011 Stud Sensor User Manual


 
pH ARC Sensors Modbus RTU Programmers Manual (EPHUM011)
624300/01 page 23 / 67
2.5.3.3 Reading the measurement value of PMC6
Register 2410 is also used to read the measurement values of PMC6.
Start
reg.
Num-
ber of
reg.
Reg1 /
Reg2
Reg3 /
Reg4
Reg5 /
Reg6
Reg7 /
Reg8
Reg9 /
Reg10
Modbus
function
code
Read
access
Write
access
2410 10 Selected
physical
unit
Measure
-ment
value of
PMC6
(1)
Measure
-ment
status
(2)
Min
allowed
value
(1)
Max
allowed
value
(1)
3, 4 U/A/S none
Figure 2.5.3.3.1: Definition of register 2410. Measurement value of PMC6.
(1)
Value is always in the physical unit defined in register 2410.
(2)
For definition of the status see chapter 2.5.4. All bits set to zero means: no problem.
Command: PMC6 read
Modbus address: 2410 Length: 10 Type: 3
Read
Parameter: Unit Value Status Min limit Max limit
Format: Hex Float Hex Float Float
Value:
0x04 24.35834 0x00 -20 130
Figure 2.5.3.3.2: Example to read register 2410. Physical unit is set to °C (0x04), PMC6 is 24.35834
°C, Status is 0x00, Min allowed value is -20 °C, Max allowed value is 130 °C.
For definition of the measurement status see chapter 2.5.4.
Attention:
You cannot read selectively the registers 3 and 4 for the measurement value only. You have to read the
entire length of the command (10 registers) and extract the desired information.
2.5.3.4 Input of an Externally Measured Temperature
Unlike to the VISIFERM DO, this feature is not available for pH ARC Sensors.
2.5.4 Definition of the Measurement Status for PMC1 / PMC6
This is the definition of the status registers read in registers 2090 (PMC1) and 2410 (PMC6):
Bit # Hex code Description
0 (LSB) 0x01 Temperature out of measurement range (see chapter 2.8.1)
1 0x02 Temperature out of operating range (see chapter 2.8.1)
2 0x04 Calibration status not zero (see chapter 2.7.4)
3 0x08 Warning not zero (see chapter 2.8.3)
4 0x10 Error not zero (see chapter 2.8.4)
Figure 2.5.4.1: Definition of measurement status for Primary Measurement Channels.