Back to FabImage Library website

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

Z4Sight_Profinet_Read_uint16


Header: ThirdPartySdk.h
Namespace: fil
Module: ThirdParty

Reads the module data as unsigned 16-bit integers.

Syntax

void fil::Z4Sight_Profinet_Read_uint16
(
	Z4Sight_State& ioState,
	ftl::Optional<const fil::Z4SightSystemAndDeviceIdentifier&> inDeviceID,
	const ftl::Optional<ftl::String>& inInstanceName,
	int inModuleIndex,
	int inOffset,
	int inCount,
	bool inUseLittleEndian,
	ftl::Array<int>& outValues
)

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 inModuleIndex int 0 - 255 Index of the module in local memory from which to read the data.
Input value inOffset int 0 - Offset from which to start reading the data in the specified module.
Input value inCount int 1 - Amount of the data to read.
Input value inUseLittleEndian bool Use little endian order for data in the memory.
Output value outValues Array<int>& Received values.