Engee documentation

MI-EL-45 RtGetSubaddrData

Reading the contents of the subaddress register.

blockType: CFunction

Path in the library:

/RITM/RITMeX MI-EL-45/MI-EL-45 RtGetSubaddrData

Description

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

Block MI-EL-45 RtGetSubaddrData it is used to read the contents of the subaddress register.

Ports

Input

# EI subaddress — subaddress of the terminal device from which the data will be read out
scalar

Details
Data types

Float64.

Complex numbers support

No

Output

# data — array of 32 elements read from the sub-address of the terminal device
vector

Details
Data types

UInt16.

Complex numbers support

No

Parameters

Main group

# Номер канала: — MKIO channel number
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Details

If more than one module is installed in the machine, end-to-end channel numbering is applied.

Values

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

Default value

1

Program usage name

m_chNum

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — the calculation step with which the contents of the terminal device subaddress register are read.

Details

Defines the sampling period of the block (in seconds) with which the operation of reading the data array from the register of the specified subaddress of the terminal device is initiated. If the step is too small, repeated accesses to the register may occur before the completion of the previous exchange cycle and increase the load on the MCI channel. The step value should be selected taking into account the required frequency of data updates and the stability of the exchange.

Default value

-1

Program usage name

m_smplT

Tunable

No

Evaluatable

Yes