background image

MB40 & MB45 MODBUS TCP/IP Gateway  

 

Page 

18

 of 

21

 

 

(1)  Set the TCP/IP settings of the gateway to default.  

 

(2)  Open the Control Panel and go to network connections.  

 

(3)  Right click on the 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.0  
Default Gateway: 192.168.1.1  

 

(6)  Use a ping request to 192.168.1.100. You should get returned packets.  

 

(7)  Point your web browser to the IP address. A webpage should be displayed.  

 

 

Summary of Contents for MB40

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: