Back to Specification
Back to Level I Events

Class=15 (0x0f) Data

CLASS1.DATA

Description

Representation for different general data types. Byte 0 is the data coding byte for all data packages. The default unit has bits 0,1,2,3 set to 0000 and the first optional unit 0001 and so on.

Type = 0 (0x00) Undefined

General Message.

Type = 1 (0x01) I/O – value

General I/O value. First data byte defines format.

byte # Description
byte 0 Data coding.
byte 1-7 Data with format defined by byte 0

Type = 2 (0x02) A/D value

General A/D value. First data byte defines format.

byte # Description
byte 0 Data coding.
byte 1-7 Data with format defined by byte 0

Type = 3 (0x03) D/A value

General D/A value. First data byte defines format.

byte # Description
byte 0 Data coding.
byte 1-7 Data with format defined by byte 0

Type = 4 (0x04) Relative strength

Relative strength is a value that has its maximum at 255 and minimum at 0 if the data part is one byte. If the data part is two bytes the minimum strength is still at zero but the maximum strength is at 65535.

byte # Description
byte 0 Data coding.
byte 1-7 Data with format defined by byte 0

Type = 5 (0x05) Signal Level

Signal Level is a relative strength value that (as default) has its maximum at 100 and minimum at 0 interpreted as percentage. For a digital transmission Signal Level ca be used to give an indication of the analogue signal and Type = 6 (0x06) Signal Quality can be used to give an indication of the quality of the digital part as BER (Bit Error Ratio) for example.

Default coding: percentage. Optional codings: Scale 0-255 (1), Scale 0-65535 (2)

byte # Description
byte 0 Data coding.
byte 1-7 Data with format defined by byte 0

Type = 6 (0x06) Signal Quality

Signal quality is a relative strength value that (as default) has its maximum at 100 and minimum at 0 interpreted as presentage. For a digital transmission Signal Level ca be used to give an indication of the analogue signal and Type = 6 (0x06) Signal Quality be used to give an indication of the quality of the digital part as BER (Bit Error Ratio) for example.

Default coding: percentage. Optional codings: Scale 0-255 (1), Scale 0-65535 (2)

byte # Description
byte 0 Data coding.
byte 1-7 Data with format defined by byte 0
vscp_specification_class_15.txt · Last modified: 2010/08/19 01:55 (external edit)
Public Domain
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0