Z4Sight_Profinet_GetControllerState


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

Syntax

C++
Python
 
def Z4Sight_Profinet_GetControllerState(
	state: Z4Sight_State,
	/,
	*,
	inDeviceID: Z4SightSystemAndDeviceIdentifier | None = None,
	inInstanceName: str | None = None
)
-> (
	outStatus: Z4SightProfinetPlcStatus,
	outMode: Z4SightProfinetPlcMode
)

Parameters

Name Type Default Description
Input will be modified ioState Z4Sight_State
Input value inDeviceID Z4SightSystemAndDeviceIdentifier | None None Device identification.
Input value inInstanceName str | None None Instance name of a given Industrial Communication protocol set in the MILConfig utility.
Output value outStatus Z4SightProfinetPlcStatus Status of the PROFINET controller.
Output value outMode Z4SightProfinetPlcMode Mode of the PROFINET controller.