Engee documentation

GP-LC-4x DI

Receiving values from digital inputs of the RITMeX GP-LC-45 I/O module.

blockType: CFunction

Path in the library:

/RITM/RITMeX GP-LC-4X/GP-LC-4x DI

Description

The GP-LC-4x DI block is used to receive values from digital inputs of the RITMeX GP-LC-45 I/O module.

Characteristics:

  • Number of channels - ` 16`.

  • Voltage range - -0.2…​+0.6 V ("zero"), +2.4…​+5.0 V ("one").

  • Input frequency - 2 MHz.

Ports

Output

# di — generation of the array of samples received from digital inputs
vector

Details

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

Data types

Float64.

Complex numbers support

No

Parameters

Параметры

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

Details

Used 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

# Количество каналов: — selecting the number of digital input channels to be used
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16

Details
Values

1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16

Default value

1

Program usage name

m_di_amount

Tunable

No

Evaluatable

Yes

# Резисторная подтяжка на питание — switching on the resistor pull-up for power supply for all digital inputs

Details
Default value

false (switched off)

Program usage name

m_pullup

Tunable

No

Evaluatable

Yes

# Скрытый pullupdescription missing

Details

Description missing.

Default value

0

Program usage name

_hidden_pullup

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — Calculation step in seconds to obtain samples from digital input channels in a real-time application

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes