Back to FabImage Library website

You are here: Start » Function Reference » Hardware Support » Z4Sight » Z4Sight_Modbus_WriteHoldingRegisters_ByteBuffer

Z4Sight_Modbus_WriteHoldingRegisters_ByteBuffer


Header: ThirdPartySdk.h
Namespace: fil
Module: ThirdParty

Writes the holding register data table as a ByteBuffer.

Syntax

void fil::Z4Sight_Modbus_WriteHoldingRegisters_ByteBuffer
(
	Z4Sight_State& ioState,
	ftl::Optional<const fil::Z4SightSystemAndDeviceIdentifier&> inDeviceID,
	const ftl::Optional<ftl::String>& inInstanceName,
	int inOffset,
	const fil::ByteBuffer& inValues
)

Parameters

Name Type Range Default Description
Input will be modified ioState Z4Sight_State& Object used to maintain state of the function.
Input value inDeviceID Optional<const Z4SightSystemAndDeviceIdentifier&> NIL Device identification.
Input value inInstanceName const Optional<String>& NIL Instance name of a given Industrial Communication protocol set in the MILConfig utility.
Input value inOffset int 0 - 65535 Offset to which to start writing the data in the specified data table.
Input value inValues const ByteBuffer& Values to write.