System Function Blocks; Dali_Ctrl - 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.3 System function blocks

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
– For the FBs without the input CANCEL, when the trigger turns to zero, the output of
● 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
– ACTIVE: Shows whether the FB is being executed. When ACTIVE = 1, the FB is
– DONE: Shows whether the FB is executed without errors. When DONE = 1, the FB is
– ERROR: Shows whether an error occurs during the process. When ERROR = 1, the
– STATUS: Shows the FB progress or detailed error code. When ERROR = 0, STATUS
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.
26
CANCEL turn to zero, their output is reset.
these FBs is reset.
triggered but not finished yet.
communicating with the CM 1xDALI.
executed without any error. You can check the result of execution in the output of this
FB.
FB is stopped with some errors. You can check the error code in STATUS of this FB.
shows the FB progress; when ERROR = 1, STATUS shows the detailed error code.
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