EasyManua.ls Logo

Siemens SIMATIC ET 200SP CM 1xDALI - Dali_Ecg_Query_Ophour

Siemens SIMATIC ET 200SP CM 1xDALI
126 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming
5.6 Diagnostic function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
58 Manual, 06/2019, A5E46959434-AA
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
Data type
Memory
area
Description
QUERY Input
BOOL I, Q, M, D,
L or Con-
stant
Query the operation hour of control gear upon a rising edge.
ADDRES
S
USInt I, Q, M, D,
L or Con-
stant
Specify the short address of the device.
Range: 0 to 63
CM_DALI InOut "DALI_CT
RL"
The data block of
DALI_CTRL
specifies the CM 1xDALI which com-
municates with the current function block.

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP CM 1xDALI

Related product manuals