EasyManua.ls Logo

Siemens SIMATIC ET 200SP CM 1xDALI - Page 39

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.4 Addressing function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
38 Manual, 06/2019, A5E46959434-AA
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 address information upon a rising edge.
DEV_TYPE USInt I, Q, M, D,
L or Con-
stant
Select the device type:
1: Control gear
2: Input device (Sensor)
DET_ALL BOOL I, Q, M, D,
L or Con-
stant
DET_ALL = 0: Query the address information which is saved
directly in the CM 1xDALI.
DET_ALL = 1: Detect all devices on the bus and then return the
latest address information.
CANCEL BOOL I, Q, M, D,
L or Con-
stant
CANCEL = 1: Stop the scanning/querying procedure, and return an
error.
CM_DALI InOut "DALI_CT
RL"
The data block of
DALI_CTRL
specifies the CM 1xDALI which
communicates with the 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.
DONE BOOL I, Q, M, D,
L
Status parameter:
DONE = 0: Job is not yet started or still executing.
DONE = 1: Job is executed without errors.
ERROR BOOL I, Q, M, D,
L
Status parameter:
ERROR = 0: No error occurs.
ERROR = 1: Error occurs during processing.
STATUS BYTE I, Q, M, D,
L
When ERROR = 0, STATUS has
following four values:
16#00: Idle
16#01 to 16#40: Detecting
the status from DALI devices.
16#41: Querying the infor-
mation from CM 1xDALI.
16#7F: Completed
When ERROR = 1, STATUS
shows the detailed error code.
For the detailed meaning of each
error code, refer to Parameter
STATUS (Page 106).

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP CM 1xDALI

Related product manuals