Hamilton Electronics EPHUM011 manual Reading the measurement value of PMC1, 0x1000 02503 0x00

Page 21

pH ARC Sensors Modbus RTU Programmer’s Manual (EPHUM011)

2.5.2.3Reading the measurement value of PMC1

Register 2090 is also used to read the measurement values of PMC1.

Start

Num-

Reg1 /

Reg3 /

Reg5 /

Reg7 /

Reg9 /

Modbus

Read

Write

reg.

ber of

Reg2

Reg4

Reg6

Reg8

Reg10

function

access

access

 

reg.

 

 

 

 

 

code

 

 

2090

10

Selected

Measure

Measure

Min

Max

3, 4

U/A/S

none

 

 

physical

-ment

-ment

allowed

allowed

 

 

 

 

 

unit

value of

status (2)

value (1)

value (1)

 

 

 

 

 

 

PMC1 (1)

 

 

 

 

 

 

Figure 2.5.2.3.1: Definition of register 2090. Measurement value of PMC1.

(1)Value is always in the physical unit defined in register 2090.

(2)Definition of the status see chapter 2.5.4. All bits set to zero means: no problem.

Command: PMC1 read

 

Modbus address: 2090

Length: 10

Type: 3

Read

Parameter:

Unit

Value

 

Status

Min limit

 

Max limit

 

Format:

Hex

Float

 

Hex

Float

 

Float

 

Value:

0x1000

4.02503

 

0x00

0

 

14

 

Figure 2.5.2.3.2: Example to read register 2090. Physical unit is set to pH (0x1000), PMC1 is pH 4.02503, Status is 0x00, Min allowed value is pH 0, Max allowed value is pH 14.

Command: PMC1 read

 

Modbus address: 2090

Length: 10

Type: 3

Read

Parameter:

Unit

Value

 

Status

Min limit

 

Max limit

 

Format:

Hex

Float

 

Hex

Float

 

Float

 

Value:

0x200000

175.9922

 

0x00

0

 

954.6541

 

Figure 2.5.2.3.3: Example to read register 2090. Physical unit is set to mV (0x200000), PMC1 is 175.9922 mV, Status is 0x00, Min allowed value is -414.0028 mV, Max allowed value is 414.0028 mV.

For the 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.

624300/01

page 21 / 67

Image 21
Contents PH ARC Sensors Important Notice Configuration of the Analog Interfaces Configuration of the Serial RS485 InterfaceConfiguration of the Measurement Sensor Identification and InformationIntroduction Visiferm do Modbus RTU Programmer’s Manualp/n 624179/01EPHUM011 Reading / Setting Operator Level Operator levels and PasswordsGeneral 0x030x30 Changing Passwords for Operator Level0x0C 18111978 0x0B 18111978Device Address Configuration of the serial RS485 InterfaceReading and Writing the Device Address Reading the Device Address LimitsBaud Rate Reading and Writing the Baud RateReading the Baud Rate Limits Available Analog Interfaces Configuration of the Analog InterfacesAvailable Analog Interface Modes 0x07Description of the Analog Interfaces 1 Selection of an Analog Interface ModeMA interface #1 MA interface #2Configuration of the 4-20 mA Interface 0x210x01 PH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011 Reading the Selected Physical Unit for Analog Interface 0x001000Defining the Measurement Values for 4, 12 and 20 mA Output PH ARC sensor 4-20mA inte rface linear Defining a Constant Current Output for Testing 0x010001 99186 99742 Reading the Internally Measured Output CurrentDefinition of Measurement Channels and Physical Units MeasurementSpecial Description of PMC1 Primary Measurement Channel 1 pHSelecting the Physical Unit for PMC1 0x201000Reading the measurement value of PMC1 0x1000 02503 0x000x200000 175.9922 0x00 954.6541 Description of PMC6 Primary Measurement Channel 6 TemperatureSelecting the Physical Unit for PMC6 0x06Definition of the Measurement Status for PMC1 / PMC6 Input of an Externally Measured TemperatureReading the measurement value of PMC6 0x04 24.35834 0x00 130Description of SMC Secondary Measurement Channels0x8000 247.56 Reading the measurement value of SMCAvailable Parameters Configuration of the MeasurementEffect of Moving Average n=1 vs n=16 2 PA9 Moving AverageSelecting the Physical Unit and Writing the Value for PA9 Description of PA9 Moving AverageReading all Values for PA9 3 PA12 Moving Average R Description of PA12 Moving Average RSelecting the Physical Unit and Writing the Value for PA12 Reading all Values for PA12 Available Calibration Points CalibrationCalibration Points 1 and 2 Standard Calibration Definitions of Calibration PointsCP1 CP2CP6 Calibration Point 6 Product CalibrationCalibration at CP1 and CP2 Standard Calibration Calibration ProcedurePH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011 Choose one of the calibration points CP1 or CP2 0x00000000 0x00001000 Calibration at CP6 Product Calibration 100200 Product calibration Initial measurement Definition of the commands for product calibrationProduct calibration Assignment Product calibration CancelProduct calibration Restore product calibration Product calibration Restore standard calibrationReading the Calibration Status of CP1 and CP2 Reading the Calibration Status0x00000080 0x00001000 0x00000180 0x00001000Reading the Calibration Status of CP6 Product Calibration 0x08000000 0x00001000 0x01000000 0x000010000x0A000000 0x00001000 0x14000000 0x000010000x10000000 0x00001000 0x00000004 24.35184 23.78 Currently active Calibration Parameters part0x00000004 24.37691 16.45 0x00000004 29.93368 379.5167006804 099747 296.6901 003401 179.927 297.137810469 298.3302 607782 59.47631 298.15Special Commands for Calibration with Visical Available Sets of Calibration Standards Calibration StandardsLSB 0x00000001 Set 0x0000003F180 Definitions for Individual Sets of Calibration Standards0x0FFF0FFF 0x05540FFF 0x02480FFFNist Standard DINMettler Toledo Radiometer Sensor Status Temperature Ranges168.3667 Operating Hours and CountersCurrently Active Warnings History of WarningsDefinition of Warnings Errors Currently Active ErrorsHistory of Errors Definition of Errors Reading Definition of SIP and CIP SIPCIP 120 130 Reading the Sensor’s Quality IndicatorGeneral Information Sensor Identification and InformationSensor Identification EPHFI010Free User Memory Space 0001001Freeuserspace Recall Sensor’s Factory Settings System CommandsHello World 732255PH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011