IDK MSD-701AMP User Manual page 142

Digital multi switcher with integrated audio power amplifier
Table of Contents

Advertisement

MSD-701AMP User Guide
■ Mask data
Each bit of the received data is ANDed to each bit of mask data, and the result will be compared with the reply
command data. Since "FF" is set by factory default, you do not need to change the mask data normally.
This feature is used to interpret the status of specific bits in received data and provides a reply that can be
used to confirm or alter settings.
[If ASCII codes (text) are replied from an external device]
Since the received data and "Reply command data" are compared without any changes, set "MASK" to "FF".
(If you set "COMMAND INPUT MODE" of reply command to "ASCII", it is automatically set to "FF".)
For example, if "0" of ASCII codes ("30" in hex) is replied:
(Received data)
(Reply command data)
DATA1:30 00 00 00 00
MASK1:FF FF FF FF FF
[If status is determined using bits of the received data]
Set only bits that determine the Mask data to "1" and set other bits to "0".
For example, if determining status using the second bit from the left:
(Received data)
(Reply command data)
(Received data)
(Reply command data)
DATA1:40 00 00 00 00
MASK1:40 FF FF FF FF
142
Binary
00110000
& (MASK)
00110000
Binary
11111111
& (MASK)
01000000
Binary
10111111
& (MASK)
01000000
Binary
Hexadecimal
11111111
=30
=30 matched
Binary
Hexadecimal
01000000
=40
=40 matched
Binary
Hexadecimal
01000000
=00
=40 not matched

Advertisement

Table of Contents
loading

Table of Contents