Back to FabImage Library website
You are here: Start » Function Reference » Hardware Support » Z4Sight » Z4Sight_Modbus_ReadDiscreteInputs
Header: | ThirdPartySdk.h |
---|---|
Namespace: | fil |
Module: | ThirdParty |
Reads the discrete input data table in local memory for data received from a Modbus controller.
Syntax
void fil::Z4Sight_Modbus_ReadDiscreteInputs ( Z4Sight_State& ioState, ftl::Optional<const fil::Z4SightSystemAndDeviceIdentifier&> inDeviceID, const ftl::Optional<ftl::String>& inInstanceName, int inOffset, int inCount, ftl::Array<bool>& outValues )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
ioState | Z4Sight_State& | Object used to maintain state of the function. | ||
![]() |
inDeviceID | Optional<const Z4SightSystemAndDeviceIdentifier&> | 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 from which to start reading the data in the specified data table. | |
![]() |
inCount | int | 1 - 2000 | Amount of the data to read. | |
![]() |
outValues | Array<bool>& | Received values. |