Engee documentation

LCARD L502 DI

Getting values from the digital inputs of the L-Card L-502 I/O module.

blockType: EngeeFunction

Path in the library:

/Interfaces/LCARD/LCARD L502 DI

Description

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

Block LCARD L502 DI It is used to obtain values from the digital inputs of the L-Card L-502 I/O module.

Characteristics of digital inputs:

  • 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 — an array of samples from the digital inputs of the module
vector

Details

The size of the array corresponds to the parameter "Number of channels" in the block (from 1 to 16).

Data types

Bool

Complex numbers support

No

Parameters

Параметры

# Номер модуля: — the string serial identifier of the L-Card L-502 module

Details

You can get it on the front of the board or using the Engee hardware support package. For more information, see L-CARD L-502.

Default value

"default"

Program usage name

m_module_id

Tunable

No

Evaluatable

Yes

# Количество каналов: — number of digital input channels
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

2

Program usage name

m_channel_num

Tunable

No

Evaluatable

Yes

# Резисторная подтяжка на питание: — turn on the resistor power boost for all digital inputs

Details
Default value

true (switched on)

Program usage name

m_pullup

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step in seconds for receiving samples from digital inputs

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes