Programming
5.6 Diagnostic function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA
57
The following table shows the parameters of the function block:
CHECK Input
BOOL I, Q, M, D,
L or Con-
Compare the specified status mask with the control gears upon a
rising edge.
EXT_STA
TUS
BOOL I, Q, M, D,
L or Con-
stant
Show the status of control gear:
• EXT_STATUS = 0: Basic status of the control gear
• EXT_STATUS = 1: Type-related failure status of the control gear
STATUS_
MASK
Ar-
ray[0..63]
I, Q, M, D,
L or Con-
Show the status mask of all the control gears.
The index of the array indicates the short address.
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
following three values:
• 16#00: Idle
• 16#01: Executing
• 16#7F: Completed
When ERROR = 1, STATUS
shows the detailed error code. For
the detailed meaning of each
error code, refer to Parameter
STATUS (Page 106).
MATCH Ar-
ray[0..63]
of BOOL
I, Q, M, D,
L
Check result of devices on all the short addresses.
MATCH = 1: The status of the control gear which is matched with the
specified status mask.
The index of the array indicates the short address.