Engee documentation

GP-AD-24 DAC-single

Setting values of one of the analogue outputs of the RITMeX GP-AD-24 I/O module.

blockType: CFunction

Path in the library:

/RITM/RITMeX GP-AD-24/GP-AD-24 DAC-single

Description

Block GP-AD-24 DAC-single is used to set the value of one of the analogue outputs of the RITMeX GP-AD-24 I/O module.

Ports

Input

# dac — value interpreted as a voltage value in volts or current value in milliamperes
scalar

Details
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.

Module numbers are signed on the housing of the RITM.

Values

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

Default value

1

Program usage name

m_module_idx

Tunable

No

Evaluatable

Yes

# Тип выхода: — setting the type of analogue outputs of the module
Напряжение | Ток 0-20 мА | Ток 4-20 мА

Details
Values

Напряжение | Ток 0-20 мА | Ток 4-20 мА

Default value

Напряжение

Program usage name

m_out_type

Tunable

No

Evaluatable

Yes

# Номер канала: — setting the number of the engaged analogue output of the module
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
The contacts are connected according to the diagram in the article Purpose of GP-AD-24 pins.
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

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step in seconds for sending samples to the DAC from the real-time application

Details
Default value

-1

Program usage name

m_sample_time

Tunable

No

Evaluatable

Yes