www.balluff.com 15deutsch
6
P-Schnittstelle (Fortsetzung)
6.2.2 Protokollparameter
Parameter auslesen
CI LEN CRC CRC
Anfrage
CR LEN D0 Dn CRC CRC
Antwort
CI LEN CR LEN D0…Dn n
Herstellerkennung 01h 00h 01h 07h Vendor name ASCII coded
'B' 'A' 'L' 'L' 'U' 'F' 'F'
6
oder 06h 00h 06h 04h Vendor code Hex coded
0x00000001 for BALLUFF
3
Typschlüssel 02h 00h 02h 28h Type key ASCII coded
Beispiel: 'BTL7-P511-M0500-P-S32'
39
Seriennummer 03h 00h 03h 11h Serial number ASCII coded
Beispiel: '15011400012345DE'
16
oder 07h 00h 07h 08h Serial number Hex coded
Beispiel: 0x0005554764881E45 =
15011400012345DE
7
Ultraschallgeschwindigkeit 04h 00h 04h 03h Ultrasonic velocity BCD coded
v
us
= 2850.00 m/s = 28h 50h 00h
2
oder 08h 00h 08h 04h Ultrasonic velocity Hex coded
0x00045948 = 2850.00 m/s
3
Nullpunkt-Offset 09h 00h 09h 04h Zero point offset [µm]
Beispiel: 0x000124F8 = 75000 µm
3
Messlänge 0Ah 00h 0Ah 04h Stroke length [mm]
Beispiel: 0x000001F4 = 500 mm
3
Fehlermeldung FFh 02h Error code
01h = unknown command
02h = transmission error
03h = EEPROM access error
1
Tab. 6-1: Liste der Request/Response-Parameter
CI Command ID
CR Command Response
LEN Length of data D0…Dn
D0…Dn Data frame
CRC CRC16 von CI / CR bis Dn
BTL7-P511 -M ____ -P-S32/S115/KA_ _
Micropulse Wegaufnehmer im Profilgehäuse