www.balluff.com 15français
6
InterfaceP (suite)
6.2.2 Paramètre de protocole
Lecture des paramètres
CI LEN CRC CRC
Demande
CR LEN D0 Dn CRC CRC
Réponse
CI LEN CR LEN D0…Dn n
Identification du fabricant 01h 00h 01h 07h Vendor name ASCII coded
'B' 'A' 'L' 'L' 'U' 'F' 'F'
6
ou 06h 00h 06h 04h Vendor code Hex coded
0x00000001 for BALLUFF
3
Code de type 02h 00h 02h 28h Type key ASCII coded
Exemple: 'BTL7-P511-M0500-P-S32'
39
Numéro de série 03h 00h 03h 11h Serial number ASCII coded
Exemple: '15011400012345DE'
16
ou 07h 00h 07h 08h Serial number Hex coded
Exemple: 0x0005554764881E45 =
15011400012345DE
7
Vélocité ultrasonique 04h 00h 04h 03h Ultrasonic velocity BCD coded
v
us
= 2850.00 m/s = 28h 50h 00h
2
ou 08h 00h 08h 04h Ultrasonic velocity Hex coded
0x00045948 = 2850.00m/s
3
Offset point zéro 09h 00h 09h 04h Zero point offset [µm]
Exemple: 0x000124F8 = 75000 µm
3
Longueur de mesure 0Ah 00h 0Ah 04h Stroke length [mm]
Exemple: 0x000001F4 = 500mm
3
Message d’erreur FFh 02h Error code
01h=unknown command
02h=transmission error
03h=EEPROM access error
1
Tab. 6-1 : Liste des paramètres de demande/réponse
CI CommandeID
CR Commande Réponse
LEN Longueur des donnéesD0…Dn
D0…Dn Données Frame
CRC CRC16 de CI/CR à Dn
BTL7-P511 -M ____ -P-S32/S115/KA_ _
Capteur de déplacement Micropulse en boîtier profilé