CM 1xDALI communication model
2.3 Sending/receiving CM commands
ET 200SP CM 1xDALI Communication Model Description
16 Programming Manual, 12/2019, A5E47581955-AA
4. Response for querying level CPU gets from the input Process Image
Command index: the response has the same index with the command index.
1 16#A0 Version: it must be 16#A0
2 16#14 Checksum: the total length of this command is 6 bytes, so the calculation is:
(byte 3 + byte 4 + … + byte 6) XOR 16#FF = 16#14.
3 16#06 Length: total length of this command. Byte 0 is the command index and is not
counted in.
4 16#81 Bit 7: always 1 from CM 1xDALI
Bit 6 to 0: Command ID. 1 is “query level”.
5 16#00 Response parameters - Return code: 0 indicates the command is completed
6 16#64 Response parameters – Actual level: the actual level of control gear is 100
Not used in this command
14 16#FF
CM commands over Data Record
You can use the "Write data record" instruction to send an entire CM commands and use the
"Read data record" instruction to receive the CM command response.
Send CM command – data record 50
By writing the CM command data into the data record number 50, the CPU sends the CM
command to the CM 1xDALI module.
The CPU can only send another CM command to the CM 1xDALI module after the CPU
receives the response from the last CM command. If the CPU has not received the
response, the "Write data record" instruction returns an error.
Receive CM command – data record 51
By reading data record number 51, the CPU gets the response from the last CM command.
When the CPU reads the data record and gets a CM response, the CM 1xDALI module
clears the buffer. When the CPU reads the data record again, the "Read data record"
instruction returns an error.
If the CPU does not read the response and sends another CM command to the CM 1xDALI
module, the new CM response overwrites the last response.