EasyManua.ls Logo

Siemens SIMATIC ET 200SP CM 1xDALI - Check Input Device Status; Query Instance Input Value of the Input Device

Siemens SIMATIC ET 200SP CM 1xDALI
59 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...
CM 1xDALI command list
3.3 Diagnostic
ET 200SP CM 1xDALI Communication Model Description
Programming Manual, 12/2019, A5E47581955-AA
31
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
1
.
Command ID
16
Input Param-
eters
Byte 0 to 63 Status filters for all short addresses: for example, Byte 0 is for the
device with address 0; Byte 1 is for the device with address 1.
Response
Parameters
Byte 0
Return code (Page 51)
Byte 1 to 8 Matched flag for all devices. If a logical AND of the input device status
and the input status filter is not 0, this instruction sets the match flag.
Each bit indicates the status for one device: for example, Bit 0 of Byte
1 indicates the device with address 0; Bit 1 of Byte 1 indicates the
device with address 1; Bit 0 of Byte 2 indicates the device with ad-
dress 8.
1
Example
:
For the input device whose short address is 4, if you want to check whether bit 0 of the
device status is set to 1, you should set the input parameters as:
16#00 16#00 16#00
16#00 16#01 16#00 16#00 16#00
16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00
16#0
0 16#00 16#00 16#00 16#00 16#00 16#00 16#00
16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00
16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00
16#00 16#00 16#00 16#00 16#00 16#
00 16#00 16#00
16#00 16#00 16#00 16#00 16#00 16#00 16#00 16#00
16#00 16#00 16#00 16
#00 16#00 16#00 16#00 16#00
If the bit 0 of the device status is set to 1, you will get the response parameters as:
16#00 16#10 16#00 16#00 16#00 16#00 16#00 16#00 16#00
3.3.7 Query instance input value of the input device
Description
Use this command to query the input value of a input device instance.
Command ID
17
Input Param-
eters
Byte 0
Short address of the input device
Byte 1
Instance number
Response
Parameters
Byte 0
Return code (Page 51)
Byte 1
Resolution of the input device
Byte 2 to 5
Input value in little-endian order

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP CM 1xDALI

Related product manuals