MB40 & MB45 MODBUS TCP/IP Gateway
Page
13
of
21
XML Request
In addition to Modbus TCP/IP, the gateway can also return the status of the holding registers via an
XML file over HTTP (port 80). To trigger this request; send a HTTP GET query to the MB40’s IP
Address 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 shown in the screenshots. This format is consistent.
Single Register
<IP Address> / <holding register number>
Using a web browser - with the gateway at its default address – requesting register 60:
192.168.1.100/60
Figure 2: Single register HTTP query using browser