Summary of Contents for Siemens SIMATIC ET 200SP CM 1xDALI
Page 1
ET 200SP CM 1xDALI Communication Model Description Preface Documentation Guide CM 1xDALI communication SIMATIC model CM 1xDALI command list ET 200SP CM 1xDALI Communication Model Description Programming Manual 12/2019 A5E47581955-AA...
Page 2
Note the following: WARNING Siemens products may only be used for the applications described in the catalog and in the relevant technical documentation. If products and components from other manufacturers are used, these must be recommended or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and maintenance are required to ensure that the products operate safely and without any problems.
1xDALI from the CPU through PROFINET or PROFIBUS. This manual supplements the manual ET 200SP Communication module CM 1xDALI (https://support.industry.siemens.com/cs/ww/en/view/109769428) which describes the functions and technical specification. The information provided in this manual and in Communication module CM 1xDALI manual supports you commissioning the DALI system.
Page 4
Siemens' products and solutions undergo continuous development to make them more secure. Siemens strongly recommends that product updates are applied as soon as they are available and that the latest product versions are used. Use of product versions that are no longer supported, and failure to apply the latest updates may increase customers' exposure to cyber threats.
Table of contents Preface ..............................3 Documentation Guide ..........................7 CM 1xDALI communication model ......................11 Configuring the CM 1xDALI ....................11 Structure of CM command/response ..................11 Sending/receiving CM commands ..................12 CM 1xDALI command list ........................18 System ............................ 20 3.1.1 Poll the status and event of CM 1xDALI .................
Page 6
Table of contents 3.4.15 Add input device........................42 3.4.16 Remove input device ......................42 3.4.17 Query input device parameters ....................42 3.4.18 Set input device parameters ....................43 3.4.19 Query instance parameters of input device ................43 3.4.20 Type-related parameters for input device ................44 3.4.21 Set instance parameters of input device ................
ET 200SP distributed I/O system, e.g. diagnostics, communication, Web server, motion control and OPC UA. You can download the documentation free of charge from the Internet (https://support.industry.siemens.com/cs/ww/en/view/109742709). Changes and supplements to the manuals are documented in a Product Information. ET 200SP CM 1xDALI Communication Model Description...
Page 8
You must register once to use the full functionality of "mySupport". You can find "mySupport" on the Internet (https://support.industry.siemens.com/My/ww/en). "mySupport" - Documentation With "mySupport", your personal workspace, you make the best out of your Industry Online Support.
Page 9
Solutions are shown in interplay with multiple components in the system - separated from the focus on individual products. You will find the application examples on the Internet (https://support.industry.siemens.com/sc/ww/en/sc/2054). TIA Selection Tool With the TIA Selection Tool, you can select, configure and order devices for Totally Integrated Automation (TIA).
Page 10
Documentation Guide PRONETA SIEMENS PRONETA (PROFINET network analysis) allows you to analyze the plant network during commissioning. PRONETA features two core functions: ● The topology overview automatically scans the PROFINET and all connected components. ● The IO check is a fast test of the wiring and the module configuration of a plant.
For how to configuring the CM 1xDALI, refer to of the manual ET 200SP Communication module CM 1xDALI (https://support.industry.siemens.com/cs/ww/en/view/109769428) Structure of CM command/response Through CM commands, the CPUs communicate with the CM 1xDALI module to configure or query DALI devices. A DALI device can be a control gear or input device. When a CPU sends a CM command to a CM 1xDALI module, the CM 1xDALI module replies with a CM response.
CM 1xDALI communication model 2.3 Sending/receiving CM commands Sending/receiving CM commands To send the CM command, use Process Image or Data Record. CM commands over Process Image The CM 1xDALI module has 16 bytes for Process Image input and 16 bytes for Process Image output.
Page 13
CM 1xDALI communication model 2.3 Sending/receiving CM commands Example The following example shows how to poll the status and event of module, and then query the level of a control gear. 1. Input data over Process image to poll the status and event information Byte Value Description...
Page 14
CM 1xDALI communication model 2.3 Sending/receiving CM commands 2. Response data CPU gets from the input Process Image Byte Value Description 16#01 Command index: the response has the same index. 16#A0 Version: it must be 16#A0. 16#76 Checksum: the total length of this command is 15 bytes, so the calculation is: (byte 3 + byte 4 + …...
Page 15
CM 1xDALI communication model 2.3 Sending/receiving CM commands 3. Input data over Process image to query the level of a control gear Byte Value Description 16#02 Command index: it must be different with the previous command. 16#A0 Version: it must be 16#A0. 16#E9 Checksum: the total length of this command is 5 bytes, so the calculation is: (byte 3 + byte 4 + …...
Page 16
CM 1xDALI communication model 2.3 Sending/receiving CM commands 4. Response for querying level CPU gets from the input Process Image Byte Value Description 16#02 Command index: the response has the same index with the command index. 16#A0 Version: it must be 16#A0 16#14 Checksum: the total length of this command is 6 bytes, so the calculation is: (byte 3 + byte 4 + …...
Page 17
CM 1xDALI communication model 2.3 Sending/receiving CM commands ET 200SP CM 1xDALI Communication Model Description Programming Manual, 12/2019, A5E47581955-AA...
5.1 CM 1xDALI data storage model chapter in the manual of ET 200SP Communication module CM 1xDALI (https://support.industry.siemens.com/cs/ww/en/view/109769428) to understand the storage model of CM 1xDALI. You can send every command over a data record. The marked commands can be sent alternatively over process image.
Page 19
CM 1xDALI command list Query control gear group (Page 38) Add control gear to groups (Page 38) Remove control gear from groups (Page 39) Query control gear scene (Page 39) Set control gear scene (Page 40) Remove control gear scene (Page 41) Start download control gear parame- √...
Use this CM command to send a heartbeat message to CM 1xDALI module to query its status and event message. In order to receive all the event messages in time, Siemens recommends sending this command every 100 milliseconds. If the CM 1xDALI does not receive this command for 10 seconds, it stops the background detection .
CM 1xDALI command list 3.1 System CM 1xDALI periodically sends DALI commands to query the status of all the devices on the DALI bus and stores the information in the module. The query period can be set by module parameters. The program blocks of the CPU have a higher priority when ac- cessing the DALI bus.
CM 1xDALI command list 3.2 Control gear dimming 3.1.3 Reset module status Description Use this CM command to reset the status of the CM 1xDALI module. It stops the quiescent mode, go to active mode (clear the bit 1 and bit 2 of status in Poll the status and event of CM 1xDALI (Page 20)).
CM 1xDALI command list 3.2 Control gear dimming 3.2.2 Set level Description Use this CM command to set the target arc power level of control gears. Command ID 2 Input Param- Byte 0 0 (16#00) to 63 (16#3F): short address •...
CM 1xDALI command list 3.2 Control gear dimming Byte 2 to 3 Shows the value of the color type Color coordinate-x (when Byte 1 is 16#10) • Color temperature (when Byte 1 is 16#20) • Unknow color type (when Byte 1 is 16#00) •...
CM 1xDALI command list 3.3 Diagnostic 3.2.5 Go to control gear scene Description Use this CM command to go to the configure scene for control gears. Command ID 5 Input Param- Byte 0 0 (16#00) to 63 (16#3F): short address of the control gear •...
CM 1xDALI command list 3.3 Diagnostic Byte 3 Basic control gear status. Bit 0: control gear failure • Bit 1: lamp failure • Bit 2: lamp on • Bit 3: limit error • Bit 4: fade running • Bit 5: reset state •...
Page 27
CM 1xDALI command list 3.3 Diagnostic Example For the control gear whose short address is 5, if you want to check whether the bit 1 of basic control gear status is set to 1, you should set the input parameters as: 16#00 16#00 16#00 16#00 16#00 16#00 16#02 16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00...
Page 28
CM 1xDALI command list 3.3 Diagnostic Table 3- 2 Type-related failure status Type 1 Type 2 (dis- Type 3 (hal- Type 4 (in- Type 5 Type 6 Type 7 Type 8 (col- (emergency) charge) ogen) candescent) (converter) (LED) (switch) or control) Circuit failure Mains volt- Short circuit Load over-...
CM 1xDALI command list 3.3 Diagnostic 3.3.3 Query control gear operating hours Description Use this CM command to query the operating hours of a control gear. The operating hours accumulate when the control gear remains on for one hour. The operating hours are stored in the CM 1xDALI.
CM 1xDALI command list 3.3 Diagnostic 3.3.5 Query input device status Description Use this CM command to query the status of an input device and its instance by sending DALI commands to the device. CM 1xDALI updates the stored status with the latest response.
CM 1xDALI command list 3.3 Diagnostic 3.3.6 Check input device status Description This command checks the input device status stored in the CM 1xDALI, compare them with the input status filters, and return the matching results Command ID 16 Input Param- Byte 0 to 63 Status filters for all short addresses: for example, Byte 0 is for the eters...
CM 1xDALI command list 3.4 Configuration 3.3.8 Query device GTIN Description Use this CM command to query the Global Trade Item Number (GTIN) of a DALI device. Command ID 18 Input Param- Byte 0 Specifies the device type: eters 1: control gears 2: input devices Byte 1 Short address of the device...
(Page 32)" and its data saved in the CM 1xDALI. Refer to chapter CM 1xDALI data storage model in the manual of ET 200SP Communication mod- ule CM 1xDALI (https://support.industry.siemens.com/cs/ww/en/view/109769428) to understand the storage model of CM 1xDALI. This CM command resets the saved configuration on the input short address.
CM 1xDALI command list 3.4 Configuration 3.4.3 Query control gear basic parameters Description Use this CM command to query the general parameters of a control gear. Command ID 23 Input Param- Byte 0 Short address of the control gear eters Byte 1 Query actual device flag: 0: query the parameters saved in the CM 1xDALI.
CM 1xDALI command list 3.4 Configuration 3.4.4 Set control gear basic parameters Description Use this CM command to set the general parameters of a control gear. The command sets the parameters in the device and saves the parameters in CM 1xDALI. Command ID 24 Input Param- Byte 0...
Page 36
CM 1xDALI command list 3.4 Configuration The following tables define the type-related parameters for control gear types. Control gear type 1 (emergency) Byte 2 Emergency level Byte 3 Prolong time Byte 4 to 5 Function test delay (in little-endian order) Byte 6 to 7 Duration test delay (in little-endian order) Byte 8...
CM 1xDALI command list 3.4 Configuration Control Gear Type 8 (color control) Byte 2 Power on color type Byte 3 to 4 Power on color value 1, coordinate-x or color temperature. Byte 5 to 6 Power on color value 2, coordinate-y. Byte 7 System failure color type Byte 8 to 9...
CM 1xDALI command list 3.4 Configuration 3.4.7 Query control gear groups Description Use this CM command to query the group membership information of a control gear. Command ID 27 Input Param- Byte 0 Short address of the control gear eters Byte 1 Query actual device flag.
CM 1xDALI command list 3.4 Configuration 3.4.9 Remove control gear from groups Description Use this CM command to remove the control gear from some groups. Command ID 29 Input Param- Byte 0 Short address of the control gear eters Byte 1 Remove from group 0 to 7.
CM 1xDALI command list 3.4 Configuration Byte 4 to 5 Show the value of the color type. Color coordinate-x (when the scene color type is color-coordinate • (16#10).) Color temperature (when the scene color type is color-temperature • (16#20).) 0 (when the scene color type is unknown.) •...
CM 1xDALI command list 3.4 Configuration 3.4.12 Remove control gear scene Description Use this CM command to remove the scene configuration of a control gear. This command has the same behavior as calling "Set control gear scene (Page 40)" when scene level is 255 (16#FF). Command ID 32 Input Param- Byte 0...
CM 1xDALI command list 3.4 Configuration 3.4.15 Add input device Description Use this CM command to configure or modify an input device and its instances. Adding an input device sets the configured flag of the device but does not send a •...
CM 1xDALI command list 3.4 Configuration 3.4.18 Set input device parameters Description Use this CM command to set the input device parameters. The parameters are set to the input device and saved in the CM 1xDALI. Command ID 38 Input Param- Byte 0 Short address of the input device eters...
CM 1xDALI command list 3.4 Configuration 3.4.20 Type-related parameters for input device The following tables describe the type-related parameters for input devices: Input device type 1 (push button) Byte 7 Short press time Byte 8 Double click time Byte 9 Repeat time Byte 10 Stuck check time...
CM 1xDALI command list 3.4 Configuration 3.4.21 Set instance parameters of input device Description Use this CM command to set the type-related parameters of one instance in a input device. Note: Only input device types 1 to 4 have type-related parameters. Command ID 40 Input Param- Byte 0...
CM 1xDALI command list 3.5 Addressing 3.4.24 Reset Device Description Use this CM command to reset the parameters of a DALI device, and clear the pa- rameters saved in the CM 1xDALI. If this command executes without errors, it resets the physical device is reset and deletes the parameters saved in CM 1xDALI.
CM 1xDALI command list 3.5 Addressing Input Param- Byte 0 Specify the device type. eters 1: control gears • 2: input devices • Byte 1 Specify the short address to scan 0 (16#00) to 63 (16#3F): short address • 253 (16#FD): only unaddressed •...
CM 1xDALI command list 3.5 Addressing 3.5.3 Detect unaddressed device Description Use this CM command to detect the existence of unaddressed devices. Command ID 53 Input Param- Byte 0 Specifies the device type: eters 1: control gears • 2: input devices •...
CM 1xDALI command list 3.6 Progress 3.5.5 Change short address Description Use this CM command to change the short address of a device. If another device uses the new address, CM 1xDALI swaps the short addresses of these two devices. After changing the short address, the command clears auto-addressed flag of the device, and updates the address status.
Page 50
CM 1xDALI command list 3.6 Progress Comments If no procedure has started, Byte 1 and Byte 2 of the response parameters are 255 (16#FF). Progress Byte 2 of CM command 33 Start download control gear parameters": (Page 41) Progress number Device progress 16#01 Querying status of the control gear...
CM 1xDALI command list 3.7 Return code and control status 3.6.2 Cancel current command Description Use this CM command to stop current running CM command. Command ID 57 Input Param- Byte 0 The value is 0. eters Response Byte 0 Return code (Page 51) Parameters Return code and control status...
CM 1xDALI command list 3.7 Return code and control status 3.7.2 Address status Error code Description 16#00 Status is unknown. Query or scan the DALI bus. 16#01 If this short address is configured, the device with this short address is the same as configured.
Page 53
CM 1xDALI command list 3.7 Return code and control status Type 1 (emergency) Type 2 (discharge) Type 3 (halogen) type 4 (incandescent) Duration test maxi- Reserved Thermal shut down Thermal shut down mum delay exceeded Function test failed Lamp voltage out of Thermal overload Thermal overload spec...
Glossary Battery charge Level of the battery charge. Color space Color space plane scaled such that any color within it might be identified with two coordinates x and y, where x and y are both in the range 0 to 1. Color temperature Tc A black body (perfect radiant body) changes its color from red through yellow to white as its temperature increases (black body line –...
Page 55
Glossary Device group Type of address used to address a group of control devices in the system at once Dimming curve The dimming curve defines how dimmers set voltage output in response to control signal input, such as a slider position. You can set the dimming curve of the control gear as follows: 0: sets the dimming curve to linear 1: sets the dimming curve to the standard logarithmic output characteristics...
Page 56
Glossary Error hold-off time The ERROR HOLD-OFF TIME specifies the minimum time an error must be continuously present in order to be indicated Total operation time. Event An instance report, characterized by its event number, of a change or a defined sequence of changes of its input value Fast fade time The Fast Fade Time is used instead of the Fade Time if the Fade Time is equal to 0.
Page 57
Glossary Prolong time Time the extended emergency mode lasts after restoration of the mains supply Report time If the report timer is set, it shall generate a ‘repeat’ trigger every Treport even if the "inputValue" has not changed. The report timer shall be restarted every time an event is sent.
Page 58
Glossary Up switch off threshold Value against which the virtual arc power level is continually compared, the output of the control gear being switched off whenever the virtual arc power level reaches or passes this level whilst increasing. Up switch on threshold Value against which the virtual arc power level is continually compared, the output of the control gear being switched on whenever the virtual arc power level reaches or passes this level whilst increasing.
Page 59
Glossary ET 200SP CM 1xDALI Communication Model Description Programming Manual, 12/2019, A5E47581955-AA...