User manual

2 Protokoll
12
2.6.3 Schreiben von n Worten
Mit dieser Funktion werden n (n 32) Worte ab einer bestimmten Adresse geschrieben.
Anweisung
Antwort
Beispiel
Schreiben der Sollwerte SP1 und SP2 (jeweils 2 Worte)
Wortadresse = 0x3100 (Sollwert SP1)
Anweisung:
Antwort:
Slave-
Adresse
Funktion
0x10
Adresse
erstes Wort
Wortanzahl
(max. 32)
Byteanzahl Wortwert(e) Check-
summe
CRC16
1 Byte 1 Byte 2 Bytes 2 Bytes 1 Byte x Byte 2 Bytes
Slave-Adresse Funktion
0x10
Adresse
erstes Wort
Wortanzahl Checksumme
CRC16
1 Byte 1 Byte 2 Bytes 2 Byte 2 Bytes
01 10 3100 0004 08 0000 41C8 0000 4120 2A42
Sollwert SP1 (25.0) Sollwert SP2 (10.0)
01 10 3100 0004 CF36