Back to Aurora Vision Library Lite website

You are here: Start » Hardware Support » Aurora Imaging Library » AILSystem_Modbus_ReadCoils

AILSystem_Modbus_ReadCoils


Header: ThirdPartySdk.h
Namespace: avl

Reads the coil data table in local memory for data received from a Modbus controller.

Syntax

C++
Python
 
void avl::AILSystem_Modbus_ReadCoils
(
	AILSystem_State& ioState,
	atl::Optional<const avl::AILSystemAndDeviceIdentifier&> inDeviceID,
	const atl::Optional<atl::String>& inInstanceName,
	int inOffset,
	int inCount,
	atl::Array<bool>& outValues
)

Parameters

Name Type Range Default Description
Input will be modified ioState AILSystem_State& Object used to maintain state of the function.
Input value inDeviceID Optional<const AILSystemAndDeviceIdentifier&> 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 from which to start reading the data in the specified data table.
Input value inCount int 1 - 2000 Amount of the data to read.
Output value outValues Array<bool>& Received values.