Programming
5.6 Diagnostic function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
52 Manual, 06/2019, A5E46959434-AA
Diagnostic function blocks
Diagnostic function blocks are used for querying the status information of all the DALI
devices.
DALI_DEV_GTIN
Description
DALI_DEV_GTIN
is used for querying the GTIN (Global Trade Item Number) of device (refer
to data flow path 6 (Page 23)).
The following table shows the parameters of the function block:
READ Input
BOOL I, Q, M, D,
L or Con-
Query the GTIN of device upon a rising edge.
DEV_TYP
E
USInt I, Q, M, D,
L or Con-
stant
Select the device type:
• 1: Control gear
• 2: Input device (Sensor)
ADDRES
S
USInt I, Q, M, D,
L or Con-
Specify the short address of the device.
Range: 0 to 63
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.