Web Interface Read Commands - Bosch Rexroth ID 40 Manual

Table of Contents

Advertisement

148/176 Web interface
Bosch Rexroth AG, MIT: ID 40, 3 842 530 344/2014-05
PROOF COPy 1 | 20.05.2014 | FOR INTERNAL USE ONLy
10.7.2.1 Write command examples
Switching the link state using a commanded link state (see Chapter 5.3.2). The
URL contains the SLK address of the commanded link state 0x30001 in the offset
parameter and data is assigned to the code from the table in Chapter 5.3.2.
CONNECT
http://id40/xid/bal-write?offset=0x30001&data=1
DISCONNECT
http://id40/xid/bal-write?offset=0x30001&data=2
RECONNECT
http://id40/xid/bal-write?offset=0x30001&data=3
Writing data to the MDT starting at MDT address 0x0020, the bytes are 10, 11, 12,
13, 14, 15, 16, 17.
http://id40/xid/bal-write?offset=0x20&data=10+11+12+13+14+15+16+17
The SLK address 0x00000020 assigned to the offset parameter (corresponds to
MDT address 0x0020 according to the table in Chapter 7.4) should be entered with
no leading zeros in order to not extend the URL string needlessly.
The web interface confirms the write access with the string:
bal-write: 8 bytes successfully written
Entering the Profibus node number
Number 54 in this example
http://id40-slk/xid/set?path=xid.univar.pdp.node-id&value=54
Successful entry is confirmed with the string:
Set OK: pdp.node-id to 54
Attention: The value entered for the Profibus node number is not checked. It is
recommended to read back the Profibus node number after entry in order to
confirm it is correct. Another way is to check the display after restarting the
ID 40/SLK, see Chapter 11.1 "Starting up Profibus DP".
10.7.3

Web interface read commands

These commands are used to read data from the MDT as well as data from SLK
registers, such as the actual link state. A read command consists of at least one
parameter, adrset, which is assigned at least one (or more) SLK address ranges. An
SLK address range is specified by the start and end addresses. These addresses are
separated by two periods.
http://id40/xid/bal-mem?adrset=<start-adr>.<end-adr>
Multiple data areas can be read with a single command by stringing the address
ranges together with a "+".
http://id40/xid/bal-mem?adrset=<start-adr-1>.<end-adr-1>+...+<start-adr-n>.<end-
adr-n>
A maximum of 64 kB can be requested with a read command, i.e., an entire ID 40/
MDT32K can be read in one pass.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents