Opened 12 years ago

Closed 11 years ago

#14 closed Aufgabe (fixed)

Interne Kommunikation zw. Controller und GW

Reported by: Melanie Hermann Owned by: Melanie Hermann
Priority: kurzfristig Milestone:
Component: Protokolle Version:
Severity: Aufgabe Keywords:
Cc:

Description

Es muss ein neues Protokoll definiert / eingebaut werden, das die Kommunikation zwischen GC9300 - Controller und GC9300 - GW ermöglicht.

Attachments (1)

GC-Protokoll-Definition.xls (25.5 KB ) - added by Melanie Hermann 12 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 by Melanie Hermann, 12 years ago

Last edited 11 years ago by Melanie Hermann (previous) (diff)

comment:2 by Melanie Hermann, 12 years ago

Priority: mittelfristigkurzfristig

by Melanie Hermann, 12 years ago

Attachment: GC-Protokoll-Definition.xls added

comment:3 by Melanie Hermann, 11 years ago

Priority: kurzfristigmittelfristig

comment:4 by Melanie Hermann, 11 years ago

Priority: mittelfristigkurzfristig

comment:5 by Melanie Hermann, 11 years ago

Konzept Protokollaufbau wird komplett überarbeitet bzw. neu gemacht.

comment:6 by Melanie Hermann, 11 years ago

Die Daten in den Telegrammen werden als ASCII verschickt. Somit ist gewährleistet, dass die Daten niemals 0x02 (Startzeichen) oder 0x03 (Endzeichen) enthalten.

Telegrammaufbau:

  • Startzeichen - Starzeichen = unsigned char = 1Byte. Fix 0x02.
  • MB-Reg 1 - MB-Reg = unsigned short = 2Byte = 4Byte in ASCII.
  • MB-Reg 2
  • MB-Reg 3
  • MB-Reg 4
  • Data 1 - Data kann max. 20Byte lang werden. Telegramm hat immer gleiche Länge.
  • Data 2 - Data = String/Code = 20Byte (bereits ASCII)
  • Data 3 - Data = Int = 1Byte = 2Byte in ASCII
  • Data 4 - Data = Float/Long/Unixtime = 2Byte = 4Byte in ASCII
  • Data 5 - Data = Double = 4Byte = 8Byte in ASCII
  • Data 6
  • Data 7
  • Data 8
  • Data 9
  • Data 10
  • Data 11
  • Data 12
  • Data 13
  • Data 14
  • Data 15
  • Data 16
  • Data 17
  • Data 18
  • Data 19
  • Data 20
  • Endzeichen - unsigned char (1Byte). Fix 0x03.


  • Datentyp mit max. Größe ist String/Code (20Byte). Ist bereits ASCII.

comment:7 by Melanie Hermann, 11 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.