Appendix a modbus protocol, A.1 modbus troubleshooting, A.2 sc60 modbus registers – Hach-Lange SC 60 User Manual
Page 53

49
Appendix A Modbus Protocol
A.1 Modbus Troubleshooting
Problem
Possible Causes
Solution
No Modus Response
Baud rate, or stop bits does not
match settings of Modbus master
Verify sc60 settings match the Modbus master settings.
Verify Modbus master Parity setting is set to None.
Bad RS232 or RS485 cable
Replace/Repair cable
No or improper network biasing and
termination.
Check all network devices for termination or biasing
settings. Only the ends of the network should have
termination turned on and only one point on the
network should be providing biasing.
Slave Address incorrect or duplicate
address of another bus device.
Verify all addresses are unique and between
1 and 247.
Modbus Exception
Response
Register not supported
Verify register is supported
Data Type incorrect
Verify the requested register(s) Data Type matches the
Modbus Master Request e.g. do not access a Slave
Float value with a 2 byte Integer request. When
requesting a Float (2 registers/4 bytes), both registers
must be requested at the same time.
A.2 sc60 Modbus Registers
Group Name
Tag Name
Register #
Data
Type
Length
R/W
Description
Measurements
Calculated
Value
40001
Float
2
R
Value calculated from two sensor
measurements
Setup
Language
40003
Unsigned
Integer
1
R/W
Current System Language
Setup
Date Format
40004
Unsigned
Integer
1
R/W
Current Data Display Format
(0 = DD/MM/YY; 1 = MM/DD/YY;
2 = DD-MM-YY; 3 = MM-DD-YY)
Setup
Error Hold
Mode
40005
Unsigned
Integer
1
R/W
Error Mode Hold State (0 = Hold outputs;
1 = Transfer outputs to predefined value)
Setup/Analog
Output 1
Source
40006
Unsigned
Integer
1
R/W
Selects data source for this output
(0 = None; 2 = sensor; 4 = Calculation)
Setup/Analog
Output 1
Sensor Select
40007
Unsigned
Integer
1
R/W
Selects sensor source when Source =
Sensor (0 = sensor1; 1 = sensor2)
Setup/Analog
Output 1
Measurement
Select
40008
Unsigned
Integer
1
R/W
Selects measurement on the sensor
(0 = Meas1; 3 = Meas4)
Setup/Analog
Output 1
Type
40009
Unsigned
Integer
1
R/W
Selects output type
(0 = Linear output; 1 = PID control)
Setup/Analog
Output 1
Transfer Value
40010
Float
2
R/W
Sets the transfer value
Setup/Analog
Output 1
Filter
40012
Unsigned
Integer
1
R/W
Sets the output filter value in seconds
(0 to 120 sec.)
Setup/Analog
Output 1
0mA - 4mA
Select
40013
Unsigned
Integer
1
R/W
Selects 0mA/4mA for min output
(0 = 0mA; 1 = 4mA)
Setup/Analog
Output 1/Linear
Min Setting
40014
Float
2
R/W
Sets the min output value
Setup/Analog
Output 1/Linear
Max Setting
40016
Float
2
R/W
Sets the max output value
Setup/Analog
Output 1/PID
PID Mode
40018
Unsigned
Integer
1
R/W
Sets the PID mode (0 = auto; 1 = manual)
Setup/Analog
Output 1/PID
PID Manual Set
40019
Float
2
R/W
Sets the PID manual output value
(0.0 to 100.0 %)