Engee documentation

MI-EL-45 BcSend

Transmitting a message to an endpoint.

blockType: CFunction

Path in the library:

/RITM/RITMeX MI-EL-45/MI-EL-45 BcSend

Description

The MI-EL-45 BcSend unit is used to transmit a message to an end device.

Ports

Input

# EI address — address of the terminal device to which the message will be sent
scalar

Details

Address 31 is a broadcast address.

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 to be transmitted
scalar

Details
Data types

Float64.

Complex numbers support

No

# data — data words
`vector'

Details

Information words to be transmitted as an array of 32 elements. Only the Number of SD elements of this array are transmitted to the line.

Data types

UInt16.

Complex numbers support

No

Output

# 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

Параметры:

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

Details

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

Values

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

Default value

1

Program usage name

m_chNum

Tunable

No

Evaluatable

Yes

# Ждать завершения транкзации — waiting for the bus controller to complete the exchange on the line

Details

Enabling the option may cause overflow of the calculation step. If this option is disabled, the model developer must independently monitor possible transaction conflicts in the line and, if necessary, increase the block calculation step.

Default value

true (switched on)

Program usage name

m_waitFlag

Tunable

No

Evaluatable

Yes

# Шаг расчёта, с: — calculation step in seconds

Details
Default value

-1

Program usage name

m_smplT

Tunable

No

Evaluatable

Yes