Engee documentation

BA-IS-XX UART-TX

Data transmission via UART using the RITMeX BA-IS-XX I/O module usage.

blockType: CFunction

Path in the library:

/RITM/RITMeX BA-IS-XX/BA-IS-XX UART/BA-IS-XX UART-TX

Description

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

Block BA-IS-XX UART-TX It is used for data transfer via UART with the usage of the RITMeX BA-IS-XX I/O module.

Ports

Input

# TX — array for transmission to the UART line
vector

Details
Data types

UInt8

Complex numbers support

No

# Length — a number indicating how many elements of the TX array must be transferred to the UART line per calculation step
scalar

Details
Data types

UInt32

Complex numbers support

No

Parameters

Main group

# Номер модуля: — unique identification of the module
1 | 3 | 4 | 5 | 6 | 7 | 8

Details

It is used to uniquely identify a module when more than one I/O module of the same type is installed in a real-time machine.

The module numbers are signed on the case of the KPM "RITM".

Values

1 | 3 | 4 | 5 | 6 | 7 | 8

Default value

1

Program usage name

m_module_idx

Tunable

No

Evaluatable

Yes

# Номер канала: — UART channel for transmission
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32

Details
Values

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32

Default value

1

Program usage name

m_channelNum

Tunable

No

Evaluatable

Yes

# Макс. количество слов: — the number of words transmitted over the UART buffer per calculation step

Details
Default value

1

Program usage name

m_num_words

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — the calculation step by which data is transferred via UART from a real-time application

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes