Back to FabImage Library website

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

Z4Sight_Profinet_GetControllerState_Deprecated


Header: ThirdPartySdk.h
Namespace: fil
Module: ThirdParty

Gets the state of the PROFINET controller (PLC) connected to the local computer.

Syntax

void fil::Z4Sight_Profinet_GetControllerState_Deprecated
(
	Z4Sight_State& ioState,
	ftl::Optional<const fil::Z4SightDeviceID::Type&> inDeviceID,
	const ftl::Optional<ftl::String>& inInstanceName,
	fil::Z4SightProfinetPlcStatus::Type& outStatus,
	fil::Z4SightProfinetPlcMode::Type& outMode
)

Parameters

Name Type Default Description
Input will be modified ioState Z4Sight_State& Object used to maintain state of the function.
Input value inDeviceID Optional<const Z4SightDeviceID::Type&> NIL Device identification number.
Input value inInstanceName const Optional<String>& NIL Instance name of a given Industrial Communication protocol set in the MILConfig utility.
Output value outStatus Z4SightProfinetPlcStatus::Type& Status of the PROFINET controller.
Output value outMode Z4SightProfinetPlcMode::Type& Mode of the PROFINET controller.