Engee documentation

MI-EL-45 RtSend

Page in progress.

Sending messages from terminal device 1 to terminal device 2.

mi el 45 rtsend

Description

The block is used to initiate the sending of messages from endpoint 1 to endpoint 2.

Ports

Input

Address of the DUT - address of the terminal device from which the message is to be sent
scalar

UI Address - subaddress of the terminal device from which the message will be sent
scalar

Number of SDs — number of data words for transmission.
scalar.

Address of OU2 - address of the terminal device to which the message will be sent
scalar

Details

Address 31 is a broadcast address.

OU2 subaddress - subaddress of the terminal device to which the message will be sent
scalar

Output

Error - channel exchange error flag
scalar

Details

If the bus controller has registered an exchange error, a non-zero value will be set.

Parameters

Channel number - number of the bus controller channel initiating the transaction
1 (by default) | 2 | 3 | 4 | 5 | 6 | 7 | 8

Details

If more than one module is installed in the machine, then end-to-end channel numbering is used.

Wait for transaction completion - waiting for the bus controller to complete the exchange on the line
On (By default) | Off

Details
Enabling this option may cause the calculation step to overflow. If this option is disabled, the model developer must himself control possible transaction conflicts in the line and, if necessary, increase the block calculation step.

Calculation step - calculation step in seconds
`-1 (By default).

Decoding of error status in bus controller blocks

The Error output has the UInt32 data type. Depending on the situation detected on the bus, the following bits are set in it:

ERAO_ERROR

Error in the address of the OU in the OS. Mask 0x1.

MEO_ERROR

Manchester-2 code error. Mask 0x2.

TO_ERROR

Timeout on receive. Mask 0x4.

EBC_ERROR

Self-check error on transmission or composite error on reception. Mask 0x8.

RTFL_ERROR

OS bit "OU fault". Mask 0x10.

DNBA

OS bit "Interface control accepted". Mask 0x20.

SSFL_ERROR

"Subsystem fault" OS bit. Mask 0x40.

BUSY

OS bit "Subsystem busy". Mask 0x80.

RT_ERROR

Receive timeout. Mask 0x100.

HW_ERROR

Local hardware error. Mask 0x200.