Vega VEGACOM 557 Modbus protocol Bedienungsanleitung Seite 42

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 68
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 41
42 VEGACOM 557 Modbus
Data transmission with Modbus RTU
Error messages in RTU mode
Errors in the telegram of function code 04 (Read Input Register) are commented by an error
message (Exception Response). The most significant bit of the function code is set to 1 (cor-
responds to function code + 80H). In the byte Exception Code, the error is named in coded
form (see error overview).
Error overview:
Exception Code Meaning
1 unpermitted function
2 unpermitted start register
3 unpermitted number of registers
Example for error message:
A DCS value should be collected from a VEGAMET 513. VEGACOM 557 operates in mode
"Sort measured values acc. to VEGAMET addresses“. The Slave-address of VEGACOM 557
is set to 1.
In the enquiry telegram, 240 was inadvertently enquired as start register. The highest possible
register in this case, is 222. Therefore the following answering telegram appears:
Start
Slave
ad-
dress
Func-
tion
code
Ex-
ception
code
Error
Check
End
No. of
Bytes
Value
range
Meaning
Structure of the answer VEGACOM 557 to Modbus-Master
R
TU answer telegram (function code 04) to faulty enquiry
3 ... 4 1 1 1
2 3 ... 4
Closed level
1 .. 247 0x84
1 ..
3
CRC Closed level
0x01 0x84 0x02 0xXX0xXX
Exception Code = 2
Seitenansicht 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 ... 67 68

Kommentare zu diesen Handbüchern

Keine Kommentare