Back to FabImage Library website
You are here: Start » Function Reference » Hardware Support » Matrox » Matrox_Modbus_WriteCoils
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Writes the coil data table in local memory to send to the Modbus controller.
Syntax
void fil::Matrox_Modbus_WriteCoils ( Matrox_State& ioState, ftl::Optional<const fil::MatroxSystemAndDeviceIdentifier&> inDeviceID, const ftl::Optional<ftl::String>& inInstanceName, int inOffset, const ftl::Array<bool>& inValues )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | Matrox_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceID | Optional<const MatroxSystemAndDeviceIdentifier&> | NIL | Device identification. | |
![]() |
inInstanceName | const Optional<String>& | NIL | Instance name of a given Industrial Communication protocol set in the MILConfig utility. | |
![]() |
inOffset | int | 0 - 65535 | Offset to which to start writing the data in the specified data table. | |
![]() |
inValues | const Array<bool>& | Values to write. |