PlcAppConnection.LastError (PROP)ΒΆ

PROPERTY LastError : UDINT

Will be valid in case of State = PlcConnectionState.Error