Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

RTE Conversion OP5110-5120

Library

RT-EVENTS Signal Attributes

Block

Description

This block converts:

  • Double-type signals output by the RT-LAB OP5110-5120 Event Detector block to RTE Boolean-type signals or
  • RTE Boolean-type signals to double-type signals receive by the RT-LAB OP5110-5120 Event Generator block.

The RT-LAB OP5110-5120 Event Detector/Generator block makes use of the Opal-RT OP5110 or OP5120 reconfigurable digital input/output boards to read digital signals and detect the transitions that occur on these signals during one calculation step. For more information see RT-LAB documentation or contact Opal-RT Technologies support.

Mask

Parameters

Conversion Type

Specifies if the conversion is made from the OP5110-5120 Event detector block to the RTE Boolean data type, or from the RTE Boolean data type to the OP5110-5120 Event Generator block.

Number of OP5110-5120 Event Lines

The number of input/output OP5110-5120 lines.

Maximum number of events

The maximum number of events or transitions that can occur during a single step. Over this number, events are ignored and not output.

Time Unit

Select whether the time values will be specified as a ratio of the transition time over the duration of the step, or in seconds.

Consider time factor

When this checkbox is checked, the RT-Lab time factor is applied to the time values of this block. Only available when the Time Unit is Seconds.

Sample Time

The time interval between samples in seconds. Only available when the conversion type is OP5110-5120 Event Detector to RTE Boolean.

Show Initial States input

When this checknox is checked, the input Initial States is added to the block. See the description of this input in the Inputs section below. Only available when the conversion type is OP5110-5120 Event Detector to RTE Boolean.

Input

Initial States

The initial state of each input vector. Only available when the conversion type is RTE Boolean to OP5110-5120 Event Generator.

State Vector (Double)

The state vector output from the RT-LAB OP5110-5120 Event Detector block. Only available when the conversion type is OP5110-5120 Event Detector to RTE Boolean.

Time Vector (Double)

The time vector output from the RT-LAB OP5110-5120 Event Detector block. Only available when the conversion type is OP5110-5120 Event Detector to RTE Boolean.

Status (Double)

The status output from the RT-LAB OP5110-5120 Event Detector. Only available when the conversion type is OP5110-5120 Event Detector to RTE Boolean.

Input (RTE Boolean)

RTE Boolean signal to send to the RT-LAB OP5110-5120 Event Generator. Only available when the conversion type is RTE Boolean to OP5110-5120 Event Generator.

Output

Output (RTE Boolean)

The equivalent RTE Boolean-type signal. Only available when the conversion type is OP5110-5120 Event Detector to RTE Boolean.

State Vector (Double)

The state vector sent to the RT-LAB OP5110-5120 Event Generator. Only available when the conversion type is RTE Boolean to OP5110-5120 Event Generator.

Time Vector (Double)

The time vector sent to the RT-LAB OP5110-5120 Event Generator block. Only available when the conversion type is RTE Boolean to OP5110-5120 Event Generator.

Characteristics

Direct Feedthrough

Yes

Sample Time

Inherited and fixed discrete

Work offline

Yes.
Please note that the RT-LAB OP5110-5120 Event Generator/ Detector block doesn't receive/send events from the RT-LAB OP5100 cards in offline simulation.

Dimensionalized

Yes

Example

The rte_event_detector.mdl and the rte_event_generator.mdl models shows how to connect the RTE Conversion OP5110-5120 blocks to the Opal-RT OP5110-5120 event detector and event generator blocks.

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323