MI-EL-45 BcSend
Transmitting a message to an endpoint.
blockType: CFunction
Path in the library:
|
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
Параметры:
#
Номер канала: —
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 |
|
Default value |
|
Program usage name |
|
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 |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |
# Шаг расчёта, с: — calculation step in seconds
Details
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |