
Programming
5.3 System function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA
27
●
The FB receives and reports the event messages which are sent be the DALI-2 input
devices.
●
When Bit 1 or Bit 2 of the CM_STATUS show "1", all the other DALI function blocks
cannot be executed. You can choose any of the following actions to resume the status of
CM 1xDALI.
–
Set the input CM_RESET to 1.
–
Send the DALI command "STOP QUIESCENT MODE" or "ENABLE APPLICATION
CONTROLLER" (refer to IEC 62386-103) to the CM 1xDALI through other DALI
application controllers.
●
A defined set of messages and their content are shown at the inputs EVENT_MSG,
EVENT_SCHEME, EVENT_SRC_1, EVENT_SRC_2 and EVENT_INFO.
●
Other generic event messages are shown at the outputs RSV_MSG, RSV_MSG_LEN
and RSV_MSG_VAL. The content is shown without interpretation at the output
RSV_MSG_VAL.
Parameter
The following table shows the parameters of the function block.
Parameter Decla-
ration
Data
type
Memory
area
Description
HW_ID
Input
HW_IO
I, Q, M,
D, L or
Constant
The hardware identifier of the CM 1xDALI
CM_RES
ET
BOOL
I, Q, M,
D, L or
Constant
Stop quiescent mode and re-enable the DALI application controller upon a
raising edge. After this action, Bit 1 and Bit 2 of the CM_STATUS will be
reset to 0.
CONN_E
RR
Output
BOOL
I, Q, M,
D, L
The status of CPU communication with CM 1xDALI:
•
CONN_ERR = 0: No error when the CPU communicates with CM
1xDALI.
•
CONN_ERR = 1: Error occurs when the CPU communicates with CM
1xDALI.
CM_STAT
US
DWORD I, Q, M,
D, L
Indicate the status of the CM 1xDALI:
16#00000000: The status of the CM 1xDALI is OK.
For the detailed explanation for each Bit of the CM_STATUS, refer to the
following section "Parameter CM_STATUS".
EVENT_M
SG
BOOL
I, Q, M,
D, L
The status of the sensor event. When the CM 1xDALI receives a sensor
event, the EVENT_MSG remains true for one cycle:
•
EVENT_MSG = 0: No sensor event
•
EVENT_MSG = 1: A sensor event is received.