
Programming
5.5 Control gear dimming function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA
47
Parameter Declaration Data type Memory
area
Description
BUSY
Output
BOOL
I, Q, M, D,
L
Status parameter:
•
BUSY = 0: Processing of job is terminated.
•
BUSY = 1: Job is still being committed.
ACTIVE
BOOL
I, Q, M, D,
L
Status parameter:
•
ACTIVE = 0: Job is not yet started.
•
ACTIVE = 1: Job is being executed.
DONE
BOOL
I, Q, M, D,
L
Status parameter:
•
DONE = 0: Job is not yet started or still executing.
•
DONE = 1: Job is executed without errors.
ERROR
BOOL
I, Q, M, D,
L
Status parameter:
•
ERROR = 0: No error occurs.
•
ERROR = 1: Error occurs during processing.
STATUS
BYTE
I, Q, M, D,
L
When the ERROR = 0, STATUS
has following three values:
•
16#00: Idle
•
16#01: Executing
•
16#7F: Completed
When the ERROR = 1, STATUS
shows the detailed error code. For
the detailed meaning of each
error code, refer to Parameter
5.5.5
DALI_ECG_QUERY_COLOR
Description
DALI_ECG_QUERY_COLOR is used for querying the actual color of DALI control gears that
are compliant with IEC-62386-209, device type 8 (color control) (refer to data flow path 6
(Page 23)).
When you query a control gear that does not support color control, the error code “16#87”
(Not supported) is shown in the output parameter of STATUS.
Parameter
The following table shows the parameters of the function block:
Parameter
Declaration Data type Memory
area
Description
QUERY
Input
BOOL
I, Q, M, D,
L or Con-
stant
Query actual color upon a rising edge.