Dali_Ecg_Query_Ophour - Siemens SIMATIC ET 200SP CM 1xDALI Manual

Communication module
Hide thumbs Also See for SIMATIC ET 200SP CM 1xDALI:
Table of Contents

Advertisement

Programming
5.6 Diagnostic function blocks
5.6.4

DALI_ECG_QUERY_OPHOUR

Description
DALI_ECG_QUERY_OPHOUR is used for querying the operation hour of DALI control gear.
The operation hour accumulates when the control gear remains on for one hour. The
operation hour is stored in the CM 1xDALI (refer to data flow path 2 (Page 23)). If you
change short adresses of two control gears, the operating hours of these two control gears
are not be changed, you exchange the related operation hours of these two control gears by
using DALI_ECG_SET_OPHOUR (Page 59).
Before calling this function block, make sure that the control gear is configured by using
DALI_ECG_ADD (Page 67) or DALI_DEV_UPLOAD (Page 100).
When you query the operating hour of the control gear, the following occurs:
● If the control gear is not configured before, the error code "16#8D" is shown in the output
parameter of STATUS.
● If the control gear is configured, but the type of control gear is mismatched, the error code
"16#8B" is shown in the output parameter of STATUS.
Parameter
The following table shows the parameters of the function block:
Parameter
Declaration
QUERY
Input
ADDRES
S
CM_DALI
InOut
58
Data type
Memory
area
BOOL
I, Q, M, D,
Query the operation hour of control gear upon a rising edge.
L or Con-
stant
USInt
I, Q, M, D,
Specify the short address of the device.
L or Con-
Range: 0 to 63
stant
"DALI_CT
The data block of DALI_CTRL specifies the CM 1xDALI which com-
RL"
municates with the current function block.
Description
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
Manual, 06/2019, A5E46959434-AA

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents