AXA RS485 Control Protocol (28k) - Philips Lighting

lighting.philips.com

AXA RS485 Control Protocol (28k) - Philips Lighting

www.axadesign.com

RS485 Control Protocol

1.1 Interface

Uses RS485, 9600, 8 bits data, 1 start bit, 1 stop bit, no parity.

Idle is allowed between bytes, provided it is less than 40ms.

However, this is not recommended.

Minimum delay between Messages is 10ms (typically 20ms)

1.2 Protocol

8 byte packet as follows.

All numbers in hexadecimal.

Checksum is 8 bit 2’s complement of the sum of bytes 0 - 6.

1.3 Channel Control Messages (Volume, Bass, Treble & Gain)

1.3a Start Fading To A Level

(Will fade a channel from its current level to the specified level over the time period)

Byte 0 1C hex

Byte 1 AUDIO ZONE/AREA

Byte 2 CHANNEL NUMBER

0 = Volume

1 = Bass

2 = Treble

3 = Gain

Byte 3 71 hex (will also obey 72 hex & 73 Hex but fade rate is the same for all three opcodes)

Byte 4 CHANNEL LEVEL (attenuation)

Volume 0 - FF =100% - 0% volume

Bass/Treble 0 – FF = -20db - +20db (7F being 0db or flat)

Byte 5 FADE RATE

0-FF hex =

Byte 6 FF hex

Byte 7 CHECKSUM

1.3b Stop Fading

(Will stop a channel that is currently fading to a level)

Byte 0 1C hex

Byte 1 AUDIO ZONE /AREA

Byte 2 CHANNEL NUMBER (0 origin)

Byte 3 76 hex

Byte 4 00 hex

Byte 5 00 hex

Byte 6 FF hex

Byte 7 CHECKSUM

1.3c Request Channel Level

(request for a Volume, Bass or Treble Level)

Byte 0 1C hex

Byte 1 AUDIO ZONE /AREA

Byte 2 CHANNEL NUMBER

0 = Volume

1 = Bass

3 = Treble

Byte 3 61 hex

Byte 4 00 hex

Page 1 of 4


Byte 5 00 hex

Byte 6 FF hex

Byte 7 CHECKSUM

1.3d Report Channel Level

(Reply from a request level message)

Byte 0 1C hex

Byte 1 AUDIO ZONE /AREA

Byte 2 CHANNEL NUMBER

0 = Volume

1 = Bass

3 = Treble

Byte 3 60 hex

Byte 4 TARGET LEVEL

Byte 5 ACTUAL LEVEL

Byte 6 FF hex

Byte 7 CHECKSUM

1.3e Increment A Channel

(increments a channel by a set amount each time the message is received)

Byte 0 1C hex

Byte 1 AUDIO ZONE /AREA

Byte 2 CHANNEL NUMBER

0 = Volume

1 = Bass

3 = Treble

Byte 3 77 hex

Byte 4 INCREMENT FACTOR

Byte 5 00 hex

Byte 6 FF hex

Byte 7 CHECKSUM

1.3f Decrement A Channel

(decrements a channel by a set amount each time the message is received)

Byte 0 1C hex

Byte 1 AUDIO ZONE /AREA

Byte 2 CHANNEL NUMBER

0 = Volume

1 = Bass

3 = Treble

Byte 3 78 hex

Byte 4 DECREMENT FACTOR

Byte 5 00 hex

Byte 6 FF hex

Byte 7 CHECKSUM

www.axadesign.com

Page 2 of 4


1.4 Source Control Messages

1.4a Select Source

(Provides sources selection control for each Zone)

Byte 0 1C hex

Byte 1 AUDIO ZONE /AREA

Byte 2 00 hex

Byte 3 PRESET NUMBER hex

0 Source 1

1 Source 2

2 Source 3

3 Source 4

A Source 5

B Source 6

C Source 7

D Source 8

Byte 4 00 hex

Byte 5 SOURCE BANK (eg bank 1 Sources become 9-16)

Byte 6 Selection type

FF – Exclusively select the nominated source (bytes 3,5)

00 – Subtract the nominated source

01 – Add the nominated source

Byte 7 CHECKSUM

1.4b Request Source

(Request what source that zone has currently selected)

Byte 0 1C hex

Byte 1 AUDIO ZONE /AREA

Byte 2 00 hex

Byte 3 63 hex

Byte 4 00 hex

Byte 5 00 hex

Byte 6 FF hex

Byte 7 CHECKSUM

1.4c Report Source

(Reports what source that zone has currently selected. *Note only works with last exclusive source

selection)

Byte 0 1C hex

Byte 1 AUDIO ZONE /AREA

Byte 2 PRESET NUMBER (0 origin)

Byte 3 62 hex

Byte 4 00 hex

Byte 5 00 hex

Byte 6 FF hex

Byte 7 CHECKSUM

1.5 Audio Zone/Area Linking Message

This allows the 4 zones to be dynamically linked together in any combination.

Byte 0 1C nex

Byte 1 AUDIO ZONE /AREA

Byte 2 Data - Zones to Link

Byte 3 20 hex

Byte 4 00 hex

Byte 5 00 hex

Byte 6 FF hexJoin

Byte 7 Checksum

www.axadesign.com

Page 3 of 4


1.6 Infra Red Codes playback

Playback of Infra red codes to control Source components – Requires AXA-TOPIR8

Byte 0 - 5C hex

Byte 1 - 8F hex

Byte 2 - DEVICE NUMBER (to match IR unit address number)

Byte 3 - 10 hex

Byte 4 - IR CODE (the ID number of the IR Code to transmit)

Byte 5 - IR OUTPUT MASK (the output/s on which the IR code will be transmitted)

Byte 6 - REPEAT (the number of times that IR code will be transmitted)

Byte 7 - CHECKSUM

E.g. 0x5C, 0x8F, 0x01, 0x10, 0x05, 0x02, 0x03, 0xFA

Transmit IR code 6 in TOP#1 to IR output 3 & send it 3 times.

www.axadesign.com

Page 4 of 4

More magazines by this user
Similar magazines