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.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Block

Mask

Description

This block enables the use and configuration of the digital channels present on the Pulse Driven Load Module board. This board is designed to measure the frequency, duty cycle and analog state of pulses from an external source or the ECU. This block can be assigned to any of the 3 types of inputs supported by this board: standard, bipolar and flexible.

Parameters

ControllerName: Each functionality block such as the OpFcn Multi-Event Capt block must refer to an OpCtrl block such as the OPCtrl PDLModule block, that will manage the data transfer with the IO board. The binding between OpFcn and OpCtrl blocks is performed via the use of the Controller name that each OpCtrl block uniquely defines. In this case, the controller name could be 'PDLM' in both blocks. This binding is checked during the initialization phase of the model. If no OpCtrl block is found that defines the same Controller Name as this OpFcn Multi-Event Capt block, the OpFcn Multi-Event Capt block is simply disabled and returns 0s.

The image below shows an example of a controller name, here 'PDLM', used with success.

Selection of FunctionalitiesThis field is used to select the digital channels monitored by the block. Maximum of 8 channels can be selected per OpFcn Multi-Event Capt block. For the example above, the block refers to channels 0, 1 and 2 (STD_A0, STD_A1, and STD_A2)
Signal PolaritiesFor each channel indicated in "Selection of Functionalities" field, the signal polarity has to be defined.1 represented active high and 0 active low.
Apply Digital FilterWhen applied, the digital inputs signals are filtered to remove noise. The filtered signals must be in the same state for a minimum pulse width of 50 ns.
Max RT-EventsThe maximum number of events or transitions that can occur during a single step. Over this number, events are ignored and not output.
Sample Time (s)This parameter allows the user to specify the block sample time in seconds. The default value is 0, which specifies a continuous sample time (note that the sample time is borrowed from the separated subsystem) while -1 specifies an inherited sample time. A functionality block and its associated controller block must execute at the same sample time.

Inputs

This block has no inputs.

Outputs

RTE: Vector of RTE-type signals, containing the state and time of each digital channel being used.

Characteristics and Limitations

Direct FeedthroughYes
Discrete sample timeYes
XHP supportNo
Work offlineYes
  • No labels