
Programming
5.7 Configuration function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA
87
5.7.10
DALI_ECG_SET_SCENE
Description
DALI_ECG_SET_SCENE is used for setting the scene configuration of the control gear.
●
You can set the scene level and scene color of one scene.
●
If the control gear does not support the color control function, only scene level can be set.
In this case, the input COLOR_TYPE under the "SCENE_INFO" is set to 16#00.
●
If the status of control gear is configured (for example, control gear is added by using
DALI_ECG_ADD (Page 67)), the parameters are saved in the CM 1xDALI (refer to data
flow path 1 (Page 23)) and sent to the physical device (refer to data flow path 5
(Page 23)).
●
If the status of control gear is not configured, the parameters are only sent to the physical
device (refer to data flow path 5 (Page 23)).
You can query the scene configuration of control gear by using
DALI_ECG_QUERY_SCENE (Page 85).
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 scene configuration of the control gear upon a
rising edge.
ADDRESS
USInt
I, Q, M, D,
L or Con-
stant
Specify the short address of the device.
Range: 0 to 63
SCENE_NUM
USInt
I, Q, M, D,
L or Con-
stant
Specify the scene number.
Range: 0 to 15
SCENE_INFO
Scene-
InfoDe-
tail
D, L
The scene information of the control gear
LEVEL
USInt
Scene level. Write scene level to 255 means remove
scene.
Range: 0 to 255
COLOR
The color information of the scene
COLOR
_TYPE
USInt
Set the color type:
•
16#00: No color, only set the scene level, ignore
the scene color.
•
16#10: xy-coordinate
•
16#20: Color temperature