Hamilton Electronics EPHUM011 Reading and Writing the Baud Rate, Reading the Baud Rate Limits

Page 8

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

2.3.2Baud Rate

2.3.2.1Reading and Writing the Baud Rate

The baud rate can be read and written in register 4102.

Start

Number of

Reg1 / Reg2

Modbus

Read

Write

register

registers

 

function code

access

access

4102

2

Baud rate code

3, 4, 16

U/A/S

S

 

 

(definition see below)

 

 

 

Figure 2.3.2.1.1: Definition of register 4102.

 

 

 

The code for the baud rate is defined as follows:

Baud rate

4800

9600

19200

38400

57600

115200

Code

2

3

4

5

6

7

Figure 2.3.2.1.2: Code for the baud rates.

Command: Com baud rate

Modbus address: 4102

Length: 2

Type: 3

Read

Parameter:

Baud rate code

 

 

 

 

 

 

Format:

Decimal

 

 

 

 

 

 

Value:

4

 

 

 

 

 

 

Figure 2.3.2.1.3: Example to read the baud rate code, 4 corresponds 19200 baud.

The baud rate can be set by S (Specialist), default is 19200.

Command: Com baud rate

Modbus address: 4102

Length: 2

Type: 16

Write

Parameter:

Baud rate code

 

 

 

 

 

 

Format:

Decimal

 

 

 

 

 

 

Value:

5

 

 

 

 

 

 

Figure 2.3.2.1.4: Example to set the baud rate to 38400 baud with code 5.

2.3.2.2Reading the Baud Rate Limits

The baud rate limits can be read in register 4104.

Start

 

Number of

Reg1 / Reg2

Reg3 / Reg4

Modbus

Read

Write

 

register

 

registers

 

 

 

 

 

function code

access

access

 

4104

 

4

 

Min. Baud rate

Max. Baud rate

3, 4

 

U/A/S

none

 

 

 

 

 

code

 

 

code

 

 

 

 

 

Figure 2.3.2.2.1: Definition of register 4104.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Command: Com baud limits

 

Modbus address: 4104

Length: 4

 

Type: 3

Read

Parameter:

 

Min Baud rate code

Max Baud rate code

 

 

 

 

 

 

Format:

 

Decimal

 

Decimal

 

 

 

 

 

 

 

Value:

 

2

 

7

 

 

 

 

 

 

 

 

Figure 2.3.2.2.2: Example to read the baud rate code limits: Min = 2, Max = 7 (see Figure 2.3.2.1.2).

624300/01

page 8 / 67

Image 8
Contents PH ARC Sensors Important Notice Configuration of the Serial RS485 Interface Configuration of the Analog InterfacesConfiguration of the Measurement Sensor Identification and InformationEPHUM011 IntroductionVisiferm do Modbus RTU Programmer’s Manualp/n 624179/01 Operator levels and Passwords Reading / Setting Operator LevelGeneral 0x03Changing Passwords for Operator Level 0x300x0C 18111978 0x0B 18111978Configuration of the serial RS485 Interface Device AddressReading and Writing the Device Address Reading the Device Address LimitsReading the Baud Rate Limits Baud RateReading and Writing the Baud Rate Configuration of the Analog Interfaces Available Analog InterfacesAvailable Analog Interface Modes 0x07Selection of an Analog Interface Mode Description of the Analog Interfaces 1MA 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 Reading the Internally Measured Output Current 99186 99742Measurement Definition of Measurement Channels and Physical UnitsSpecial Primary Measurement Channel 1 pH Description of PMC1Selecting the Physical Unit for PMC1 0x2010000x200000 175.9922 0x00 954.6541 Reading the measurement value of PMC10x1000 02503 0x00 Primary Measurement Channel 6 Temperature Description of PMC6Selecting the Physical Unit for PMC6 0x06Input of an Externally Measured Temperature Definition of the Measurement Status for PMC1 / PMC6Reading the measurement value of 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 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 Calibration Available Calibration PointsDefinitions of Calibration Points Calibration Points 1 and 2 Standard CalibrationCP1 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 CP2Reading the Calibration Status of CP6 Product Calibration 0x00000080 0x000010000x00000180 0x00001000 0x01000000 0x00001000 0x08000000 0x000010000x0A000000 0x00001000 0x14000000 0x000010000x10000000 0x00001000 Currently active Calibration Parameters part 0x00000004 24.35184 23.780x00000004 24.37691 16.45 0x00000004 29.93368 379.5167003401 179.927 297.1378 006804 099747 296.690110469 298.3302 607782 59.47631 298.15Special Commands for Calibration with Visical Calibration Standards Available Sets of Calibration StandardsLSB 0x00000001 Set 0x0000003FDefinitions for Individual Sets of Calibration Standards 1800x0FFF0FFF 0x02480FFF 0x05540FFFDIN Nist StandardMettler Toledo Radiometer Temperature Ranges Sensor StatusOperating Hours and Counters 168.3667Definition of Warnings Currently Active WarningsHistory of Warnings History of Errors ErrorsCurrently Active Errors Definition of Errors CIP Reading Definition of SIP and CIPSIP Reading the Sensor’s Quality Indicator 120 130Sensor Identification and Information General InformationSensor Identification EPHFI010Freeuserspace Free User Memory Space0001001 System Commands Recall Sensor’s Factory SettingsHello World 732255PH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011