
Programming
5.7 Configuration function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
70
Manual, 06/2019, A5E46959434-AA
5.7.3
DALI_ECG_QUERY_BASIC_PARAM
Description
DALI_ECG_QUERY_BASIC_PARAM is used for querying the basic parameters of DALI
control gears.
●
When you set the input "PHY_DEV" to 1, this function block queries the parameters from
the physical device (refer to data flow path 6 (Page 23)).
●
When you set the input "PHY_DEV" to 0, this function block queries the parameters which
are saved in CM 1xDALI (refer to data flow path 2 (Page 23)).
You can set the basic parameter of control gear by using DALI_ECG_SET_BASIC_PARAM
(Page 72).
Parameter
The following table shows the parameters of the function block:
Parameter
Declaration Data type Memory
area
Description
QUERY
Input
BOOL
I, Q, M, D,
L or Con-
stant
Query basic parameters of the control gear upon a rising edge.
ADDRESS
USInt
I, Q, M, D,
L or Con-
stant
Specify the short address of the device.
Range: 0 to 63
PHY_DEV
BOOL
I, Q, M, D,
L or Con-
stant
Specify the location of parameters:
•
PHY_DEV = 1 : Query the parameters from the physical device
by sending commands.
•
PHY_DEV = 0 : Query the parameters which are saved in CM
1xDALI.
CM_DALI
InOut
"DALI_CT
RL"
The data block of DALI_CTRL specifies the CM 1xDALI which
communicates with 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.