Engee documentation

BA-IS-XX QAE

Simulation of quadrature encoder signals using RITMeX BA-IS-XX I/O module usage

blockType: CFunction

Path in the library:

/RITM/RITMeX BA-IS-XX/BA-IS-XX QAD QAE/BA-IS-XX QAE

Description

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

Block BA-IS-XX QAE It is used to simulate quadrature encoder signals using the RITMeX BA-IS-XX I/O module usage.

Ports

Input

# Counter — the number of encoder segments corresponding to the rotation angle
scalar

Details

For more information, see the article Working with BA-IS-XX-QAD/QAE blocks.

Data types

Float64

Complex numbers support

No

Parameters

Параметры

# Номер модуля: — unique identification of the module
1 | 2 | 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.

Values

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

Default value

1

Program usage name

m_module_idx

Tunable

No

Evaluatable

Yes

# Номер канала: — channel number of the quadrature decoder
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_amount_channel

Tunable

No

Evaluatable

Yes

# Сегментов на оборот: — number of segments per encoder revolution

Details
Default value

0.0

Program usage name

m_segment

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step in seconds

Details

The calculation step in seconds, by which the counter values are read from the real-time application.

Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes