Engee documentation

BA-IS-XX I2C-Write

Page in progress.

Writing to I2C with usage of the RITMeX BA-IS-XX I/O module.

ba is xx i2c write ru

Description

The block is used to write to I2C with usage of the RITMeX BA-IS-XX I/O module.

Ports

Input

TX - data to be written to I2C
vector

Details

Array depending on the value of the Number of words parameter.

Data type

UInt8.

Parameters

Module Number - unique module identification
1 (by default) | 2 | 3 | 4 | 5 | 6 | 7 | 8

Details

Used to uniquely identify a module when more than one I/O module of the same type is installed in a real-time machine.

Module numbers are signed on the housing of the RITM.

Channel number - I2C channel number
1 (by default) | 2 | 3 | 4 | 5 | 6 | 7 | 8

*Mode I2C operation mode
Master (by default) | Slave.

Address - I2C Slave device address on the bus
`0 (By default).

Number of words - number of words to send and receive via I2C
1 (By default) | 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

Calculation step - calculation step in seconds with which I2C data exchange takes place
-1 (By default).