
Programming
5.2 General information for programming
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA
25
For the detailed parameter information on CM 1xDALI database and DALI device database,
refer to the following table.
Table 5- 1
Description for database parameters
Parameters
Storage location
Read-
only
Description
CM
1xDALI
DALI
devices
DALI device
status
✓
✓
✓
The basic status and extended status of control gears, and device status
of sensors.
Address status
✓
✓
The address status of DALI device on the bus. CM 1xDALI cyclic queries
all the address status of DALI devices on the bus through the back-
ground detection, and detects the following results:
•
Whether each DALI device has a short address
•
For control gear: the information of basic status, control gear type
and extended status
•
For sensor: the information of device status, number of instances and
type of each instance
Configuration
parameters
✓
✓
The basic parameters, extended parameters, group and scene parame-
ters of control gears and device parameters, instance parameters of
sensors. The CM 1xDALI does not store the read-only parameters of the
DALI devices.
Operating hour
of control gears
✓
The CM 1xDALI stores the operating hour of configured control gears.
5.2
General information for programming
The following general information is useful for programming a DALI application:
About function block (FB)
●
All the FBs in CM 1xDALI library are asynchronous instructions. It is recommended to use
the FBs in the same cyclic organization block (OB).
●
Most of the FBs in the CM 1xDALI library are triggered by a rising edge, except for
DALI_CTRL (Page 26)and DALI_ECG_SWITCH_DIM (Page 42).
●
If you call several FBs at the same time, they are queued. You can check the output
parameters in each FB.
About DALI_CTRL
●
DALI_CTRL (Page 26) is the basic FB of CM 1xDALI. DALI_CTRL must be called in a
cyclic OB, and be executed in every cycle. Do not use it in an interrupt OB.
●
Each CM 1xDALI works with only one instance of DALI_CTRL FB.
●
Specify the hardware ID of connected CM 1xDALI at the DALI_CTRL FB, and then
connect the DALI_CTRL DB with the other FBs through the InOut parameter of CM_DALI.