I2C Slave Commands and Responses

The following commands and responses are used to control and monitor the I2C Slave module of a DLN-series adapter.

Command/Response Description
DLN_I2C_SLAVE_GET_PORT_COUNT The DLN_I2C_SLAVE_GET_PORT_COUNT command is used to retrieve the number of I2C slave ports available in your DLN-series adapter.
DLN_I2C_SLAVE_ENABLE The DLN_I2C_SLAVE_ENABLE command is used to activate the corresponding I2C slave port of your DLN-series adapter.
DLN_I2C_SLAVE_DISABLE The DLN_I2C_SLAVE_DISABLE command is used to deactivate the specified I2C slave port of your DLN-series adapter.
DLN_I2C_SLAVE_IS_ENABLED The DLN_I2C_SLAVE_IS_ENABLED command is used to retrieve information, whether the specified I2C slave port is activated.
DLN_I2C_SLAVE_GET_ADDRESS_COUNT The DLN_I2C_SLAVE_GET_ADDRESS_COUNT command is used to retrieve the number of I2C slave addresses that can be assigned to the specified I2C slave module of your DLN-series adapter.
DLN_I2C_SLAVE_SET_ADDRESS The DLN_I2C_SLAVE_SET_ADDRESS command is used to assign an I2C slave address to the specified I2C slave module of DLN-series adapter.
DLN_I2C_SLAVE_GET_ADDRESS The DLN_I2C_SLAVE_GET_ADDRESS command is used to retrieve one of the slave addresses, assigned to the I2C slave module of your DLN-series adapter.
DLN_I2C_SLAVE_GENERAL_CALL_ENABLE The DLN_I2C_SLAVE_GENERAL_CALL_ENABLE command is used to allow addressing all I2C slave devices on the circuit by sending the 0 slave address.
DLN_I2C_SLAVE_GENERAL_CALL_DISABLE The DLN_I2C_SLAVE_GENERAL_CALL_DISABLE command is used to disable addressing all I2C slave devices on the circuit by sending the 0 slave address.
DLN_I2C_SLAVE_GENERAL_CALL_IS_ENABLED The DLN_I2C_SLAVE_GENERAL_CALL_IS_ENABLED command is used to retrieve information whether addressing all I2C slave devices on the circuit by sending the 0 slave address is activated.
DLN_I2C_SLAVE_LOAD_REPLY The DLN_I2C_SLAVE_LOAD_REPLY Command is used to load information to be transferred to an I2C-master device.
DLN_I2C_SLAVE_SET_EVENT The DLN_I2C_SLAVE_SET_EVENT command is used to configure the event generation conditions for the I2C slave module of the DLN-series adapter.
DLN_I2C_SLAVE_GET_EVENT The DLN_I2C_SLAVE_GET_EVENT command is used to retrieve currently set event generation conditions for the specified I2C slave port.