AILSystem_Modbus_Client_WriteHoldingRegisters_ByteBuffer


Writes the holding register data table of a remote Modbus server as a ByteBuffer.

Syntax

C++
Python
 
def AILSystem_Modbus_Client_WriteHoldingRegisters_ByteBuffer(
	state: AILSystem_State,
	inServerId: int,
	inValues: ByteBuffer,
	/,
	*,
	inDeviceID: AILSystemAndDeviceIdentifier | None = None,
	inInstanceName: str | None = None,
	inServerAddress: str | None = None,
	inOffset: int = 0
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState AILSystem_State
Input value inDeviceID AILSystemAndDeviceIdentifier | None None Device identification.
Input value inInstanceName str | None None Instance name of a given Industrial Communication protocol set in the MILConfig utility.
Input value inServerId int 0 - 255 Identifier of the remote Modbus server.
Input value inServerAddress str | None None IPv4 address of the remote Modbus server. Not needed when the server is declared in the Aurora Imaging Configurator utility.
Input value inOffset int 0 - 65535 0 Offset to which to start writing the data in the specified data table.
Input value inValues ByteBuffer Values to write.