Engee documentation

BA-IS-XX QAD

Capture quadrature encoder signals using the 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 QAD

Description

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

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

Ports

Output

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

Details

For more information, see the article Working with Modbus TCP block library.

Data types

Float64

Complex numbers support

No

# Index — the number of index label passage pulses for the current model calculation step
scalar

Details
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

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

Details

The calculation step in seconds, according to which the counter and index values are output to the real-time application.

Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes