Engee documentation

BA-IS-XX DI

Getting values from the digital inputs of the RITMeX BA-IS-XX I/O module.

blockType: CFunction

Path in the library:

/RITM/RITMeX BA-IS-XX/BA-IS-XX GPIO/BA-IS-XX DI

Description

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

Block BA-IS-XX DI It is used to obtain values from the digital inputs of the RITMeX BA-IS-XX I/O module.

Ports

Output

# di — array of samples received from digital inputs
vector

Details

The array size corresponds to the parameter Number of inputs in the block.

Data types

Float64.

Complex numbers support

No

Parameters

Main group

# Номер модуля: — 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.

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

Values

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

Default value

1

Program usage name

m_module_idx

Tunable

No

Evaluatable

Yes

# Количество входов: — Number of digital inputs
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 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64

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 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64

Default value

1

Program usage name

m_di_amount

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step for receiving samples from digital channels of real-time input to the application

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes