36/176 SLK memory structure
Bosch Rexroth AG
, MIT: ID 40, 3 842 530 344/2014-05
Table 8: Meaning of formatting parameters (5 bytes)
Byte
Parameter
Formatting parameter
Value ranges
High byte (1)
Low byte (2)
Start address MDT address from which the memory
should be filled (2 bytes)
0x00–0x076F (MDT2K)
0x00–0x1DEF (MDT8K)
0x00–0x784F (MDT32K)
High byte (3)
Low byte (4)
Length
Formatting range size (no. bytes to fill) 0x00–0x0770 (MDT2K)
0x00–0x1DF0 (MDT8K)
0x00–0x7850 (MDT32K)
Byte (5)
Data byte
Formatting value with which the
memory range should be filled
0x00–0xFF
The formatting function only writes to the user memory of the MDT; the MDT register
area is not altered.
If the selected memory range exceeds the memory capacity of the MDT, the
“Communication interrupted” error is generated. In this instance, the contents of the
MDT memory can be modified.
When reading the formatting parameters, the last parameter used is returned. The
MDT is not accessed.
5.2.5.1 Special functions
If the entire memory range of the MDT should be formatted to the value in byte 5,
the parameters byte 1 to byte 4 can be set to zero. This function does not depend on
the type of memory capacity of the MDT.
If the length of the data block (parameter in byte 3 and byte 4) is set to zero, the
memory area from the MDT address in byte 1 and byte 2 to the end the available
memory is formatted to the value in byte 5, regardless of the memory capacity of the
MDT.
5.2.5.2 Examples
Use the following formatting parameters to restore the MDT to the factory settings:
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
0
0
0
0
255
The MDT status and the three MDT pointers are not affected by the formatting
function and have to be reset separately by the application.
This function is recommended if, e.g., existing MDTs need to be used in a new
system or if the MDTs are being put back into use after troubleshooting.
The MDT memory area from address 0x0200 to address 0x0580 should be set to a
value of zero.
Byte 1
Byte 2
Byte 3
Byte 4
Byte 5
0x02
0x00
0x03
0x80
0
Example 1
Example 2
PROOF COPy 1 | 20.05.2014 | FOR INTERNAL USE ONLy