MI-EL-45 BcSend
Sending a message to the terminal device.
blockType: CFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package RITM blocks. |
Block MI-EL-45 BcSend It is used to send a message to the terminal 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 |
|
| Complex numbers support |
No |
#
EI subaddress
—
terminal subaddress
scalar
Details
| Data types |
|
| Complex numbers support |
No |
#
number of SDs
—
number of data words to be transmitted
scalar
Details
| Data types |
|
| 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 |
|
| 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 |
|
| 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 |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Ждать завершения транкзации — waiting for the bus controller to complete the exchange on the line
Details
Enabling this option may cause the calculation step to overflow. 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 |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Шаг расчёта, с: — the calculation step that initiates the transmission of messages to the terminal device
Details
Defines the sampling period of the block (in seconds), with which a command is generated to transmit data to the terminal device via the MCIO line.
| If the step is too small, it is possible to generate new transactions before the previous ones are completed, especially when waiting for the exchange to complete, which can overload the channel. |
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
