Herunterladen Inhalt Inhalt Diese Seite drucken

Balluff BML-S1G0-B7-M5E-0-S284 Serie Betriebsanleitung Seite 57

Absolutes magnetkodiertes wegmesssystem
Inhaltsverzeichnis

Werbung

Verfügbare Sprachen
  • DE

Verfügbare Sprachen

  • DEUTSCH, seite 1
BML-S1G0-B/S7_ _-M5E_-_0-(SA26-)S284
Absolute Magnetically Coded Position Measuring System
6
Interfaces (continued)
Bank n
Bank 2
Bank 1
Adr
Bank 0
0x00
0x3F
0x40
Bank sel.
0x41
EDS bank
0x48
Error byte
0x49
Warning byte
0x78
BiSS identifier
0x7F
BiSS C register address space
Fig. 6-4:
BiSS C register address space
The reading and writing of the user area is implemented in
the sensor head.
To read/write the user area, the configuration must first be
read out from the EDS:
At BiSS C register address 0x41, the EDS bank is read
out. The value from address 41 is then entered in register
address 40 (bank selection). Afterwards, the following
information is available:
Address 0x00 the EDS version,
Address 0x01 the number of EDS banks,
Address 0x02 the beginning of the user area bank
Address 0x03 the last user area bank.
In the user area, any data can be read and written. This
data is stored permanently in the EEPROM. The user area
can be used freely and data can be stored freely on the
various banks: ASCII or binary-coded, plain text or
encrypted, with or without CRC protection.
After a user area bank is entered at the address 0x40, any
data in address space 0x00 to 0x3F can be read and
written. With a different user area bank, other data can be
written and read at the same addresses 0x00 to 0x3F
without overwriting the data from the other banks. The
data stored in the user area are always available, even after
the system has been switched off and back on. Only the
user banks are readable and writeable.
If other banks outside the user area are to be written to, an
error message occurs.
20
english
Bank 0
Bank 1
Bank 2
selects
Bank n
EEPROM address
space
For the following example, this syntax is used:
n
= [0x41]
Writing of n with the contents of
address 41 (hex)
[0x40]
= 7
Writing of value 7 to the
address 0x40 (hex)
Example for writing and reading of three bytes in two user
banks after power off/on:
Reading out of the EDS (reading of the definition of the user
area)
n
= [0x41]
(EDS begins at bank n, here e.g. 1)
[0x40]
= n
(EDS bank is selected)
len
[0x01]
(Number of EDS bank is read, e.g. 8)
User_beg = [0x02]
(Beginning of the user area is read,
e.g. 0x09)
User_last = [0x03]
(Last user area bank is read,
e.g. 0x0F)
Writing of the user area
[0x40]
= User_beg
(Select first user area bank, here
0x09)
[0x00]
= 0x11
(Enter any value in the first address of
the first bank)
[0x3F]
= 0x1F
(Enter any value in the last address of
the first bank)
...
[x040]
= User_beg+1
(Select second user area bank)
[0x00]
= 0x21
(Enter any value in the first address of
the second bank)
...
Optional Power off/on
Reading of the written user area
[0x40]
= User_beg
(Select first user area bank)
n
= [0x00]
(n changes to 0x11, above value)
...
[x040]
= User_beg+1
(Select second user area bank)
n
= [0x00]
(n changes to 0x21, above value)
...
The data format and meaning of the individual
bits is defined via the XML file, using the
BiSS identifier. This XML file can be used directly
in the controller. For the BML-S1G..., the
BiSS identifier always has the values
"MGxxxxBF", beginning at address 0x78. The
values x can vary.
Download this XML file from www.balluff.com
or request it via e-mail to service@balluff.de.

Werbung

Inhaltsverzeichnis

Fehlerbehebung

loading

Inhaltsverzeichnis