AILSystem_Profinet_GetControllerState


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

Syntax

C++
Python
 
def AILSystem_Profinet_GetControllerState(
	state: AILSystem_State,
	/,
	*,
	inDeviceID: AILSystemAndDeviceIdentifier | None = None,
	inInstanceName: str | None = None
)
-> (
	outStatus: AILProfinetPlcStatus,
	outMode: AILProfinetPlcMode
)

Parameters

Name Type Default Description
Input will be modified ioState AILSystem_State
Input value inDeviceID AILSystemAndDeviceIdentifier | 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 AILProfinetPlcStatus Status of the PROFINET controller.
Output value outMode AILProfinetPlcMode Mode of the PROFINET controller.