Back to Aurora Vision Library website

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

Z4Sight_Profinet_GetControllerState


Header: ThirdPartySdk.h
Namespace: avl
Module: ThirdParty

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

Syntax

void avl::Z4Sight_Profinet_GetControllerState
(
	Z4Sight_State& ioState,
	atl::Optional<const avl::Z4SightSystemAndDeviceIdentifier&> inDeviceID,
	const atl::Optional<atl::String>& inInstanceName,
	avl::Z4SightProfinetPlcStatus::Type& outStatus,
	avl::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 Z4SightSystemAndDeviceIdentifier&> NIL Device identification.
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.