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 | |
|---|---|---|---|---|
![]() |
ioState | Z4Sight_State | ||
![]() |
inDeviceID | Z4SightSystemAndDeviceIdentifier | None | None | Device identification. |
![]() |
inInstanceName | str | None | None | Instance name of a given Industrial Communication protocol set in the MILConfig utility. |
![]() |
outStatus | Z4SightProfinetPlcStatus | Status of the PROFINET controller. | |
![]() |
outMode | Z4SightProfinetPlcMode | Mode of the PROFINET controller. |



