Programming
5.3 System function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA
31
The following table shows the parameters of the function block:
SEND Input
BOOL I, Q, M, D,
L or Con-
Send the DALI command upon a rising edge.
CMD_CO
DE
DWord I, Q, M, D,
L or Con-
The bit stream of the DALI command
CMD_BIT
_LEN
USInt I, Q, M, D,
L or Con-
The bit length of the DALI command. Only 16 and 24 are valid.
SEND_T
WICE
BOOL I, Q, M, D,
L or Con-
SEND_TWICE = 1: Send the DALI command twice.
WAIT_RE
SP
BOOL I, Q, M, D,
L or Con-
stant
• WAIT_RESP = 0: Do not wait for the response. DONE is set to 1
immediately after the DALI command is sent.
• WAIT_RESP = 1: Wait for the response of the command. DONE is
set to 1 when CM 1xDALI receives the response byte, and the re-
sponse byte is shown in "CMD_ACK".
CM_DALI InOut "DALI_CT
The data block of
specifies the CM 1xDALI which com-
municates with the current function block.
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 ERROR = 0, STATUS
has the following three val-
ues:
• 16#00: Idle
• 16#01: Executing
• 16#7F: Completed
When ERROR = 1, STATUS shows
the detailed error code. For the de-
tailed meaning of each error code,
refer to Parameter STATUS
(Page 106).
CMD_AC
BYTE I, Q, M, D,
When WAIT_RESP = 1, this function block is completed successfully
and shows the response byte of the sent command.