Hamilton Electronics EPHUM011 Stud Sensor User Manual


 
pH ARC Sensors Modbus RTU Programmers Manual (EPHUM011)
624300/01 page 6 / 67
Command: Operator level
Modbus address: 4288 Length: 4 Type: 3
Read
Parameter: Operator level Password
Format: Hex decimal
Value:
0x30 0
Figure 2.2.1.4: Example to read the active operator level: the active level is 0x30 (Specialist). The
sensor does not report the password. The value 0 is returned instead.
Command: Operator level
Modbus address: 4288 Length: 4 Type: 16
Write
Parameter: Operator level Password
Format: Hex decimal
Value:
0x03 0
Figure 2.2.1.5: Example to set the operator level to 0x03 (User). The password 0 has to be sent.
Command: Operator level
Modbus address: 4288 Length: 4 Type: 16
Write
Parameter: Operator level Password
Format: Hex decimal
Value:
0x0C 18111978
Figure 2.2.1.6: Example to set the active operator level to 0xC (Administrator). The correct password
has to be sent.
Command: Operator level
Modbus address: 4288 Length: 4 Type: 16
Write
Parameter: Operator level Password
Format: Hex decimal
Value:
0x0B 18111978
Figure 2.2.1.7: Example for a Modbus error. If the level or the password is not correct, (Operator level =
0x0B), the sensor answers with a Modbus error message Slave device exception response
(see chapter 1.6).
2.2.2 Changing Passwords for Operator Level
The passwords for accessing the operator levels A and S can be modified by S (Specialist) only. U
(User) and A (Administrator) have no right to change any password. The new password will remain
stored after power down.
Start
register
Number of
registers
Reg1 / Reg2 Reg3 / Reg4 Modbus
function code
Read
access
Write
access
4292 4 Level New password 16 None S
Figure 2.2.2.1: Definition of register 4292.
Command: Password
Modbus address: 4292 Length: 4 Type: 16
Write
Parameter: Operator level Pass number
Format: Hex Decimal
Value:
0x30 12345678
Figure 2.2.2.2: Example to set the Password of operator level S (code 0x30) to 12345678.