Hamilton Electronics EPHUM011 manual Configuration of the 4-20 mA Interface, 0x21, 0x01

Page 11
Code (Hex)
0x01

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

2.4.5 Configuration of the 4-20 mA Interface

Note:

The configuration of AO1 / AO2 is only effective if register 4360 / 4488 (active analog interface mode) is set to the value 0x01, 0x02 or 0x04.

2.4.5.1Reading the Available Primary Measurement Channels to be Mapped to the Analog Output

Start

Number of

Reg1 / Reg2

Modbus

Read

Write

register

registers

 

function code

access

access

4362

2

Available Primary Measurement Channels

3, 4

U/A/S

none

 

 

for AO1

 

 

 

4490

2

Available Primary Measurement Channels

3, 4

U/A/S

none

 

 

for AO2

 

 

 

Figure 2.4.5.1.1: Definition of register 4362 / 4490.

For the definition of the Primary Measurement Channels (PMC), see chapter 2.5.

Primary Measurement Channel (PMC)

PMC1 (pH)

not available

0x20 PMC6 (temperature)

Figure 2.4.5.1.2: Code for selection of the primary measurement channel.

Command: Available PMC AO1

Modbus address: 4362

Length: 2

Type: 3

Read

Parameter:

Available PMC 20 mA

 

 

 

 

 

 

Format:

hex

 

 

 

 

 

 

Value:

0x21

 

 

 

 

 

 

Figure 2.4.5.1.3: Example to read the available Primary Measurement Channels (PMC) for AO1. The hexadecimal value of “0x21”defines that PMC1 (pH) or PMC6 (temperature) can be mapped to AO1. Register 4490 contains the same value “0x21”. Accordingly, PMC1 or PMC6 can be mapped to AO2 as well.

2.4.5.2Selecting the Primary Measurement Channel to be Mapped to the Analog Interface

Start

Number of

Reg1 / Reg2

Modbus

Read

Write

register

registers

 

function code

access

access

4364

2

Selected PMC for AO1

3, 4, 16

U/A/S

S

4492

2

Selected PMC for AO2

3, 4, 16

U/A/S

S

Figure 2.4.5.2.1: Definition of register 4364 / 4492. Only one bit can be set.

Command: Active PMC AO1

Modbus address: 4364

Length: 2

Type: 3

Read

Parameter:

Current PMC 20mA

 

 

 

 

 

 

Format:

hex

 

 

 

 

 

 

Value:

0x01

 

 

 

 

 

 

Figure 2.4.5.2.2: Example to read the current primary measurement channel mapped to AO1, defined in register 4364. The value “0x01”is returned, saying that PMC1 is mapped to AO1 (factory setting).

The factory setting for register 4492 is “0x20”, mapping PMC6 to AO2.

624300/01

page 11 / 67

Image 11
Contents PH ARC Sensors Important Notice Sensor Identification and Information Configuration of the Serial RS485 InterfaceConfiguration of the Analog Interfaces Configuration of the MeasurementEPHUM011 IntroductionVisiferm do Modbus RTU Programmer’s Manualp/n 624179/01 0x03 Operator levels and PasswordsReading / Setting Operator Level General0x0B 18111978 Changing Passwords for Operator Level0x30 0x0C 18111978Reading the Device Address Limits Configuration of the serial RS485 InterfaceDevice Address Reading and Writing the Device AddressReading the Baud Rate Limits Baud RateReading and Writing the Baud Rate 0x07 Configuration of the Analog InterfacesAvailable Analog Interfaces Available Analog Interface ModesMA interface #2 Selection of an Analog Interface ModeDescription of the Analog Interfaces 1 MA interface #10x01 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 0x201000 Primary Measurement Channel 1 pHDescription of PMC1 Selecting the Physical Unit for PMC10x200000 175.9922 0x00 954.6541 Reading the measurement value of PMC10x1000 02503 0x00 0x06 Primary Measurement Channel 6 TemperatureDescription of PMC6 Selecting the Physical Unit for PMC60x04 24.35834 0x00 130 Input of an Externally Measured TemperatureDefinition of the Measurement Status for PMC1 / PMC6 Reading the measurement value of PMC6Description 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 CalibrationCP2 Definitions of Calibration PointsCalibration Points 1 and 2 Standard Calibration CP1CP6 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 0x14000000 0x00001000 0x01000000 0x000010000x08000000 0x00001000 0x0A000000 0x000010000x10000000 0x00001000 0x00000004 29.93368 379.5167 Currently active Calibration Parameters part0x00000004 24.35184 23.78 0x00000004 24.37691 16.45607782 59.47631 298.15 003401 179.927 297.1378006804 099747 296.6901 10469 298.3302Special Commands for Calibration with Visical 0x0000003F Calibration StandardsAvailable Sets of Calibration Standards LSB 0x00000001 Set180 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 IndicatorEPHFI010 Sensor Identification and InformationGeneral Information Sensor IdentificationFreeuserspace Free User Memory Space0001001 732255 System CommandsRecall Sensor’s Factory Settings Hello WorldPH ARC Sensors Modbus RTU Programmer’s Manual EPHUM011