Page 4
9.2.3 Connecting to a Computer....................23 9.2.4 Changing Configuration Settings..................28 9.3 Boot Loader...........................29 9.3.1 Required Equipment......................29 9.3.2 Procedure..........................29 10 .0 REPAIR AND SERVICE ......................30 10.1 Repair............................30 11 .0 SPECIFICATIONS ........................31 12 .0 MODBUS APPENDIX ........................32 13 .0 FIRMWARE REVISION HISTORY ...................34 14 .0 MANUAL REVISION HISTORY ....................35 Page 4/35...
Page 5
FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a commercial installation. Dyacon, Inc. warrants that all Dyacon products and components shall be free from defects in materials and workmanship for a period of one (1) year from the date of shipment when installed according to instruction manuals accompanying said hardware and used for the purpose for which said hardware was designed.
Page 6
Removal of the original serial number label or reprogramming of the electronic serial number voids any warranty on the device. Dyacon will not repair or update products if the serial number label missing or legitimate ownership cannot be verified. Dyacon may not return equipment that is missing serial numbers or where legitimate ownership is in question.
Page 7
The content of this document is intended for integrators, installers, and users of LD-1 , which hereinafter may be referred to as “LD”, “sensor”, “detector”, or “lightning detector”. This document includes installation instructions, technical specifications, electrical requirements, and data protocol information. Some aspects of the equipment operation may be covered in other documents.
Page 8
Modbus-RTU protocol over TIA-485-A (RS-485). Consequently, there is no measurement degradation due to cable length. LD-1 is easily mounted to the end of a 1” pipe using simple tools and standard structural pipe fittings. LD-1 is not a lightning protection device.
Page 9
Optional mounting system for attachment to 1” pipe. (Shown below.) Outdoor cable ties (As required.) Stainless steel band clamp (As required.) Image 3.1: LD-1 Image 3.2: LD-1 Sensor with optional mounting pipe. Sensor Image 3.3: LD-1 sensor with mounting pipe and pipe mounting system.(Vertical pipe not included.) Page 9/35...
Page 10
* Not required if using the LD-1 with a Dyacon control module. When configured with a 1” pipe, LD-1 may be used with structural pipe fittings. Standard structural pipe fittings for 1” schedule 40 pipe are available from hardware suppliers and manufacturers.
Page 11
Wire cutters to trim cable ties. Other tools as required by customers mounting configuration. LD-1 has a 1” threaded pipe fitting on the bottom of the sensor. Common pipe fittings may be used to attach the sensor to a number of flanges, fittings, and structures, as show in Image 3.3.
Page 13
232-A (RS-232), TIA-485-A (RS-485), TCP/IP, SMS, and many others. Dyacon LD-1 uses Modbus-RTU over RS-485. LD-1 is a slave device and must be connected to a host device, such as a programmable logic controller (PLC), host computer with an RS-485 adapter and Modbus software, or to the Dyacon weather station control module.
Page 14
LD-1 is a Modbus RTU slave device, a Modbus host must request data from the sensor. The following sections describe the Modbus commands and messages. The basic instructions should be adequate for Modbus host programming. For embedded developers, additional protocol details are contained in the Modbus Appendix.
Page 15
Address Register Access Type Response Data Type Description Range Read 0 to 32767 16-bit Signed Int Strike count since last read. Read 0 to 40 16-bit Signed Int Distance Estimate (km) 63 is out of range. Read 0 to 32767 16-bit Signed Int Strike Count 10 minute Read...
Page 16
0-11 16-bit Signed Int Spike Rejection Default = 2 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...
Page 17
Devices to which LD-1 is connected can use Distance Estimate to determine whether a storm front is approaching or receding. This value is not automatically calculated on the sensor due to the uncertainty in the powered state of the sensor;...
Page 18
The amplifier has two modes, Indoor (1) and Outdoor (0), and should be set according to the location in which LD-1 is installed. The sensor default is Outdoor (0). Like static on the radio, the noise floor is the ambient white noise that a receiver hears. In some environments, the noise floor is higher than in others.
Page 19
If LD-1 is installed in an electrically noisy environment, the Noise Counter will be high. Users will want to increase the Noise Floor Level setting. The detector is constantly listening to incoming signals. When a signal exceeds the Watchdog Threshold, the signal is processed and the signal shape is evaluated to determine whether it is random noise (disturber) or a lightning strike.
Page 20
For maximum detection effectiveness and efficiency, the following may be helpful. - Mount LD-1 so that it is at least 8 inches away from metal structures. - Install LD-1 in a location away from radio disturbers, such as those mentioned above.
Page 21
While LD-1 is already a low-power device, it draws less than 0.02 W (1.6 mA @ 12 VDC) when in continuous operation. However, some battery-powered applications may benefit from further power reductions. The following are some optimization suggestions that some integrators may be able to use.
Page 22
Users may find it helpful for configuration and testing to use a PC program. An RS-485 to USB adapter can be used to power LD-1 and connect it to a computer. Dyacon uses Kury Software ModbusCreator and ModbusReader for production testing.
Page 23
Attach the FTDI USB to RS485 cable to a USB port on a Windows PC. Wait for the driver to install. Install Modbus Reader. Copy the LightningSensor.mbc and LightningSensor.mbc files provided by Dyacon to a convenient location on your computer. Page 23/35...
Page 24
Start ModbusReader and close any sample files that are running. Open LightningSensor.mbc Page 24/35...
Page 27
Select the COM port for the USB to RS485 converter under the Connection menu. Select the COM Parameters under the Connection menu and use the settings in the image. Press F2 or select Connection > Connect to start the automatic sensor communication. The red and green LEDs on the converter will begin to flash.
Page 28
There are two menus, Sensor Settings and Lighting Settings. Both categories of settings are changed in a similar manner. The following is an example of changing the sensor address. With the sensor actively communicating, the sensor parameters can be changed. Select Sensor Settings.
Page 29
LD-1 firmware may be updated in the field through the RS-485 serial data lines using a command-line program. RS-485 to USB (or RS-232) converter. 12 VDC power supply. Dyacon Boot Loader PC utility. LD-1 firmware (.hex) file. 1. Disconnect LD-1 from the host equipment.
Page 30
All equipment sent to Dyacon for calibration, warranty, or service should have a return material authorization (RMA) number indicated on the outside of the package. Include a detailed description of the problem and any to be performed on the returned unit.
Page 31
Sensor AMS AS3935 Stormhead Range Estimate 15 values from 0 km to 40 km (0 miles to 24 miles) Consecutive Strike Span Detection Efficiency* Approximately 40% Response Time <1 s *Detection efficiency is dependent on the use environment and the level of ambient, man-made electromagnetic noise. Detection thresholds are user configurable and may be increased to reduce the false detection rate at industrial environments, but this will also impact lightning detection.
Page 32
Dyacon LD-1 lightning detector uses Modbus RTU format. The following are the protocol details required for embedded devices to communicate with the Modbus sensor. • Modbus data uses “big-endian” data format, 0x1234 is sent as 0x12 then 0x34. • The CRC uses “little-endian” data format, 0x1234 is sent as 0x34 then 0x12.
Page 33
Field Name Length Function Example (bytes) Data Slave Address Device address. 0x02 Error Code Error code value. 0x83 Exception Code Error code values (01, 02, 03, 04) 0x01 Error check 0xF070 TX String: 02 83 01 70 F0 Page 33/35...
Page 34
Version Description of Changes Date Initial release 12 Aug 2016 Page 34/35...
Page 35
Description Author Date Initial Release E. Bodrero 16 Aug 2016 Page 35/35...
Need help?
Do you have a question about the LD-1 and is the answer not in the manual?
Questions and answers