VXI SM8000 User Manual

Page 64

Advertising
background image

VXI Technology, Inc.

64

SM8000 Series Programming

6Ch

Command Name

Power Down Motor

Command Format

6Ch

Description

This command functions the same as 35h and 43h.




80h

Command Name

Set Attenuation

Command Format

80h HIGH_BYTE LOW_BYTE

Description

The Set Attenuation command sets the attenuation value using a 2-byte (16-bit)
format.

Example

The following example translates a decimal attenuation value (dB) into the
HIGH_BYTE-LOW_BYTE command input format:

1.

100 x 34.39 = 3439

Multiply dB value by 100 to get integer decimal
value.

2.

3439 = 0D6Fh

Convert integer decimal to hexadecimal.

3.

HIGH_BYTE = 0Dh

LOW_BYTE = 6Fh

Convert to HIGH_BYTE and LOW_BYTE
format.




Advertising