Hamilton Electronics EPHUM011 System Commands, Recall Sensor’s Factory Settings, Hello World

Page 66

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

Command: Info user

Modbus address: 1568

Length: 8

Type: 16

Write

Parameter:

Text

 

 

 

 

 

Format:

Character

 

 

 

 

 

Value:

Hello World

 

 

 

 

 

Figure 2.9.3.2:

Example to write 16

ASCII characters to register 1568 with operator A or S.

 

 

 

 

 

 

Command: Info user

Modbus address: 1568

Length: 8

Type: 3

Read

Parameter:

Text

 

 

 

 

 

Format:

Character

 

 

 

 

 

Value:

Hello World

 

 

 

 

 

Figure 2.9.3.3: Example to read the register 1568 (written in figure 2.9.1.6).

2.10 System Commands

2.10.1 Recall Sensor’s Factory Settings

Using register 8192 you can recall the sensor manufacturer values (interfaces, calibration data and passwords), except the SIP and CIP data which remain unchanged. By sending the recall value “732255”, all configuration values will be set to default.

Start

 

Number of

Reg1 / Reg2

Modbus

 

Read

Write

 

register

 

registers

 

 

 

function code

 

access

access

 

8192

 

2

 

Recall by value 732255

16

 

 

none

S

 

Figure 2.10.1.1: Definition of register 8192.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command: Recall

 

Modbus address: 8192

Length: 2

 

Type: 16

Write

 

Parameter:

 

Recall

 

 

 

 

 

 

 

 

 

Format:

 

Decimal

 

 

 

 

 

 

 

 

 

Value:

 

732255

 

 

 

 

 

 

 

 

 

Figure 2.10.1.2: Example to write the restore command.

3

Abbreviations

AO

Analog Output Interface

CP

Calibration Point

ECS

Electrochemical Sensor Interface

PMC

Primary Measurement Channel

SMC

Secondary Measurement Channel

624300/01

page 66 / 67

Image 66
Contents PH ARC Sensors Important Notice Configuration of the Measurement Configuration of the Serial RS485 InterfaceConfiguration of the Analog Interfaces Sensor Identification and InformationIntroduction Visiferm do Modbus RTU Programmer’s Manualp/n 624179/01EPHUM011 General Operator levels and PasswordsReading / Setting Operator Level 0x030x0C 18111978 Changing Passwords for Operator Level0x30 0x0B 18111978Reading and Writing the Device Address Configuration of the serial RS485 InterfaceDevice Address Reading the Device Address LimitsBaud Rate Reading and Writing the Baud RateReading the Baud Rate Limits Available Analog Interface Modes Configuration of the Analog InterfacesAvailable Analog Interfaces 0x07MA interface #1 Selection of an Analog Interface ModeDescription of the Analog Interfaces 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 Reading the Internally Measured Output Current 99186 99742Measurement Definition of Measurement Channels and Physical UnitsSpecial Selecting the Physical Unit for PMC1 Primary Measurement Channel 1 pHDescription of PMC1 0x201000Reading the measurement value of PMC1 0x1000 02503 0x000x200000 175.9922 0x00 954.6541 Selecting the Physical Unit for PMC6 Primary Measurement Channel 6 TemperatureDescription of PMC6 0x06Reading the measurement value of PMC6 Input of an Externally Measured TemperatureDefinition of the Measurement Status for PMC1 / PMC6 0x04 24.35834 0x00 130Secondary Measurement Channels Description of SMCReading the measurement value of SMC 0x8000 247.56Configuration of the Measurement Available Parameters2 PA9 Moving Average Effect of Moving Average n=1 vs n=16Description of PA9 Moving Average Selecting the Physical Unit and Writing the Value for PA9Reading 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 Calibration Available Calibration PointsCP1 Definitions of Calibration PointsCalibration Points 1 and 2 Standard Calibration CP2Calibration Point 6 Product Calibration CP6Calibration Procedure Calibration at CP1 and CP2 Standard CalibrationPH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011 Choose one of the calibration points CP1 or CP2 0x00000000 0x00001000 100 Calibration at CP6 Product Calibration200 Definition of the commands for product calibration Product calibration Initial measurementProduct calibration Cancel Product calibration AssignmentProduct calibration Restore standard calibration Product calibration Restore product calibrationReading the Calibration Status Reading the Calibration Status of CP1 and CP20x00000080 0x00001000 0x00000180 0x00001000Reading the Calibration Status of CP6 Product Calibration 0x0A000000 0x00001000 0x01000000 0x000010000x08000000 0x00001000 0x14000000 0x000010000x10000000 0x00001000 0x00000004 24.37691 16.45 Currently active Calibration Parameters part0x00000004 24.35184 23.78 0x00000004 29.93368 379.516710469 298.3302 003401 179.927 297.1378006804 099747 296.6901 607782 59.47631 298.15Special Commands for Calibration with Visical LSB 0x00000001 Set Calibration StandardsAvailable Sets of Calibration Standards 0x0000003FDefinitions for Individual Sets of Calibration Standards 1800x0FFF0FFF 0x02480FFF 0x05540FFFDIN Nist StandardMettler Toledo Radiometer Temperature Ranges Sensor StatusOperating Hours and Counters 168.3667Currently Active Warnings History of WarningsDefinition of Warnings Errors Currently Active ErrorsHistory of Errors Definition of Errors Reading Definition of SIP and CIP SIPCIP Reading the Sensor’s Quality Indicator 120 130Sensor Identification Sensor Identification and InformationGeneral Information EPHFI010Free User Memory Space 0001001Freeuserspace Hello World System CommandsRecall Sensor’s Factory Settings 732255PH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011