Programming
5.6 Diagnostic function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA
53
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).
GTIN Array[0..5]
I, Q, M, D,
Show the global trade item number of the device. Each GTIN has 6
DALI_ECG_STATUS
Description
DALI_ECG_STATUS
is used for querying the status of one control gear. The status
information is queried from the physical DALI device (refer to data flow path 6 (Page 23)).
The status information saved in the CM 1xDALI will be updated (refer to data flow path 4
(Page 23)).
The following table shows the parameters of the function block:
READ Input
BOOL I, Q, M, D,
L or Con-
Query the status of one control gear upon a rising edge.
ADDRESS 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
communicates 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.