Diamond MM-32-AT Analog Input (A/D)

MM-32-AT Analog Input block


Simulink® Real-Time™ Library for Diamond

Scaling Input to Output

I/O Module Input

Block Output Data Type





Block Parameters

Channel configuration

From the list, select the following. Refer to the Diamond-MM-32-AT documentation for a description of the configuration modes.

  • 1-32 SE to select the configuration mode labeled A (32 single-ended input channels)

  • 1-16 DI to select the configuration mode labeled B (16 differential input channels)

  • 1-8SE 9-16 DI 17-24 SE to select the configuration mode labeled D (eight single-ended input channels labeled 1 through 8, eight differential input channels labeled 9 through 16, and an additional eight single-ended input channels labeled 17 through 24).

    Note that the selected channel configuration must match the configuration set by the jumpers in block J5. This driver does not support mode C.

First channel number

Enter the number of the first channel in a set of contiguous channels. Depending on the value of the Channel Configuration parameter, the first channel number must be within the range 1 through 32, 1 through 16, or 1 through 24.

Number of channels

Enter the number of input channels you want to use. The maximum number of channels varies between 1 and 32 and depends on Channel configuration and the First channel number.


From the list, choose a voltage range. The input range applies to all channels.

Sample time

Enter the base sample time or a multiple of the base sample time (-1 means sample time is inherited).

Base address

Enter the base address of the board. This entry must correspond to the DIP switch setting on the board. For example, if the DIP switch setting is 300 (hexadecimal), enter 0x300.

External Websites

Was this topic helpful?