Lufft WSxxx-Series Weather Stations X2 Integration Guide


The Lufft WSxxx-Series Weather Stations are compatible with the X2 data logger using the Modbus-RTU communication protocol and the RS-485 sensor interface. An internal script (1002.lua) will automatically detect the type of connected weather station and its associated parameters. Follow the steps below to set the proper settings required for integration with an X2 data logger.

Lufft WS-700 Multi-Parameter Weather Sensor

 

NexSens UW8 Connector Wiring & Pin Information

In the event of connecting a NexSens UW8 connector into an external device that is not an X2 data logger, below is the pinout of the NexSens UW8 connecter, along with the signal associated with the communication, ground, and power pins from the sensor.

NexSens UW8 plug pinout.

 

NexSens UW8 Pin NumberSignal
2Ground
512V+
7RS-485B
8RS-485A

 

Communicate with the Sensor

  1. Configure communication directly using either a Lufft WS-Series Sensor Interface Cable or a NexSens Lufft WS-Series Sensor Configuration Cable. Wiring for the flying lead interface cable is below and will require a 485-USB cable for communication with a PC.

Lufft pin assigment (sensor view of connector)

 

Sensor SignalSensor Wire ColorPin Assignment
GroundWhite1
Power (+12VDC)Brown2
RS485A (+)Green3
RS485B (-)Yellow4

 

  1. Connect the cable to the Lufft and the USB connection to a PC. Leave the sensor unpowered.
  2. Determine the COM port of the USB cable with Windows Device Manager.
  3. Download and open the ConfigTool.NET software.
  4. Check the bottom right of the software to confirm the COM port is correct. If the COM port is incorrect or no COM port is available, edit an existing workspace or create a new workspace to change the COM port.
    1. Creating a new workspace will automatically open the “Com Channel” options.
    2. If editing an existing workspace, you must select the plug icon while in the “Workspace Details” to open the “Com Channel” options.

Workspace options.

 

COM Channel.

 

  1. Apply 12VDC power to the sensor.
  2. Click the ‘+’ or magnifying glass option in the top right to add or scan for a device, respectively.

Add, scan or import/export workspaces.

 

  1. If adding a device, insert any device name, choose the WSx-UMB device class, and insert the proper device ID. The default ID for new systems is 1.

Manually add a device.

 

  1. While scanning for a device, new devices will begin loading their channels once the scanning reaches class 7 device 1, since Lufft weather stations are in class 7 and have the default ID of 1.
    1. If connecting to a device with a changed communication protocol (i.e., SDI-12 or Modbus-RTU), go to the Backdoor Communication for Pre-configured Devices section.
    2. If already connected, go to the Configure Settings section to set the proper settings on the weather station.

Scan for a device.

 

 

Backdoor Communication for Pre-configured Devices

Lufft weather stations use a universal address (ID = 200) in the instance that the device ID is unknown. For pre-configured sensors with altered communication protocols, there is a 10 second window after powerup where it is set to the default UMB protocol and the software can communicate. If the communication protocol on a Lufft device has been changed, follow the backdoor communication technique for reconnecting the device in the Configtool.NET software.

Known Device IDs

If the Device ID is known,

  1. Open a new or existing workspace and create a device with the proper device class (WSx-UMB) and ID.
  2. Click on the device.
  3. Hit the gear icon at the top of the “Device Details” page.
  4. Cycle power on the Lufft.
    1. The “Not connected” display will now show “Connected” with the device information.
    2. Click “Read from Device” to see the sensor configuration.

 

Unknown Device IDs

If the Device ID is not known,

  1. Open a new or existing workspace and create a device with the proper device class (WSx-UMB) and an ID of 200.
  2. Click on the device.
  3. Hit the gear icon at the top of the “Device Details” page.
  4. Cycle power on the Lufft.
    1. The “Not connected” display will now show “Connected” with the device information.
    2. Click “Read from Device” to see the sensor configuration.

 

Configure Settings

  1. The device settings will have populated if the software successfully read the sensor.

Device settings.

 

  1. To be setup properly for an X2 data logger, the following settings must be changed:
    1. Change communication protocol from UMB-Binary to Modbus-RTU
    2. Set all average intervals to 2 minutes (i.e., temperature, relative humidity, air pressure, lightning, global radiation, wind)
    3. Turn off Fan (unless otherwise specified)
    4. Turn off heater (unless there is adequate 24V power)
    5. Set the altitude of the final deployment location (in meters).
    6. Set the local declination for the final deployment location in “Compass offset” (in degrees).
      • The Lufft weather station has a North arrow that must point to magnetic north during deployment. Depending on the deployment location, “true north” will have a slight offset from magnetic north due to the shifting of the north magnetic pole. Thus, an offset must be entered to correct for the difference.
      • Using the NOAA Geomagnetic field calculator, enter the coordinates for the final deployment location. Click “Calculate” and a new window will appear with the declination for the deployment location.

NexSens headquarters declination.

 

      • Ensure the final unit is in decimal degrees by using the FCC conversion calculator
        • Remember, only the longitude has a declination. If the declination is West, the number must be negative. If the declination is East, the number must be positive.
  1. After all settings have been changed, click the ‘Write To’ up arrow in the top right to save settings.
    1. Optionally, save a settings template for the sensor with the ‘Export Settings’ button on the top right.
    2. Power down and connect the weather station to the X2 for sensor detection.

Write to device, and import/export device settings.

 

X2 Script Information

The X2 data logger includes a pre-loaded Lufft Modbus script. Use the CONNECT software to enable the script for sensor detection.

Configure Sensor Scripts

X2 Script NumberCommunication ProtocolSensor InterfaceBaud RatePower TypeWarmup Period (sec)Frame
1002Modbus-RTURS-48519200Continuous0N81

 

Script Parameters

ParameterUnitAssociated WS-xxx models
Air Temperature°C401, 500, 501, 600, 601, 700, 800
Relative Humidity%401, 500, 501, 600, 601, 700, 800
Relative Barometric PressurehPa401, 500, 501, 600, 601, 700, 800
Wind Speedm/s500, 501, 600, 601, 700, 800
Max Wind Speedm/s500, 501, 600, 601, 700, 800
Wind DirectionDeg500, 501, 600, 601, 700, 800
HeadingDeg500, 501, 600, 601, 700, 800
Solar RadiationW/m2501, 700, 800
Precipitation Type600, 601, 700, 800
Rain Intensitymm/hr600, 601, 700, 800
Total Rainmm401, 600, 601, 700, 800
Interval Rainmm600, 601, 700, 800
Lightning EventsEvent/min800
Interval Lightning EventsEvent800