Modbus
DYACON LD-1 Manual
5.3.4 Lightning Configuration Registers
The following registers may be used to adjust the detection
Address Register
Access Type
Range and
Default
Data Type
Description
106
107
Read/Write
Write '1' to
clear.
16-bit Signed Int
Reset to defaults.
110
111
Read/Write
0-7
Default = 0
16-bit Signed Int
Analog Front End Gain
111
112
Read/Write
0-7
Default = 2
16-bit Signed Int
Noise Floor Level
112
113
Read/Write
0-10
Default = 4
16-bit Signed Int
Watchdog Threshold
113
114
Read/Write
0 to 3
(Corresponding
to: 1, 5, 9, 16)
Default = 0
16-bit Signed Int
Minimum Number
Lightning Strikes
114
114
Read/Write
0-11
Default = 2
16-bit Signed Int
Spike Rejection
5.3.5 Error Codes
The following error and acknowledgment codes are supported by the LD-1. Not all codes are
relevant to each request or command. Supported command error codes are listed for each
command.
Function
Name
Description
01
Illegal Function
Function not supported or not recognized by the
sensor.
02
Illegal Addresses
Incorrect address, address does not exist, or
address does not support write function.
03
Illegal Data Value
Data value is outside of allowed range.
04
Device Failure
Error occurred while attempting to perform the
requested action.
5.3.6 System Status Codes
System status codes are unique to the sensor, not Modbus protocol exceptions. System codes are
bit level codes representing internal functional errors. A clear (0) bit indicates no errors were
detected. A set (1) bit indicates an error.
Contact customer support if system errors are encountered.
Hex Values
0x0001 - Calibration on TRCO failed
0x0002 - Calibration on SRCO failed
0x0004 - Cal on LCO failed, too slow
0x0008 - Cal on LCO failed, too fast
0x0010 - Internal communication error
0x0080 - Lightning sensor not found
Page 16/35