Funktionscodes; Lesen Von N Worten - DigiTrace TCONTROL-CONT-03 Manual

Compact microprocessor controller
Hide thumbs Also See for TCONTROL-CONT-03:
Table of Contents

Advertisement

Available languages

Available languages

2 Protokollbeschreibung
2.6

Funktionscodes

Funktions-
übersicht
2.6.1

Lesen von n Worten

Datenanfrage
Antwort
Beispiel
12
Die nachfolgend beschriebenen Funktionen stehen zum Auslesen von Mess-
werten, Geräte- und Prozessdaten sowie zum Schreiben von bestimmten Da-
ten zur Verfügung.
Funktions-
Funktion
nummer
0x03 oder 0x04
Lesen von n Worten
0x06
Schreiben eines Wortes
0x10
Schreiben von n Worten
v
Wenn das Gerät auf diese Funktionen nicht reagiert oder einen Feh-
lercode ausgibt, siehe Kapitel 2.9 Fehlerbehandlung, Seite 18.
Mit dieser Funktion werden n (n  32) Worte ab einer bestimmten Adresse ge-
lesen.
Slave-
Funktion
Adresse
x03 oder 0x04
1 Byte
1 Byte
Slave-
Funktion
Adresse
0x03 oder 0x04
1 Byte
1 Byte
Lesen der Sollwerte W1 und W2 (jeweils 2 Worte)
Adresse erstes Wort = 0x3100 (Sollwert W1)
Datenanfrage:
01
03
3100
Antwort (Werte im Modbus-Float-Format):
01
03
08
0000
Sollwert W1
Adresse
erstes Wort
2 Byte
Anzahl
gelesener
Bytes
1 Byte
0004
4AF5
41C8
0000
Sollwert W2
(25.0)
(10.0)
Begrenzung
max. 32 Worte (64 Byte)
max. 1 Wort (2 Byte)
max. 32 Worte (64 Byte)
Wortanzahl
Checksumme
(max. 32)
CRC16
2 Byte
2 Byte
Wort-
Checksumme
wert(e)
CRC16
x Byte
2 Byte
4120
4A9E

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the TCONTROL-CONT-03 and is the answer not in the manual?

Related Products for DigiTrace TCONTROL-CONT-03

Table of Contents