Hamilton Electronics EPHUM011 manual Definition of the commands for product calibration

Page 41

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

The different functionalities of product calibration (CP6) are accessible through the following sensor commands:

Initial measurement

Assignment

Cancel

Restore standard calibration

Restore product calibration

All commands are executed by writing a command value to the register 5340 except for assignment where the calibration value is written to register 5322 (see below).

Definition of the commands for product calibration

 

 

 

 

The commands for register 5340 are defined as follows:

 

 

 

 

Code Hex

 

Definition of commands

 

 

 

 

0x01

 

Perform initial measurement

 

 

 

 

0x02

 

Cancel an active product calibration

 

 

 

 

0x03

 

Restore a standard calibration from an active product calibration

 

 

 

0x04

 

Restore a product calibration from an active standard calibration

 

 

 

Figure 2.7.3.2.2:

Definition of the commands related to the product calibration

 

 

 

 

 

 

 

 

 

 

Start

 

Number of

Reg1 / Reg2

Modbus

Read

Write

register

 

registers

 

function code

access

access

5340

 

2

 

Code as defined in Figure 2.7.3.2.2

3, 4, 16

A/S

A/S

Figure 2.7.3.2.3: Definition of register 5340

2.7.3.2.1Product calibration: Initial measurement

Upon process sample collection for laboratory analysis the command for initial measurement is sent to the sensor.

This is achieved by writing the command 0x01 to register 5340 which performs the initial measurement and stores the corresponding measurement values in the sensor.

Command: CP6: Initial measurement

Modbus address: 5340

Length: 2

Type: 16

Write

Parameter:

Command

 

 

 

 

 

 

Format:

Hex

 

 

 

 

 

 

Value:

0x01

 

 

 

 

 

 

Figure 2.7.3.2.1.1: Example to start the product calibration procedure. Writing the command code 0x01 (initial measurement) to the CP6 command register 5340.

After successful initial measurement the corresponding calibration status (register 5318, figure 2.7.4.2.1) is “CP6 initial measurement”(0x08000000) (see figure 2.7.4.1.1).

The sensor continues measuring using the prior standard calibration.

624300/01

page 41 / 67

Image 41
Contents PH ARC Sensors Important Notice Configuration of the Analog Interfaces Configuration of the Serial RS485 InterfaceConfiguration of the Measurement Sensor Identification and InformationEPHUM011 IntroductionVisiferm do Modbus RTU Programmer’s Manualp/n 624179/01 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 LimitsReading the Baud Rate Limits Baud RateReading and Writing the Baud Rate 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 #20x01 Configuration of the 4-20 mA Interface0x21 PH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011 Defining the Measurement Values for 4, 12 and 20 mA Output Reading the Selected Physical Unit for Analog Interface0x001000 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 0x2010000x200000 175.9922 0x00 954.6541 Reading the measurement value of PMC10x1000 02503 0x00 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 Selecting the Physical Unit and Writing the Value for PA12 3 PA12 Moving Average RDescription of PA12 Moving Average R 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 StatusReading the Calibration Status of CP6 Product Calibration 0x00000080 0x000010000x00000180 0x00001000 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 CountersDefinition of Warnings Currently Active WarningsHistory of Warnings History of Errors ErrorsCurrently Active Errors Definition of Errors CIP Reading Definition of SIP and CIPSIP 120 130 Reading the Sensor’s Quality IndicatorGeneral Information Sensor Identification and InformationSensor Identification EPHFI010Freeuserspace Free User Memory Space0001001 Recall Sensor’s Factory Settings System CommandsHello World 732255PH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011