Engee documentation

BA-IS-XX PWM-CAP

Capture PWM signals with usage of the RITMeX BA-IS-XX I/O module.

blockType: CFunction

Path in the library:

/RITM/RITMeX BA-IS-XX/BA-IS-XX PWM-CAP/BA-IS-XX PWM-CAP

Description

The BA-IS-XX PWM-CAP block is used to capture PWM signals with usage of the RITMeX BA-IS-XX I/O module.

Ports

Output

# Period, s — PWM period value in seconds
scalar

Details

The period of the captured PWM signal should be no greater than 0.05 c (i.e. no less than 20 Hz).

Data types

Float64.

Complex numbers support

No

# RMS, % — PWM duty cycle value in per cent (from 0 to 100 %)
scalar

Details

_ Description missing._

Data types

Float64.

Complex numbers support

No

Parameters

Параметры

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

Details

Used to uniquely identify a module when more than one I/O module of the same type is installed in the real-time machine.

Module numbers are signed on the RITM housing.

Values

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

Default value

1

Program usage name

m_module_idx

Tunable

No

Evaluatable

Yes

# Номер канала: — PWM capture channel number
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_channel_num

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — the calculation step in seconds at which the PWM period and rate values are available in the real-time application

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes