Bosch Rexroth ID 40 Manual page 36

Table of Contents

Advertisement

36/176
SLK memory structure
Example 1
Example 2
Bosch Rexroth AG, MIT: ID 40, 3 842 530 344/2014-05
PROOF COPy 1 | 20.05.2014 | FOR INTERNAL USE ONLy
Table 8: Meaning of formatting parameters (5 bytes)
Byte
Parameter
High byte (1)
Start address MDT address from which the memory
Low byte (2)
High byte (3)
Length
Low byte (4)
Byte (5)
Data byte
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
0
0
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
0x02
0x00
Formatting parameter
should be filled (2 bytes)
Formatting range size (no. bytes to fill)
Formatting value with which the
memory range should be filled
Byte 3
0
Byte 3
0x03
Value ranges
0x00–0x076F (MDT2K)
0x00–0x1DEF (MDT8K)
0x00–0x784F (MDT32K)
0x00–0x0770 (MDT2K)
0x00–0x1DF0 (MDT8K)
0x00–0x7850 (MDT32K)
0x00–0xFF
Byte 4
Byte 5
0
255
Byte 4
Byte 5
0x80
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents