> For the complete documentation index, see [llms.txt](https://www.opal-rt.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/mezzanine-option.md).

# Mezzanine Option

## Description

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-8c046b4368d260b17ef65d6cf1c6dd48d0c12fda%2FRTLIO_mezzanine_option_block.png?alt=media" alt=""><figcaption></figcaption></figure>

The **Mezzanine option** block, located in the **RT-LAB I/O/Opal-RT/Common** library, is used to configure mezzanine I/O modules installed in the simulator or expansion unit at simulation load time. Depending on the mezzanine type, certain configuration settings may be required or optional. The **Mezzanine Option** block exposes these module‑specific settings, allowing the mezzanine to be configured appropriately before the simulation starts. The set of available parameters is determined by the selected mezzanine type.

Supported **mezzanine types** include:

* **OP5369** - 32DIO
* **OP5330** - 16AO
* **OP5367‑3** - 16DI / 16DO
* **OP5367‑5** - 32DI
* **OP5367‑6** - 32DI
* **OP48H10** - FAST
* **OP48H20** - STANDARD
* **OP48H30** - HIGH DENSITY (beta)

## Mask parameters

<figure><img src="https://96827845-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNRdpSk8kjn20gXAexnt6%2Fuploads%2Fgit-blob-ce3cd5a4db9fb2ae4af2e1907d7dfbcafb19f9ef%2FRTLIO_mezzanine_option_mask.png?alt=media" alt=""><figcaption></figcaption></figure>

{% tabs %}
{% tab title="OP5369" %}

<table><thead><tr><th width="161">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Controller name</strong></td><td>Specifies the <strong>OpCtrl</strong> block this block is bound to. Enter the same <strong>Controller Name</strong> as defined in the corresponding <strong>OpCtrl</strong> block.</td></tr><tr><td><strong>Mezzanine type</strong></td><td>Specifies the selected mezzanine type: <strong>OP5369</strong> - 32DIO.</td></tr><tr><td><strong>Chassis slot</strong></td><td>Specifies the physical location of the mezzanine to configure. Refer to the <strong>System Description Document</strong> to identify the installed I/O modules and their corresponding physical locations.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold low</strong></td><td>Specifies the voltage threshold for falling‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module is <strong>0.1176 V</strong>.<br>for OP5369; 0.2022 (V) for OP5367-3 and OP5367-5.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold high</strong></td><td>Specifies the voltage threshold for rising‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module is <strong>0.1176 V</strong>.</td></tr></tbody></table>
{% endtab %}

{% tab title="OP5330" %}

<table><thead><tr><th width="161">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Controller name</strong></td><td>Specifies the <strong>OpCtrl</strong> block this block is bound to. Enter the same <strong>Controller Name</strong> as defined in the corresponding <strong>OpCtrl</strong> block.</td></tr><tr><td><strong>Mezzanine type</strong></td><td>Specifies the selected mezzanine type: <strong>OP5330</strong> - 16AO.</td></tr><tr><td><strong>Chassis slot</strong></td><td>Specifies the physical location of the mezzanine to configure. Refer to the <strong>System Description Document</strong> to identify the installed I/O modules and their corresponding physical locations.</td></tr><tr><td><strong>Maximum sampling rate</strong></td><td><strong>Checked</strong>: Sets the maximum sampling rate to <strong>2 Msps</strong>.<br><strong>Unchecked</strong>: Sets the maximum sampling rate to <strong>1 Msps</strong>.</td></tr></tbody></table>
{% endtab %}

{% tab title="OP5367‑3" %}

<table><thead><tr><th width="161">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Controller name</strong></td><td>Specifies the <strong>OpCtrl</strong> block this block is bound to. Enter the same <strong>Controller Name</strong> as defined in the corresponding <strong>OpCtrl</strong> block.</td></tr><tr><td><strong>Mezzanine type</strong></td><td>Specifies the selected mezzanine type: <strong>OP5367‑3</strong> - 16DI / 16DO.</td></tr><tr><td><strong>Chassis slot</strong></td><td>Specifies the physical location of the mezzanine to configure. Refer to the <strong>System Description Document</strong> to identify the installed I/O modules and their corresponding physical locations.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold low</strong></td><td>Specifies the voltage threshold for falling‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module <strong>0.2022 V</strong>.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold high</strong></td><td>Specifies the voltage threshold for rising‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module <strong>0.2022 V</strong>.</td></tr></tbody></table>
{% endtab %}

{% tab title="OP5367‑5" %}

<table><thead><tr><th width="161">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Controller name</strong></td><td>Specifies the <strong>OpCtrl</strong> block this block is bound to. Enter the same <strong>Controller Name</strong> as defined in the corresponding <strong>OpCtrl</strong> block.</td></tr><tr><td><strong>Mezzanine type</strong></td><td>Specifies the selected mezzanine type: <strong>OP5367‑5</strong> - 32DI.</td></tr><tr><td><strong>Chassis slot</strong></td><td>Specifies the physical location of the mezzanine to configure. Refer to the <strong>System Description Document</strong> to identify the installed I/O modules and their corresponding physical locations.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold low</strong></td><td>Specifies the voltage threshold for falling‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module <strong>0.2022 V</strong>.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold high</strong></td><td>Specifies the voltage threshold for rising‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module <strong>0.2022 V</strong>.</td></tr></tbody></table>
{% endtab %}

{% tab title="OP5367‑6" %}

<table><thead><tr><th width="161">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Controller name</strong></td><td>Specifies the <strong>OpCtrl</strong> block this block is bound to. Enter the same <strong>Controller Name</strong> as defined in the corresponding <strong>OpCtrl</strong> block.</td></tr><tr><td><strong>Mezzanine type</strong></td><td>Specifies the selected mezzanine type: <strong>OP5367‑6</strong> - 32DI.</td></tr><tr><td><strong>Chassis slot</strong></td><td>Specifies the physical location of the mezzanine to configure. Refer to the <strong>System Description Document</strong> to identify the installed I/O modules and their corresponding physical locations.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold low</strong></td><td>Specifies the voltage threshold for falling‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module <strong>0.2022 V</strong>.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold high</strong></td><td>Specifies the voltage threshold for rising‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module <strong>0.2022 V</strong>.</td></tr></tbody></table>
{% endtab %}

{% tab title="OP48H10" %}

<table><thead><tr><th width="156">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Controller name</strong></td><td>Specifies the <strong>OpCtrl</strong> block this block is bound to. Enter the same <strong>Controller Name</strong> as defined in the corresponding <strong>OpCtrl</strong> block.</td></tr><tr><td><strong>Mezzanine type</strong></td><td>Specifies the selected mezzanine type: <strong>OP48H10</strong> - FAST.</td></tr><tr><td><strong>Chassis slot</strong></td><td>Specifies the physical location of the mezzanine to configure. Refer to the <strong>System Description Document</strong> to identify the installed I/O modules and their corresponding physical locations.</td></tr><tr><td><strong>Channels x - x</strong><br><strong>Direction</strong></td><td>Specifies the I/O direction for channels x–x. The direction is configured per group of 8 channels.<br><strong>Input</strong>: Channels x - x are configured as digital inputs.<br><strong>Output</strong>: Channels x - x are configured as digital outputs. The <strong>Voltage</strong> parameter becomes available and can be set to <strong>3.3 V</strong> or <strong>5 V</strong>.</td></tr></tbody></table>
{% endtab %}

{% tab title="OP48H20" %}

<table><thead><tr><th width="161">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Controller name</strong></td><td>Specifies the <strong>OpCtrl</strong> block this block is bound to. Enter the same <strong>Controller Name</strong> as defined in the corresponding <strong>OpCtrl</strong> block.</td></tr><tr><td><strong>Mezzanine type</strong></td><td>Specifies the selected mezzanine type: <strong>OP48H20</strong> - STANDARD.</td></tr><tr><td><strong>Chassis slot</strong></td><td>Specifies the physical location of the mezzanine to configure. Refer to the <strong>System Description Document</strong> to identify the installed I/O modules and their corresponding physical locations.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold low</strong></td><td>Specifies the voltage threshold for falling‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module <strong>0.2022 V</strong>.</td></tr><tr><td><strong>Subsection </strong><em><strong>N</strong></em><br><strong>Threshold high</strong></td><td>Specifies the voltage threshold for rising‑edge detection on all channels in subsection <em>N</em>.<br>The voltage resolution for this I/O module <strong>0.2022 V</strong>.</td></tr><tr><td><strong>Maximum sampling rate</strong></td><td>Specifies the maximum sampling rate, selectable between <strong>1 Msps</strong> and <strong>2 Msps</strong>.</td></tr></tbody></table>
{% endtab %}

{% tab title="OP48H30" %}

<table><thead><tr><th width="161">Parameter</th><th>Description</th></tr></thead><tbody><tr><td><strong>Controller name</strong></td><td>Specifies the <strong>OpCtrl</strong> block this block is bound to. Enter the same <strong>Controller Name</strong> as defined in the corresponding <strong>OpCtrl</strong> block.</td></tr><tr><td><strong>Mezzanine type</strong></td><td>Specifies the selected mezzanine type: <strong>OP48H30</strong> - HIGH DENSITY (beta).</td></tr><tr><td><strong>Chassis slot</strong></td><td>Specifies the physical location of the mezzanine to configure. Refer to the <strong>System Description Document</strong> to identify the installed I/O modules and their corresponding physical locations.</td></tr><tr><td><strong>Maximum sampling rate</strong></td><td>Specifies the maximum sampling rate, selectable between <strong>1 Msps</strong> and <strong>2 Msps</strong>.</td></tr><tr><td><strong>Channels x - x</strong><br><strong>Direction</strong></td><td><p>Specifies the I/O direction for channels x–x. The direction is configured per group of <strong>16</strong> channels.<br><strong>Input</strong>: Channels x - x are configured as digital inputs. The Threshold low and Threshold high parameters becomes available for channels x - x:</p><ul><li><strong>Threshold low</strong>: Specifies the voltage threshold for <strong>falling</strong>‑edge detection.</li><li><strong>Threshold high</strong>: Specifies the voltage threshold for <strong>rising</strong>‑edge detection.</li></ul><p><strong>Output</strong>: Channels x - x are configured as digital outputs.</p></td></tr></tbody></table>
{% endtab %}
{% endtabs %}

## Inputs

This block has no inputs.

## Outputs

<table><thead><tr><th width="195.25">Output</th><th>Description</th></tr></thead><tbody><tr><td><strong>Status</strong></td><td><p>Outputs the block status:</p><ul><li><code>0</code>: No error.</li><li><code>-1</code>: An error occurred during mezzanine configuration. Refer to the RT-LAB log for more information.</li></ul></td></tr></tbody></table>

## Characteristics and limitations

<table><thead><tr><th width="220">Characteristic</th><th>Value</th></tr></thead><tbody><tr><td><strong>Block linking</strong></td><td>Can link to an <strong>OpCtrl</strong> block or an <strong>OpLnk</strong> block. All mezzanine option blocks related to the same FPGA must be in the same RT-LAB subsystem.</td></tr><tr><td><strong>OP5369 support</strong></td><td>Supported with bitstreams generated with RT-XSG version 3.3.1 and above.</td></tr><tr><td><strong>OP5330 support</strong></td><td>Supported with bitstreams generated with RT-XSG version 3.3.2 and above.</td></tr><tr><td><strong>OP5367-3 and OP5367-5 support</strong></td><td>Supported with bitstreams generated with RT-XSG version 3.3.3 and above.</td></tr><tr><td><strong>OP48H10 - Fast support</strong></td><td>Supported with bitstreams generated with RT-XSG version 3.5.0 and above.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/mezzanine-option.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
