Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

IrWW_GBO_V1p0

.pdf
Скачиваний:
12
Добавлен:
23.08.2013
Размер:
875.95 Кб
Скачать

Generic Binary Object Specification, Ver 1.0

 

 

0x01

SOUND

0x3x + NN + MM bytes

 

 

0x02

VIBRATION

 

 

 

0x03

DISPLAY

 

 

 

 

 

 

 

DATA

0x5C

TYPE= 0x10 0x30

0x40 + NN+ MM bytes

 

 

0x01

 

NUMERIC

 

 

0x02

 

STRING

0x3x + NN + MM bytes

 

 

ITEMNAME= 0x10 0x40

 

 

 

String

 

0xFF + AL + AV

 

 

 

UNIT= 0x10 0x41

 

 

 

String

 

0xFF + AL + AV

 

RECORD

0x5D

 

 

 

Allow definition in the FILED Block

 

 

 

 

 

 

3.3.1 Expression of IrWW unique Time-related value

Figure 3-4 shows time-related value expression rule. All number and other characters in objects use BCD (same as numerical data).

SOV

Value Identifier Code (VC)

Symbol

Value Length (VL)

Value Data

 

 

 

 

2 bytes

expression

0x01

0x81

HH:MM

VTHM

See 3.3.1.1

0x01

0x82

HH:MM:SS

VTHMS

3 bytes

See 3.3.1.2

0x01

0x83

HH:MM:SS:LLLLLL

VTHMSL

6 bytes

See 3.3.1.3

0x01

0x84 HHHH:MM

VTRHM

3 bytes

See 3.3.1.4

0x01

0x85 MMMM:SS

VTRMS

3 bytes

See 3.3.1.5

0x01

0x86

LLLLLL

VTRL

3 bytes

See 3.3.1.6

0x01

0x88 YYYYMMDD

VDYMD

4 bytes

See 3.3.1.7

0x01

0x89 YYYYMMDDWW

VDYMDW

5 bytes

See 3.3.1.8

0x01

0x8C (S)HH:MM

VTUTC

2 bytes

See 3.3.1.9

0x01

0x8D YYYY:MM:DD:HH:MM:SS

VDTL

7 bytes

See 3.3.1.10

0x01

0x8E YYYY:MM:DD:HH:MM:SS

VDTU

7 bytes

See 3.3.1.11

Figure 3-4 Time-related value expressions

Structure of each VD is explained in the following section which section number is shown in the figure. one BCD code use 4bit. Note: These figure is expressed 4bit (Nibble) coding.

3.3.1.1 VTHM time-related value VC = 0x81

This value explains data in hour/minute manner. The value covers from 00:00 to 99:59

Time data [HH:MM]

H H

M M

HH: Hours of the time.

IrWW SIG

25

Generic Binary Object Specification, Ver 1.0

MM: Minutes of the time

Example:

TIME;TYPE=VTHM:12;59

0x20 0x10 0x30 0x01 0x01 0x81 0x02 0x12 0x59 0x00

3.3.1.2 VHTMS time-related value VC = 0x82

This value explains data in hour/minute/second manner. The value covers from 00:00:00 to 99:59:59

Time data [HH:MM:SS]

H H M M S S

HH: Hours of the time. MM: Minutes of the time SS: Second of the time

Example:

TIME;TYPE=VTHMS:18;45;32

0x20 0x10 0x30 0x02 0x01 0x82 0x03 0x18 0x45 0x32 0x00

3.3.1.3 VTHMSL Time-related value VC = 0x83

This value explains data in hour/minute/second/under second manner. The value covers from 00:00:00:000000 to 99:59:59:999999

Time data [HH:MM:SS:LLLLLL]

H H M M S S L L L L L L

HH: Hours of the time.

MM: Minutes of the time

SS:Second of the time

LLLLLL:Time less than microsecond unit explains a second.

Example:

TIME;TYPE=VTHMSL:7:45:23:455677

0x20 0x10 0x30 0x03 0x01 0x83 0x06 0x07 0x45 0x23 0x45 0x56 0x77 0x00

3.3.1.4 VTRHM Time-related value VC = 0x84

This value explains data in hour/minute manner. The value covers from 0000:00 to 9999:59

Time data [HHHH:MM]

H H H H M M

HHHH: Hours of the time. MM: Minute of the time

Example:

TIME;TYPE=VTRHM:56:19

0x20 0x10 0x30 0x04 0x01 0x84 0x03 0x00 0x56 0x19 0x00

IrWW SIG

26

Generic Binary Object Specification, Ver 1.0

3.3.1.5 VTRMS Time-related value VC = 0x85

This value explains data in minute/second manner. The value covers from 0000:00 to 9999:59

Time data [MMMM:SS]

M M M M S S

MMMM : Minute of the time SS : Second of the time

Example:

TIME;TYPE=VTRMS:57:50

0x20 0x10 0x30 0x05 0x01 0x85 0x03 0x00 0x57 0x50 0x00

3.3.1.6 VTRL Time-related value VC = 0x86

This value explains under-second data by micro-seconds order. The value covers from 000000 to 999999

Time data [LLLLLL]

L

L

L

L

L

L

 

 

 

 

 

 

LLLLLL: Time of less than a second is measured by microsecond

Example:

PTIME;TYPE=VTRL:776655

0x21 0x10 0x30 0x06 0x01 0x86 0x03 0x77 0x66 0x55 0x00

3.3.1.7 VDYMD Time-related value VC = 0x88

This value explains data in year/month/day manner. The value covers from 0000:01:01 to 9999:12:31

Date data [YYYY:MM:DD]

Y Y Y Y M M D D

YYYY: Year of the date (Age of the Christian era).

MM:month of the date

DD: day of the date

Example:

TIME;TYPE=VDYMD:1999;06;04

0x20 0x10 0x30 0x08 0x01 0x88 0x04 0x19 0x99 0x06 0x04 0x00

3.3.1.8 VDYMDW Time-related value VC = 0x89

This value explains data in year/month/day/week manner. Information about Day Light Saving

IrWW SIG

27

Generic Binary Object Specification, Ver 1.0

(DST) time is involved in week data.

Date data with week [YYYY.MM.DD.WW]

Y Y Y Y M M D D W W

YYYY: Year of the date (Age of the Christian era).

MM:month of the date

DD: day of the date

WW

 

W

W

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

D

 

 

 

 

 

 

 

 

 

 

S

0

0

0

0

x

X

x

 

 

 

T

 

 

 

 

 

 

 

 

 

 

Lowest 3bits in the lower nibble

0-6

Sunday to Saturday

 

xxx

day of the week (Sunday = 0…Saturday = 6)

 

DST:

Daylight saving time ‘1’ / Out of Day light saving time ‘0’.

Example :

TIME;TYPE=VDYMDW:1999;06;04;Friday;DST=ON

0x20 0x10 0x30 0x09 0x01 0x89 0x19 0x99 0x06 0x04 0x85 0x00

3.3.1.9 VTUTC Time-related value VC = 0x8c

This value explains Local time offset from UTC in hour/minute manner. Sign (+ or -) information is involved in the higher nibble of hour data.

Offset from UTC [(S)HH:MM]

H H M M

S 0 0 X

HH:Hours of offset

S:Sign of offset 0 = ‘+’ / 1 = ‘-’.

MM: Minute of offset.

Example:

TIME;TYPE=VTUTC:+9;00

0x20 0x10 0x30 0x0C 0x01 0x8C 0x02 0x09 0x00 0x00

IrWW SIG

28

Generic Binary Object Specification, Ver 1.0

3.3.1.10 VDTL Time-related value VC = 0x8D

This value explains local date and time in year/month/day/hour/minute/second manner. The value covers from 0000:01:01:00:00:00 to 9999:12:31:23:59:59.

DATETIME (LOCAL)[YYYY:MM:DDHH:MM:SS]

Y Y Y Y M M D D H H M M S S

YYYY: Year of the date (Age of the Christian era).

MM:month of the date

DD:day of the date

HH:Hours of the time.

MM:Minutes of the time

SS: Second of the time

Example:

TIME;TYPE=VDTL:1999;06;07;07;45;55

0x20 0x10 0x30 0x0D 0x01 0x8D 0x07 0x19 0x99 0x06 0x07 0x07 0x45 0x55 0x00

3.3.1.11 VDTU Time-related value VC = 0x8E

This value explains UTC date and time in year/month/day/hour/minute/second manner. The value covers from 0000:01:01:00:00:00 to 9999:12:31:23:59:59.

Expression of this value is the same as that of Local DATETIME. Only the VC can distinguish data types.

DATETIME (UTC)[YYYY:MM:DDHH:MM:SS]

Y Y Y Y M M D D H H M M S S

YYYY: Year of the date (Age of the Christian era).

MM:month of the date

DD:day of the date

HH:Hours of the time.

MM:Minutes of the time

SS:Second of the time

TIME;TYPE=VTDU:1999;06;07;07;45;55

0x20 0x10 0x30 0x0E 0x01 0x8E 0x07 0x19 0x99 0x06 0x07 0x07 0x45 0x55 0x00

IrWW SIG

29

Соседние файлы в предмете Электротехника