Hamilton Electronics EPHUM011 manual General, Operator levels and Passwords, 0x03

Page 5

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

2 pH ARC Sensor Commands in Modbus RTU

2.1General

In order to communicate with a pH ARC Sensor over Modbus RTU protocol a Modbus master terminal application software is needed. The Modbus RTU is an open standard and a number of free and commercial application toolkits are available.

This manual contains examples and illustrations from WinTECH Modbus Master ActiveX Control tool: WinTECH (www.win-tech.com) “Modbus Master OCX for Visual Basic”. The Modbus Organisation (www.modbus.org/tech.php) provides other links to a wide variety of Modbus terminal softwares.

In the present manual the addressing of the Modbus registers starts at 1. But the Modbus master protocol operates with register addresses starting at 0. Usually, the Modbus master software translates the addressing. Thus, the register address of 2090 will be translated by the Modbus master software to 2089 which is sent to the sensor (Modbus slave).

Attention:

When configuring and calibrating the sensor, please limit write operations to a reasonable number. More than 100’000 write operations will physically damage the memory of the sensor.

Furthermore, for the Free User Memory Space (see chapter 2.9.3), the write operations are limited to 10’000.

2.2Operator levels and Passwords

2.2.1 Reading / Setting Operator Level

A pH ARC Sensor can be operated in three different operator levels. Each operator level allows a defined access to a specific set of commands.

Abbreviation

 

Description

 

 

Code (hex)

Password (decimal)

 

 

 

 

 

U

 

 

User (lowest level)

 

 

0x03

0

 

 

 

 

 

 

 

A

 

 

Administrator

 

 

0x0C

18111978

 

 

 

 

 

 

S

 

 

Specialist

 

 

0x30

16021966

 

 

 

 

 

 

Figure 2.2.1.1:

Definition of operator level and default passwords

 

 

 

 

 

 

 

At each power up or processor reset, the operator level falls back to the default level U.

 

 

The active operator level can be read and written in register 4288.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Start

 

Number of

Reg1 / Reg2

 

Reg3 / Reg4

 

Modbus

 

Read

Write

 

register

 

registers

 

 

 

 

 

 

 

 

function code

 

access

access

 

4288

 

4

 

 

Operator Level

 

Password

 

3, 4, 16

 

 

U/A/S

U/A/S

 

Figure 2.2.1.2: Definition of register 4288.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command: Active operator level

 

Modbus address: 4288

Length: 4

 

Type: 3

Read

 

Parameter:

 

Operator level

 

 

Password

 

 

 

 

 

 

 

 

 

Format:

 

hex

 

decimal

 

 

 

 

 

 

 

 

 

Value:

 

0x03

 

0

 

 

 

 

 

 

 

 

 

 

 

 

Figure 2.2.1.3: Example to read the active operator level (function code 3, start register address 4288, number of registers 4): The active operator level is 0x03 (User). The sensor does not report the password. The value 0 is returned instead.

624300/01

page 5 / 67

Image 5
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