Sunteți pe pagina 1din 16

IEC 62386-2-9 Controlgear for color control lighting

-1-

CONTENTS

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

-2-

INTERNATIONAL ELECTROTECHNICAL COMMISSION


____________

DIGITAL ADDRESSABLE LIGHTING INTERFACE Part 2-9: PARTICULAIR REQUIREMENTS FOR CONTROL GEARS: COLOR CONTROL (DEVICE TYPE 8)

FOREWORD
1) The IEC (International Electrotechnical Commission) is a worldwide organization for standardization comprising all national electrotechnical committees (IEC National Committees). The object of the IEC is to promote international co-operation on all questions concerning standardization in the electrical and electronic fields. To this end and in addition to other activities, the IEC publishes International Standards. Their preparation is entrusted to technical committees; any IEC National Committee interested in the subject dealt with may participate in this preparatory work. International, governmental and non-governmental organizations liasing with the IEC also participate in this preparation. The IEC collaborates closely with the International Organization for Standardization (ISO) in accordance with conditions determined by agreement between the two organizations. 2) The formal decisions or agreements of the IEC on technical matters express, as nearly as possible, an international consensus of opinion on the relevant subjects since each technical committee has representation from all interested National Committees. 3) IEC Publications have the form of recommendations for international use and are y are accepted by the National Committees in that sense. While 4) In order to promote international uniformity, IEC National Committees undertake to apply IEC Publications transparently to the maximum extent possible in their national and regional publications. Any divergence between any IEC Publication and the corresponding national or regional publication shall be clearly indicated in the latter. 5) The IEC provides no marking procedure to indicate its approval and cannot be rendered responsible for any equipment declared to be in conformity with an IEC Publication. 6) All users should ensure that they have the latest edition of this publication. 7) No liability shall attach to IEC or its directors, employees, servants or agents including individual experts and members of its technical committees and IEC National Committees for any personal injury, property damage or other damage of any nature whatsoever, whether direct or indirect, or for costs (including legal fees) and expenses arising out of the publication, use of, or reliance upon, this IEC Publication or any other IEC Publications. 8) Attention is drawn to the Normative references cited in this publication. Use of the referenced publications is indispensable for the correct application of this publication. 9) Attention is drawn to the possibility that some of the elements of this International Standard may be the subject of patent rights. The IEC shall not be held responsible for identifying any or all such patent rights.

International Standard IEC 62386-2-9 has been prepared by subcommittee 34C: Auxiliaries for lamps, of IEC technical committee 34: Lamps and related equipment. The text of this standard is based on the following documents: FDIS 34C/XX/FDIS Report on voting 34C/XX/RVD

Full information on the voting for the approval of this standard can be found in the report on voting indicated in the above table. This part 2-9 is to be used in conjunction with part 1. The committee has decided that the contents of this publication will remain unchanged until ______. At this date, the publication will be reconfirmed; withdrawn; replaced by a revised edition, or amended.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

-3-

INTRODUCTION
This first edition of IEC 62386-2-9 is published in conjunction with IEC 62386-1. The formatting into separately published parts provides for ease of future amendments and revisions. Additional requirements will be added as and when a need for them is recognized. This standard, and the other parts which make up IEC 62386-9, in referring to any of the clauses of IEC 62386-1, specify the extent to which such a clause is applicable and the order in which the tests are to be performed; they also include additional requirements, as necessary. All parts which make up IEC 62386-9 are self-contained and therefore do not include references to each other. Where the requirements of any of the clauses of IEC 62386-1 are referred to in this standard by the phrase The requirements of clause n of IEC 62386-1 apply, this phrase is to be interpreted as meaning that all requirements of the clause in question of part 1 apply, except any which are clearly inapplicable to the specific type of lamp control gear covered by this particular part 9. All numbers used in this standard are decimal numbers unless otherwise noted. Hexadecimal numbers are given in the format 0xVV, where VV is the value. Binary numbers are given in the format XXXXXXXXb or in the format XXXX XXXX, where X is 0 or 1, 'x' at binary numbers means 'don't care'.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

-4-

DIGITAL ADDRESSABLE LIGHTING INTERFACE Part 2-9: PARTICULAIR REQUIREMENTS FOR CONTROL GEARS: COLOR CONTROL (DEVICE TYPE 8)

1 Scope
This International Standard specifies a protocol and test procedures for the control by digital signals of electronic control gears for use on a.c. mains supply associated (or integrated) with self-contained emergency lighting converters.

2 Normative references
The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. IEC 60669-2-1, Switches for household and similar fixed electrical installations Part 2-2: Particular requirements Electronic switches IEC 60925, d.c. supplied electronic ballasts for tubular fluorescent lamps-performance requirements. IEC 62384, Control gear for d.c. or a.c. supplied LED modules - performance requirements.

3 Definitions
The requirements of clause 3 of IEC62386-1 apply.

4 General Description
The requirements of clause 4 of IEC62386-1 apply.

5 Electrical Specifications
The requirements of clause 5 of IEC62386-1 apply.

6 Basic requirements for interface power supplies


The requirements of clause 6 of IEC62386-1 apply.

7 Transmission Protocol Structure


The requirements of clause 7 of IEC62386-1 apply.

8 Timing
The requirements of clause 8 of IEC62386-1 apply.

9 Method of Operations
The requirements of clause 9 of IEC62386-1 apply.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

-5-

10 Declaration of Variables
See part 1, clause 10 with the following declaration of additional variables:
VARIABLE *) SCENE 0-15 xy 10 /TC RGB **) ***) 'TY PRIMARY. N' 'x-COORDINATE' 'y-COORDINATE' 'COLORTEMP' 'TY' 'PRIM. 1 DIMLEVEL' 'PRIM. 2 DIMLEVEL' 'PRIM. 3 DIMLEVEL' 'PRIM. 4 DIMLEVEL' 'PRIM. 5 DIMLEVEL' RED (R) GREEN (G) BLUE (B) 'COLORPOINT STATUS' 'FEATURES' 'PHYSICAL COLORTEMP MAX' 'PHYSICAL COLORTEMP MIN'
6

DEFAULT VALUE (device leaves the factory) 0xFFFF, 0xFFFF 0xFFFF, 0xFFFF 0xFF, 0xFF, 0xFF, 0xFF 65535 ('MASK') ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? ???? factory defined factory defined

RESET VALUE 0xFFFF, 0xFFFF 0xFFFF, 0xFFFF no change no change 65280 (MASK) 65280 (MASK) 65280 (MASK) 65535 ('MASK') 65535 ('MASK') 65535 ('MASK') 65535 ('MASK') 65535 ('MASK') 65535 ('MASK') 0XFF ('MASK') 0XFF ('MASK') 0XFF ('MASK') 0000 0000 no change no change no change

RANGE OF VALIDITY 0 - 65280 (MASK), 0 - 65280 (MASK) 0xFFFF, 1 - 65280 (MASK) 0/0 - 65280/ 65280 (MASK) 0 - 65535 ('MASK') 0 - 65280 (MASK) 0 - 65280 (MASK)

MEMORY *) 64 bytes

0xFF, 0xFF, 0xFF, 0xFF 0-0xFF, 0-0xFF, 0xFF, 0-0xFF 20 bytes 10 bytes 2 bytes RAM 2 bytes RAM

'xy-COORDINATE PRIMARY N' 65280/ 65280 (MASK)

PHYSICAL COLORTEMP MIN 2 bytes RAM - PHYSICAL COLORTEMP MAX, 65280 (MASK) 0 - 65535 ('MASK') 2 bytes RAM 0 - 65535 ('MASK') 0 - 65535 ('MASK') 0 - 65535 ('MASK') 0 - 65535 ('MASK') 0 - 65535 ('MASK') 0 - 0xFF ('MASK') 0 - 0xFF ('MASK') 0 - 0xFF ('MASK') 0000 0000 - 0000 0011 0000 0000 - 1010 1111 PHYSICAL COLORTEMP MIN - 65280 ('MASK') 1 - PHYSICAL COLORTEMP MAX, 65280 ('MASK') 2 bytes RAM 2 bytes RAM 2 bytes RAM 2 bytes RAM 2 bytes RAM 1 byte RAM 1 byte RAM 1 byte RAM 1 byte RAM 1 byte RAM 2 bytes 2 bytes

?= *) **) ***) ****)

undefined Persistent Memory (storage time infinitely) if not otherwise stated. xy-coordinate per primary (4 bytes per primary). TY per primary (2 bytes per primary). Persistent Memory (storage time infinitely) if not otherwise stated. Table 10.1 - Declaration of additional variables

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

-6-

11 Definition of Commands
The protocol and the commands are fully in accordance with clause 11 for IEC62386-1 with adaptations and additions for the following sub clause:

11.3.1 Queries related to status information


Command 151: YAAA AAA1 1001 0111 "QUERY VERSION NUMBER" Ask for the version number of the IEC standard document met by the software and the hardware of the present control gear. The "VERSION NUMBER" shall be stored in a ROM. Answer shall be the "VERSION NUMBER" as an 8 bit number. The most significant 4 bits represent the version of part 1-2 of this standard. The last significant 4 bits represent the version of part 2-9. The "VERSION NUMBER" is xxxx 0001. Command 153: Answer shall be 8. YAAA AAA1 1001 1001 "QUERY DEVICE TYPE"

11.3.4 Application extended commands


Every control command (240 - 247) shall be received a second time in the next 100 ms before it shall be executed in order to increase the probability for a proper reception. No other commands addressing the same converter shall be sent between these two commands, otherwise these commands and the other command shall be ignored and the respective configuration sequence shall be aborted. Command 272 shall not be sent before the repetition of the respective control command (see figure 10.3.4.1):

command 272

application extended configuration command

application extended configuration command max. 100ms

Figure 11.3.4.1 - Exemplary sequence of an application extended control or configuration command All values of DTR shall be checked against the values mentioned in chapter 10, RANGE OF VALIDITY. I.e. the value shall be set to the upper / lower limit if it is above / below the valid range defined in table 10.1.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

-7-

11.3.4.1 Application extended control commands


Command 224: YAAA AAA1 1110 0000 "SET x-COORDINATE WORD" Store the data held in the DTR2 and DTR1 as 16bit x-COORDINATE COLOR SET POINT. x-COORDINATE COLOR SET POINT is defined as a value between 0 and 1. 'MASK' is set to a value equal or larger than 65280. The x-COORDINATE COLOR SET POINT becomes active with command 226 (ACTIVATE xy-COORDINATE). Note: Each x-coordinate bit represents 1/65534 part of x. When the value of x-COORDINATE COLOR SET POINT leads to an out of color point range it will be indicated by QUERY COLORPOINT STATUS (command 248, bit 0). The maximum x-coordinate value is 0,9961. Command 225: YAAA AAA1 1110 0001 "SET y-COORDINATE WORD" Store the data held in the DTR2 and DTR1 as 16bit y-COORDINATE COLOR SET POINT. y-COORDINATE COLOR SET POINT is defined as a value between 0 and 1. 'MASK' is set to a value equal or larger than 65280. The y-COORDINATE COLOR SET POINT becomes active with command 226 (ACTIVATE xy-COORDINATE). Note: Each y-coordinate bit represents 1/65534 part of y. When the value of y-COORDINATE COLOR SET POINT leads to an out of color point range it will be indicated by QUERY COLORPOINT STATUS (command 248, bit 0). The maximum y-coordinate value is 0,9961. Command 226: YAAA AAA1 1110 0010 "ACTIVATE xy-COORDINATE" Activate the xy-COORDINATE COLOR SET POINT stored in x-COORDINATE COLOR SET POINT and y-COORDINATE COLOR SET POINT. Command 227: YAAA AAA1 1110 0011 "SET COLORTEMP WORD" Store the data held in the DTR2 and DTR1 as 16bit COLORTEMP SET POINT. COLORTEMP SET POINT is defined in Mireds. A value of 0 is undefined and will not change the previous color set point. 'MASK' is set to a value equal or larger than 65280. When the value of COLORTEMP leads to an out of color temperature range it will be indicated by QUERY COLORPOINT STATUS (command 248, bit 1). Note: 1 Mired equals 1000000/TC (TC in Kelvin). Each color temperature bit represents 1/65534 part of the color temperature. TC can vary from 1000000 Kelvin (color set point = 1 Mired) to 15,32 Kelvin (color set point = 65279 Mired). Command 228: YAAA AAA1 1110 0100 "COLORTEMP STEP UP" Set the actual COLORTEMP 10 Mired lower. No change if the system COLORTEMP is already on the "PHYSICAL COLORTEMP MIN" level. When the value of COLORTEMP leads to an out of color temperature range it will be indicated by QUERY COLORPOINT STATUS (command 248, bit 1). Command 229: YAAA AAA1 1110 0101 "COLORTEMP STEP DOWN" Set the actual COLORTEMP 10 Mired higher. No change if the system COLORTEMP is already on the "PHYSICAL COLORTEMP MAX" level. When the value of COLORTEMP leads to an out of color temperature range it will be indicated by QUERY COLORPOINT STATUS (command 248, bit 1). Command 230: YAAA AAA1 1110 0110 "SET TY WORD" Store the data held in the DTR2 and DTR1 as 16bit TY. TY is defined in "half of lumens". 'MASK' is set to 65535. Note: TYmin = 0 lumen and TYmax = 32767 lumen. This command is used in combination with "STORE TY PRIMARY N" (command 240) to store the lumen value of the primaries. Command 231: YAAA AAA1 1110 0111 "SET PRIM. 1 DIMLEVEL WORD" Store the data held in the DTR2 and DTR1 as 16bit PRIMAIRY 1 DIMLEVEL SET POINT. 'MASK' is set to 65535. Command 232: YAAA AAA1 1110 1000 "SET PRIM. 2 DIMLEVEL WORD" Store the data held in the DTR2 and DTR1 as 16bit PRIMAIRY 2 DIMLEVEL SET POINT. 'MASK' is set to 65535. Command 233: YAAA AAA1 1110 1001 "SET PRIM. 3 DIMLEVEL WORD" Store the data held in the DTR2 and DTR1 as 16bit PRIMAIRY 3 DIMLEVEL SET POINT. 'MASK' is set to 65535. Command 234: YAAA AAA1 1110 1010 "SET PRIM. 4 DIMLEVEL WORD" Store the data held in the DTR2 and DTR1 as 16bit PRIMAIRY 4 DIMLEVEL SET POINT. 'MASK' is set to 65535. Command 235: YAAA AAA1 1110 1011 "SET PRIM. 5 DIMLEVEL WORD" Store the data held in the DTR2 and DTR1 as 16bit PRIMAIRY 5 DIMLEVEL SET POINT. 'MASK' is set to 65535.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

-8-

Command 236: YAAA AAA1 1110 1100 "SET RGB DIMLEVEL BYTE" Set the data held in the DTR, DTR1 and DTR2 as new RGB Arc Power Level using the actual Fade Time. The DTR values shall be assigned to following colors: DTR = Red, DTR1 = Green and DTR2 = Blue.

In case of a color is not assigned the value of the appropriate Data Transfer Register shall be ignored.
Command 237: YAAA AAA1 1110 1101 "SET WA DIMLEVEL BYTE" Set the data held in the DTR and DTR1 as new WA Arc Power Level using the actual Fade Time. The DTR values shall be assigned to following colors: DTR = White and DTR1 = Amber. In case of a color is not assigned the value of the appropriate Data Transfer Register shall be ignored. Command 238: YAAA AAA1 1110 1101 "SET ACTIVE CHANNEL" Set the RGB channel given by the value held in the DTR active, if supported. DTR value: bit 0: Channel 1; '0' = inactive, '1' = active bit 1: Channel 2; '0' = inactive, '1' = active bit 2: Channel 3; '0' = inactive, '1' = active bit 3: Channel 4; '0' = inactive, '1' = active bit 4: Channel 5; '0' = inactive, '1' = active bit 5 - 7: don't care (unused). Only an active channel shall react on the Arc Power commands defined in part 1-2, except the commands 0 'OFF' and 16 31 'GOTO SCENE X'. Command 239: YAAA AAA1 1110 1111 Reserved for future needs, the control gear must not react in any way. 11.3.4.2 Application extended configuration commands Command 240: YAAA AAA1 1111 0000 START IDENTIFICATION The control gear shall start or re-trigger an identification according to the manufacturer for 10s. Note: Identification can be done optical by changing the light output of the lamp. Command 241: YAAA AAA1 1111 0001 "STORE xyTY-COORDINATE PRIMARY N" Store the x-COORDINATE, the y-COORDINATE given by commands 224 and 225 as x-COORDINATE COLOR SET POINT and y-COORDINATE COLOR SET POINT and store the TY value as given by command 229 SET TY WORD of PRIMARY N given by the value of DTR. Note: Valid values for DTR content are 1, 2, 3, 4 or 5. Command 242: YAAA AAA1 1111 0010 "STORE PHYSICAL COLORTEMP MIN" Store the data held in the DTR2 and DTR1 as 16bit PHYSICAL COLORTEMP MIN level. Command 243: YAAA AAA1 1111 0011 "STORE PHYSICAL COLORTEMP MAX" Store the data held in the DTR2 and DTR1 as 16bit PHYSICAL COLORTEMP MAX level. Command 244: YAAA AAA1 1111 0100 "ASSIGN COLOR TO ACTIVE CHANNEL" Assign an active RGB channel to the color given by the number held in the DTR: DTR value: 1 = Red, 2 = Green, 3 = Blue, 4 = White and 5 = Amber. In case of a DTR value outside the range 1 .. 5 no color shall be assigned. Command 245 YAAA AAA1 1111 0101 Reserved for future needs, the control gear must not react in any way. Command 246 - 247: YAAA AAA1 1111 011x Reserved for future needs, the control gear must not react in any way.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

-9-

11.3.4.3 Application extended query commands Command 248: YAAA AAA1 1111 1000 "QUERY COLORPOINT STATUS" Answer is the following COLORPOINT information byte: bit 0 Colorpoint out of range; '0' = No bit 1 Color temperature out of range; '0' = No bit 2..7 unused; '0' = default value Command 249: YAAA AAA1 1111 1001 "QUERY FEATURES" Answer is the following information about the type of control gear: bit 0 xy capable; '0' = No bit 1 Color temperature TC capable; '0' = No bit 2..4 Number of RGBAW channels; '0'..'5' bit 5..7 Number of primaries; '0'..'5' Command 250: YAAA AAA1 1111 1010 "QUERY CURRENT COLORPOINT/PRIMARY N" Answer depends on the previous stored data of the DTR. The answer will be the low byte of 16-bits value. DTR1 contains the low byte of the 16-bit value and DTR2 contains the high byte of the 16-bit value. DTR value: 0000 0000 x-coordinate 0000 0001 y-coordinate 0000 0010 color temperature TC 0000 0011 physical color temperature minimum 0000 0100 physical color temperature maximum 0000 0101 x primary 1 0000 0110 y primary 1 0000 0111 TY primary 1 0000 1000 dim level primary 1 0000 1001 x primary 2 0000 1010 y primary 2 0000 1011 TY primary 2 0000 1100 dim level primary 2 0000 1101 x primary 3 0000 1110 y primary 3 0000 1111 TY primary 3 0001 0000 dim level primary 3 0001 0001 x primary 4 0001 0010 y primary 4 0001 0011 TY primary 4 0001 0100 dim level primary 4 0001 0101 x primary 5 0001 0110 y primary 5 0001 0111 TY primary 5 0001 1000 dim level primary 5 0001 1001 dim level RGB RED byte 0001 1010 dim level RGB GREEN byte 0001 1011 dim level RGB BLUE byte 0001 1100 dim level RGB WHITE byte 0001 1101 dim level RGB AMBER byte All other DTR values are unused, no answer shall be send and DTR1 and DTR2 are not changed.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

- 10 -

Command 251: YAAA AAA1 1111 1011 "QUERY SCENE COLOR VALUES" Answer depends on the previous stored data of the DTR. The answer will be the LOW byte of 32-bits value. DTR2 contains the HIGH byte, DTR1 contains the MIDDLE(HIGH) byte and DTR contains the MIDDLE(LOW) byte of the 32-bits value. DTR value: XXXX XXXX scene <XXXX XXXX> If the DTR value doesn't correspond with an existing scene, no answer shall be send and DTR, DTR1 and DTR2 are not changed. Command 252 YAAA AAA1 1111 1100 "QUERY CHANNEL STATUS" Answer shall be the actual status of the channels as following 8bit value: bit 0: Channel 1; '0' = inactive, '1' = active bit 1: Channel 2; '0' = inactive, '1' = active bit 2: Channel 3; '0' = inactive, '1' = active bit 3: Channel 4; '0' = inactive, '1' = active bit 4: Channel 5; '0' = inactive, '1' = active bit 5 - 7: unused, shall read '0'. If a channel is not supported the respective bit shall read '0'. Command 253 YAAA AAA1 1111 1101 "QUERY ASSIGNED COLOR" Answer shall be the number of the assigned color of the active channel. If no channel is active the answer shall be '0', if more than one channel is active the answer shall be MASK. Answer: 0 = no channel active, 1 = Red, 2 = Green, 3 = Blue, 4 = White, 5 = Amber and 255 (MASK) = more than one channel active. Command 254 - 255: YAAA AAA1 1111 111x Reserved for future needs, the control gear must not react in any way.

10.3.5 Extending special commands


Command 272: 1100 0001 0000 1000 "ENABLE DEVICE TYPE 8" The device type for control gears for color controlled lighting control gear is 8.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

- 11 -

10.4 Summary of the extended application command set


Command Number 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 - 247 248 249 250 251 252 253 254 - 255 Command Code YAAA AAA1 1110 0000 YAAA AAA1 1110 0001 YAAA AAA1 1110 0010 YAAA AAA1 1110 0011 YAAA AAA1 1110 0100 YAAA AAA1 1110 0101 YAAA AAA1 1110 0110 YAAA AAA1 1110 0111 YAAA AAA1 1110 1000 YAAA AAA1 1110 1001 YAAA AAA1 1110 1010 YAAA AAA1 1110 1011 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 YAAA AAA1 1110 1100 1110 1101 1110 1110 1110 1111 1111 0000 1111 0001 1111 0010 1111 0011 1111 0100 1111 0101 1111 011X 1111 1000 1111 1001 1111 1010 1111 1011 Command Name SET x-COORDINATE WORD SET y-COORDINATE WORD ACTIVATE xy-COORDINATE SET COLORTEMP WORD COLORTEMP STEP UP COLORTEMP STEP DOWN SET TY WORD SET PRIMAIRY 1 LEVEL WORD SET PRIMAIRY 2 LEVEL WORD SET PRIMAIRY 3 LEVEL WORD SET PRIMAIRY 4 LEVEL WORD SET PRIMAIRY 5 LEVEL WORD SET RGB DIMLEVEL BYTE SET WA DIMLEVEL BYTE SET ACTIVE CHANNEL START IDENTIFICATION STORE xyTY-COORDINATE PRIMARY N STORE PHYSICAL COLORTEMP MIN STORE PHYSICAL COLORTEMP MAX ASSIGN COLOR TO ACTIVE CHANNEL

QUERY COLORPOINT STATUS QUERY FEATURES QUERY CURRENT COLORPOINT/PRIMARY N QUERY SCENE COLOR VALUES QUERY CHANNEL STATUS QUERY ASSIGNED COLOR

YAAA AAA1 1111 1100 YAAA AAA1 1111 1101 YAAA AAA1 1111 111X

Table 10.4.1 - Summary of the extended application command set

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

- 12 -

12 Test procedures
The requirements of clause 12 of IEC62386-1-12 apply. Test sequences "RESERVED: application extended commands" The application extended commands defined for device type 1 are tested using the following test sequences. The sequences also check for possible reaction of the commands on other device types. Test sequence 'APPLICATION EXTENDED QUERY COMMANDS' The following test sequences check the application extended query commands 248 to 252. Test sequence 't.b.d' Test sequence 't.b.d' Test sequence 't.b.d' Test sequence 't.b.d' Test sequence 'APPLICATION EXTENDED CONTROL COMMANDS' The following test sequences check the application extended control commands 224 to 234. Test sequence 't.b.d' Test sequence 't.b.d' Test sequence 't.b.d' Test sequence 't.b.d' Test sequence 'APPLICATION EXTENDED CONFIGURATION COMMANDS' The following test sequences check the application extended configuration commands 240 to 243. Test sequence 't.b.d' Test sequence 't.b.d' Test sequence 't.b.d' Test sequence 't.b.d' Examples (informative) Note: Before addressing or referent measurement is started all converters shall be connected to the interface lines and to the proper lamps.

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

- 13 -

Annex A Examples (informative)


Note: Before addressing or referent measurement is started all control gears shall be connected to the interface lines and to the proper lamps.

A.1 Algorithms for the addressing commands


Control gears in a lighting control system with random address allocation: 1. After 'POWER ON' all control gears shall have 100 % light level (Default value after RESET). 2. Start the algorithm with command 258 'INITIALISE' which enables the next addressing commands for 15 minutes. 3. Send command: 259 'RANDOMISE': All control gears choose a binary random number (BRN) so that 0 BRN +224-1. 4. The control unit searches the control gear with the lowest BRN by means of an algorithm that uses command 264 to 266 and command 260 'COMPARE'. The control gear with the lowest BRN is found. 5. The found control gear gets a unique 6 bits SHORT ADDRESS using command 267 'PROGRAM SHORT ADDRESS'. 6. Verify the programmed SHORT ADDRESS with command 268 'VERIFY SHORT ADDRESS'. 7. The found control gear shall be retracted from the search process by means of command 261 'WITHDRAW. 8. If not all control gears are found, repeat from step 4) on until no further control gear can be found. 9. Stop the process with the command 256 'TERMINATE'. 10. Use command 240 (START IDENTIFICATION) for feedback. 11. In case of two or more control gears having the same short address, restart the addressing procedure only for these control gears with the INITIALISE command (using the short address in the second byte) followed by step 3) to 9) and finalize step 10). Only one control gear connected separately to the control unit for a simplified addressing method: Send first the new short address (0AAA AAA1b) by command 257 'DATA TRANSFER REGISTER (DTR)', verify the content of the DTR and send command 128 'STORE DTR AS SHORT ADDRESS' two times. Optional: Control gear in a lighting control system with address allocation by means of physical selection: 1. The control unit shall send command 258 INITIALISE 2. The control unit shall send command 270 PHYSICAL SELECTION 3. The control unit shall repeat command 269 QUERY SHORT ADDRESS periodically until a control gear replies (this control gear is physical selected). 4. The control unit shall send command 267 PROGRAM SHORT ADDRESS containing the control gear 's address. 5. Use command 240 (START IDENTIFICATION) for feedback. 6. Steps 2 to 5 shall be repeated for all control gears. 7. The control unit shall send command 256 TERMINATE. By this the control gears shall leave the PHYSICAL SELECTION MODE and shall return to normal operation.

A.2 Storing/Recalling color scenes


Storing of scenes: If the commands 64 to 79 are being used (STORE THE DTR AS SCENE) then the current color setting shall also be stored. The last used color mode will store its data in the corresponding scene in a 4-byte (32-bit)

representatetion HIGH - MIDDLE(HIGH) - MIDDLE(LOW) - LOW.


last used color mode

xy-coordinate
color temperature RGB dimlevel byte

HIGH 8-bit high x 0xFF BLUE

MIDDLE(HIGH)
8-bit low x 0xFF GREEN

MIDDLE(LOW)
8-bit high y 8-bit high TC 0xFF

LOW
8-bit low y 8-bit low TC RED

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

- 14 -

Recalling of scenes: If the commands 16 to 31 are being used (GO TO SCENE) then also the color value stored for scene XXXX shall be set to the actual color dimlevel. Depending on the color mode used during storing of the scene the corresponding color mode shall be restored from a 4-byte (32-bit) representatetion

HIGH - MIDDLE(HIGH) - MIDDLE(LOW) - LOW.


recalled color mode

xy-coordinate
color temperature RGB dimlevel byte

HIGH 8-bit high x 0xFF BLUE

MIDDLE(HIGH)
8-bit low x 0xFF GREEN

MIDDLE(LOW)
8-bit high y 8-bit high TC 0xFF

LOW
8-bit low y 8-bit low TC RED

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

- 15 -

Annex B Bibliography (informative)

COMEX(AT)???

IEC 62386-2-9 Controlgear for color control lighting

- 16 -

Annex C Reading of 16 bits (informative)

COMEX(AT)???

S-ar putea să vă placă și