EasyManua.ls Logo

Siemens SIMATIC ET 200SP CM 1xDALI - System function blocks

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.3 System function blocks
ET 200SP Communication module CM 1xDALI (6ES7137-6CA00-0BU0)
26 Manual, 06/2019, A5E46959434-AA
About output parameter
The outputs of the FBs are kept when the processing of job is done:
For the FBs with an input of CANCEL, only when both the trigger and input of
CANCEL turn to zero, their output is reset.
For the FBs without the input CANCEL, when the trigger turns to zero, the output of
these FBs is reset.
If the triggering input is reset before the FB has finished, the output parameters are set at
least for one cycle.
The output of
DALI_ECG_SWITCH_DIM
(Page 42) can be triggered by a positive level at
the inputs ON_UP or OFF_DOWN; the output of this FB will not be reset all of the time.
Most of the FBs have the following output parameters:
BUSY: Shows whether the FB is being committed. When BUSY = 1, the FB is
triggered but not finished yet.
ACTIVE: Shows whether the FB is being executed. When ACTIVE = 1, the FB is
communicating with the CM 1xDALI.
DONE: Shows whether the FB is executed without errors. When DONE = 1, the FB is
executed without any error. You can check the result of execution in the output of this
FB.
ERROR: Shows whether an error occurs during the process. When ERROR = 1, the
FB is stopped with some errors. You can check the error code in STATUS of this FB.
STATUS: Shows the FB progress or detailed error code. When ERROR = 0, STATUS
shows the FB progress; when ERROR = 1, STATUS shows the detailed error code.
5.3
System function blocks
System function blocks are the basic function blocks of the CM 1xDALI, and they are used
for sending all DALI commands.
5.3.1
DALI_CTRL
Description
DALI_CTRL
is used as the interface for the CM 1xDALI. Through this function block, all of
the other DALI function blocks can communicate with the CM 1xDALI.
DALI_CTRL
is the basic function block 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.

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP CM 1xDALI

Related product manuals