MI-EL-45 RtGetTran
Receive information about an event that occurred with the terminal device.
blockType: CFunction
Path in the library:
|
Description
The MI-EL-45 RtGetTran block is used to retrieve information about an event that has occurred with a terminal device. The module has a built-in FIFO buffer for 512 events that can be received in the model. If there are no unreceived events, all outputs of the block will return zero values.
Ports
Output
#
EI subaddress
—
the subaddress of the terminal device that participated in the transaction
scalar
Details
Data types |
|
Complex numbers support |
No |
#
EI direction
—
data transmission direction
scalar
Details
Reading from the terminal device is 1
, writing to the terminal device is 2
.
Data types |
|
Complex numbers support |
No |
#
number of SDs
—
number of data words read or written
scalar
Details
Data types |
|
Complex numbers support |
No |
#
mistake
—
transaction error flag
scalar
Details
If the terminal device has registered an error, a non-zero value will be set.
Data types |
|
Complex numbers support |
No |
#
data
—
information words written to the terminal device during the last write operation
scalar
Details
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 |
# Шаг расчёта, с: — calculation step in seconds
Details
Default value |
|
Program usage name |
|
Tunable |
No |
Evaluatable |
Yes |