Remote IO Interface (Ethernet)

Description of the Remote IO Interface (Ethernet) component in Schematic Editor.

Component Not Supported: This component is not currently supported in TyphoonSim. Adding this component to your model will prevent you from being able to run your model in TyphoonSim. Please disable or remove this component from your model before attempting to run your model in TyphoonSim mode.

Remote IO Interface (Ethernet) description

The Remote IO Interface (Ethernet) component is used to send and receive input/output data from a HIL Remote IO Interface. Communication between the HIL Simulator and the HIL Remote IO Interface is through Ethernet Variable Exchange. This component is a signal processing based component from the HIL Interfaces library category.

Internally this component comprises of two Remote IO Card (Ethernet) units corresponding to the two independent cards inside the Remote IO device, labeled Device ID 1 and Device ID 2 on the back of device.

Starting with hardware revision 2, the Remote IO Interface supports PWM signal generation in addition to standard digital/analog I/O. The Hardware Revision parameter (see Table 1) determines which capabilities and ports are exposed on the component. By default, the component is configured for revision 1 hardware, matching Remote IO devices with serial numbers starting with 23811-00, 25416-00, or 25931-00. Existing models are unaffected and require no changes.

Component dialog box and parameters

General parameters for the Remote IO Interface (Ethernet) component can be defined in the component properties dialog box.

Table 1. Remote IO Interface (Ethernet) parameters description
Parameter Name Description
Hardware Revision hw_revision Selects the hardware revision of the connected Remote IO device. Choose 1 for original hardware (no PWM support). Choose 2 for revision 2 hardware, which adds PWM Enable, PWM Freq, and PWM Duty ports for both cards inside the interface. Default: 1.
Important: Select based on the serial number on the physical device. Revision 1: serial number starting with 23811-00, 25416-00, or 25931-00. Revision 2: any other serial number.
HIL Device ID hil_device_id This parameter should match the HIL device ID number to which the Remote IO Device is connected. This is important only in multi-HIL simulations. Choose "-" if only one HIL is used.
Note: In Multi-HIL systems, all Remote IO Interface (Ethernet) components in the Schematic Editor model must be assigned to the same HIL Device.
Include Ethernet Setup include_eth_setup Includes an ETH VE Setup component. Only one Remote IO Interface component can have this checked.
Note: If an ETH VE Setup component is used outside of the Remote IO Interface component, its IP address should be set to 192.168.20.10.
Ethernet Port eth_port Selects the Ethernet port used for communication with the Remote IO Device.
Device ID 1 device_id1 Position of rotary switch 2 under the label Device ID 1 on the back of Remote IO Device.
Device ID 2 device_id2 Position of rotary switch 2 under the label Device ID 2 on the back of Remote IO Device.
Note: Device IDs should be set in ascending order to ensure proper transmission of data.
Sample time sample_time Message sending rate. [s]
Execution rate execution_rate Execution rate of the internal signal processing. [s]
Note: Currently, Box IDs of the Remote IO Device, set with rotary switch 1 under the label Device ID 1 and Device ID 2, must be set on 0 for component to work properly.
Note: Setting Hardware Revision to 2 dynamically adds the PWM Enable, PWM Freq, and PWM Duty ports (per card) to the component. Setting it back to 1 removes them. Existing models saved before this parameter existed default to revision 1, so no manual migration is needed.
Warning: Rev1 and Rev2 boards require matching firmware and are not cross-compatible. If a Rev2 board is mistakenly updated with Rev1 firmware, it will continue to operate, but DO connections will be scrambled due to hardware changes between revisions. Always update Rev2 boards with Rev2 firmware only, verify the firmware version matches the board's hardware revision before updating.

Remote IO Interface (Ethernet) ports

There are eight ports which are available for the Remote IO Interface (Ethernet) component when Hardware Revision is set to 1, or fourteen ports when set to 2, divided in to 2 groups, where each group corresponds to a single card inside of the Remote IO Device. A single group consists of one pair of analog and digital inputs, as well as one pair of analog and digital outputs. Input ports on the left side of the component are used to send appropriate digital and analog outputs to the Remote IO Device. Available inputs are given in Table 2.

Values of all analog signals fed to the input terminals of this component should be equal to the expected value at the output of the Remote IO Device. For example, if an 8 V value is needed at the analog output of the Remote IO, the value of the provided signal in the model should be 8.

Available output ports are given in Table 4. Through these outputs, the signals from the analog and digital inputs of the Remote IO can be accessed. As internal probes and digital probes already exist, these ports can be used for sourcing signals inside of the model.
Table 2. Remote IO Interface (Ethernet) input ports
Port label Description Vector length
AO 1 Vector input used to assign signals to Analog outputs of the Remote IO Card marked with Device ID 1. Every element of the vector corresponds to one pin on the front plate connector. 32
DO 1 Vector input used to assign signals to Digital outputs of the Remote IO Card marked with Device ID 1. Every element of the vector corresponds to one pin on the front plate connector. 32
AO 2 Vector input used to assign signals to Analog outputs of the Remote IO Card marked with Device ID 2. Every element of the vector corresponds to one pin on the front plate connector. 32
DO 2 Vector input used to assign signals to Digital outputs of the Remote IO Card marked with Device ID 2. Every element of the vector corresponds to one pin on the front plate connector. 32
When Hardware Revision is set to 2, three additional input ports become available per card, used to control PWM signal generation on the corresponding Remote IO Card. PWM port usage is further explained in Remote IO Interface (Ethernet) pulse width modulation.
Table 3. Remote IO Interface (Ethernet) PWM input ports
Port label Description Vector length
PWM Enable 1 Enables/disables PWM output on each channel of the Remote IO Card marked with Device ID 1. 8
PWM Freq 1 Sets the PWM frequency for each enabled channel on the Remote IO Card marked with Device ID 1. 6
PWM Duty 1 Sets the PWM duty cycle for each enabled channel on the Remote IO Card marked with Device ID 1. 8
PWM Enable 2 Enables/disables PWM output on each channel of the Remote IO Card marked with Device ID 2. 8
PWM Freq 2 Sets the PWM frequency for each enabled channel on the Remote IO Card marked with Device ID 2. 6
PWM Duty 2 Sets the PWM duty cycle for each enabled channel on the Remote IO Card marked with Device ID 2. 8
Table 4. Remote IO Interface (Ethernet) outputs
Port label Description Vector length
AI 1 Vector output used to source signals from Analog inputs of the Remote IO Card marked with Device ID 1. Every element of the vector corresponds to one pin on the front plate connector. 16
DI 1 Vector output used to source signals from Digital inputs of the Remote IO Card marked with Device ID 1. Every element of the vector corresponds to one pin on the front plate connector. 32
AI 2 Vector output used to source signals from Analog inputs of the Remote IO Card marked with Device ID 2. Every element of the vector corresponds to one pin on the front plate connector. 16
DI 2 Vector output used to source signals from Digital inputs of the Remote IO Card marked with Device ID 2. Every element of the vector corresponds to one pin on the front plate connector. 32

Remote IO Interface (Ethernet) pulse width modulation

PWM signals on the Remote IO Interface are controlled through three input ports per card: PWM Enable, PWM Freq, and PWM Duty. The PWM-capable channels correspond to digital outputs DO25–DO32 on each card. Vector index corresponds to pin order: index 1 of PWM Enable/Freq/Duty maps to DO25, index 2 to DO26, and so on through index 8, which maps to DO32.

Each of these pins operates as either a standard digital output or a PWM output, depending on the corresponding PWM Enable value. As soon as PWM Enable is set for a given output, that pin switches to PWM mode; as soon as it's cleared, the pin immediately reverts to standard digital output behavior.

PWM Freq sets the switching frequency, with a supported range of 1 Hz to 500 kHz, and has a vector length of 6: channels 1 through 5 each have an independently configurable frequency, while channels 6 through 8 share a single frequency value (the 6th element of the vector).

PWM Duty sets the duty cycle for each of the 8 channels independently, and can be changed during runtime, since these values are sent continuously to the Remote IO Device over the Ethernet Variable Exchange connection.

All PWM values follow the same update mechanism as the rest of the component's digital and analog signals, so no separate configuration step is required to enable runtime control.