Engee documentation

MI-EL-45 BcGet

Receiving a message from the terminal device.

blockType: CFunction

Path in the library:

/RITM/RITMeX MI-EL-45/MI-EL-45 BcGet

Description

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

Block MI-EL-45 BcGet It is used to receive a message from the terminal device.

Ports

Input

# EI address — address of the terminal device from which the message will be requested
scalar

Details
Data types

Float64.

Complex numbers support

No

# EI subaddress — terminal subaddress
scalar

Details
Data types

Float64.

Complex numbers support

No

# number of SDs — number of data words for reception
scalar

Details
Data types

Float64.

Complex numbers support

No

Output

# data — received data words
vector

Details

Accepted information words as an array of 32 elements.

Data types

UInt16.

Complex numbers support

No

# mistake — channel exchange error flag
scalar

Details

In case the bus controller has registered a communication error, a non-zero value will be set.

Data types

Float64.

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 request is made and the message is received from the terminal device.

Details

Defines the sampling period of the block (in seconds), with which the operation of requesting data from the terminal device and receiving information words via the MCI line is initiated. The step value sets the frequency of device polling and output data updates and must be selected based on the required exchange rate and the allowable load on the channel.

Default value

-1

Program usage name

m_smplT

Tunable

No

Evaluatable

Yes