Z4Sight_Modbus_WriteCoils


Writes the coil data table in local memory to send to the Modbus controller.

Syntax

C++
Python
 
def Z4Sight_Modbus_WriteCoils(
	state: Z4Sight_State,
	inValues: list[bool],
	/,
	*,
	inDeviceID: Z4SightSystemAndDeviceIdentifier | None = None,
	inInstanceName: str | None = None,
	inOffset: int = 0
)
-> None

Parameters

Name Type Range Default Description
Input will be modified ioState Z4Sight_State
Input value inDeviceID Z4SightSystemAndDeviceIdentifier | 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 inOffset int 0 - 65535 0 Offset to which to start writing the data in the specified data table.
Input value inValues list[bool] Values to write.