
Programming
5.5 Control gear dimming function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA
49
5.5.6
DALI_ECG_SET_COLOR
Description
DALI_ECG_SET_COLOR is used for setting the actual color of DALI control gears that are
compliant with IEC-62386-209, device type 8 (color control) (refer to data flow path 5
(Page 23)).
If you use this FB to set color to a control gear which does not support color control, the
command cannot take effect and does not report an error.
Parameter
The following table shows the parameters of the function block:
Parameter
Declaration Data type Memory
area
Description
SET
Input
BOOL
I, Q, M, D,
L or Con-
stant
Set the color upon a rising edge.
GROUP
BOOL
I, Q, M, D,
L or Con-
stant
Specify the short address or group address of the control gear:
•
GROUP = 0: ADDRESS indicates the short address or broad-
cast.
•
GROUP = 1: ADDRESS indicates the group address.
ADDRESS
USint
I, Q, M, D,
L or Con-
stant
Identify the address information of the CM 1xDALI.
When GROUP = 0, ADDRESS
indicates the short address or
broadcast:
•
0 to 63: Specify the short
address of the device
•
253: Broadcast the un-
addressed devices
•
255: Broadcast all the devic-
es
When GROUP = 1, ADDRESS
indicates the group address:
•
0 to 15: Group address
COLOR
DALICol-
orDetail
D, L
Color information of the control gear
COLOR_
TYPE
USInt
Set the color type:
•
16#10: xy-coordinate
•
16#20: Color temperature
COORDI
NATE_X
UInt
The x-coordinate value of the point in the CIE color space chroma-
ticity diagram.
X-coordinate = "COORDINATE_X" * 1/65536.
Range: 0 to 65534
COORDI
NATE_Y
UInt
The y-coordinate value of the point in the CIE color space chroma-
ticity diagram.
Y-coordinate = "COORDINATE_Y" * 1/65536.
Range: 0 to 65534