background image

MB40 & MB45 MODBUS TCP/IP Gateway  

 

Page 

1

 of 

21

 

 

MB40 & MB45 MODBUS TCP/IP Gateway – DL30 type Environdata 
Weather Stations 

 

Connects an Environdata DL3000 Weather Station to a Modbus network  

 

Modbus RTU over RS485 and Modbus TCP/IP over Ethernet compatible  

 

Easy Modbus TCP/IP configuration via webpage, Modbus registers, or on-board switches  

 

Supports three simultaneous Modbus TCP masters.  

 

Retrieves current weather values, 10 minute values, hourly values, and daily values.  

 

Can be used to synchronise the date and time of the Weather Station directly 

 

Overview  

The MB40 Modbus TCP DL3000 Gateway allows the easy connection of a PLC (Programmable Logic 
Controller), RTU (Remote Telemetry Unit) or SCADA System to a Weather Station. Using the Modbus 
RTU (Binary), or Modbus TCP/IP (Ethernet) protocols, it enables a programmable controller to 
monitor and carry out actions based on wind speed, wind direction, temperature and many other 
weather based variables. 

 The MB40 Modbus TCP DL3000 Gateway is a major upgrade to MB30 Serial DL3000 Gateway. It 
provides all the functionality of the MB30, with the following improvements:  

 

Addition of Ethernet:  

 

Allows the MB40 to be polled by up to three Modbus TCP/IP masters simultaneously  

 

Provides a webpage whereby TCP/IP settings can be easily monitored and altered. Also 
shows current communications statuses.  

 

Can be interrogated over HTTP to return Modbus register values in XML format  

 

Retrieves the current weather data, as well as the 10 minute, hourly, and daily weather data.  

 

Allows up to 125 registers to be polled at once – previously limited to 30.  

 

Provides a method to set up the date and time of the DL3000 Weather Station.  

 

Turns off “verbose mode” on the weather station.  

MB40 is a standalone version that is suitable for DIN rail mounting, while MB45 is enclosed in the 
sealed housing of the weather recorder with access via a sealed gland. 

 

 

Содержание MB40

Страница 1: ...ensland 4370 Australia Phone 07 4661 4699 Fax 07 4661 2485 International Phone 61 7 4661 4699 International Fax 61 7 4661 2485 Email sales environdata com au http www environdata com au Material in th...

Страница 2: ...nd carry out actions based on wind speed wind direction temperature and many other weather based variables The MB40 Modbus TCP DL3000 Gateway is a major upgrade to MB30 Serial DL3000 Gateway It provid...

Страница 3: ...port But in both cases the communication is text commands and NOT MODBUS commands MODBUSVIEW TCP is a program that can connect via either a LAN TCP IP address or a serial COM port and does use MODBUS...

Страница 4: ...h 3 4 7 Configuration Using Switches Switch 5 to 8 7 Configuration Using Webpage 7 Configuration Using Modbus RTU or TCP IP 8 Weather Station Data 9 Current Weather Data 9 Daily Weather Data 9 Last Ho...

Страница 5: ...t to RS485 terminal Indicates serial communications sent Modbus RTU on RS485 Green Rx LED next to D9 connector Indicates serial communications received from weather station on the serial port Red Tx L...

Страница 6: ...F OFF 2 ON OFF OFF OFF 3 OFF ON OFF OFF 4 ON ON OFF OFF 5 OFF OFF ON OFF 6 ON OFF ON OFF 7 OFF ON ON OFF 8 ON ON ON OFF 9 OFF OFF OFF ON 10 ON OFF OFF ON 11 OFF ON OFF ON 12 ON ON OFF ON 13 OFF OFF ON...

Страница 7: ...settings are loaded from when power is applied to the MB40 With this switch off settings are loaded from the current values of the switches regardless of previous settings With the switch on the sett...

Страница 8: ...Mask 255 240 0 0 Default Gateway 172 16 0 1 ON ON Configuration Using Switches Switch 5 to 8 The final four switches determine the last octet of the IP address Table 9 TCP IP IP Address switches Last...

Страница 9: ...RTU on RS485 or Modbus TCP IP Table 10 Modbus TCP IP Configuration Registers Modbus Register Function 256 1st octet IP Address 257 2nd octet IP Address 258 3rd octet IP Address 259 4th octet IP Addres...

Страница 10: ...Data Table 12 MEM 1 LAST Modbus Register Listing Holding Register Address 40 000 No of Registers Type Description 61 1 Time Year in format YYYY 62 1 Time Month and day in format MMDD 63 1 Time Hour in...

Страница 11: ...next available holding register up to a limit of 54 numbers 2 Weather Station data is internally limited to 32760 Values beyond this range are capped to an error code shown below 3 The decimal point...

Страница 12: ...s sent to the Weather Station by writing a 1 to Holding Register 255 Note that there is no error checking on this interface Once a one is written to the send register the command will be sent to the w...

Страница 13: ...either GOOD or BAD for each data packet Directly above the horizontal line reads the MAC address for the MB40 This identifier is globally unique Directly below the horizontal line are the configurati...

Страница 14: ...ess with the register number appended after a forward slash Alternatively the entire register listing can be returned by using the same query with a registers xml termination The XML file structure is...

Страница 15: ...TCP IP Gateway Page 14 of 21 All Registers IP Address registers xml Using a web browser with the gateway at its default address 192 168 1 100 registers xml Figure 3 Complete register listing HTTP requ...

Страница 16: ...MB40 MB45 MODBUS TCP IP Gateway Page 15 of 21 Error Request If the GET request is of the wrong format or otherwise unrecognised by the MB40 a bad request XML is returned Figure 5 Bad Request XML file...

Страница 17: ...y 8 to 28 volts to the power terminals Check the Tx LED next to the D9 port It should flash red roughly once every 5 seconds If so move to step 3 If not a Check the wires of the power supply are the c...

Страница 18: ...but not on 10 1 1 x b Check your network to ensure the MB40 has a unique IP address within the subnet The best way to do this is via your router if applicable Otherwise you could power off the gateway...

Страница 19: ...LAN adapter and go to properties 4 Click on Internet Protocol TCP IP and go to properties 5 Click on use the following IP address and set the values to IP Address 192 168 1 1 Subnet Mask 255 255 255...

Страница 20: ...s sequentially unpacked and placed into holding registers 120 1 Status Comms status for the MEM 1 LAST command 0 bad 1 good 121 1 Time Year in format YYYY 122 1 Time Month and day in format MMDD 123 1...

Страница 21: ...t Two digits format MM Padded with leading zeroes 254 1 Second argument Two digits format SS Padded with leading zeroes 255 1 Commit Time to Weather Station Write a 1 to send time command 256 1 IP Con...

Отзывы: