BA-IS-XX I2C-Read
Reading from I2C with the usage of the RITMeX BA-IS-XX I/O module.
blockType: CFunction
|
Path in the library:
|
Description
| To work with the block, install/update the support package RITM blocks. |
Block BA-IS-XX I2C-Read It is used for reading from I2C with the usage of the RITMeX BA-IS-XX I/O module.
Ports
Output
#
RX
—
data read from I2C
vector
Details
Array depending on the value of the Number of words parameter.
| Data types |
|
| Complex numbers support |
No |
Parameters
Main group
#
Номер модуля: —
unique identification of the module
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
Details
It is used to uniquely identify a module when more than one I/O module of the same type is installed in a real-time machine.
The module numbers are signed on the case of the KPM "RITM".
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Номер канала: —
I2C channel number
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
Details
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Режим: —
I2C operation mode
Master | Slave
Details
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Адрес: — the address of the I2C Slave device on the bus
Details
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
#
Количество слов: —
the number of words to send and receive via I2C
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32
Details
| Values |
|
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
# Шаг расчёта, с: — the calculation step with which I2C data is exchanged
Details
| Default value |
|
| Program usage name |
|
| Tunable |
No |
| Evaluatable |
Yes |
