Engee documentation

MI-EL-45 MtDecodeTran

Getting information about the event that occurred with the terminal device.

blockType: SubSystem

Path in the library:

/RITM/RITMeX MI-EL-45/MI-EL-45 MtDecodeTran

Description

To work with the block, install/update the support package RITM blocks.

Block MI-EL-45 MtDecodeTran It is used to decode the raw data received from the block. MI-EL-45 RtGetTran.

Ports

Input

# monitor data — an array of 39 elements, one column of the matrix obtained from the MI-EL-45 RtGetTran block
the matrix

Details
Data types

Float64

Complex numbers support

No

Output

# message type — a bus of 10 signals
vector

Details

The value of the 1 signal in the bus means that the message is of the appropriate type.

DATA_BC_RT

CC-OU data transmission (format 1).

DATA_BC_RT_BRCST

CC-OU data transmission in group mode (format 7).

DATA_RT_BC

CC-OU data transmission (format 2).

DATA_RT_RT

CC-OU data transmission (format 3).

DATA_RT_RT_BRCST

data transmission OU-OU in group mode (format 8).

CTRL_C_A

CS-OS format control command (format 4).

CTRL_C_BRCST

CS format control command in group mode (format 9).

CTRL_CD_A

CS+IS-OS format control command (format 6).

CTRL_CD_BRCST

command CS+IC format control in group mode (format 10).

CTRL_C_AD

CS-OS+IC format control command (format 5).

Data types

Float64

Complex numbers support

No

# team — a bus of 17 signals
vector

Details

The value of the 1 signal in the bus means that the message contains the appropriate command.

DYNAMIC_BUS_CONTROL

dynamic control.

SYNCHRONIZE

synchronization.

TRANSMIT_STATUS_WORD

send the response word.

INITIATE_SELF_TEST

start self-monitoring.

TRANSMITTER_SHUTDOWN

block the transmitter.

OVERRIDE_TRANSMITTER_SHUTDOWN

unlock the transmitter.

INHIBIT_TF_BIT

suppress the terminal flag bit.

OVERRIDE_INHIBIT_TF_BIT

cancel suppression of the terminal flag bit.

RESET_REMOTE_TERMINAL

set the initial state of the op amp.

TRANSMIT_VECTOR_WORD

transmit a vector word.

SYNCHRONIZE_WITH_DATA_WORD

synchronization with the IP.

TRANSMIT_LAST_COMMAND_WORD

transmit the last command word.

TRANSMIT_BUILINTEST_WORD

transmit the built-in control word.

SELECTED_TRANSMITTER_SHUTDOWN

block the selected transmitter.

OVERRIDE_SELECTED_TRANSMITTER_SHUTDOWN

unlock the selected transmitter.

ILLEGAL_COMMAND

invalid command.

NO_COMMAND

there is no command.

Data types

Float64

Complex numbers support

No

# status — a bus of 16 signals
vector

Details

The value of signal 1 in the bus means that the transmission of the message has completed with the appropriate status.

SUCCESS

the transfer was completed successfully.

FORMAT_ERROR

format error.

MESSAGE_INCONSISTENCY

uncertainty in the message.

CW1_ERROR

error in the first CS.

CW2_ERROR

error in the second COP.

BUSA_JAM

generation detection in the main LP.

BUSB_JAM

generation detection in the backup LP.

DIFF_WC_IN_CW1_AND_CW2

different number of information words in the first and second CC.

STATUS_BIT_SET

the bit is set in the OS.

MANCHESTER_ENCODING_ERROR

error code ‘Manchester-2'.

STATUS_TIMEOUT_ERROR

no response word (Pause error before OS).

DATA_TIMEOUT_ERROR

no information word(s) (Pause error before IP).

EXTRA_DATA

the number of IP is greater than the specified one.

WRONG_RT_ADDRESS_IN_STATUS

invalid op-amp address in the OS.

SYNC_TYPE_ERROR

invalid synchronization type.

BUS_SWITCHING

sync pulse type error.

Data types

Float64

Complex numbers support

No

# address 1 — the address of the terminal device that participated in the exchange
scalar

Details
Data types

Float64

Complex numbers support

No

# address 2 — receiver terminal address, for formats 3 and 8
scalar

Details

Address 31 is broadcast.

Data types

Float64

Complex numbers support

No

# subaddress 1 — the subaddress of the terminal device that participated in the exchange
scalar

Details
Data types

Float64

Complex numbers support

No

# subaddress 2 — receiver terminal subaddress, for formats 3 and 8
scalar

Details
Data types

Float64

Complex numbers support

No

# SD number — number of data words read or written
scalar

Details
Data types

Float64

Complex numbers support

No

# data — information words
scalar

Details
Data types

Float64

Complex numbers support

No

# timestamp — timestamp of the message registration
scalar

Details

Contains the value of the hardware timer counter at the time of message registration. The counter is 32-bit and has a resolution of 1 The ISS. The timer starts at the initialization stage of the model. After the counter overflows, the timer continues counting from 0.

Data types

Float64

Complex numbers support

No

Parameters

Main

# Sample Timethe description is missing
SampleTime (real number / vector of two real numbers)

Details

The description is missing.

Default value

-1

Program usage name

SampleTime

Tunable

No

Evaluatable

Yes