> 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/ehs/3.7/first-steps/choose-the-ehs-firmware/introduction-to-standard-ehs-firmware/op4815-io/ehsx128-gen5-pmsm-ioconfig3.md).

# Power Electronics IOConfig3

## Firmware specifications

<figure><img src="https://521571437-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fo99Izmvvw5eHT4ldzI4g%2Fuploads%2Fgit-blob-b7cfc7d5445ddd8c42ef76490b7d0f19981ae0d2%2FOP4815_ehs128_gen5_PMSM_ioconf3.png?alt=media" alt="" width="480"><figcaption></figcaption></figure>

* Compatible with Schematic Editor workflow
* Compatible with XG and XG2 platforms
* Solver eHS x64 Gen5
* 4x PMSM VdQ / BLDC and 4x Generic Machine SCIM/DFIM/RRSM/SPSM with
  * 1x Resolver and 1x encoder reserved per machine
  * double excitation PMSM resolver
* SFP inter-FPGA link
* FPGA Scope
* Thermal losses
* Power Measurement (RT-LAB S-Function workflow only)

## FPGA ports mapping table

<details>

<summary><strong>I/O mapping details table</strong></summary>

|    | LoadIn                            | DataIn                       | DataOut                   |
| -- | --------------------------------- | ---------------------------- | ------------------------- |
| 1  | Config eHS                        | Inputs eHS                   | eHS Averaged              |
| 2  | Scenario / Rst eHS = Status       | TSDO 1 - eHS 0 to 7          | eHS DownSample            |
| 3  |                                   | TSDO 2 - eHS 8 to 15         | Digital In 1 - 0 to 7     |
| 4  | PWM 1 - 0 to 7                    | TSDO 3 - eHS 16 to 23        | Digital In 1 - 8 to 15    |
| 5  | PWM 1 - 8 to 15                   | TSDO 4 - eHS 24 to 31        | Digital In 1 - 16 to 23   |
| 6  | PWM 1 - 16 to 23                  | TSDO 5 - eHS 32 to 39        | Digital In 1 - 24 to 31   |
| 7  | PWM 1 - 24 to 31                  | TSDO 6 - eHS 40 to 47        | Digital In 2 - 0 to 7     |
| 8  | PWM 2 - 0 to 7                    | TSDO 7 - eHS 48 to 55        | Digital In 2 - 8 to 15    |
| 9  | PWM 2 - 8 to 15                   | TSDO 8 - eHS 56 to 63        | Digital In 2 - 16 to 23   |
| 10 | PWM 2 - 16 to 23                  | TSDO 9 - eHS 64 to 71        | Digital In 2- 24 to 31    |
| 11 | PWM 2 - 24 to 31                  | Digital Out 1 - SDO 0 to 7   | Analog In 1 - 0 to 7      |
| 12 | Config AOMR Slot 1                | Digital Out 1 - SDO 8 to 15  | Analog In 1 - 8 to 15     |
| 13 | eHS PWM 1 - eHS 0 to 7            | Digital Out 1 - SDO 16 to 23 | PMSM VDQ 1/2              |
| 14 | eHS PWM 2 - eHS 8 to 15           | Digital Out 1 - SDO 24 to 31 | PMSM VDQ 3/4              |
| 15 | eHS PWM 3 - eHS 16 to 23          | Digital Out 2 - SDO 0 to 7   | Quad Generic Machine      |
| 16 | eHS PWM 4 - eHS 24 to 31          | Digital Out 2 - SDO 8 to 15  | RMS and Power calculation |
| 17 | Config AIR                        | Digital Out 2 - SDO 16 to 23 | Quadrature Encoder 1      |
| 18 | Config PMSM VDQ 1/2               | Digital Out 2 - SDO 24 to 31 | Analog In 2 - 0 to 7      |
| 19 | Config PMSM VDQ 3/4               | AOMRv3/Analog Out 1 - 0 to 7 | Analog In 2 - 8 to 15     |
| 20 | Config Quad Generic Machine       | Analog Out 1 - 8 to 15       | eHS Period Averaged       |
| 21 |                                   | Analog Out 1 - 16 to 23      | eHS Period DownSample     |
| 22 | Config SFP                        | Analog Out 1 - 24 to 31      | TimeOn Averaged           |
| 23 | Config Lookup Table               | eHS PWM 1 - 0 to 7           | TimeOn DownSample         |
| 24 | RMS and Power Calculation         | eHS PWM 2 - 8 to 15          | Quadrature Encoder 2      |
| 25 | Config Quadrature Encoder (RS422) | eHS PWM 3 - 16 to 23         | Quadrature Encoder 3      |
| 26 | Config AOMR Slot 2                | eHS PWM 4 - 24 to 31         | Quadrature Encoder 4      |
| 27 |                                   | eHS SWG                      | Digital In 1 - 0 to 7     |
| 28 | Config Quadrature Encoder 0       | PMSM VDQ 1/2                 | Digital In 1 - 8 to 15    |
| 29 | Config Quadrature Encoder 1       | PMSM VDQ 3/4                 | Digital In 1 - 16 to 23   |
| 30 | Config Quadrature Encoder 2       | Quad Generic Machine         | Digital In 1 - 24 to 31   |
| 31 | Config Quadrature Encoder 3       | AOMRv3                       | Digital In 2 - 0 to 7     |
| 32 | PWM 1 - 0 to 7                    | Quadrature Encoder           | Digital In 2 - 8 to 15    |
| 33 | PWM 1 - 8 to 15                   | TSDO 10 - eHS 72 to 79       | Digital In 2 - 16 to 23   |
| 34 | PWM 1 - 16 to 23                  | TSDO 11 - eHS 80 to 87       | Digital In 2- 24 to 31    |
| 35 | PWM 1 - 24 to 31                  | TSDO 12 - eHS 88 to 95       |                           |
| 36 | PWM 2 - 0 to 7                    | TSDO 13 - eHS 96 to 103      |                           |
| 37 | PWM 2 - 8 to 15                   | TSDO 14 - eHS 104 to 111     |                           |
| 38 | PWM 2 - 16 to 23                  | TSDO 15 - eHS 112 to 119     |                           |
| 39 | PWM 2 - 24 to 31                  | TSDO 16 - eHS 120 to 127     |                           |
| 40 |                                   | TSDO 17 - eHS 128 to 135     |                           |
| 41 |                                   | TSDO 18 - eHS 136 to 143     |                           |
| 42 |                                   | SFP                          |                           |
| 43 |                                   | Lookup Table Config          |                           |
| 44 |                                   | Analog Out 1 32 to 39        |                           |
| 45 |                                   | Analog Out 1 40 to 47        |                           |
| 46 |                                   | Analog Out 2 0 to 7          |                           |
| 47 |                                   | Analog Out 2 8 to 15         |                           |
| 48 |                                   | Analog Out 2 16 to 23        |                           |
| 49 |                                   | Analog Out 2 24 to 31        |                           |
| 50 |                                   | Analog Out 2 32 to 39        |                           |
| 51 |                                   | Analog Out 2 40 to 47        |                           |
| 52 |                                   | Digital Out 1 - SDO 0 to 7   |                           |
| 53 |                                   | Digital Out 1 - SDO 8 to 15  |                           |
| 54 |                                   | Digital Out 1 - SDO 16 to 23 |                           |
| 55 |                                   | Digital Out 1 - SDO 24 to 31 |                           |
| 56 |                                   | Digital Out 2 - SDO 0 to 7   |                           |
| 57 |                                   | Digital Out 2 - SDO 8 to 15  |                           |
| 58 |                                   | Digital Out 2 - SDO 16 to 23 |                           |
| 59 |                                   | Digital Out 2 - SDO 24 to 31 |                           |

</details>

## Supported I/O modules

### IOConfig 3

|            | Slot 1                                                                                                                               | Slot 2                                                                                                                               |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------ |
| **Module** | <p><a href="https://www.opal-rt.com/docs/op48hxx/input-output-modules/op48h30-description">OP48H30</a><br>Fast I/O type H Module</p> | <p><a href="https://www.opal-rt.com/docs/op48hxx/input-output-modules/op48h30-description">OP48H30</a><br>Fast I/O type H Module</p> |
| **P1**     | <p>16 AI<br>16 AO (Ch 00-15)</p>                                                                                                     | <p>16 AI<br>16 AO (Ch 00-15)</p>                                                                                                     |
| **P2**     | 32 DIO                                                                                                                               | 32 DIO                                                                                                                               |
| **P3**     | 32 AO (Ch 16-47)                                                                                                                     | 32 AO (Ch 16-47)                                                                                                                     |
| **P4**     | 32 DIO                                                                                                                               | 32 DIO                                                                                                                               |

The configuration includes **6 TX and 6 RX RS‑422 digital I/O channels** accessible via **DB9 connectors**. These are mapped to **Slot 3**, managed by the [OP5969‑1 RS‑422 I/O module.](https://www.opal-rt.com/docs/pcie-cards-and-connector-kits/connector-kits/op5969-1-rs-422-i-o-module)

## I/O module mapping and configuration (RT-LAB)

This section applies when using the **recommended S‑Function workflow** in **RT‑LAB**.

For I/O module mapping and configuration when using the **OPAL‑RT Board workflow**, refer to **I/O module mapping and configuration (HYPERSIM)**. The information provided there is also applicable when working with RT‑LAB.

### OpCtrl block configuration

Reference: [**OpCtrl**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/opctrl) block in RT-LAB

| Parameter                      | Value                                                                           |
| ------------------------------ | ------------------------------------------------------------------------------- |
| **Primary Bitstream FileName** | OP5145\_2-EX-0001-3\_12\_4\_17-eHSx128\_Gen5\_PowerElectronics\_IOConfig3-6A-14 |
| **Board Type**                 | OP48xx                                                                          |

### Slot 1A and Slot 2A - Analog inputs

Refer to [OP48H30 pin assignment](https://www.opal-rt.com/docs/op48hxx/input-output-modules/op48h30-description/hd62f-pin-assignment) for hardware connections.

#### Schematic Editor analog inputs configuration

Electric circuit **sources blocks** are directly mapped to the module's **analog inputs** in the Schematic Editor by selecting the block and assigning the desired module channel as the source.

Electric circuit **machine blocks** can also have their **resolver excitation source** mapped to the module's **analog inputs** in the Schematic Editor by enabling the resolver for the machine block and assigning the desired module channel as the excitation source.

#### Analog In block configuration

When using [**Analog In**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/analog-in) blocks in the RT-LAB model, ensure you assign the correct **DataOut port number** to the channel group.​

| Parameter                                                              | CH00-07 | CH08-16 |
| ---------------------------------------------------------------------- | :-----: | :-----: |
| <p><strong>Slot 1</strong><br><strong>DataOut Port Number</strong></p> |    11   |    12   |
| <p><strong>Slot 2</strong><br><strong>DataOut Port Number</strong></p> |    18   |    19   |

### Slot 1B & 1D and Slot 2B & 2D - Digital inputs/outputs

Refer to [OP48H30 pin assignment](https://www.opal-rt.com/docs/op48hxx/input-output-modules/op48h30-description/hd62f-pin-assignment) for hardware connections.

Each **OP4830** includes a **64 configurable digital input/output channels** module divided into four **8‑channel subsections**, each of which can be independently configured as either a digital input or a digital output.

#### **Schematic Editor digital inputs/outputs configuration**

Electric circuit **switch blocks** are directly mapped to the module’s **digital inputs** in Schematic Editor by selecting the block and assigning the desired module channel(s) as gate signal source(s).

Electric circuit **machine blocks** can have their **encoder outputs** mapped to the module's **digital outputs** in the Schematic Editor. However, the user does not select specific module channels; instead, encoder must be enabled for the machine, after which the encoder signals are automatically mapped to either **Slot 1B** or **RS422 Slot 3**. Open the **eHS Build Report** to determine the slot used.

#### Mezzanine Option block configuration

To configure a subsection for digital output on one OP48H30 module, utilize the [**Mezzanine Option**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/mezzanine-option) block and set set the subsection direction to **Output**. When set to Output, the **Voltage** parameter becomes available for that subsection and can be set to **3.3 V** or **5 V**. To configure a subsection for digital input, set the subsection direction to **Input**.

**Mezzanine Option block for slot 1**

| Parameter          | Value   |
| ------------------ | ------- |
| **Mezzanine type** | OP48H30 |
| **Chassis slot**   | Slot 1  |

**Mezzanine Option block for slot 2**

| Parameter          | Value   |
| ------------------ | ------- |
| **Mezzanine type** | OP48H30 |
| **Chassis slot**   | Slot 2  |

#### Digital Input blocks configuration

When using [**Digital In**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/digital-in), [**PWM In**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/pwm-in), or [**Event Detector**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/event-detector) blocks in the RT-LAB model, ensure you assign the correct **DataOut port number** to the channel group.

| Parameter                                                              | CH00-07 | CH08-15 | CH16-23 | CH24-32 |
| ---------------------------------------------------------------------- | :-----: | :-----: | :-----: | :-----: |
| <p><strong>Slot 1</strong><br><strong>DataOut port number</strong></p> |    3    |    4    |    5    |    6    |
| <p><strong>Slot 1</strong><br><strong>DataOut port number</strong></p> |    27   |    28   |    29   |    30   |
| <p><strong>Slot 2</strong><br><strong>DataOut port number</strong></p> |    7    |    8    |    9    |    10   |
| <p><strong>Slot 2</strong><br><strong>DataOut port number</strong></p> |    31   |    32   |    33   |    34   |

#### Digital Output block configuration

When using [**Digital Out**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/digital-out), [**PWM Out**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/pwm-out), or [**Event Generator**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/event-generator) blocks in the RT-LAB model, ensure you assign the correct **DataIn** **port number** to the channel group.

| Parameter                                                             | CH00-07 | CH08-15 | CH16-23 | CH24-32 |
| --------------------------------------------------------------------- | :-----: | :-----: | :-----: | :-----: |
| <p><strong>Slot 1</strong><br><strong>DataIn port number</strong></p> |    11   |    12   |    13   |    14   |
| <p><strong>Slot 1</strong><br><strong>DataIn port number</strong></p> |    52   |    53   |    54   |    55   |
| <p><strong>Slot 2</strong><br><strong>DataIn port number</strong></p> |    15   |    16   |    17   |    18   |
| <p><strong>Slot 2</strong><br><strong>DataIn port number</strong></p> |    56   |    57   |    58   |    59   |

#### Encoder Output block configuration

When using [**Encoder Out**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/encoder-out) blocks in the RT-LAB model, ensure you assign the correct **DataIn** **port number** to the channel group.

| Parameter              | Encoder 1 Slot 1B CH00-02 | Encoder 2 Slot 1B CH04-06 | Encoder 3 Slot 1B CH08-10 | Encoder 4 Slot 1B CH12-14 |
| ---------------------- | :-----------------------: | :-----------------------: | :-----------------------: | :-----------------------: |
| **DataIn port number** |             15            |             24            |             25            |             26            |

{% hint style="danger" %}
Mapping a machine block encoder to a digital output in Schematic Editor reserves **X** digital output channels for eHS, disabling Encoder Out blocks in the RT‑LAB model.
{% endhint %}

### Slot 1C and Slot 2C - Analog outputs

Refer to [OP48H30 pin assignment](https://www.opal-rt.com/docs/op48hxx/input-output-modules/op48h30-description/hd62f-pin-assignment) for hardware connections.

#### Schematic Editor analog outputs configuration

Electric circuit **measurement blocks** are directly mapped to the module's **analog outputs** in the Schematic Editor by selecting the block and assigning the desired module channel as the destination.

#### Analog Out block configuration

When using [**Analog Out**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/analog-out) blocks in the RT-LAB model, ensure you assign the correct **DataIn port number** to the channel group.

{% hint style="danger" %}
Mapping a single electric circuit measurement block to an analog output in Schematic Editor reserves all 16 channels for eHS, disabling Analog Out blocks in the RT‑LAB model.
{% endhint %}

| Parameter                                                             | CH00-07 | CH08-15 | CH16-24 | Ch25-32 | Ch33-39 | CH40-47 |
| --------------------------------------------------------------------- | :-----: | :-----: | :-----: | :-----: | :-----: | :-----: |
| <p><strong>Slot 1</strong><br><strong>DataIn Port Number</strong></p> |    19   |    20   |    21   |    22   |    44   |    45   |
| <p><strong>Slot 2</strong><br><strong>DataIn Port Number</strong></p> |    46   |    47   |    48   |    49   |    50   |    51   |

### Slot 3A and Slot 3B - RS‑422 Digital inputs/outputs

Refer to [OP5969‑1](https://www.opal-rt.com/docs/pcie-cards-and-connector-kits/connector-kits/op5969-1-rs-422-i-o-module) - RS‑422 Digital inputs and outputs

#### Section A - RS422 Digital Inputs

When using an [**Encoder In**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/encoder-in) block in the RT-LAB model, ensure you assign the correct **DataOut port number**.

#### Encoder In block configuration

| Parameter               | Value |
| ----------------------- | :---: |
| **DataOut Port Number** |   10  |

#### Section B - RS422 Digital outputs

Electric circuit **machine blocks** can have their **encoder outputs** mapped to the module's **RS422 outputs** in the Schematic Editor. However, the user does not select specific module channels; instead, encoder must be enabled for the machine, after which the encoder signals are automatically mapped to either **Slot 1B** or **RS422 I/O Slot 3**. Open the **eHS Build Report** to determine the I/O group used.

#### Encoder Out block configuration

When using an [**Encoder Out**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/encoder-out) block in the RT-LAB model, ensure you assign the correct **DataIn port number**.

{% hint style="danger" %}
Mapping a machine block encoder to a digital output in Schematic Editor reserves all RS422 digital output channels for eHS, disabling Encoder Out blocks in the RT‑LAB model.
{% endhint %}

| Parameter              | Value |
| ---------------------- | :---: |
| **DataIn Port Number** |   32  |

### SFP module

#### Schematic Editor SFP configuration

Electric circuit **sources blocks** can be mapped to the module's **SFP CH04** **input** in the Schematic Editor by selecting the block and assigning the desired **SFP input signal** as the source. All SFP input signals are carried through a **single SFP channel (CH04)**, which provides **32 input signals**. All other SFP channels are disabled in this firmware.

Electric circuit **measurement blocks** can be mapped to the module's **SFP CH04** **output** in the Schematic Editor by selecting the block and assigning the desired **SFP output signal** as the destination. All SFP output signals are carried through a **single SFP channel (CH04)**, which provides **32 output signals**. All other SFP channels are disabled in this firmware.

#### DataIn Send block configuration

Signals from the RT‑LAB model can be sent to the SFP CH04 output a [**DataIn Send**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/rt-lab-i-o-library/datain-send) block. Ensure you assign the correct **DataIn port number**.

{% hint style="danger" %}
Mapping a single electric circuit measurement block to an SFP output signal in Schematic Editor reserves all SFP output signals for eHS, disabling SFP output in the RT‑LAB model.
{% endhint %}

| Parameter              | SFP CH04 |
| ---------------------- | -------- |
| **DataIn Port Number** | 42       |

### Power measurement

To get RMS and power calculation from the eHS electric circuit, the [**Power Measurement Controller**](https://www.opal-rt.com/docs/rt-lab/simulink-blocks-reference/efpgasim-library/power-measurement-controller) block must be used in the RT-LAB model.

#### Power Measurement Controller block configuration

| Parameter               | Value |
| ----------------------- | ----- |
| **LoadIn Port Number**  | 24    |
| **DataOut Port Number** | 16    |

## I/O module mapping and configuration (HYPERSIM)

### OPAL-RT Board configuration

| Parameter                            | Value                                                                               |
| ------------------------------------ | ----------------------------------------------------------------------------------- |
| **Chassis type**                     | OP48xx                                                                              |
| **Bitstream configuration location** | Standard repositories                                                               |
| **Bitstream configuration file**     | OP5145\_2-EX-0001-3\_12\_4\_17-eHSx128\_Gen5\_PowerElectronics\_IOConfig3-6A-14.pdi |

### Slot 1 and Slot 2 - Analog inputs

Refer to [OP48H30 pin assignment](https://www.opal-rt.com/docs/op48hxx/input-output-modules/op48h30-description/hd62f-pin-assignment) for hardware connections.

Electric circuit **sources blocks** are directly mapped to the module's **analog inputs** in the Schematic Editor by selecting the block and assigning the desired module channel as the source.

Electric circuit **machine blocks** can also have their **resolver excitation source** mapped to the module's **analog inputs** in the Schematic Editor by enabling the resolver for the machine block and assigning the desired module channel as the excitation source.

Mapping **HYPERSIM model signals** to the module's **analog inputs** follows the standard OPAL‑RT board workflow.

### Slot 1 and Slot 2 - Digital inputs/outputs

Refer to [OP48H30 pin assignment](https://www.opal-rt.com/docs/op48hxx/input-output-modules/op48h30-description/hd62f-pin-assignment) for hardware connections.

Each **OP48H30** includes a **32‑channel digital I/O** module divided into four **8‑channel subsections**, each of which can be independently configured as either a digital input or a digital output.

Electric circuit **switch blocks** are directly mapped to the module’s **digital inputs** in Schematic Editor by selecting the block and assigning the desired module channel(s) as gate signal source(s).

Electric circuit **machine blocks** can have their **encoder outputs** mapped to the module's **digital outputs** in the Schematic Editor. However, the user does not select specific module channels; instead, encoder must be enabled for the machine, after which the encoder signals are automatically mapped to either **Slot 1B** or **RS422 Slot 3**. Open the **eHS Build Report** to determine the I/O group used.

Mapping **HYPERSIM model signals** to the module's **digital inputs/outputs** follows the standard OPAL‑RT board workflow.

### Slot 1 and Slot 2 - Analog outputs

Refer to [OP48H30 pin assignment](https://www.opal-rt.com/docs/op48hxx/input-output-modules/op48h30-description/hd62f-pin-assignment) for hardware connections.

Electric circuit **measurement blocks** are directly mapped to the module's **analog outputs** in the Schematic Editor by selecting the block and assigning the desired module channel as the destination.

Mapping **HYPERSIM model signals** to the module's **analog outputs** follows the standard OPAL‑RT board workflow.

{% hint style="danger" %}
Mapping a single electric circuit measurement block to an analog output in Schematic Editor reserves all 16 channels for eHS, disabling analog output mapping in the HYPERSIM model.
{% endhint %}

### Slot 3A and 3B - RS‑422 Digital inputs/outputs

Refer to [OP5969‑1](https://www.opal-rt.com/docs/pcie-cards-and-connector-kits/connector-kits/op5969-1-rs-422-i-o-module) - RS‑422 Digital inputs and outputs

#### Section A - RS422 Digital Inputs

Mapping **HYPERSIM model signals** to the module's **RS422** **digital inputs** follows the standard OPAL‑RT board workflow.

#### Section B - RS422 Digital outputs

Electric circuit **machine blocks** can have their **encoder outputs** mapped to the module's **RS422 outputs** in the Schematic Editor. However, the user does not select specific module channels; instead, encoder must be enabled for the machine, after which the encoder signals are automatically mapped to either **Slot 1B** or **RS422 Slot 3**. Open the **eHS Build Report** to determine the I/O group used.

Mapping **HYPERSIM model signals** to the module's **RS422** **digital outputs** follows the standard OPAL‑RT board workflow.

{% hint style="danger" %}
Mapping a machine block encoder to an analog output in Schematic Editor reserves all RS422 digital output channels for eHS, disabling encoder output mapping in the HYPERSIM model.
{% endhint %}

### SFP module

Electric circuit **sources blocks** can be mapped to the module's **SFP CH04** **input** in the Schematic Editor by selecting the block and assigning the desired **SFP input signal** as the source. All SFP input signals are carried through a **single SFP channel (CH00)**, which provides **32 input signals**. All other SFP channels are disabled in this firmware.

Electric circuit **measurement blocks** can be mapped to the module's **SFP CH04output** in the Schematic Editor by selecting the block and assigning the desired **SFP output signal** as the destination. All SFP output signals are carried through a **single SFP channel (CH04)**, which provides **32 output signals**. All other SFP channels are disabled in this firmware.

Mapping **HYPERSIM model signals** to the **SFP module** follows the standard OPAL‑RT board workflow.

{% hint style="danger" %}
Mapping a single electric circuit measurement block to an SFP output signal in Schematic Editor reserves all SFP output signals for eHS, disabling SFP output mapping in the HYPERSIM model.
{% endhint %}


---

# 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/ehs/3.7/first-steps/choose-the-ehs-firmware/introduction-to-standard-ehs-firmware/op4815-io/ehsx128-gen5-pmsm-ioconfig3.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.
